From 1642fd6643c0308f92df6ca1117fd97e2320c258 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 1 Mar 2011 15:06:04 +0000 Subject: avoid implicit cast --- basegfx/source/tools/debugplotter.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basegfx/source/tools') diff --git a/basegfx/source/tools/debugplotter.cxx b/basegfx/source/tools/debugplotter.cxx index 9eb76e2870d9..f85f1e1d9d9d 100644 --- a/basegfx/source/tools/debugplotter.cxx +++ b/basegfx/source/tools/debugplotter.cxx @@ -52,7 +52,7 @@ namespace basegfx "#" << ::std::endl << "# automatically generated by basegfx, don't change!" << ::std::endl << "#" << ::std::endl << - "# --- " << (const sal_Char*)rTitle << " ---" << ::std::endl << + "# --- " << rTitle.getStr() << " ---" << ::std::endl << "#" << ::std::endl << "set parametric" << ::std::endl << "# set terminal postscript eps enhanced color " << ::std::endl << @@ -113,7 +113,7 @@ namespace basegfx "pointmarkx(c,t) = c-0.03*t\n", // hack for displaying single points in parametric form "pointmarky(c,t) = c+0.03*t\n", // hack for displaying single points in parametric form "# end of setup\n", - (const sal_Char*)rTitle ); + rTitle.getStr() ); } } @@ -283,10 +283,10 @@ namespace basegfx if( mpOutputStream ) *mpOutputStream << " '-' using ($1):($2) title \"Polygon " - << (const sal_Char*)maPolygons.at(i).second << "\" with lp"; + << maPolygons.at(i).second.getStr() << "\" with lp"; else OSL_TRACE( " '-' using ($1):($2) title \"Polygon %s\" with lp", - (const sal_Char*)maPolygons.at(i).second ); + maPolygons.at(i).second.getStr() ); bNeedColon = true; } -- cgit v1.2.3