diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-14 09:42:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-14 09:42:42 +0000 |
commit | 8eda3f334d982f1533e87e28edc549da224d10f4 (patch) | |
tree | c1f9dd8e414e4a6e54ff5ff67a6d5e4978f9a44c | |
parent | ditch SfxULongRanges from binfilter (diff) | |
download | binfilter-8eda3f334d982f1533e87e28edc549da224d10f4.tar.gz binfilter-8eda3f334d982f1533e87e28edc549da224d10f4.zip |
fix 64bit broken-ness
-rw-r--r-- | binfilter/bf_sw/source/core/sw3io/sw_sw3attr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3attr.cxx b/binfilter/bf_sw/source/core/sw3io/sw_sw3attr.cxx index dae11ddbd..195ddc870 100644 --- a/binfilter/bf_sw/source/core/sw3io/sw_sw3attr.cxx +++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3attr.cxx @@ -112,8 +112,8 @@ namespace binfilter { /*N*/ SfxPoolItem* SwFmtVertOrient::Create( SvStream& rStrm, USHORT nIVer ) const /*N*/ { -/*N*/ long nPos; -/*N*/ BYTE nOrient, nRelation; +/*N*/ sal_Int32 nPos(0); +/*N*/ BYTE nOrient(0), nRelation(0); /*N*/ rStrm >> nPos >> nOrient >> nRelation; /*N*/ /*N*/ // fix #48690#: In 4.0-Doks wurde bei VERT_NONE die Relation nicht @@ -137,8 +137,8 @@ namespace binfilter { /*N*/ SfxPoolItem* SwFmtHoriOrient::Create( SvStream& rStrm, USHORT nIVer ) const /*N*/ { -/*N*/ long nPos; -/*N*/ BYTE nOrient, nRelation, bToggle = 0; +/*N*/ sal_Int32 nPos(0); +/*N*/ BYTE nOrient(0), nRelation(0), bToggle(0); /*N*/ rStrm >> nPos >> nOrient >> nRelation; /*N*/ /*N*/ if( nIVer >= IVER_HORIORIENT_TOGGLE ) |