summaryrefslogtreecommitdiffstats
path: root/sd/source/filter/eppt/pptx-epptooxml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/eppt/pptx-epptooxml.cxx')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index ce4af329cc2d..8069c7adaaa0 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1738,12 +1738,10 @@ void PowerPointExport::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPr
// use master's id type as they have same range, mso does that as well
pFS->startElementNS( XML_p, XML_sldLayoutIdLst, FSEND );
- int nCount = 0;
for( int i = 0; i < LAYOUT_SIZE; i++) {
sal_Int32 nLayoutFileId = GetLayoutFileId( i, nPageNum );
if( nLayoutFileId > 0 ) {
AddLayoutIdAndRelation( pFS, nLayoutFileId );
- nCount++;
} else {
ImplWritePPTXLayout( i, nPageNum );
AddLayoutIdAndRelation( pFS, GetLayoutFileId( i, nPageNum ) );