diff options
author | David Hobley <davidh@sharpblue.org> | 2010-10-04 16:20:36 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-10-04 16:20:36 +0200 |
commit | c85da5656b3a188c0251c22070263b4de56f6a7c (patch) | |
tree | 83f33e9615ea0b823b88db3bcc886a20221946da /xmloff | |
parent | 8566ace38597cf7f8aec8b353ac9dce18493bb59 (diff) |
Comment cleanup
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/transform/TransformerBase.cxx | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/xmloff/source/transform/TransformerBase.cxx b/xmloff/source/transform/TransformerBase.cxx index 9df6ed0c461e..5bfcdfc981f9 100644 --- a/xmloff/source/transform/TransformerBase.cxx +++ b/xmloff/source/transform/TransformerBase.cxx @@ -43,9 +43,7 @@ #include "MutableAttrList.hxx" #include "TransformerActions.hxx" #include "ElemTransformerAction.hxx" -// --> OD 2005-06-29 #i50322# #include "PropertyActionsOOo.hxx" -// <-- #ifndef _XMLOFF_TRANSFORMERTOKENMAP_HXX #include "TransformerTokenMap.hxx" #endif @@ -66,8 +64,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::i18n; using namespace ::com::sun::star::xml::sax; -// ----------------------------------------------------------------------------- - namespace { bool lcl_ConvertAttr( OUString & rOutAttribute, sal_Int32 nParam ) @@ -87,8 +83,6 @@ bool lcl_ConvertAttr( OUString & rOutAttribute, sal_Int32 nParam ) } } // anonymous namespace -// ----------------------------------------------------------------------------- - XMLTransformerContext *XMLTransformerBase::CreateContext( USHORT nPrefix, const OUString& rLocalName, const OUString& rQName ) { @@ -613,12 +607,10 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) { - // --> OD 2004-10-29 #i13778#,#i36248# - // apply correct twip-to-1/100mm + // #i13778#,#i36248# apply correct twip-to-1/100mm nMeasure = (sal_Int32)( nMeasure >= 0 ? ((nMeasure*127L+36L)/72L) : ((nMeasure*127L-36L)/72L) ); - // <-- rtl::OUStringBuffer aBuffer; SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); @@ -775,12 +767,10 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( if( SvXMLUnitConverter::convertMeasure(nMeasure, aAttrValue, MAP_100TH_MM ) ) { - // --> OD 2004-10-29 #i13778#,#i36248# - // apply correct 1/100mm-to-twip conversion + // #i13778#,#i36248#/ apply correct 1/100mm-to-twip conversion nMeasure = (sal_Int32)( nMeasure >= 0 ? ((nMeasure*72L+63L)/127L) : ((nMeasure*72L-63L)/127L) ); - // <-- OUStringBuffer aBuffer; SvXMLUnitConverter::convertMeasure( aBuffer, nMeasure, MAP_100TH_MM, nDestUnit ); @@ -861,7 +851,7 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( pMutableAttrList->SetValueByIndex( i, aBuffer.makeStringAndClear() ); } break; - // --> OD 2005-06-10 #i50322# - special handling for the + // #i50322# - special handling for the // transparency of writer background graphics. case XML_ATACTION_WRITER_BACK_GRAPHIC_TRANSPARENCY: { @@ -887,7 +877,6 @@ XMLMutableAttributeList *XMLTransformerBase::ProcessAttrList( bRename = sal_True; } break; - // <-- default: OSL_ENSURE( !this, "unknown action" ); break; |