summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaaddin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-25 23:21:36 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:22:29 +0000
commit19c3aac98f756f6a9cda44a4cc70a2a924fa85df (patch)
treecb0e1c7f3ad06819b8b96eb6ae434b73f04785c8 /sw/source/ui/vba/vbaaddin.cxx
parent1bf97d99e7529f1a69688522ac271636059a3391 (diff)
loplugin:singlevalfields in sw(part2)
Change-Id: Ic1b186c82a6b37ae0cd8028a60e2ad09233d8e5d Reviewed-on: https://gerrit.libreoffice.org/26665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/ui/vba/vbaaddin.cxx')
-rw-r--r--sw/source/ui/vba/vbaaddin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaaddin.cxx b/sw/source/ui/vba/vbaaddin.cxx
index 9125317f6a0b..d225416100cf 100644
--- a/sw/source/ui/vba/vbaaddin.cxx
+++ b/sw/source/ui/vba/vbaaddin.cxx
@@ -26,7 +26,7 @@ using namespace ::ooo::vba;
using namespace ::com::sun::star;
SwVbaAddin::SwVbaAddin( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const OUString& rFileURL ) throw ( uno::RuntimeException ) :
- SwVbaAddin_BASE( rParent, rContext ), msFileURL( rFileURL ), mbAutoload( true ), mbInstalled( true )
+ SwVbaAddin_BASE( rParent, rContext ), msFileURL( rFileURL ), mbInstalled( true )
{
}
@@ -57,7 +57,7 @@ OUString SAL_CALL SwVbaAddin::getPath() throw (uno::RuntimeException, std::excep
sal_Bool SAL_CALL SwVbaAddin::getAutoload() throw (uno::RuntimeException, std::exception)
{
- return mbAutoload;
+ return true;
}
sal_Bool SAL_CALL SwVbaAddin::getInstalled() throw (uno::RuntimeException, std::exception)