summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/htmlex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/htmlex.cxx')
-rw-r--r--sd/source/filter/html/htmlex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 5596fdd4853b..7e215af14021 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -405,7 +405,7 @@ HtmlExport::~HtmlExport()
// get common export parameters from item set
void HtmlExport::InitExportParameters( const Sequence< PropertyValue >& rParams )
{
- mbImpress = mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS;
+ mbImpress = mpDoc->GetDocumentType() == DocumentType::Impress;
sal_Int32 nArgs = rParams.getLength();
const PropertyValue* pParams = rParams.getConstArray();
@@ -813,7 +813,7 @@ void HtmlExport::SetDocColors( SdPage* pPage )
SfxStyleSheet* pSheet = nullptr;
- if( mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS )
+ if( mpDoc->GetDocumentType() == DocumentType::Impress )
{
// default text color from the outline template of the first page
pSheet = pPage->GetStyleSheetForPresObj(PRESOBJ_OUTLINE);