diff options
Diffstat (limited to 'basegfx/source/tools/debugplotter.cxx')
-rw-r--r--[-rwxr-xr-x] | basegfx/source/tools/debugplotter.cxx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/basegfx/source/tools/debugplotter.cxx b/basegfx/source/tools/debugplotter.cxx index 2c68eb44a846..f85f1e1d9d9d 100755..100644 --- a/basegfx/source/tools/debugplotter.cxx +++ b/basegfx/source/tools/debugplotter.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -34,6 +35,8 @@ #include <basegfx/tools/debugplotter.hxx> #include <boost/bind.hpp> +#include <ostream> + namespace basegfx { @@ -49,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 << @@ -110,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() ); } } @@ -280,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; } @@ -411,3 +414,5 @@ namespace basegfx OSL_TRACE( pStr ); } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |