summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport.cxx
diff options
context:
space:
mode:
authorBálint Dózsa <dozsabalint@gmail.com>2011-02-17 10:32:07 +0100
committerKohei Yoshida <kyoshida@novell.com>2011-02-17 10:53:39 -0500
commit342f831dddeb332f23ced98a62caf7d6b8848732 (patch)
tree71e5929b62cccb2cc39ae8642fb9f9c27a5cbcd4 /xmloff/source/draw/shapeexport.cxx
parent2891c8419a8e678c34617df7243ef7858126b5b7 (diff)
Remove dead codes
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r--xmloff/source/draw/shapeexport.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 479985f512b2..827c910f54d3 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -164,11 +164,7 @@ uno::Reference< drawing::XShape > XMLShapeExport::checkForCustomShapeReplacement
aEngine = OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.EnhancedCustomShapeEngine" ) );
uno::Reference< lang::XMultiServiceFactory > xFactory( ::comphelper::getProcessServiceFactory() );
- /*
- uno::Reference< drawing::XShape > aXShape = GetXShapeForSdrObject( (SdrObjCustomShape*)pCustomShape );
- if ( !aXShape.is() )
- aXShape = new SvxCustomShape( (SdrObjCustomShape*)pCustomShape );
- */
+
if ( aEngine.getLength() && xFactory.is() )
{
uno::Sequence< uno::Any > aArgument( 1 );
@@ -227,7 +223,6 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
ImpCalcShapeType(xShape, aShapeInfo.meShapeType);
const bool bObjSupportsText =
-// aShapeInfo.meShapeType != XmlShapeTypeDrawControlShape &&
aShapeInfo.meShapeType != XmlShapeTypeDrawChartShape &&
aShapeInfo.meShapeType != XmlShapeTypePresChartShape &&
aShapeInfo.meShapeType != XmlShapeTypeDrawOLE2Shape &&
@@ -1002,7 +997,6 @@ void XMLShapeExport::exportAutoStyles()
// export all autostyle infos
// ...for graphic
-// if(IsFamilyGraphicUsed())
{
GetExport().GetAutoStylePool()->exportXML(
XML_STYLE_FAMILY_SD_GRAPHICS_ID
@@ -1013,7 +1007,6 @@ void XMLShapeExport::exportAutoStyles()
}
// ...for presentation
-// if(IsFamilyPresentationUsed())
{
GetExport().GetAutoStylePool()->exportXML(
XML_STYLE_FAMILY_SD_PRESENTATION_ID