summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 9299dad777df..31f3710817aa 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1622,12 +1622,12 @@ ShapeExport& PowerPointShapeExport::WritePlaceholderReferenceTextBody(
case DateAndTime:
{
OUString aDateTimeType = "datetime1";
- bool bIsDateTimeFixed;
+ bool bIsDateTimeFixed = false;
xPagePropSet->getPropertyValue("IsDateTimeFixed") >>= bIsDateTimeFixed;
if(ePageType != LAYOUT && !bIsDateTimeFixed)
{
- sal_Int32 nDateTimeFormat;
+ sal_Int32 nDateTimeFormat = 0;
xPagePropSet->getPropertyValue("DateTimeFormat") >>= nDateTimeFormat;
// 4 LSBs represent the date