summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tplnedef.cxx
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2017-07-13 08:02:50 +0300
committerEike Rathke <erack@redhat.com>2017-07-14 16:57:52 +0200
commitd2adc30aa0bb843ace819277c68871a86a8418e8 (patch)
tree3b89513bb4d418e0236787deb01e96422ea223ab /cui/source/tabpages/tplnedef.cxx
parent55baf61c08630e0c09a87d99519211467818ef8c (diff)
tdf#96505 Get rid of cargo cult "long" integer literals
Remove unnecessary "Long" literals in cui/source/tabpages. Change-Id: Ia46cc027e2225ab7dcfdab2828f1fb4a60f4619a Reviewed-on: https://gerrit.libreoffice.org/39881 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'cui/source/tabpages/tplnedef.cxx')
-rw-r--r--cui/source/tabpages/tplnedef.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index b5c99ea3495e..f622e18358e7 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -393,15 +393,15 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ChangePreviewHdl_Impl, Edit&, void)
IMPL_LINK_NOARG(SvxLineDefTabPage, ChangeNumber1Hdl_Impl, Edit&, void)
{
- if( m_pNumFldNumber1->GetValue() == 0L )
+ if( m_pNumFldNumber1->GetValue() == 0 )
{
- m_pNumFldNumber2->SetMin( 1L );
- m_pNumFldNumber2->SetFirst( 1L );
+ m_pNumFldNumber2->SetMin( 1 );
+ m_pNumFldNumber2->SetFirst( 1 );
}
else
{
- m_pNumFldNumber2->SetMin( 0L );
- m_pNumFldNumber2->SetFirst( 0L );
+ m_pNumFldNumber2->SetMin( 0 );
+ m_pNumFldNumber2->SetFirst( 0 );
}
ChangePreviewHdl_Impl( *m_pMtrLength1 );
@@ -410,15 +410,15 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ChangeNumber1Hdl_Impl, Edit&, void)
IMPL_LINK_NOARG(SvxLineDefTabPage, ChangeNumber2Hdl_Impl, Edit&, void)
{
- if( m_pNumFldNumber2->GetValue() == 0L )
+ if( m_pNumFldNumber2->GetValue() == 0 )
{
- m_pNumFldNumber1->SetMin( 1L );
- m_pNumFldNumber1->SetFirst( 1L );
+ m_pNumFldNumber1->SetMin( 1 );
+ m_pNumFldNumber1->SetFirst( 1 );
}
else
{
- m_pNumFldNumber1->SetMin( 0L );
- m_pNumFldNumber1->SetFirst( 0L );
+ m_pNumFldNumber1->SetMin( 0 );
+ m_pNumFldNumber1->SetFirst( 0 );
}
ChangePreviewHdl_Impl( *m_pMtrLength1 );