diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-08 12:37:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-08 12:37:07 +0000 |
commit | ba103edd7a7729177cebee80feade35be2927cf1 (patch) | |
tree | 85d91781e576ddf677d3d42f4a07285d5b839b58 /sd/source/filter | |
parent | debafc2c17b957ff2edc8821bf0f615816645e94 (diff) |
WaE, remove warnings
Diffstat (limited to 'sd/source/filter')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 8f13148ae9a8..643b1f12fff1 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1518,7 +1518,7 @@ sal_Int32 PowerPointExport::GetLayoutFileId( sal_Int32 nOffset, sal_uInt32 nMast return mLayoutInfo[ nOffset ].mnFileIdArray[ nMasterNum ]; } -void PowerPointExport::ImplWriteLayout( sal_Int32 nOffset, sal_uInt32 nMasterNum ) +void PowerPointExport::ImplWriteLayout( sal_Int32 /*nOffset*/, sal_uInt32 /*nMasterNum*/ ) { // we write all the layouts together with master(s) // ImplWritePPTXLayout( GetPPTXLayoutId( nOffset ), nMasterNum ); @@ -1534,8 +1534,11 @@ void PowerPointExport::ImplWritePPTXLayout( sal_Int32 nOffset, sal_uInt32 nMaste Reference< container::XIndexAccess > xIndexAccess( xDrawPages, uno::UNO_QUERY ); xSlide = xDrawPages->insertNewByIndex( xIndexAccess->getCount() ); + +#ifdef DEBUG if( xSlide.is() ) - DBG(printf("new page created\n")); + printf("new page created\n"); +#endif Reference< beans::XPropertySet > xPropSet( xSlide, uno::UNO_QUERY ); xPropSet->setPropertyValue( US( "Layout" ), makeAny( short( aLayoutInfo[ nOffset ].nType ) ) ); |