Commits

Thomas Lange [tl]  committed 20ebd16

cws tl77 : #i111876# comment clean-up

  • Participants
  • Parent commits 07aacf8

Comments (0)

Files changed (9)

File editeng/source/editeng/impedit.hxx

 	EditPaM				ReadText( SvStream& rInput, EditSelection aSel );
 	EditPaM				ReadRTF( SvStream& rInput, EditSelection aSel );
 	EditPaM				ReadXML( SvStream& rInput, EditSelection aSel );
-    EditPaM             ReadODF( SvStream& rInput, EditSelection aSel );    // TL_TEST
+    EditPaM             ReadODF( SvStream& rInput, EditSelection aSel );
     EditPaM             ReadHTML( SvStream& rInput, const String& rBaseURL, EditSelection aSel, SvKeyValueIterator* pHTTPHeaderAttrs );
 	EditPaM				ReadBin( SvStream& rInput, EditSelection aSel );
 	sal_uInt32			WriteText( SvStream& rOutput, EditSelection aSel );
 	sal_uInt32			WriteRTF( SvStream& rOutput, EditSelection aSel );
 	sal_uInt32			WriteXML( SvStream& rOutput, EditSelection aSel );
-    sal_uInt32          WriteODF( SvStream& rOutput, EditSelection aSel );  //TL_TEST
+    sal_uInt32          WriteODF( SvStream& rOutput, EditSelection aSel );
 	sal_uInt32			WriteHTML( SvStream& rOutput, EditSelection aSel );
 	sal_uInt32			WriteBin( SvStream& rOutput, EditSelection aSel, BOOL bStoreUnicode = FALSE ) const;
 

File editeng/source/editeng/impedit4.cxx

 		aSel = ImpDeleteSelection( aSel );
 
     ESelection aESel = CreateESel( aSel );
-    // TL_TODO get REAL model
     SvxReadODF( *GetEditEnginePtr(), rInput, aESel );
 
     return aSel.Max();
 	return 0;
 }
 
-//TL_TEST
 sal_uInt32 ImpEditEngine::WriteODF( SvStream& rOutput, EditSelection aSel )
 {
     // 

File editeng/source/uno/unotext.cxx

 
 UNO3_GETIMPLEMENTATION_IMPL( SvxUnoTextRangeBase );
 
-#if OSL_DEBUG_LEVEL > 1
-#include <com/sun/star/beans/XPropertySetInfo.hpp>
-#endif
 
 SvxUnoTextRangeBase::SvxUnoTextRangeBase( const SvxItemPropertySet* _pSet ) throw()
 : mpEditSource(NULL) , mpPropSet(_pSet)
 #ifdef DEBUG
 	gNumRanges.add(this);
 #endif
-
-#if OSL_DEBUG_LEVEL > 1
-    OUString sNumberingRules( OUString::createFromAscii("NumberingRules") );
-    com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xPSI = getPropertySetInfo();
-    if (!xPSI->hasPropertyByName( sNumberingRules ))
-    {
-        xPSI = com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >();
-    }
-#endif
 }
 
 SvxUnoTextRangeBase::SvxUnoTextRangeBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet ) throw()
 : mpPropSet(_pSet)
 {
-#if OSL_DEBUG_LEVEL > 1
-    OUString sNumberingRules( OUString::createFromAscii("NumberingRules") );
-    com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xPSI = getPropertySetInfo();
-    if (!xPSI->hasPropertyByName( sNumberingRules ))
-    {
-        xPSI = com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >();
-    }
-#endif
 	OGuard aGuard( Application::GetSolarMutex() );
 
 	DBG_ASSERT(pSource,"SvxUnoTextRangeBase: I need a valid SvxEditSource!");
 ,	lang::XUnoTunnel()
 ,	mpPropSet(rRange.getPropertySet())
 {
-#if OSL_DEBUG_LEVEL > 1
-    OUString sNumberingRules( OUString::createFromAscii("NumberingRules") );
-    com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xPSI = getPropertySetInfo();
-    if (!xPSI->hasPropertyByName( sNumberingRules ))
-    {
-        xPSI = com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >();
-    }
-#endif
 	OGuard aGuard( Application::GetSolarMutex() );
 
 	mpEditSource = rRange.mpEditSource ? rRange.mpEditSource->Clone() : NULL;

File editeng/source/xml/xmltxtexp.cxx

 #include <editeng/unoipset.hxx>
 
 
+
 using namespace com::sun::star;
 using namespace com::sun::star::container;
 using namespace com::sun::star::document;
 		const ::rtl::OUString& rFileName,
 		const com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler > & xHandler );
 
-    // TL_TEST
     SvxXMLTextExportComponent( 
         sal_uInt16 nExportFlags,
         ::xmloff::token::XMLTokenEnum eClass,
 	setExportFlags( EXPORT_AUTOSTYLES|EXPORT_CONTENT );
 }
 
-//TL_TEST
+
 SvxXMLTextExportComponent::SvxXMLTextExportComponent( 
     sal_uInt16 nExportFlags,
     ::xmloff::token::XMLTokenEnum eClass,

File editeng/source/xml/xmltxtimp.cxx

             xStream.clear();
         }
 
-        xIn
-= xStream;
+        xIn = xStream;
     }
     return xIn;
 }

File xmloff/inc/xmloff/xmlexp.hxx

 		const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > &,
 		sal_Int16 eDfltUnit );
 
-//TL_TEST
     SvXMLExport(
         sal_uInt16 nExportFlags,
         enum ::xmloff::token::XMLTokenEnum eClass,

File xmloff/inc/xmloff/xmlimp.hxx

 		const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
 		const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & ) throw();
 
-    // TL_TEST
     SvXMLImport(
         sal_uInt16 nImportFlags,
         const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,

File xmloff/source/core/xmlexp.cxx

 		mpNumExport = new SvXMLNumFmtExport(*this, mxNumberFormatsSupplier);
 }
 
+
 // #110680#
 SvXMLExport::SvXMLExport(
 	const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,
 		mpNumExport = new SvXMLNumFmtExport(*this, mxNumberFormatsSupplier);
 }
 
-//TL_TEST
 SvXMLExport::SvXMLExport(
     sal_uInt16 nExportFlags,
     enum ::xmloff::token::XMLTokenEnum eClass,
     mpImageMapExport( NULL ),
     mpXMLErrors( NULL ),
     mbExtended( sal_False ),
-    meClass( eClass /*XML_TOKEN_INVALID*/ /*XML_TEXT*/ ),
+    meClass( eClass ),
     mnExportFlags( nExportFlags ),
     mnErrorFlags( ERROR_NO ),
     msWS( GetXMLToken(XML_WS) ),

File xmloff/source/core/xmlimp.cxx

 	_InitCtor();
 }
 
+
 // #110680#
 SvXMLImport::SvXMLImport(
 	const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceFactory,