summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-11-21 12:05:22 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-11-21 14:27:49 +0100
commit9562b31e594eba4e6abf7879575b77a691ac1f88 (patch)
tree80203bfd96a9849f604223623cd843f40a21d918 /sw
parentImproved Header/Footer UI framerate (diff)
downloadcore-9562b31e594eba4e6abf7879575b77a691ac1f88.tar.gz
core-9562b31e594eba4e6abf7879575b77a691ac1f88.zip
sw, added a message to a thrown uno::RuntimeException
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unotext.cxx3
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;
}