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

Julien Nabet serval2412 at yahoo.fr
Sun Sep 22 22:30:46 PDT 2013


 oox/source/helper/propertyset.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 5abc99f2fc9db8aa4dbce293898e26561f947ece
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Sep 23 07:29:41 2013 +0200

    Show errors
    
    Change-Id: Iff3b8e523f5d326586115c4ff61835c15b8b7f01

diff --git a/oox/source/helper/propertyset.cxx b/oox/source/helper/propertyset.cxx
index d3e8bb3..cd84e9f 100644
--- a/oox/source/helper/propertyset.cxx
+++ b/oox/source/helper/propertyset.cxx
@@ -118,10 +118,10 @@ bool PropertySet::implGetPropertyValue( Any& orValue, const OUString& rPropName
         orValue = mxPropSet->getPropertyValue( rPropName );
         return true;
     }
-    catch( Exception& )
+    catch( Exception& e)
     {
         SAL_WARN( "oox", "PropertySet::implGetPropertyValue - cannot get property \"" <<
-                  rPropName << '"' );
+                  rPropName << "\" Error: " << e.Message);
     }
     return false;
 }
@@ -133,10 +133,10 @@ bool PropertySet::implSetPropertyValue( const OUString& rPropName, const Any& rV
         mxPropSet->setPropertyValue( rPropName, rValue );
         return true;
     }
-    catch( Exception& )
+    catch( Exception& e)
     {
         SAL_WARN( "oox", "PropertySet::implSetPropertyValue - cannot set property \"" <<
-                  rPropName << '"' );
+                  rPropName << "\" Error: " << e.Message);
     }
     return false;
 }


More information about the Libreoffice-commits mailing list