summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-02 14:50:07 +0200
committerNoel Grandin <noel@peralex.com>2015-11-02 14:50:33 +0200
commit7408498de37be05159f84cf0c8116313d3c196df (patch)
treee9d7a25d5633b479325e734fd988e8e43377854d /framework/source/layoutmanager
parent368b657f4ba4200e3f38fec58450c396ca73b729 (diff)
loplugin:stringconstant
Change-Id: I865efc1884b82d430fe7df2e432d43f5425a83d4
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r--framework/source/layoutmanager/helpers.cxx2
-rw-r--r--framework/source/layoutmanager/helpers.hxx1
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx4
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.hxx1
4 files changed, 3 insertions, 5 deletions
diff --git a/framework/source/layoutmanager/helpers.cxx b/framework/source/layoutmanager/helpers.cxx
index 7a21bfbc6d82..738aaef3201e 100644
--- a/framework/source/layoutmanager/helpers.cxx
+++ b/framework/source/layoutmanager/helpers.cxx
@@ -323,7 +323,7 @@ void impl_setDockingWindowVisibility( const css::uno::Reference< css::uno::XComp
xDispatcher->executeDispatch(
xProvider,
aDockWinCommand,
- OUString("_self"),
+ "_self",
0,
aArgs);
}
diff --git a/framework/source/layoutmanager/helpers.hxx b/framework/source/layoutmanager/helpers.hxx
index 921a50a98c0b..2b0a259adbae 100644
--- a/framework/source/layoutmanager/helpers.hxx
+++ b/framework/source/layoutmanager/helpers.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX
#define INCLUDED_FRAMEWORK_SOURCE_LAYOUTMANAGER_HELPERS_HXX
-#include <macros/generic.hxx>
#include <stdtypes.h>
#include <properties.h>
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 260ee34325fb..150c12a413ce 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -2608,8 +2608,8 @@ IMPL_LINK_NOARG_TYPED(LayoutManager, MenuBarClose, void*, void)
xDispatcher->executeDispatch(
xProvider,
- OUString(".uno:CloseWin"),
- OUString("_self"),
+ ".uno:CloseWin",
+ "_self",
0,
uno::Sequence< beans::PropertyValue >());
}
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index 4567f6647796..ebab9ad59135 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -25,7 +25,6 @@
*/
#include <vector>
-#include <macros/generic.hxx>
#include <macros/xinterface.hxx>
#include <macros/xtypeprovider.hxx>
#include <macros/xserviceinfo.hxx>