summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport.cxx
diff options
context:
space:
mode:
authorAlexander O. Anisimov <alenyashka@gmail.com>2010-11-09 01:42:14 +0500
committerCaolán McNamara <caolanm@redhat.com>2010-11-09 11:50:47 +0000
commitdec234ba07197fcfde9bf4e240549ffaa3ba00b4 (patch)
tree590b035fe0575a06214b2a520887074963332a1e /xmloff/source/draw/shapeexport.cxx
parent9569c88f3ba13115e6af4fca17805ef2fc8716e3 (diff)
Clean up the code
* Remove bogus comments * Refresh comments containing a reference to the bug tracker * Remove the comments such as "// add by zhaojianwei"
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r--xmloff/source/draw/shapeexport.cxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 831bc8912e60..8396e4131860 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -507,7 +507,6 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
///////////////////////////////////////////////////////////////////////
-// --> OD 2008-05-08 #refactorlists#
namespace
{
class NewTextListsHelper
@@ -584,9 +583,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
return;
}
- // --> OD 2008-05-08 #refactorlists#
NewTextListsHelper aNewTextListsHelper( mrExport );
- // <--
const ImplXMLShapeExportInfo& aShapeInfo = aShapeInfoVector[nZIndex];
@@ -619,16 +616,13 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
if( mxAnimationsExporter.is() )
mxAnimationsExporter->collect( xShape, mrExport );
- // -------------------------------
- // export shapes name if he has one
- // --> OD 2006-03-13 #i51726#
- // Export of the shape name for text documents only if the OpenDocument
- // file format is written - exceptions are group shapes.
- // Note: Writer documents in OpenOffice.org file format doesn't contain
- // any names for shapes, except for group shapes.
- // -------------------------------
+ /* Export shapes name if he has one (#i51726#)
+ Export of the shape name for text documents only if the OpenDocument
+ file format is written - exceptions are group shapes.
+ Note: Writer documents in OpenOffice.org file format doesn't contain
+ any names for shapes, except for group shapes.
+ */
{
- // --> OD 2006-03-10 #i51726#
if ( ( GetExport().GetModelType() != SvtModuleOptions::E_WRITER &&
GetExport().GetModelType() != SvtModuleOptions::E_WRITERWEB &&
GetExport().GetModelType() != SvtModuleOptions::E_WRITERGLOBAL ) ||
@@ -645,7 +639,6 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
mrExport.AddAttribute(XML_NAMESPACE_DRAW, XML_NAME, aName );
}
}
- // <--
}
// ------------------