diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-11-21 12:05:22 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2011-11-21 14:27:49 +0100 |
commit | 9562b31e594eba4e6abf7879575b77a691ac1f88 (patch) | |
tree | 80203bfd96a9849f604223623cd843f40a21d918 /sw/source | |
parent | a1efc7fdcd80484977bc289d1d27b7b6d33757ff (diff) |
sw, added a message to a thrown uno::RuntimeException
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unotext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx index 2886b369e2d4..c9d02d5c1ec9 100644 --- a/sw/source/core/unocore/unotext.cxx +++ b/sw/source/core/unocore/unotext.cxx @@ -2501,7 +2501,8 @@ throw (uno::RuntimeException) } if(!aRef.is()) { - throw uno::RuntimeException(); + throw uno::RuntimeException( rtl::OUString::createFromAscii( "End of content node doesn't have the proper start node" ), + uno::Reference< uno::XInterface >( *this ) ); } return aRef; } |