diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-13 12:07:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-13 12:16:23 +0200 |
commit | 5ec991b6fecba3f8bad120dd89bb4482d6498480 (patch) | |
tree | ec506d35d7ec9668ab7ebe49fcb735395a24454b /unotools/source/config/lingucfg.cxx | |
parent | 8a43ba529a9cd5ba7658334f9546f978175921ab (diff) |
loplugin:unusedmethods unused return value unotools/
Change-Id: I5fbb0fe5910d4f430fe4885eae5689592c366500
Diffstat (limited to 'unotools/source/config/lingucfg.cxx')
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index aa50fe979b16..cab762af4d91 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -148,7 +148,7 @@ class SvtLinguConfigItem : public utl::ConfigItem static bool GetHdlByName( sal_Int32 &rnHdl, const OUString &rPropertyName, bool bFullPropName = false ); static const uno::Sequence< OUString > GetPropertyNames(); - bool LoadOptions( const uno::Sequence< OUString > &rProperyNames ); + void LoadOptions( const uno::Sequence< OUString > &rProperyNames ); bool SaveOptions( const uno::Sequence< OUString > &rProperyNames ); SvtLinguConfigItem(const SvtLinguConfigItem&) = delete; @@ -548,7 +548,7 @@ const SvtLinguOptions& SvtLinguConfigItem::GetOptions() const return aOpt; } -bool SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyNames ) +void SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyNames ) { osl::MutexGuard aGuard(theSvtLinguConfigItemMutex::get()); @@ -661,8 +661,6 @@ bool SvtLinguConfigItem::LoadOptions( const uno::Sequence< OUString > &rProperyN bRes = true; } DBG_ASSERT( bRes, "LoadOptions failed" ); - - return bRes; } bool SvtLinguConfigItem::SaveOptions( const uno::Sequence< OUString > &rProperyNames ) |