diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-03-28 11:20:18 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-28 16:45:15 +0100 |
commit | 21628c6397b18ba90bc33ce8682df9011c7eed1b (patch) | |
tree | 6b633ed69f5e7e315f980a389bf293ca66a0abef /sd | |
parent | add testcase for n#751117 (diff) | |
download | core-21628c6397b18ba90bc33ce8682df9011c7eed1b.tar.gz core-21628c6397b18ba90bc33ce8682df9011c7eed1b.zip |
remove unused code (oox, sc)
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptooxml.hxx | 1 | ||||
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 0fb98018fdcc..7a9679a262a6 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -125,7 +125,6 @@ protected: void WriteAnimationProperty( ::sax_fastparser::FSHelperPtr pFS, const ::com::sun::star::uno::Any& rAny ); void WriteAnimationTarget( ::sax_fastparser::FSHelperPtr pFS, ::com::sun::star::uno::Any aTarget ); bool WriteComments( sal_uInt32 nPageNum ); - void WriteTextStyleLevel( ::sax_fastparser::FSHelperPtr pFS, int nInstance, int nLevel ); void ImplWriteBackground( ::sax_fastparser::FSHelperPtr pFS, ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > aXBackgroundPropSet ); void WriteTransition( ::sax_fastparser::FSHelperPtr pFS ); diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 0ff53d5901fc..11679669c7fe 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1537,20 +1537,6 @@ sal_Int32 PowerPointExport::nStyleLevelToken[5] = XML_lvl5pPr }; -void PowerPointExport::WriteTextStyleLevel( FSHelperPtr pFS, int nInstance, int nLevel ) -{ - OSL_ASSERT( nLevel >= 0 && nLevel < 5 ); - OSL_ASSERT( nInstance >= 0 && nInstance < 9 ); - - PPTExParaLevel rParaLevel = mpStyleSheet->GetParaSheet( nInstance ).maParaLevel[ nLevel ]; - - pFS->startElementNS( XML_a, PowerPointExport::nStyleLevelToken[ nLevel ], - XML_algn, DrawingML::GetAlignment( rParaLevel.mnOOAdjust ), - FSEND ); - - pFS->endElementNS( XML_a, PowerPointExport::nStyleLevelToken[ nLevel ] ); -} - void PowerPointExport::ImplWriteSlideMaster( sal_uInt32 nPageNum, Reference< XPropertySet > aXBackgroundPropSet ) { DBG(printf("write slide master: %" SAL_PRIuUINT32 "\n----------------\n", nPageNum)); |