diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-21 03:30:10 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-01-21 06:22:01 +0000 |
commit | 5659b68be3acc08a1c70f1be05c99658f2b04e34 (patch) | |
tree | 2ca15cb560de11bd0af456a88e6b3e83589c5abd /filter | |
parent | abf04f6b0ad0dd83b4d479723144593e2f83ede0 (diff) |
vcl: rename Font::GetFamily to Font::GetFamilyType
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254
Reviewed-on: https://gerrit.libreoffice.org/21633
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 8bc304e5ee34..7c763b473137 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -2192,7 +2192,7 @@ void PSWriter::ImplSetAttrForText( const Point& rPoint ) ImplDefineFont( "Courier", "Oblique" ); else if ( maFont.GetCharSet() == RTL_TEXTENCODING_SYMBOL ) ImplWriteLine( "/Symbol findfont" ); - else if ( maFont.GetFamily() == FAMILY_SWISS ) + else if ( maFont.GetFamilyType() == FAMILY_SWISS ) ImplDefineFont( "Helvetica", "Oblique" ); else ImplDefineFont( "Times", "Italic" ); diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 5b602718734c..9f92c998af11 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -391,7 +391,7 @@ void SVGAttributeWriter::setFontFamily() } else { - FontFamily eFamily = maCurFont.GetFamily(); + FontFamily eFamily = maCurFont.GetFamilyType(); if( eFamily == FAMILY_ROMAN ) sFontFamily += ", serif"; else if( eFamily == FAMILY_SWISS ) @@ -849,7 +849,7 @@ void SVGTextWriter::implSetFontFamily() } else { - FontFamily eFamily = maCurrentFont.GetFamily(); + FontFamily eFamily = maCurrentFont.GetFamilyType(); if( eFamily == FAMILY_ROMAN ) sFontFamily += ", serif"; else if( eFamily == FAMILY_SWISS ) |