From b98352996c24a3b21c52c32d62d0a7fdbc8e4246 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Dec 2014 13:19:13 +0100 Subject: framework: Use appropriate OUString functions on string constants Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5 --- framework/source/uifactory/addonstoolbarfactory.cxx | 2 +- framework/source/uifactory/statusbarfactory.cxx | 2 +- framework/source/uifactory/toolbarfactory.cxx | 2 +- framework/source/uifactory/uicontrollerfactory.cxx | 6 +++--- framework/source/uifactory/uielementfactorymanager.cxx | 2 +- framework/source/uifactory/windowcontentfactorymanager.cxx | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'framework/source/uifactory') diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx index fc61ca299836..a7bac9f9f562 100644 --- a/framework/source/uifactory/addonstoolbarfactory.cxx +++ b/framework/source/uifactory/addonstoolbarfactory.cxx @@ -74,7 +74,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.ui.ToolBarFactory"); + aSeq[0] = "com.sun.star.ui.ToolBarFactory"; return aSeq; } diff --git a/framework/source/uifactory/statusbarfactory.cxx b/framework/source/uifactory/statusbarfactory.cxx index 420cddb5509f..f15a58ff7318 100644 --- a/framework/source/uifactory/statusbarfactory.cxx +++ b/framework/source/uifactory/statusbarfactory.cxx @@ -58,7 +58,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.ui.StatusBarFactory"); + aSeq[0] = "com.sun.star.ui.StatusBarFactory"; return aSeq; } diff --git a/framework/source/uifactory/toolbarfactory.cxx b/framework/source/uifactory/toolbarfactory.cxx index c069e175714b..c6801e50a143 100644 --- a/framework/source/uifactory/toolbarfactory.cxx +++ b/framework/source/uifactory/toolbarfactory.cxx @@ -56,7 +56,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.ui.ToolBarFactory"); + aSeq[0] = "com.sun.star.ui.ToolBarFactory"; return aSeq; } diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index 50b19fe57c82..7ff63a55e24a 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -268,7 +268,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.frame.PopupMenuControllerFactory"); + aSeq[0] = "com.sun.star.frame.PopupMenuControllerFactory"; return aSeq; } @@ -320,7 +320,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.frame.ToolbarControllerFactory"); + aSeq[0] = "com.sun.star.frame.ToolbarControllerFactory"; return aSeq; } @@ -372,7 +372,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.frame.StatusbarControllerFactory"); + aSeq[0] = "com.sun.star.frame.StatusbarControllerFactory"; return aSeq; } diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx index 932b90b55f1d..9e47837dbd45 100644 --- a/framework/source/uifactory/uielementfactorymanager.cxx +++ b/framework/source/uifactory/uielementfactorymanager.cxx @@ -375,7 +375,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.ui.UIElementFactoryManager"); + aSeq[0] = "com.sun.star.ui.UIElementFactoryManager"; return aSeq; } diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx index 778cea8ac087..a72fae45bf6e 100644 --- a/framework/source/uifactory/windowcontentfactorymanager.cxx +++ b/framework/source/uifactory/windowcontentfactorymanager.cxx @@ -67,7 +67,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { css::uno::Sequence< OUString > aSeq(1); - aSeq[0] = OUString("com.sun.star.ui.WindowContentFactoryManager"); + aSeq[0] = "com.sun.star.ui.WindowContentFactoryManager"; return aSeq; } -- cgit