diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-12-01 11:02:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-12-01 11:02:39 +0100 |
commit | 8bd3d06d974fbd301665630e3c5396db9c9e30d9 (patch) | |
tree | eee6c19ac72a68f0d2418b49f07285e6866c7bab /sc | |
parent | 055fd58711d57af4d96214aebd71b713303d5527 (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/textuno.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx index ddf83ee1b8cf..9487ae7e2b9f 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); |