summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-08-15 19:35:32 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-16 09:10:21 +0200
commit98244c3cb47824babc746ebc14a199977e9768d1 (patch)
tree0077631b678997f61a1fae245e32467bd7afbe00 /desktop/source
parentcaa828da96b120f5a3c979237081c29f8c2f3848 (diff)
sal_uLong to sal_Int32/long
Change-Id: Ia4ae190da37351b8c2b7ee9fc953508c5b1ab062
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/license_dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/license_dialog.cxx b/desktop/source/deployment/gui/license_dialog.cxx
index f37082e443ab..cc1621aebc8b 100644
--- a/desktop/source/deployment/gui/license_dialog.cxx
+++ b/desktop/source/deployment/gui/license_dialog.cxx
@@ -161,11 +161,11 @@ bool LicenseView::IsEndReached() const
ExtTextView* pView = GetTextView();
ExtTextEngine* pEdit = GetTextEngine();
- sal_uLong nHeight = pEdit->GetTextHeight();
+ const long nHeight = pEdit->GetTextHeight();
Size aOutSize = pView->GetWindow()->GetOutputSizePixel();
Point aBottom( 0, aOutSize.Height() );
- if ( (sal_uLong) pView->GetDocPos( aBottom ).Y() >= nHeight - 1 )
+ if ( pView->GetDocPos( aBottom ).Y() >= nHeight - 1 )
bEndReached = true;
else
bEndReached = false;