summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-12-24 11:16:42 +0000
committerAron Budea <aron.budea@collabora.com>2018-04-10 03:10:12 +0200
commit43567ff404cd4ed0d09c28ddb55efb73d629d4d3 (patch)
treebd76cad543912508432ebd3cdcc265cda437a2b0 /include
parent69e06991dd75859db0b9165606454514d91877da (diff)
coverity#1426923 Pointer to local outside scope
Change-Id: I200b09dc514b64fbd88050a1f5a8668ec640305f Reviewed-on: https://gerrit.libreoffice.org/47040 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 6fabcc6d45774d1c99c99a6d0dc92c44ac196185)
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ehdl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/ehdl.hxx b/include/svtools/ehdl.hxx
index 2b42fd5e8b91..a78e9d22d648 100644
--- a/include/svtools/ehdl.hxx
+++ b/include/svtools/ehdl.hxx
@@ -45,7 +45,7 @@ public:
private:
sal_uInt16 nCtxId;
const ErrMsgCode* pIds;
- const std::locale& rResLocale;
+ std::locale aResLocale;
OUString aArg1;
};
@@ -63,7 +63,7 @@ private:
ErrCodeArea lStart;
ErrCodeArea lEnd;
const ErrMsgCode* pIds;
- const std::locale& rResLocale;
+ std::locale aResLocale;
SVT_DLLPRIVATE static void GetClassString(ErrCodeClass lErrId, OUString &);
virtual bool CreateString(const ErrorInfo *, OUString &) const override;