summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdmod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/app/sdmod.cxx')
-rw-r--r--sd/source/ui/app/sdmod.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index 2d6b184b7a64..f38a67ee5406 100644
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -131,14 +131,14 @@ SdOptions* SdModule::GetSdOptions(DocumentType eDocType)
{
SdOptions* pOptions = nullptr;
- if (eDocType == DOCUMENT_TYPE_DRAW)
+ if (eDocType == DocumentType::Draw)
{
if (!pDrawOptions)
pDrawOptions = new SdOptions( SDCFG_DRAW );
pOptions = pDrawOptions;
}
- else if (eDocType == DOCUMENT_TYPE_IMPRESS)
+ else if (eDocType == DocumentType::Impress)
{
if (!pImpressOptions)
pImpressOptions = new SdOptions( SDCFG_IMPRESS );
@@ -190,7 +190,7 @@ tools::SvRef<SotStorageStream> SdModule::GetOptionStream( const OUString& rOptio
OUString aStmName;
- if( DOCUMENT_TYPE_DRAW == eType )
+ if( DocumentType::Draw == eType )
aStmName = "Draw_";
else
aStmName = "Impress_";