summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabline.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:42:27 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:41 +0200
commit84a86d8a085844fafe3c5c7abc63bfa6d18ae715 (patch)
treed2c3fe93b4235697fa4ecf78806bfd574f9c0e4f /cui/source/inc/cuitabline.hxx
parente7d3fa58047c44bd3641973c065d1af9c2ac1fa0 (diff)
loplugin:passstuffbyref in cui
Change-Id: I13c2956ad5012373a41c8e6c2af70583fa18c339
Diffstat (limited to 'cui/source/inc/cuitabline.hxx')
-rw-r--r--cui/source/inc/cuitabline.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index 00b4ce502324..d51780e98fe1 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -68,15 +68,15 @@ public:
void SetNewDashList( XDashListRef pInLst)
{ pNewDashList = pInLst; }
- XDashListRef GetNewDashList() const { return pNewDashList; }
+ const XDashListRef& GetNewDashList() const { return pNewDashList; }
void SetNewLineEndList( XLineEndListRef pInLst)
{ pNewLineEndList = pInLst; }
- XLineEndListRef GetNewLineEndList() const { return pNewLineEndList; }
+ const XLineEndListRef& GetNewLineEndList() const { return pNewLineEndList; }
void SetNewColorList( XColorListRef pColTab ) { mpNewColorList = pColTab; }
- XColorListRef GetNewColorList() const { return mpNewColorList; }
- XColorListRef GetColorList() const { return pColorList; }
+ const XColorListRef& GetNewColorList() const { return mpNewColorList; }
+ const XColorListRef& GetColorList() const { return pColorList; }
};
/*************************************************************************/