summaryrefslogtreecommitdiff
path: root/sd/source/filter/html
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html')
-rw-r--r--sd/source/filter/html/buttonset.cxx2
-rw-r--r--sd/source/filter/html/pubdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/buttonset.cxx b/sd/source/filter/html/buttonset.cxx
index 1eed38115361..2aff0cd214b4 100644
--- a/sd/source/filter/html/buttonset.cxx
+++ b/sd/source/filter/html/buttonset.cxx
@@ -197,7 +197,7 @@ bool ButtonSetImpl::getPreview( int nSet, const std::vector< OUString >& rButton
std::vector< Graphic > aGraphics;
ScopedVclPtrInstance< VirtualDevice > pDev;
- pDev->SetMapMode(MapMode(MAP_PIXEL));
+ pDev->SetMapMode(MapMode(MapUnit::MapPixel));
Size aSize;
std::vector< OUString >::const_iterator aIter( rButtons.begin() );
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index cb7dbd6d5e93..74d691031dba 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -366,7 +366,7 @@ SdPublishingDlg::SdPublishingDlg(vcl::Window* pWindow, DocumentType eDocType)
m_bImpress = eDocType == DOCUMENT_TYPE_IMPRESS;
- Size aSize(LogicToPixel(Size(60, 50), MAP_APPFONT));
+ Size aSize(LogicToPixel(Size(60, 50), MapUnit::MapAppFont));
get(pPage2_Standard_FB, "standardFBImage");
pPage2_Standard_FB->set_width_request(aSize.Width());
pPage2_Standard_FB->set_height_request(aSize.Height());