diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-01-28 13:51:16 +0100 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2014-01-28 17:07:26 +0100 |
commit | 2c9c3d3ef52db1571064036800feaa9a9ebd4bb4 (patch) | |
tree | 962cac3cd744335d3a10f5f5bd62ab2c8f423fbb /include | |
parent | 0d6cb9c123e04585c6adb92a2891048ca2442bac (diff) |
ooxml: Small code refactor
* Use PUT_PROPS macro in all cases.
* Added putPropertyToGrabBag( OUString, Any ) to avoid the explicit
creation of a PropertyValue object every time.
Change-Id: If098dd3a94d1843c4c5dbc3a507b05754d9d59c7
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/drawingml/shape.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index c1618ba69133..1419a1563fc0 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -218,6 +218,8 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes >& rxShapes ); void putPropertyToGrabBag( + const OUString& sPropertyName, const ::com::sun::star::uno::Any& aPropertyValue ); + void putPropertyToGrabBag( const ::com::sun::star::beans::PropertyValue& pProperty ); void putPropertiesToGrabBag( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aProperties ); |