summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridcell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r--svx/source/fmcomp/gridcell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 4f3914026820..fdc23002211f 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -745,7 +745,7 @@ void DbCellControl::ImplInitWindow( Window& rParent, const InitWindowFacet _eIni
pWindows[i]->SetZoom( rParent.GetZoom() );
const StyleSettings& rStyleSettings = pWindows[i]->GetSettings().GetStyleSettings();
- Font aFont = rStyleSettings.GetFieldFont();
+ vcl::Font aFont = rStyleSettings.GetFieldFont();
aFont.SetTransparent( isTransparent() );
if ( rParent.IsControlFont() )
@@ -978,7 +978,7 @@ void DbCellControl::PaintCell( OutputDevice& _rDev, const Rectangle& _rRect )
m_pPainter->SetTextColor( _rDev.GetTextColor() );
m_pPainter->SetTextFillColor( _rDev.GetTextColor() );
- Font aFont( _rDev.GetFont() );
+ vcl::Font aFont( _rDev.GetFont() );
aFont.SetTransparent( true );
m_pPainter->SetFont( aFont );