summaryrefslogtreecommitdiff
path: root/basic/source/inc/namecont.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-10 11:07:36 +0200
committerNoel Grandin <noel@peralex.com>2015-04-13 09:37:12 +0200
commitee094bd46f55118993c72af719dc046476f9f311 (patch)
treed4658be34517150ec7881e7929e38f533ff0b393 /basic/source/inc/namecont.hxx
parent26ec80f47df1b32c5e1ae8c96d597ef8c90fee86 (diff)
loplugin:staticmethods
Change-Id: If97f01a05294fa7efd59a8934c7b6f65cda5084a
Diffstat (limited to 'basic/source/inc/namecont.hxx')
-rw-r--r--basic/source/inc/namecont.hxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index c7258f5337fb..9e20a0865363 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -389,7 +389,7 @@ public:
}
void enterMethod();
- void leaveMethod();
+ static void leaveMethod();
bool isDisposed() const { return rBHelper.bInDispose || rBHelper.bDisposed; }
void checkDisposed() const;
@@ -540,18 +540,15 @@ public:
class LibraryContainerMethodGuard
{
-private:
- SfxLibraryContainer& m_rContainer;
public:
LibraryContainerMethodGuard( SfxLibraryContainer& _rContainer )
- :m_rContainer( _rContainer )
{
- m_rContainer.enterMethod();
+ _rContainer.enterMethod();
}
~LibraryContainerMethodGuard()
{
- m_rContainer.leaveMethod();
+ basic::SfxLibraryContainer::leaveMethod();
}
};
@@ -732,7 +729,7 @@ class ScriptSubPackageIterator
sal_Int32 m_nSubPkgCount;
sal_Int32 m_iNextSubPkg;
- com::sun::star::uno::Reference< com::sun::star::deployment::XPackage >
+ static com::sun::star::uno::Reference< com::sun::star::deployment::XPackage >
implDetectScriptPackage( const com::sun::star::uno::Reference
< com::sun::star::deployment::XPackage >& rPackage, bool& rbPureDialogLib );