[Libreoffice-commits] .: oox/inc oox/source
David Tardon
dtardon at kemper.freedesktop.org
Tue Mar 29 08:12:16 PDT 2011
oox/inc/oox/drawingml/textfont.hxx | 4 ++--
oox/source/drawingml/textfont.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c174c49f16f06d8aab2d2baa8152d1792a829fc3
Author: David Tardon <dtardon at redhat.com>
Date: Tue Mar 29 17:11:57 2011 +0200
this arg should be reference
diff --git a/oox/inc/oox/drawingml/textfont.hxx b/oox/inc/oox/drawingml/textfont.hxx
index 4cee482..73cf7d1 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 0a1ee4e..f58984d 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 ) );
More information about the Libreoffice-commits
mailing list