summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /svx
parent231fb4182fc9e81f801ff1d1355f7a613d0856c2 (diff)
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'svx')
-rw-r--r--svx/source/gengal/gengal.cxx2
-rw-r--r--svx/source/svdraw/charthelper.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 9a888affe4fa..cbfb1cf93537 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -182,7 +182,7 @@ void GalApp::Init()
lastSlash = fileName.lastIndexOf( '\\' );
#endif
OUString baseBinDir = fileName.copy( 0, lastSlash );
- OUString installPrefix = baseBinDir + OUString::createFromAscii( "/../.." );
+ OUString installPrefix = baseBinDir + "/../..";
OUString envVar( "OOO_INSTALL_PREFIX");
osl_setEnvironment(envVar.pData, installPrefix.pData);
diff --git a/svx/source/svdraw/charthelper.cxx b/svx/source/svdraw/charthelper.cxx
index 0676f964d33f..6273aa842577 100644
--- a/svx/source/svdraw/charthelper.cxx
+++ b/svx/source/svdraw/charthelper.cxx
@@ -66,7 +66,7 @@ drawinglayer::primitive2d::Primitive2DSequence ChartHelper::tryToGetChartContent
try
{
const uno::Reference< lang::XMultiServiceFactory > xChartFact(rXModel, uno::UNO_QUERY_THROW);
- const uno::Reference< lang::XUnoTunnel > xChartView(xChartFact->createInstance(OUString::createFromAscii("com.sun.star.chart2.ChartView")), uno::UNO_QUERY_THROW);
+ const uno::Reference< lang::XUnoTunnel > xChartView(xChartFact->createInstance("com.sun.star.chart2.ChartView"), uno::UNO_QUERY_THROW);
const uno::Reference< util::XUpdatable > xUpdatable(xChartView, uno::UNO_QUERY_THROW);
if(xUpdatable.is())