summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-17 10:23:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-17 10:23:50 +0200
commita82af43b526c9eca38f74f51d9af0c99c62f8121 (patch)
tree0bd6a602e03ba28ea4c7414b59c40e15f7feba8e /sfx2
parenta70f9fffe7d2751ca0401c43c92e7fb8dea571d4 (diff)
Clean up uses of OUString::fromUtf8 around string literals
Change-Id: I9a2990e49c95a01ce505f13408be8c19db1cf5d1
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/charmapcontrol.cxx4
-rw-r--r--sfx2/source/control/charwin.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/charmapcontrol.cxx b/sfx2/source/control/charmapcontrol.cxx
index e9f7d75ae6b5..3551a18c9050 100644
--- a/sfx2/source/control/charmapcontrol.cxx
+++ b/sfx2/source/control/charmapcontrol.cxx
@@ -200,10 +200,10 @@ IMPL_LINK_NOARG(SfxCharmapCtrl, OpenDlgHdl, Button*, void)
uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
uno::Sequence<beans::PropertyValue> aArgs(2);
- aArgs[0].Name = OUString::fromUtf8("Symbols");
+ aArgs[0].Name = "Symbols";
aArgs[0].Value <<= OUString();
- aArgs[1].Name = OUString::fromUtf8("FontName");
+ aArgs[1].Name = "FontName";
aArgs[1].Value <<= OUString();
//shortcut to launch dialog.. call uno command with empty arguments
comphelper::dispatchCommand(".uno:InsertSymbol", aArgs);
diff --git a/sfx2/source/control/charwin.cxx b/sfx2/source/control/charwin.cxx
index f827ddae02b4..7a7ec777f124 100644
--- a/sfx2/source/control/charwin.cxx
+++ b/sfx2/source/control/charwin.cxx
@@ -85,10 +85,10 @@ void SvxCharView::InsertCharToDoc()
uno::Reference< uno::XComponentContext > xContext( comphelper::getProcessComponentContext() );
uno::Sequence<beans::PropertyValue> aArgs(2);
- aArgs[0].Name = OUString::fromUtf8("Symbols");
+ aArgs[0].Name = "Symbols";
aArgs[0].Value <<= GetText();
- aArgs[1].Name = OUString::fromUtf8("FontName");
+ aArgs[1].Name = "FontName";
aArgs[1].Value <<= maFont.GetFamilyName();
comphelper::dispatchCommand(".uno:InsertSymbol", aArgs);