diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 09:20:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 10:57:04 +0100 |
commit | a4b60b78ea36d55a2abf0e5efccd8530568d2209 (patch) | |
tree | 9468dc489d37b11e14e190502816f3ed55edd0c9 /sc | |
parent | 034a462475c2878e1eba13f10b2fcaf8c1755c4a (diff) |
loplugin:returnconstant
Change-Id: I5b859de6ccd908eee4356acbe1f12b441ab36df3
Reviewed-on: https://gerrit.libreoffice.org/62539
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 5d90aec39f2a..3d43be0ba219 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -559,7 +559,7 @@ public: return nType; } - bool setNumberFormat( const OUString& rFormat ) + void setNumberFormat( const OUString& rFormat ) { // #163288# treat "General" as "Standard" format sal_Int32 nNewIndex = 0; @@ -573,7 +573,6 @@ public: nNewIndex = mxFormats->addNew( rFormat, aLocale ); } mxRangeProps->setPropertyValue( "NumberFormat", uno::makeAny( nNewIndex ) ); - return true; } void setNumberFormat( sal_Int16 nType ) |