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 /oox/source/drawingml | |
parent | bbb03549db3ecb9e4e5a3c4c3cb58059c06ea7e8 (diff) |
remove unused code (oox, sc)
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r-- | oox/source/drawingml/textparagraphproperties.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx index 5df6bfe1df3f..1aa67ec17e0d 100644 --- a/oox/source/drawingml/textparagraphproperties.cxx +++ b/oox/source/drawingml/textparagraphproperties.cxx @@ -469,31 +469,6 @@ float TextParagraphProperties::getCharHeightPoints( float fDefault ) const } -#ifdef DBG_UTIL - -void TextParagraphProperties::dump() const -{ - Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory = comphelper::getProcessServiceFactory(); - Reference< ::com::sun::star::drawing::XShape > xShape( oox::ppt::PowerPointImport::mpDebugFilterBase->getModelFactory()->createInstance( CREATE_OUSTRING( "com.sun.star.presentation.TitleTextShape" ) ), UNO_QUERY ); - Reference< ::com::sun::star::text::XText > xText( xShape, UNO_QUERY ); - - Reference< com::sun::star::drawing::XDrawPage > xDebugPage(ppt::SlidePersist::mxDebugPage.get(), UNO_QUERY); - if (xDebugPage.is()) - xDebugPage->add( xShape ); - - PropertyMap emptyMap; - - const OUString sText = CREATE_OUSTRING("debug"); - xText->setString( sText ); - Reference< ::com::sun::star::text::XTextCursor > xStart( xText->createTextCursor(), UNO_QUERY ); - Reference< ::com::sun::star::text::XTextRange > xRange( xStart, UNO_QUERY ); - xStart->gotoEnd( sal_True ); - Reference< XPropertySet > xPropSet( xRange, UNO_QUERY ); - pushToPropSet( NULL, xPropSet, emptyMap, NULL, false, 0 ); - PropertySet pSet( xPropSet ); - pSet.dump(); -} -#endif } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |