summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-15 15:03:39 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-16 18:27:14 +0200
commita980b6c8aee6e3f6916dc0dc617f53e70191234c (patch)
tree4f0b3e62e84f6c44b141cf553a74c67723be19ee /chart2
parentuitest: provide all the children for charts (diff)
downloadcore-a980b6c8aee6e3f6916dc0dc617f53e70191234c.tar.gz
core-a980b6c8aee6e3f6916dc0dc617f53e70191234c.zip
no need for this temporary OString
Change-Id: I8b5d69f7e64a83e52a41c285f5ef186a666ccd55
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ChartController.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index a925bbb4bfd9..40166350f769 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -1050,7 +1050,7 @@ void SAL_CALL ChartController::layoutEvent(
namespace
{
-bool lcl_isFormatObjectCommand( const OString& aCommand )
+bool lcl_isFormatObjectCommand( const OUString& aCommand )
{
if( aCommand == "MainTitle"
|| aCommand == "SubTitle"
@@ -1146,8 +1146,7 @@ void SAL_CALL ChartController::dispatch(
const uno::Sequence< beans::PropertyValue >& rArgs )
throw (uno::RuntimeException, std::exception)
{
- //@todo avoid OString
- OString aCommand( OUStringToOString( rURL.Path, RTL_TEXTENCODING_ASCII_US ) );
+ OUString aCommand = rURL.Path;
if(aCommand == "Paste")
this->executeDispatch_Paste();