[Libreoffice-commits] core.git: vcl/inc
Stephan Bergmann
sbergman at redhat.com
Fri Jan 1 10:15:20 PST 2016
vcl/inc/outfont.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 820eeba6772a356cf57b9d1f4d114122f6a63abb
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jan 1 19:14:43 2016 +0100
loplugin:passstuffbyref
Change-Id: I5d15ab7f8d9b7cb3ff0124f20c840dd2a285b400
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index 09e7bd2..92f01e3 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -80,8 +80,8 @@ public:
void SetQuality( int nQuality ) { mnQuality = nQuality; }
void IncreaseQualityBy( int nQualityAmount ) { mnQuality += nQualityAmount; }
void DecreaseQualityBy( int nQualityAmount ) { mnQuality -= nQualityAmount; }
- void SetMapNames( OUString aMapNames ) { maMapNames = aMapNames; }
- void AddMapName( OUString aMapName )
+ void SetMapNames( OUString const & aMapNames ) { maMapNames = aMapNames; }
+ void AddMapName( OUString const & aMapName )
{
if( maMapNames.getLength() > 0 )
{
More information about the Libreoffice-commits
mailing list