diff options
author | David Tardon <dtardon@redhat.com> | 2011-03-29 17:11:57 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-03-29 17:11:57 +0200 |
commit | a8e4eab1c4a071aea066e328198498231ab1880d (patch) | |
tree | 6eb17eb5006fe770b118b9e24e47371ddabc71dd /oox | |
parent | 7fb06c07a13f7e8d539a60679f8fde1cce574b14 (diff) |
this arg should be reference
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/drawingml/textfont.hxx | 4 | ||||
-rw-r--r-- | oox/source/drawingml/textfont.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/inc/oox/drawingml/textfont.hxx b/oox/inc/oox/drawingml/textfont.hxx index 8539c53d8216..a2e990800ff7 100644 --- a/oox/inc/oox/drawingml/textfont.hxx +++ b/oox/inc/oox/drawingml/textfont.hxx @@ -55,14 +55,14 @@ public: placeholder names, e.g. '+mj-lt' for the major latin theme font. */ bool getFontData( ::rtl::OUString& rFontName, - sal_Int16 rnFontPitch, + sal_Int16& rnFontPitch, sal_Int16& rnFontFamily, const ::oox::core::XmlFilterBase& rFilter ) const; private: bool implGetFontData( ::rtl::OUString& rFontName, - sal_Int16 rnFontPitch, + sal_Int16& rnFontPitch, sal_Int16& rnFontFamily ) const; private: diff --git a/oox/source/drawingml/textfont.cxx b/oox/source/drawingml/textfont.cxx index a2909be5a6be..5cd0fe2b996f 100644 --- a/oox/source/drawingml/textfont.cxx +++ b/oox/source/drawingml/textfont.cxx @@ -81,7 +81,7 @@ void TextFont::assignIfUsed( const TextFont& rTextFont ) *this = rTextFont; } -bool TextFont::getFontData( OUString& rFontName, sal_Int16 rnFontPitch, sal_Int16& rnFontFamily, const XmlFilterBase& rFilter ) const +bool TextFont::getFontData( OUString& rFontName, sal_Int16& rnFontPitch, sal_Int16& rnFontFamily, const XmlFilterBase& rFilter ) const { if( const Theme* pTheme = rFilter.getCurrentTheme() ) if( const TextFont* pFont = pTheme->resolveFont( maTypeface ) ) @@ -89,7 +89,7 @@ bool TextFont::getFontData( OUString& rFontName, sal_Int16 rnFontPitch, sal_Int1 return implGetFontData( rFontName, rnFontPitch, rnFontFamily ); } -bool TextFont::implGetFontData( OUString& rFontName, sal_Int16 rnFontPitch, sal_Int16& rnFontFamily ) const +bool TextFont::implGetFontData( OUString& rFontName, sal_Int16& rnFontPitch, sal_Int16& rnFontFamily ) const { rFontName = maTypeface; rnFontPitch = lclGetFontPitch( extractValue< sal_Int16 >( mnPitch, 0, 4 ) ); |