summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-23 13:53:42 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-24 06:54:06 +0000
commit111de438ea3e512a541281dc0716cc728ea8d152 (patch)
tree2c9ca866e79ed0cfc9299e553a87239345c515a6 /include/sfx2
parentd3f21849ec8580fdb59a1f0b35453657f4050e0f (diff)
remove some manual ref-counting
triggered when I noticed a class doing acquire() in the constructor and then release() in the destructor. found mostly by git grep -n -B5 -e '->release()' Change-Id: Ie1abeaed75c1f861df185e3bde680272dbadc97f Reviewed-on: https://gerrit.libreoffice.org/25363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/brokenpackageint.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/brokenpackageint.hxx b/include/sfx2/brokenpackageint.hxx
index 68cb33022608..ddfe7157dbf2 100644
--- a/include/sfx2/brokenpackageint.hxx
+++ b/include/sfx2/brokenpackageint.hxx
@@ -29,7 +29,7 @@
class RequestPackageReparation_Impl;
class SFX2_DLLPUBLIC RequestPackageReparation
{
- RequestPackageReparation_Impl* pImp;
+ css::uno::Reference<RequestPackageReparation_Impl> mxImpl;
public:
RequestPackageReparation( const OUString& aName );
~RequestPackageReparation();
@@ -40,7 +40,7 @@ public:
class NotifyBrokenPackage_Impl;
class SFX2_DLLPUBLIC NotifyBrokenPackage
{
- NotifyBrokenPackage_Impl* pImp;
+ css::uno::Reference<NotifyBrokenPackage_Impl> mxImpl;
public:
NotifyBrokenPackage( const OUString& aName );
~NotifyBrokenPackage();