diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-06-01 00:55:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-03 10:25:36 +0000 |
commit | 0216b8dc6179fad02a9cbbc99898eef81f679f4f (patch) | |
tree | 2eae20ec4eb55950dded8b5bb17c31de56415d8b /include | |
parent | 4b917b2cfccfd8c324969793c0ea530bd9273aa5 (diff) |
tdf#89329: use unique_ptr for pImpl in sbxvar
Change-Id: I74734c34e72ba5d508830dbcff88f0d3b93a0766
Reviewed-on: https://gerrit.libreoffice.org/25742
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/basic/sbxvar.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index a0800cf40e04..0f66fcf75799 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -24,6 +24,7 @@ #include <com/sun/star/bridge/oleautomation/Decimal.hpp> #include <basic/sbxcore.hxx> #include <basic/basicdllapi.h> +#include <memory> class SbxDecimal; @@ -227,7 +228,7 @@ class BASIC_DLLPUBLIC SbxVariable : public SbxValue { friend class SbMethod; - SbxVariableImpl* mpSbxVariableImpl; // Impl data + std::unique_ptr<SbxVariableImpl> mpImpl; // Impl data SfxBroadcaster* pCst; // Broadcaster, if needed OUString maName; // Name, if available SbxArrayRef mpPar; // Parameter-Array, if set |