sc/source/ui/unoobj/textuno.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8bd3d06d974fbd301665630e3c5396db9c9e30d9 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Dec 1 11:02:39 2016 +0100 Throw RuntimeException with message ...seen JunitTest_sc_unoapi_4 fail once in sc.ScHeaderFooterTextCursor::com::sun::star::text::XTextRange with an empty RuntimeException when calling some remote getString. Change-Id: Id631feffce810b40825fe0fa49d8f1846f045033 diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index ddf83ee..9487ae7 100644 --- a/sc/source/ui/unoobj/textuno.cxx +++ b/sc/source/ui/unoobj/textuno.cxx @@ -332,7 +332,8 @@ OUString SAL_CALL ScHeaderFooterTextObj::getString() throw(uno::RuntimeException uno::Reference<css::sheet::XHeaderFooterContent> xContentObj = aTextData.GetContentObj(); if (!xContentObj.is()) - throw css::uno::RuntimeException(""); + throw css::uno::RuntimeException( + "ScHeaderFooterTextObj::getString: no ContentObj"); rtl::Reference<ScHeaderFooterContentObj> pObj = ScHeaderFooterContentObj::getImplementation(xContentObj); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits