diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-05 14:17:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-05 14:17:38 +0100 |
commit | 09442a04624cd09f7c693cd7e64e0259f17b2d6b (patch) | |
tree | de30406197647d39ef01282ddc125d3768866934 /vcl/generic | |
parent | e0632e1063d5ce9877c3b81835759046c99b1eee (diff) |
Remove unnecessary cast
Change-Id: I5b9bb5231d65beb0ac5c98973a33f1cb369f0649
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/genpspgraphics.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx index 096536a2703c..a6e1e837ef7a 100644 --- a/vcl/generic/print/genpspgraphics.cxx +++ b/vcl/generic/print/genpspgraphics.cxx @@ -921,7 +921,7 @@ void GenPspGraphics::GetFontAttributes( ImplFontAttributes *pFontAttributes, int if (rMgr.getFontInfo (m_pPrinterGfx->GetFontID(), aInfo)) { ImplFontAttributes aDFA = Info2FontAttributes( aInfo ); - static_cast<ImplFontAttributes&>(*pFontAttributes) = aDFA; + *pFontAttributes = aDFA; pFontAttributes->SetBuiltInFontFlag( aDFA.IsBuiltInFont() ); pFontAttributes->SetScalableFlag( true ); pFontAttributes->SetTrueTypeFlag( false ); // FIXME, needed? |