summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorEmircan Agac <thesadson@gmail.com>2021-08-16 18:03:15 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-08-16 22:16:59 +0200
commit42f536df5c5b15d34c7c5663c6653d5bedbc2dc2 (patch)
tree4db8e205392b2fa75fbb7119a2e78099cb2888a7 /oox
parentea7b9f87556414d37b83a5dd45cd944d97597ad1 (diff)
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@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/vmlexport.cxx5
1 files changed, 1 insertions, 4 deletions
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;