[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Tue Jan 17 09:32:10 UTC 2017


 sw/source/core/unocore/unoobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a3bb39324e5e2cff2699e830454358ac1597ffff
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 17 10:31:40 2017 +0100

    Set exception message
    
    Change-Id: I79ac4500817b31988096627056434771b5b38a59

diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index 1473692..5bf08d5 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() );
 


More information about the Libreoffice-commits mailing list