summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-17 10:31:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-17 10:31:40 +0100
commita3bb39324e5e2cff2699e830454358ac1597ffff (patch)
tree808717e17c2919f83d6da58202d6d8fa38f10eba
parent1b835cdb5ef4cebeae729b1edf2a773f4a582c0f (diff)
Set exception message
Change-Id: I79ac4500817b31988096627056434771b5b38a59
-rw-r--r--sw/source/core/unocore/unoobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 147369279007..5bf08d500f69 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2903,7 +2903,7 @@ SwXTextCursor::sort(const uno::Sequence< beans::PropertyValue >& rDescriptor)
SwSortOptions aSortOpt;
if (!SwUnoCursorHelper::ConvertSortProperties(rDescriptor, aSortOpt))
{
- throw uno::RuntimeException();
+ throw uno::RuntimeException("Bad sort properties");
}
UnoActionContext aContext( rUnoCursor.GetDoc() );