summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2014-01-28 13:51:16 +0100
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2014-01-28 17:07:26 +0100
commit2c9c3d3ef52db1571064036800feaa9a9ebd4bb4 (patch)
tree962cac3cd744335d3a10f5f5bd62ab2c8f423fbb /include
parent0d6cb9c123e04585c6adb92a2891048ca2442bac (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.hxx2
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 );