diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-28 11:13:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-31 09:44:46 +0000 |
commit | 978c6e7a8fae309d4b3f3f1e422ca9d91a427469 (patch) | |
tree | 256473be7a0975d1698e22e0d53db85ed2fb9692 /dbaccess | |
parent | 3b921a2cd7c2b29245af4e975da6c60f72384237 (diff) |
update vclwidgets plugin to check local variables
Change-Id: I91f7fc6b8419c0ed82194726eeb4c4657e998f22
Reviewed-on: https://gerrit.libreoffice.org/30428
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index ed0bc5fd4e6c..7684fd1c545f 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -42,7 +42,7 @@ namespace dbaui template < class T > class OSaveValueWrapper : public ISaveValueWrapper { - T* m_pSaveValue; + VclPtr<T> m_pSaveValue; public: explicit OSaveValueWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } @@ -53,7 +53,7 @@ namespace dbaui template < class T > class ODisableWrapper : public ISaveValueWrapper { - T* m_pSaveValue; + VclPtr<T> m_pSaveValue; public: explicit ODisableWrapper(T* _pSaveValue) : m_pSaveValue(_pSaveValue) { OSL_ENSURE(m_pSaveValue,"Illegal argument!"); } |