summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-30 20:56:01 +0100
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-30 23:06:42 +0000
commit18658fff26edfc2169b014d6cefe7c7987c26320 (patch)
tree242ab0397fd0b99fd268e14c650f8ceafb977237 /sd
parentcppcheck unreadVariable: n (diff)
downloadcore-18658fff26edfc2169b014d6cefe7c7987c26320.tar.gz
core-18658fff26edfc2169b014d6cefe7c7987c26320.zip
cppcheck unreadVariable: nCount
unused since commit debafc2c17b957ff2edc8821bf0f615816645e94 Change-Id: Ida1da503739454a1fb67b4d0df3067060c2738e5 Reviewed-on: https://gerrit.libreoffice.org/30409 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sd')
-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 ) );