summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 12:32:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 12:32:53 +0100
commit969bcb3edfac5cdadd7f090e976d873d2de7ad9f (patch)
tree101d8c8b3516956b08d1e7d54579f1b9e01d09b6
parentd925b8394fdd9f6a155179ae3730bd97d20b2351 (diff)
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I779395274a480a0f1f4dc9d5ea8d323bba682031
-rw-r--r--sfx2/source/dialog/basedlgs.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
-rw-r--r--sfx2/source/dialog/splitwin.cxx2
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index ef1e058952ec..dc383e080c3f 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -43,7 +43,7 @@
using namespace ::com::sun::star::uno;
-#define USERITEM_NAME OUString("UserItem")
+#define USERITEM_NAME "UserItem"
SingleTabDlgImpl::SingleTabDlgImpl()
: m_pSfxPage(NULL)
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index ce20f850c9c2..fa8db6c62f8b 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -110,7 +110,7 @@ using namespace ::cppu;
#define IODLG_CONFIGNAME OUString("FilePicker_Save")
#define IMPGRF_CONFIGNAME OUString("FilePicker_Graph")
-#define USERITEM_NAME OUString("UserItem")
+#define USERITEM_NAME "UserItem"
namespace sfx2
{
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 1ceee19c93e3..e3e38b29dd0d 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -46,7 +46,7 @@ using namespace ::com::sun::star::uno;
#define VERSION 1
#define nPixel 30L
-#define USERITEM_NAME OUString("UserItem")
+#define USERITEM_NAME "UserItem"
namespace {
// helper class to deactivate UpdateMode, if needed, for the life time of an instance
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 253b943508e3..b1ab185a0f15 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -42,7 +42,7 @@
using namespace ::com::sun::star::uno;
-#define USERITEM_NAME OUString("UserItem")
+#define USERITEM_NAME "UserItem"
TYPEINIT1(SfxTabDialogItem,SfxSetItem);