summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:25:07 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commitd60d957a680d9c98823aac05facb652bf619a750 (patch)
treeff5fc8caeee09497eb7943c0ef95337c3bb4e8de /oox/inc
parent299d938bf05faf60b848a9d4862e58bb42db3e65 (diff)
loplugin:passstuffbyref in oox
Change-Id: Iec989e9060c77dd5b010224b37633179cee4f7e9
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/table/tablecell.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/inc/drawingml/table/tablecell.hxx b/oox/inc/drawingml/table/tablecell.hxx
index e936d0777cdc..313e153e7222 100644
--- a/oox/inc/drawingml/table/tablecell.hxx
+++ b/oox/inc/drawingml/table/tablecell.hxx
@@ -70,7 +70,7 @@ public:
void setHorzOverflowToken( sal_Int32 nToken ){ mnHorzOverflowToken = nToken; };
void setTextBody( const oox::drawingml::TextBodyPtr& pTextBody ){ mpTextBody = pTextBody; };
- oox::drawingml::TextBodyPtr getTextBody(){ return mpTextBody; };
+ const oox::drawingml::TextBodyPtr& getTextBody(){ return mpTextBody; };
void pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase,
const ::oox::drawingml::TextListStylePtr& pMasterTextListStyle,