summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 82281ddaef13..97de832cd63f 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2276,7 +2276,7 @@ void SdXImpressDocument::setPartMode( LibreOfficeKitPartMode ePartMode )
return;
}
- PageKind aPageKind;
+ PageKind aPageKind( PK_STANDARD );
switch ( ePartMode )
{
case LOK_PARTMODE_EMBEDDEDOBJ:
@@ -2289,7 +2289,6 @@ void SdXImpressDocument::setPartMode( LibreOfficeKitPartMode ePartMode )
// And let's fall through in a normal build.
case LOK_PARTMODE_DEFAULT:
case LOK_PARTMODE_SLIDE:
- aPageKind = PK_STANDARD;
break;
case LOK_PARTMODE_SLIDENOTES:
aPageKind = PK_NOTES;