vcl/inc/fontattributes.hxx | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-)
New commits: commit 3d0a466345053e3adf10258986b88dea2a624a5e Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Fri Jan 29 13:55:54 2016 +1100 vcl: inline FontAttributes::AddMapName Change-Id: I5d38fa30bc4a74a626c67ce18610f15e83eacd68 diff --git a/vcl/inc/fontattributes.hxx b/vcl/inc/fontattributes.hxx index 63c2a94..739b70b 100644 --- a/vcl/inc/fontattributes.hxx +++ b/vcl/inc/fontattributes.hxx @@ -77,21 +77,7 @@ public: void IncreaseQualityBy( int nQualityAmount ) { mnQuality += nQualityAmount; } void DecreaseQualityBy( int nQualityAmount ) { mnQuality -= nQualityAmount; } void SetMapNames( OUString const & aMapNames ) { maMapNames = aMapNames; } - void AddMapName( OUString const & aMapName ) - { - if( maMapNames.getLength() > 0 ) - { - maMapNames += ";"; - } - - if (aMapName.getLength() == 0) - { - SAL_WARN("vcl.fonts", "New map name is empty"); - return; - } - - maMapNames += aMapName; - } + void AddMapName( OUString const& ); void SetBuiltInFontFlag( bool bIsBuiltInFont ) { mbDevice = bIsBuiltInFont; } void SetEmbeddableFlag ( bool bEmbeddable ) { mbEmbeddable = bEmbeddable; } @@ -140,13 +126,29 @@ inline void FontAttributes::SetSymbolFlag( const bool bSymbolFlag ) } } - inline void FontAttributes::SetCharSet( const rtl_TextEncoding aEncoding ) { meCharSet = aEncoding; mbSymbolFlag = meCharSet == RTL_TEXTENCODING_SYMBOL; } + +inline void FontAttributes::AddMapName( OUString const & aMapName ) +{ + if( maMapNames.getLength() > 0 ) + { + maMapNames += ";"; + } + + if (aMapName.getLength() == 0) + { + SAL_WARN("vcl.fonts", "New map name is empty"); + return; + } + + maMapNames += aMapName; +} + #endif // INCLUDED_VCL_INC_FONTATTRIBUTES_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits