diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-03-09 09:26:05 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-03-09 09:26:05 +0100 |
commit | 401a834e0bb5b9a1fdf4d8648cb7c630ce452459 (patch) | |
tree | db58843407b0a6acc0c8d789a08346cf99dbb1f2 /writerfilter | |
parent | Fixed @since tags (diff) | |
download | core-401a834e0bb5b9a1fdf4d8648cb7c630ce452459.tar.gz core-401a834e0bb5b9a1fdf4d8648cb7c630ce452459.zip |
writerfilter: ifdef + fprintf -> SAL_INFO
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index a3b0e7ee8ac1..85ef2f2661e9 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -16,9 +16,7 @@ #include <com/sun/star/text/PositionAndSpaceMode.hpp> #include <com/sun/star/text/XChapterNumberingSupplier.hpp> -#if DEBUG -#include <stdio.h> -#endif +#include <rtl/oustringostreaminserter.hxx> #include "dmapperLoggers.hxx" @@ -53,11 +51,7 @@ void lcl_printProperties( uno::Sequence< beans::PropertyValue > aProps ) if ( !( aValue >>= sValue ) && ( aValue >>= nValue ) ) sValue = OUString::valueOf( nValue ); -#if DEBUG - fprintf( stderr, "Property %s: %s\n", - OUSTR_TO_C( aProps[i].Name ), - OUSTR_TO_C( sValue ) ); -#endif + SAL_INFO("writerfilter", "Property " << aProps[i].Name << ": " << sValue); } } @@ -534,7 +528,9 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper, // Get the merged level properties uno::Sequence< beans::PropertyValue > aLvlProps = aProps[sal_Int32( nLevel )]; +#if DEBUG lcl_printProperties( aLvlProps ); +#endif // Get the char style uno::Sequence< beans::PropertyValue > aAbsCharStyleProps = pAbsLevel->GetCharStyleProperties( ); |