[Libreoffice-commits] .: Branch 'libreoffice-3-4' - oox/source

Michael Meeks michael at kemper.freedesktop.org
Tue Jul 19 03:00:27 PDT 2011


 oox/source/core/xmlfilterbase.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit b629b36162efa8ef502508c5df3ab87fc4ee01df
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Tue Jul 19 10:56:44 2011 +0100

    remove leftover debugging printfs

diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index 6085ffd..64cb169 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -526,18 +526,18 @@ XmlFilterBase& XmlFilterBase::exportDocumentProperties( Reference< XDocumentProp
         writeCoreProperties( *this, xProperties );
         writeAppProperties( *this, xProperties );
         Sequence< ::com::sun::star::beans::NamedValue > aStats = xProperties->getDocumentStatistics();
-        printf( "# Document Statistics:\n" );
+//        printf( "# Document Statistics:\n" );
         for( sal_Int32 i = 0, end = aStats.getLength(); i < end; ++i )
         {
             ::com::sun::star::uno::Any aValue = aStats[ i ].Value;
             ::rtl::OUString sValue;
             bool bHaveString = aValue >>= sValue;
-            printf ("#\t%s=%s [%s]\n",
+/*            printf ("#\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());
+                        OUStringToOString( aValue.getValueTypeName(), RTL_TEXTENCODING_UTF8 ).getStr()); */
         }
     }
     return *this;


More information about the Libreoffice-commits mailing list