diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-19 14:40:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-30 07:20:51 +0100 |
commit | 20e5f64215853bdd32c5f16394ba7f2f36745904 (patch) | |
tree | dab302d397def2f9a04cf9f3f9e170b0ef2c84b9 /sw/source/core/unocore/unostyle.cxx | |
parent | 036b51dbc49b533d1db773d8627d56ab86bca487 (diff) |
loplugin:unused-returns in sw
Change-Id: I753fcdd35d461880a8d8160213cabd465cfde967
Reviewed-on: https://gerrit.libreoffice.org/48189
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/unocore/unostyle.cxx')
-rw-r--r-- | sw/source/core/unocore/unostyle.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 795883a47ac2..3f8c632d1c38 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -1118,15 +1118,15 @@ public: m_vPropertyValues[rName] = rValue; return true; } - bool GetProperty(const OUString& rName, const uno::Any*& pAny) + void GetProperty(const OUString& rName, const uno::Any*& pAny) { if(!AllowsKey(rName)) { pAny = nullptr; - return false; + return; } pAny = &m_vPropertyValues[rName]; - return true; + return; } bool ClearProperty( const OUString& rName ) { |