diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-11 14:31:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-12 06:40:03 +0000 |
commit | bbfeab3b13b48c99cfa2f94c8c34bc3efef7faa9 (patch) | |
tree | f039c3d27a8a2d449ef1f5c456c752d83929c8bf /include/basic/basmgr.hxx | |
parent | a7198d38f0294ab5db04a7f4457565ea8b2c32f1 (diff) |
loplugin:unusedmethods unused return value in include/basic
Change-Id: Ib1a006adaa92e257d40a20ff0d8beeb37e7c2fe0
Reviewed-on: https://gerrit.libreoffice.org/21360
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/basic/basmgr.hxx')
-rw-r--r-- | include/basic/basmgr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index 8900f096bfa3..dac109f7ce08 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -171,7 +171,7 @@ public: const css::uno::Reference< css::script::XPersistentLibraryContainer >& GetScriptLibraryContainer() const; - bool LoadLib( sal_uInt16 nLib ); + void LoadLib( sal_uInt16 nLib ); bool RemoveLib( sal_uInt16 nLib, bool bDelBasicFromStorage ); // Modify-Flag will be reset only during save. @@ -208,7 +208,7 @@ private: BASIC_DLLPRIVATE StarBASIC* GetStdLib() const; BASIC_DLLPRIVATE StarBASIC* AddLib( SotStorage& rStorage, const OUString& rLibName, bool bReference ); - BASIC_DLLPRIVATE bool RemoveLib( sal_uInt16 nLib ); + BASIC_DLLPRIVATE void RemoveLib( sal_uInt16 nLib ); BASIC_DLLPRIVATE bool HasLib( const OUString& rName ) const; BASIC_DLLPRIVATE StarBASIC* CreateLibForLibContainer( const OUString& rLibName, |