Some loplugin:conststringvar/stringconstant improvements: dbaccess

Change-Id: I30fee1c51ff3e0b8e3e74b4293227a5bfbfe0837
This commit is contained in:
Stephan Bergmann 2017-01-11 11:27:08 +01:00
parent 3dbea89a72
commit 8f37bcb51c

View File

@ -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