summaryrefslogtreecommitdiff
path: root/include/basic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-14 08:53:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 08:46:12 +0000
commit0761f97525b3f3ce2cd73f8db28bf389a3c44f57 (patch)
tree29e1b724f563011eaab28c40eba8e4db8e2fa898 /include/basic
parente44addfd5d227123928d1295bb8582799aaac6a0 (diff)
loplugin:constantparam in accessibility to basic
Change-Id: Id77cbcaefebf310a5d99c6ac12d154e182fd0a1c Reviewed-on: https://gerrit.libreoffice.org/28860 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic')
-rw-r--r--include/basic/sbxfac.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/basic/sbxfac.hxx b/include/basic/sbxfac.hxx
index 5b3e3b4cf7b8..04358d899425 100644
--- a/include/basic/sbxfac.hxx
+++ b/include/basic/sbxfac.hxx
@@ -29,11 +29,9 @@ class SbxObject;
class BASIC_DLLPUBLIC SbxFactory
{
- bool bHandleLast; // true: Factory is asked at last because of its expensiveness
public:
virtual ~SbxFactory();
- SbxFactory( bool bLast=false ) { bHandleLast = bLast; }
- bool IsHandleLast() { return bHandleLast; }
+ SbxFactory() {}
virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 );
virtual SbxObject* CreateObject( const OUString& );
};