summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:12:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:12:16 +0100
commit4e1d0357313a9bf55e78b9228dcf96c829c56855 (patch)
tree9b31bc9fd8bd3471817a000718022ef794079ab7 /connectivity/source/drivers/mozab/bootstrap/MNSFolders.cxx
parent1f145776d815a8669dbf68e4e9b2e2e9176bb034 (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.cxx4
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 );