diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 16:07:46 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 16:43:26 +0000 |
commit | 41c227e05f5ad1a72485af352fb245536b088b9e (patch) | |
tree | 323063edba1df47b6602338b2b456b87614dcd9d /vcl | |
parent | 27e8b3e0b02e107bdf6d84bf0db10770645045e1 (diff) |
ctor takes care of this initialization already
Change-Id: I6a798df9238715c3d531c1eae89738c9a9e49eb7
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svptextrender.cxx | 6 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/vcl/headless/svptextrender.cxx b/vcl/headless/svptextrender.cxx index 72f4a85488c8..14ee7a4c0053 100644 --- a/vcl/headless/svptextrender.cxx +++ b/vcl/headless/svptextrender.cxx @@ -455,12 +455,6 @@ SystemFontData SvpTextRender::GetSysFontData( int nFallbacklevel ) const if (nFallbacklevel >= MAX_FALLBACK) nFallbacklevel = MAX_FALLBACK - 1; if (nFallbacklevel < 0 ) nFallbacklevel = 0; - aSysFontData.nSize = sizeof( SystemFontData ); - aSysFontData.nFontId = 0; - aSysFontData.nFontFlags = 0; - aSysFontData.bFakeBold = false; - aSysFontData.bFakeItalic = false; - aSysFontData.bAntialias = true; return aSysFontData; } diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index b107c954d7af..ee14de263707 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -567,8 +567,6 @@ SalLayout* CairoTextRender::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackL SystemFontData CairoTextRender::GetSysFontData( int nFallbackLevel ) const { SystemFontData aSysFontData; - aSysFontData.nSize = sizeof( SystemFontData ); - aSysFontData.nFontId = 0; if (nFallbackLevel >= MAX_FALLBACK) nFallbackLevel = MAX_FALLBACK - 1; if (nFallbackLevel < 0 ) nFallbackLevel = 0; |