summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:11:10 +0100
commit1bd9765a0b80b84ca4cd60a5ff32f05653411fa1 (patch)
tree04503b7eb7e8a0afdf51200baffa72b16db15c5a /sal/osl
parentcffac9e59b2460e06ad6d781fa8f428a2a3b56bf (diff)
New loplugin:conststringvar: sal
Change-Id: Ia66415ff9ee67958e84cfff7eda082cdbfc9b9b9
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/profile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx
index b62bfad8adda..17bf399bde8e 100644
--- a/sal/osl/unx/profile.cxx
+++ b/sal/osl/unx/profile.cxx
@@ -1687,7 +1687,7 @@ static bool storeProfile(osl_TProfileImpl* pProfile, bool bCleanup)
static osl_TFile* osl_openTmpProfileImpl(osl_TProfileImpl* pProfile)
{
osl_TFile* pFile=nullptr;
- sal_Char const * pszExtension = "tmp";
+ sal_Char const * const pszExtension = "tmp";
sal_Char pszTmpName[PATH_MAX];
oslProfileOption PFlags=0;