diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-13 13:11:20 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-13 13:11:20 +0100 |
commit | baa228bd0d3c925bdceec1baf7b0095380bb2c69 (patch) | |
tree | 32bea8c5216d7b8e77e54f33d517a447ec63efaa /framework/source/services/license.cxx | |
parent | removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong i... (diff) | |
download | core-baa228bd0d3c925bdceec1baf7b0095380bb2c69.tar.gz core-baa228bd0d3c925bdceec1baf7b0095380bb2c69.zip |
removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in framework
Diffstat (limited to 'framework/source/services/license.cxx')
-rw-r--r-- | framework/source/services/license.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx index 455231f7bc51..f140b8e22886 100644 --- a/framework/source/services/license.cxx +++ b/framework/source/services/license.cxx @@ -589,11 +589,11 @@ sal_Bool LicenseView::IsEndReached() const ExtTextView* pView = GetTextView(); ExtTextEngine* pEdit = GetTextEngine(); - sal_uIntPtr nHeight = pEdit->GetTextHeight(); + sal_uLong nHeight = pEdit->GetTextHeight(); Size aOutSize = pView->GetWindow()->GetOutputSizePixel(); Point aBottom( 0, aOutSize.Height() ); - if ( (sal_uIntPtr) pView->GetDocPos( aBottom ).Y() >= nHeight - 1 ) + if ( (sal_uLong) pView->GetDocPos( aBottom ).Y() >= nHeight - 1 ) bEndReached = sal_True; else bEndReached = sal_False; @@ -606,7 +606,7 @@ void LicenseView::Notify( SfxBroadcaster&, const SfxHint& rHint ) if ( rHint.IsA( TYPE(TextHint) ) ) { sal_Bool bLastVal = EndReached(); - sal_uIntPtr nId = ((const TextHint&)rHint).GetId(); + sal_uLong nId = ((const TextHint&)rHint).GetId(); if ( nId == TEXT_HINT_PARAINSERTED ) { |