[Libreoffice-commits] core.git: oox/source

Miklos Vajna vmiklos at collabora.co.uk
Sat Mar 22 07:16:31 PDT 2014


 oox/source/core/xmlfilterbase.cxx |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit e938a41ac0da617f20bb3df0f86dfd8476bf88e7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Mar 22 14:57:27 2014 +0100

    oox: no need to dump these here
    
    writeAppProperties() already uses this data as necessary.
    
    Change-Id: I5eea399ae2cfa37dc3a7c80114f5265fb4a0c648

diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 9c7ee32..b8fcfdb 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -686,20 +686,6 @@ XmlFilterBase& XmlFilterBase::exportDocumentProperties( Reference< XDocumentProp
     {
         writeCoreProperties( *this, xProperties );
         writeAppProperties( *this, xProperties );
-        Sequence< ::com::sun::star::beans::NamedValue > aStats = xProperties->getDocumentStatistics();
-        OSL_TRACE( "# Document Statistics:" );
-        for( sal_Int32 i = 0, end = aStats.getLength(); i < end; ++i )
-        {
-            ::com::sun::star::uno::Any aValue = aStats[ i ].Value;
-            OUString sValue;
-            bool bHaveString = aValue >>= sValue;
-            OSL_TRACE ("#\t%s=%s [%s]\n",
-                    OUStringToOString( aStats[ i ].Name, RTL_TEXTENCODING_UTF8 ).getStr(),
-                    bHaveString
-                        ? OUStringToOString( sValue, RTL_TEXTENCODING_UTF8 ).getStr()
-                        : "<unconvertable>",
-                    OUStringToOString( aValue.getValueTypeName(), RTL_TEXTENCODING_UTF8 ).getStr());
-        }
     }
     return *this;
 }


More information about the Libreoffice-commits mailing list