diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:19:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:22 +0100 |
commit | b98352996c24a3b21c52c32d62d0a7fdbc8e4246 (patch) | |
tree | 3f4a8c74e2bce383274ae6c0308d0db3c80161ff /framework/source/uifactory | |
parent | 564fe23374fa544c34875da0dd695cb8a939f0f2 (diff) |
framework: Use appropriate OUString functions on string constants
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
Diffstat (limited to 'framework/source/uifactory')
6 files changed, 8 insertions, 8 deletions
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; } |