diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-29 09:16:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-29 12:57:47 +0200 |
commit | 1094fedfac9d48262400e2a07581bfa36b2a422e (patch) | |
tree | d25b5741aa2d54825bb41f5473832d2bc8213b62 /oox/inc/drawingml | |
parent | remove STR and VAL methods (diff) | |
download | core-1094fedfac9d48262400e2a07581bfa36b2a422e.tar.gz core-1094fedfac9d48262400e2a07581bfa36b2a422e.zip |
getUtf8TokenName can return by const ref
and avoid some reference-counting in a hot path
Change-Id: I7f5fd7f8f5f9076eb5f8d60118afa8e3ac8a5e6c
Reviewed-on: https://gerrit.libreoffice.org/38129
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/inc/drawingml')
-rw-r--r-- | oox/inc/drawingml/customshapeproperties.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/inc/drawingml/customshapeproperties.hxx b/oox/inc/drawingml/customshapeproperties.hxx index 2e47b64bb013..ddd29199ff41 100644 --- a/oox/inc/drawingml/customshapeproperties.hxx +++ b/oox/inc/drawingml/customshapeproperties.hxx @@ -103,7 +103,7 @@ public: const css::awt::Size &aSize ); sal_Int32 getShapePresetType() const { return mnShapePresetType; } - css::uno::Sequence< sal_Int8 > getShapePresetTypeName() const; + css::uno::Sequence< sal_Int8 > const & getShapePresetTypeName() const; void setShapePresetType( sal_Int32 nShapePresetType ){ mnShapePresetType = nShapePresetType; }; bool getShapeTypeOverride(){ return mbShapeTypeOverride; }; void setShapeTypeOverride( bool bShapeTypeOverride ) { mbShapeTypeOverride = bShapeTypeOverride; }; |