diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-10-01 11:00:10 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-01 11:28:59 +0200 |
commit | 1bda8ef1b0d532339db02cd932da275b00fb3f91 (patch) | |
tree | 12533ffc499398f5606b69239691bfab7f134b87 | |
parent | 277bf2338b313317e70db0cf9d09342558ae0792 (diff) |
sw: convert this sal_uLong
Although, why not just use the pointer?
Change-Id: I1781a04bb97dba2ac6c769973345bb3c66f28904
-rw-r--r-- | sw/source/core/doc/tblrwcl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx index f9d919862e6b..d12e01297e87 100644 --- a/sw/source/core/doc/tblrwcl.cxx +++ b/sw/source/core/doc/tblrwcl.cxx @@ -4519,7 +4519,7 @@ void SwShareBoxFormats::RemoveFormat( const SwFrameFormat& rFormat ) bool SwShareBoxFormats::Seek_Entry( const SwFrameFormat& rFormat, sal_uInt16* pPos ) const { - sal_uLong nIdx = reinterpret_cast<sal_uLong>(&rFormat); + sal_uIntPtr nIdx = reinterpret_cast<sal_uIntPtr>(&rFormat); auto nO = m_ShareArr.size(); decltype(nO) nU = 0; if( nO > 0 ) @@ -4528,7 +4528,7 @@ bool SwShareBoxFormats::Seek_Entry( const SwFrameFormat& rFormat, sal_uInt16* pP while( nU <= nO ) { const auto nM = nU + ( nO - nU ) / 2; - sal_uLong nFormat = reinterpret_cast<sal_uLong>(&m_ShareArr[ nM ]->GetOldFormat()); + sal_uIntPtr nFormat = reinterpret_cast<sal_uIntPtr>(&m_ShareArr[ nM ]->GetOldFormat()); if( nFormat == nIdx ) { if( pPos ) |