Kaydet (Commit) 401a834e authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: ifdef + fprintf -> SAL_INFO

üst 8840765e
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
#include <com/sun/star/text/PositionAndSpaceMode.hpp> #include <com/sun/star/text/PositionAndSpaceMode.hpp>
#include <com/sun/star/text/XChapterNumberingSupplier.hpp> #include <com/sun/star/text/XChapterNumberingSupplier.hpp>
#if DEBUG #include <rtl/oustringostreaminserter.hxx>
#include <stdio.h>
#endif
#include "dmapperLoggers.hxx" #include "dmapperLoggers.hxx"
...@@ -53,11 +51,7 @@ void lcl_printProperties( uno::Sequence< beans::PropertyValue > aProps ) ...@@ -53,11 +51,7 @@ void lcl_printProperties( uno::Sequence< beans::PropertyValue > aProps )
if ( !( aValue >>= sValue ) && ( aValue >>= nValue ) ) if ( !( aValue >>= sValue ) && ( aValue >>= nValue ) )
sValue = OUString::valueOf( nValue ); sValue = OUString::valueOf( nValue );
#if DEBUG SAL_INFO("writerfilter", "Property " << aProps[i].Name << ": " << sValue);
fprintf( stderr, "Property %s: %s\n",
OUSTR_TO_C( aProps[i].Name ),
OUSTR_TO_C( sValue ) );
#endif
} }
} }
...@@ -534,7 +528,9 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper, ...@@ -534,7 +528,9 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper,
// Get the merged level properties // Get the merged level properties
uno::Sequence< beans::PropertyValue > aLvlProps = aProps[sal_Int32( nLevel )]; uno::Sequence< beans::PropertyValue > aLvlProps = aProps[sal_Int32( nLevel )];
#if DEBUG
lcl_printProperties( aLvlProps ); lcl_printProperties( aLvlProps );
#endif
// Get the char style // Get the char style
uno::Sequence< beans::PropertyValue > aAbsCharStyleProps = pAbsLevel->GetCharStyleProperties( ); uno::Sequence< beans::PropertyValue > aAbsCharStyleProps = pAbsLevel->GetCharStyleProperties( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment