summaryrefslogtreecommitdiffstats
path: root/forms/source/component/spinbutton.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-06-29 15:52:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-06-29 22:46:50 +0200
commit1d2777650439108d082bf2c4e9541a499c086ab7 (patch)
treec1a2f38cdb63f463003cac7c2b2c183bbbafdebb /forms/source/component/spinbutton.cxx
parentImproved loplugin:redundantcast (const-qualified typedefs): editeng (diff)
downloadcore-1d2777650439108d082bf2c4e9541a499c086ab7.tar.gz
core-1d2777650439108d082bf2c4e9541a499c086ab7.zip
Improved loplugin:redundantcast (const-qualified typedefs): forms
Change-Id: Iaf50a40576e0fc1dde1e221a791bda6e183e5072 Reviewed-on: https://gerrit.libreoffice.org/56696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms/source/component/spinbutton.cxx')
-rw-r--r--forms/source/component/spinbutton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index 3156418a4b43..e7699bfbb83c 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -179,7 +179,7 @@ namespace frm
Any OSpinButtonModel::getDefaultForReset() const
{
- return makeAny( static_cast<sal_Int32>(m_nDefaultSpinValue) );
+ return makeAny( m_nDefaultSpinValue );
}