diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:20:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 18:21:36 +0100 |
commit | d1c9e5ee53f8609092ea026639c8f28afec1d36a (patch) | |
tree | 192f7722bd0598614a08dd8e5ed13c08da44ca97 /chart2 | |
parent | 8289bc767ecc88cf07da60ab6a8b850f5c2e7eb4 (diff) |
tdf#43157: Fix format string violations in OSL_TRACE etc.
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32
"tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit
build
Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/AxisHelper.cxx | 5 | ||||
-rw-r--r-- | chart2/source/view/charttypes/AreaChart.cxx | 5 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BarChart.cxx | 5 | ||||
-rw-r--r-- | chart2/source/view/charttypes/BubbleChart.cxx | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/chart2/source/tools/AxisHelper.cxx b/chart2/source/tools/AxisHelper.cxx index 70b4a803c6ef..045ba71cce0e 100644 --- a/chart2/source/tools/AxisHelper.cxx +++ b/chart2/source/tools/AxisHelper.cxx @@ -302,7 +302,10 @@ sal_Int32 AxisHelper::getExplicitNumberFormatKeyForAxis( for( tNumberformatFrequency::const_iterator aIt = aKeyMap.begin(); aIt != aKeyMap.end(); ++aIt ) { - OSL_TRACE( "NumberFormatKey %d appears %d times", (*aIt).first, (*aIt).second ); + SAL_INFO( + "chart2.tools", + "NumberFormatKey " << (*aIt).first << " appears " + << (*aIt).second << " times"); // all values must at least be 1 if( (*aIt).second > nMaxFreq ) { diff --git a/chart2/source/view/charttypes/AreaChart.cxx b/chart2/source/view/charttypes/AreaChart.cxx index 0501736208b9..911a6258fa36 100644 --- a/chart2/source/view/charttypes/AreaChart.cxx +++ b/chart2/source/view/charttypes/AreaChart.cxx @@ -1019,7 +1019,10 @@ void AreaChart::createShapes() //... todo - OSL_TRACE( "\nPPPPPPPPP<<<<<<<<<<<< area chart :: createShapes():: skipped points: %d created points: %d", nSkippedPoints, nCreatedPoints ); + SAL_INFO( + "chart2", + "skipped points: " << nSkippedPoints << " created points: " + << nCreatedPoints); } } //namespace chart diff --git a/chart2/source/view/charttypes/BarChart.cxx b/chart2/source/view/charttypes/BarChart.cxx index 168fab66eedb..e5cbbe40915a 100644 --- a/chart2/source/view/charttypes/BarChart.cxx +++ b/chart2/source/view/charttypes/BarChart.cxx @@ -923,7 +923,10 @@ void BarChart::createShapes() /* @todo remove series shapes if empty */ - OSL_TRACE( "\nPPPPPPPPP<<<<<<<<<<<< bar chart :: createShapes():: skipped points: %d created points: %d", nSkippedPoints, nCreatedPoints ); + SAL_INFO( + "chart2", + "skipped points: " << nSkippedPoints << " created points: " + << nCreatedPoints); } } //namespace chart diff --git a/chart2/source/view/charttypes/BubbleChart.cxx b/chart2/source/view/charttypes/BubbleChart.cxx index d79d38218f6a..cce9a3349989 100644 --- a/chart2/source/view/charttypes/BubbleChart.cxx +++ b/chart2/source/view/charttypes/BubbleChart.cxx @@ -398,7 +398,10 @@ void BubbleChart::createShapes() }//next x slot }//next z slot }//next category - OSL_TRACE( "\nPPPPPPPPP<<<<<<<<<<<< area chart :: createShapes():: skipped points: %d created points: %d", nSkippedPoints, nCreatedPoints ); + SAL_INFO( + "chart2", + "skipped points: " << nSkippedPoints << " created points: " + << nCreatedPoints); } } //namespace chart |