summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-03 21:01:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-03-04 09:04:14 +0100
commitc57d6d39c80844c9d4c6bfed85cc151e52a67b34 (patch)
treeed0c2f7b7071040f5d0f87dff1222151479e7029 /writerfilter/source/filter
parent3d38514166b2e3090e03d16df11e83e184eee433 (diff)
comphelper: allow simple ad-hoc measuring with ProfileZones
And then remove the manual measuring from the RTF import. Sample output: comphelper::ProfileZone: RtfFilter::filter finished in 180 ms Change-Id: I85e2e12d82ff491a2991a41e5a6f6d1410e12363 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89905 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'writerfilter/source/filter')
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index 68995b348d80..c58867646657 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -81,7 +81,6 @@ RtfFilter::RtfFilter(uno::Reference<uno::XComponentContext> xContext)
sal_Bool RtfFilter::filter(const uno::Sequence<beans::PropertyValue>& rDescriptor)
{
- sal_uInt32 nStartTime = osl_getGlobalTimer();
if (m_xSrcDoc.is())
{
uno::Reference<lang::XMultiServiceFactory> xMSF(m_xContext->getServiceManager(),
@@ -148,9 +147,6 @@ sal_Bool RtfFilter::filter(const uno::Sequence<beans::PropertyValue>& rDescripto
m_xContext, xInputStream, m_xDstDoc, xFrame, xStatusIndicator, aMediaDesc));
pDocument->resolve(*pStream);
bResult = true;
- sal_uInt32 nEndTime = osl_getGlobalTimer();
- SAL_INFO("writerfilter.profile",
- "RtfFilter::filter: finished in " << nEndTime - nStartTime << " ms");
}
catch (const io::WrongFormatException&)
{