summaryrefslogtreecommitdiff
path: root/oox/inc/oox/helper/propertyset.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/inc/oox/helper/propertyset.hxx')
-rw-r--r--oox/inc/oox/helper/propertyset.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/inc/oox/helper/propertyset.hxx b/oox/inc/oox/helper/propertyset.hxx
index 421908d0e790..fd0c1a7a1fcd 100644
--- a/oox/inc/oox/helper/propertyset.hxx
+++ b/oox/inc/oox/helper/propertyset.hxx
@@ -101,7 +101,8 @@ public:
/** Gets the specified boolean property from the property set.
@return true = property contains true; false = property contains false or error occurred. */
- bool getBoolProperty( sal_Int32 nPropId ) const;
+ inline bool getBoolProperty( sal_Int32 nPropId ) const
+ { bool bValue = false; return getProperty( bValue, nPropId ) && bValue; }
/** Gets the specified properties from the property set. Tries to use the XMultiPropertySet interface.
@param orValues (out-parameter) The related property values.