[Libreoffice-commits] .: svtools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 14 04:35:20 PDT 2012


 svtools/source/table/cellvalueconversion.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 04ddb79f5016c09503edcd50de35d40a2789c854
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Sep 14 13:29:08 2012 +0200

    fix debug message
    
    It did not compile, and not using the deprecated macro fixes that
    as a side-effect.
    
    Change-Id: I97b8cd2ff1a650ec9d38cbf7eeb8780177a7fd7a

diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx
index 27c9ed3..677283a 100644
--- a/svtools/source/table/cellvalueconversion.cxx
+++ b/svtools/source/table/cellvalueconversion.cxx
@@ -421,12 +421,7 @@ namespace svt
                 }
                 else
                 {
-#if OSL_DEBUG_LEVEL > 0
-                    ::rtl::OStringBuffer message( "lcl_getValueNormalizer: unsupported type '" );
-                    message.append( ::rtl::OUStringToOString( sTypeName, RTL_TEXTENCODING_ASCII_US ) );
-                    message.append( "'!" );
-                    OSL_ENSURE( false, message.makeStringAndClear() );
-#endif
+                    SAL_WARN( "svtools.table", "unsupported type '" << sTypeName << "'!" );
                 }
                 io_data.aNormalizers[ sTypeName ] = o_formatter;
             }


More information about the Libreoffice-commits mailing list