summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-06 20:54:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-06 20:55:58 +0100
commit107c2c7c7bb7eacba4045159ac40fe3b6737d4f3 (patch)
tree623a600198aae4207737ba07b62b12dc5430050c /xmloff
parent31fd531b2757269dde108b362752f7949615736a (diff)
Remove #ifdef TIMELOG'ed SAL_INFOs
...the code doesn't make much sense that way. Change-Id: I506e37b44924701255431f6d20d4610f7f52287d
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/xmlexp.cxx14
-rw-r--r--xmloff/source/core/xmlimp.cxx9
2 files changed, 0 insertions, 23 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx
index 5d4fc0d9a325..0c28b7c4003f 100644
--- a/xmloff/source/core/xmlexp.cxx
+++ b/xmloff/source/core/xmlexp.cxx
@@ -821,20 +821,6 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
}
}
-#ifdef TIMELOG
- if (GetModel().is())
- {
- // print a trace message with the URL
- OString aUrl(OUStringToOString(GetModel()->getURL(),
- RTL_TEXTENCODING_ASCII_US));
- SAL_INFO( "xmloff.core", aUrl.getStr() );
- // we also want a trace message with the document class
- OString aClass(OUStringToOString(GetXMLToken(meClass),
- RTL_TEXTENCODING_ASCII_US));
- SAL_INFO( "xmloff.core", "class=\"" << aClass.getStr() << "\"" );
- }
-#endif
-
exportDoc( meClass );
}
catch(const uno::Exception& e)
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index e733ed760718..6bc4827a6d06 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -672,15 +672,6 @@ void SAL_CALL SvXMLImport::startElement( const OUString& rName,
}
else
{
-#ifdef TIMELOG
- // If we do profiling, we want a trace message for the first element
- // in order to identify the stream.
- OString aString(OUStringToOString(rName, RTL_TEXTENCODING_ASCII_US));
- SAL_INFO( "xmloff.core", "xmloff" );
- "SvXMLImport::StartElement( \"%s\", ... )",
- aString.getStr() );
-#endif
-
pContext = CreateContext( nPrefix, aLocalName, xAttrList );
if( (nPrefix & XML_NAMESPACE_UNKNOWN_FLAG) != 0 &&
IS_TYPE( SvXMLImportContext, pContext ) )