[Libreoffice-commits] core.git: oox/source
Emircan Agac (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 16 20:20:13 UTC 2021
oox/source/export/vmlexport.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 42f536df5c5b15d34c7c5663c6653d5bedbc2dc2
Author: Emircan Agac <thesadson at gmail.com>
AuthorDate: Mon Aug 16 18:03:15 2021 +0300
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Mon Aug 16 22:16:59 2021 +0200
tdf#130924 : replace debugging printf calls with SAL_INFO/SAL_WARN
Change-Id: I4ca3a3a7ced1dac90ae896cc8a0abb08f830744e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120551
Tested-by: Jenkins
Reviewed-by: Hossein <hossein at libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index d4243c6e07bf..f00d59f4159e 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -286,10 +286,7 @@ static void impl_AddBool( sax_fastparser::FastAttributeList *pAttrList, sal_Int3
static void impl_AddColor( sax_fastparser::FastAttributeList *pAttrList, sal_Int32 nElement, sal_uInt32 nColor )
{
-#if OSL_DEBUG_LEVEL > 0
- if ( nColor & 0xFF000000 )
- fprintf( stderr, "TODO: this is not a RGB value!\n" );
-#endif
+ SAL_WARN_IF( nColor & 0xFF000000 , "oox.vml" , "TODO: this is not a RGB value!");
if ( !pAttrList || ( nColor & 0xFF000000 ) )
return;
More information about the Libreoffice-commits
mailing list