summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 11:27:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 11:27:08 +0100
commit8f37bcb51cc9b15d89a8959e07ada91e44aec0b8 (patch)
treeec91074950920cc839bfb5f69d0491011e4981ad /dbaccess
parent3dbea89a72f8cbce190310c3187ce870c783c03b (diff)
Some loplugin:conststringvar/stringconstant improvements: dbaccess
Change-Id: I30fee1c51ff3e0b8e3e74b4293227a5bfbfe0837
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index b63b4d816e40..f840c18b8dd3 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -302,7 +302,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
_rpPool = nullptr;
_rpDefaults = nullptr;
- const OUString sFilterAll( "%", 1, RTL_TEXTENCODING_ASCII_US );
+ const OUString sFilterAll( "%" );
// create and initialize the defaults
_rpDefaults = new std::vector<SfxPoolItem*>(DSID_LAST_ITEM_ID - DSID_FIRST_ITEM_ID + 1);
SfxPoolItem** pCounter = _rpDefaults->data(); // want to modify this without affecting the out param _rppDefaults