diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-09-20 16:41:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-09-20 16:41:34 +0300 |
commit | f66ecf00ed232dd04d5d9b9afd833aa2be981141 (patch) | |
tree | 526e48347c3225117b3922f103817502cfde7a10 /svx | |
parent | 2f5cfa063e5a6cd817c7cfc43db522c28a31e937 (diff) |
WaE: passing OUString by value, rather pass by reference
Change-Id: Ic6842bdb382c05912399db86aa08765d8653a019
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index cc3f4791c37e..9705624e664f 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1989,7 +1989,7 @@ void SdrTextObj::onEditOutlinerStatusEvent( EditStatus* pEditStatus ) /* Begin chaining code */ // XXX: Make it a method somewhere? -SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString aObjName) +SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString const& aObjName) { // scan the whole list size_t nObjCount = pObjList->GetObjCount(); @@ -2005,7 +2005,7 @@ SdrObject *ImpGetObjByName(SdrObjList *pObjList, OUString aObjName) } // XXX: Make it a (private) method of SdrTextObj -void ImpUpdateChainLinks(SdrTextObj *pTextObj, OUString aNextLinkName) +void ImpUpdateChainLinks(SdrTextObj *pTextObj, OUString const& aNextLinkName) { // XXX: Current implementation constraints text boxes to be on the same page |