summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAhmet Hakan Çelik <ahmethcelik@gmail.com>2021-03-08 11:13:46 +0300
committerMichael Stahl <michael.stahl@allotropia.de>2021-03-16 11:45:04 +0100
commit0726ecd9e2f2d94e9f49eb40d2b4952475e02764 (patch)
tree5ead597cfb57cdb071c72d3b71779b35377233fe /basctl
parentd2392723e1db63e31aa31fb4531a368b349fcd88 (diff)
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: I173d57105429e2bdf2288678fa7911b8541a402b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112154 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlged.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index d74d375357ce..9ddb6adbc8a5 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -278,8 +278,8 @@ void DlgEditor::InitScrollBars()
pHScroll->SetRange( Range( 0, aPgSize.Width() ));
pVScroll->SetRange( Range( 0, aPgSize.Height() ));
- pHScroll->SetVisibleSize( static_cast<sal_uLong>(aOutSize.Width()) );
- pVScroll->SetVisibleSize( static_cast<sal_uLong>(aOutSize.Height()) );
+ pHScroll->SetVisibleSize( aOutSize.Width() );
+ pVScroll->SetVisibleSize( aOutSize.Height() );
pHScroll->SetLineSize( aOutSize.Width() / 10 );
pVScroll->SetLineSize( aOutSize.Height() / 10 );