summaryrefslogtreecommitdiff
path: root/vcl/source/font
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font')
-rw-r--r--vcl/source/font/fontattributes.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/vcl/source/font/fontattributes.cxx b/vcl/source/font/fontattributes.cxx
index b777227f9a0c..4f5c9e4bfcce 100644
--- a/vcl/source/font/fontattributes.cxx
+++ b/vcl/source/font/fontattributes.cxx
@@ -37,6 +37,24 @@ FontAttributes::FontAttributes()
mbEmbeddable ( false )
{}
+FontAttributes::FontAttributes( const FontAttributes& rFontAttributes ) :
+ maFamilyName( rFontAttributes.maFamilyName ),
+ maStyleName( rFontAttributes.maStyleName ),
+ meWeight( rFontAttributes.meWeight ),
+ meFamily( rFontAttributes.meFamily ),
+ mePitch( rFontAttributes.mePitch ),
+ meWidthType( rFontAttributes.meWidthType ),
+ meItalic( rFontAttributes.meItalic ),
+ meCharSet( rFontAttributes.meCharSet ),
+ mbSymbolFlag( rFontAttributes.mbSymbolFlag ),
+ maMapNames( rFontAttributes.maMapNames ),
+ mnQuality( rFontAttributes.mnQuality ),
+ mbOrientation( rFontAttributes.mbOrientation ),
+ mbDevice( rFontAttributes.mbDevice ),
+ mbSubsettable( rFontAttributes.mbSubsettable ),
+ mbEmbeddable( rFontAttributes.mbEmbeddable )
+{}
+
bool FontAttributes::CompareDeviceIndependentFontAttributes(const FontAttributes& rOther) const
{