summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-09-23 07:29:41 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-09-23 07:30:26 +0200
commit5abc99f2fc9db8aa4dbce293898e26561f947ece (patch)
treeda0abd1198541e807c1c7fb351a8cef9b3a23102 /oox
parent571f49ffed792095fd41e2d07dbe30befa99a5b8 (diff)
Show errors
Change-Id: Iff3b8e523f5d326586115c4ff61835c15b8b7f01
Diffstat (limited to 'oox')
-rw-r--r--oox/source/helper/propertyset.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/helper/propertyset.cxx b/oox/source/helper/propertyset.cxx
index d3e8bb33e0cd..cd84e9fcd27b 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;
}