summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/DMLPresetShapeExport.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/oox/export/DMLPresetShapeExport.hxx b/include/oox/export/DMLPresetShapeExport.hxx
index 1baf1d44cabc..37cd1c3743b2 100644
--- a/include/oox/export/DMLPresetShapeExport.hxx
+++ b/include/oox/export/DMLPresetShapeExport.hxx
@@ -104,11 +104,12 @@ private:
bool IsYFlipped() { return m_bIsFlipped.second; };
// Returns with the shape type, like triangle for example
- OUString GetShapeType();
+ const OUString& GetShapeType();
// Returns with the handle points
- css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>> GetHandleValues();
+ const css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>>& GetHandleValues();
// Returns with the adjustment values
- css::uno::Sequence<css::drawing::EnhancedCustomShapeAdjustmentValue> GetAdjustmentValues();
+ const css::uno::Sequence<css::drawing::EnhancedCustomShapeAdjustmentValue>&
+ GetAdjustmentValues();
// Returns with the raw value of the given property of the shape geometry.
css::uno::Any GetHandleValueOfModificationPoint(sal_Int32 nPoint, std::u16string_view sType);
// Returns with the appropriate value of the handle point.