diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 15:06:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:55 +0000 |
commit | 1642fd6643c0308f92df6ca1117fd97e2320c258 (patch) | |
tree | 62ca56647f0719282ec21cf73ba50a7fceecd8ae /basegfx | |
parent | 69217469b53a3feefdfed3896e5b8581464bf0bc (diff) |
avoid implicit cast
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/tools/debugplotter.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |