summaryrefslogtreecommitdiff
path: root/sw/source/core/view/pagepreviewlayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/pagepreviewlayout.cxx')
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 94e98d1aa57a..65e70589d036 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -1048,7 +1048,7 @@ bool SwPagePreviewLayout::Paint( const Rectangle _aOutRect ) const
MapMode aMapMode( pOutputDev->GetMapMode() );
MapMode aSavedMapMode = aMapMode;
- const Font& rEmptyPgFont = SwPageFrm::GetEmptyPageFont();
+ const vcl::Font& rEmptyPgFont = SwPageFrm::GetEmptyPageFont();
for ( std::vector<PreviewPage*>::const_iterator aPageIter = maPreviewPages.begin();
aPageIter != maPreviewPages.end();
@@ -1078,7 +1078,7 @@ bool SwPagePreviewLayout::Paint( const Rectangle _aOutRect ) const
pOutputDev->DrawRect( aPageRect );
// paint empty page text
- Font aOldFont( pOutputDev->GetFont() );
+ vcl::Font aOldFont( pOutputDev->GetFont() );
pOutputDev->SetFont( rEmptyPgFont );
pOutputDev->DrawText( aPageRect, SW_RESSTR( STR_EMPTYPAGE ),
TEXT_DRAW_VCENTER |