diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-24 11:16:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-25 21:54:03 +0100 |
commit | 6fabcc6d45774d1c99c99a6d0dc92c44ac196185 (patch) | |
tree | 0a3b6d4e5799799588474982985fd9b0374b4824 /include/svtools | |
parent | 28d9059ceef54532ef6790c43759364637f0e391 (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>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/ehdl.hxx | 4 |
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; |