diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:12:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-10 08:12:16 +0100 |
commit | 4e1d0357313a9bf55e78b9228dcf96c829c56855 (patch) | |
tree | 9b31bc9fd8bd3471817a000718022ef794079ab7 /connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx | |
parent | 1f145776d815a8669dbf68e4e9b2e2e9176bb034 (diff) |
New loplugin:conststringvar: connectivity
Change-Id: I2c38bc842ee07d27a5a2ff084e8a608a858f4faa
Diffstat (limited to 'connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx')
-rw-r--r-- | connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx index 65ba48c2ccd2..a363aa2d40c9 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx @@ -110,7 +110,7 @@ namespace else { OUString sProductDirCandidate; - const char* pProfileRegistry = "profiles.ini"; + const char pProfileRegistry[] = "profiles.ini"; // check all possible candidates for ( size_t i=0; i<NB_CANDIDATES; ++i ) @@ -123,7 +123,7 @@ namespace // check existence ::osl::DirectoryItem aRegistryItem; - ::osl::FileBase::RC result = ::osl::DirectoryItem::get( sProductDirCandidate + OUString::createFromAscii( pProfileRegistry ), aRegistryItem ); + ::osl::FileBase::RC result = ::osl::DirectoryItem::get( sProductDirCandidate + pProfileRegistry, aRegistryItem ); if ( result == ::osl::FileBase::E_None ) { ::osl::FileStatus aStatus( osl_FileStatus_Mask_Validate ); |