summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorKatarina Machalkova <kmachalkova@suse.cz>2010-10-19 16:34:03 +0200
committerKatarina Machalkova <kmachalkova@suse.cz>2010-10-19 16:34:03 +0200
commiteec929e84b186bcda95c1a5f83418ec152cc45c7 (patch)
treece0a97fcbc98bee52c71f6fb74f1528115587e00 /sd
parent682dcfecbbdc8ba1bc03e8740b153b53c01cb556 (diff)
Merged oox-pptx-export-fix-hidden-slides.diff from ooo-build
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/pptx/pptx-epptooxml.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/sd/source/filter/pptx/pptx-epptooxml.cxx b/sd/source/filter/pptx/pptx-epptooxml.cxx
index 48ea4a742f09..b813166226ae 100644
--- a/sd/source/filter/pptx/pptx-epptooxml.cxx
+++ b/sd/source/filter/pptx/pptx-epptooxml.cxx
@@ -1114,7 +1114,17 @@ void PowerPointExport::ImplWriteSlide( sal_uInt32 nPageNum, sal_uInt32 nMasterNu
mpSlidesFSArray.resize( mnPages );
mpSlidesFSArray[ nPageNum ] = pFS;
- pFS->startElementNS( XML_p, XML_sld, PNMSS, FSEND );
+ const char* pShow = NULL;
+
+ if( GETA( Visible ) ) {
+ sal_Bool bShow;
+ if( ( mAny >>= bShow ) && !bShow )
+ pShow = "0";
+ }
+
+ pFS->startElementNS( XML_p, XML_sld, PNMSS,
+ XML_show, pShow,
+ FSEND );
pFS->startElementNS( XML_p, XML_cSld, FSEND );