diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-28 16:13:02 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-28 16:13:02 +0100 |
commit | 6e0a48a00fd0f6f63cb651fb8bd7dc79a569152b (patch) | |
tree | fa7a4e82b29af43d9af68ea21da140deeaf92f93 /editeng | |
parent | f70d75cfef0a4d2cd64d90b23f7711f18aef7b3c (diff) |
removetooltypes01: #ii12600# Fixed issues with gcc on Linux x64
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/svxrtf.hxx | 8 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/inc/editeng/svxrtf.hxx b/editeng/inc/editeng/svxrtf.hxx index 0a2df7f694de..a56c28e42a81 100644 --- a/editeng/inc/editeng/svxrtf.hxx +++ b/editeng/inc/editeng/svxrtf.hxx @@ -67,7 +67,7 @@ class SvxNodeIdx { public: virtual ~SvxNodeIdx() {} - virtual sal_uInt32 GetIdx() const = 0; + virtual sal_uLong GetIdx() const = 0; virtual SvxNodeIdx* Clone() const = 0; // erzeuge von sich eine Kopie }; @@ -76,7 +76,7 @@ class SvxPosition public: virtual ~SvxPosition() {} - virtual sal_uInt32 GetNodeIdx() const = 0; + virtual sal_uLong GetNodeIdx() const = 0; virtual xub_StrLen GetCntIdx() const = 0; virtual SvxPosition* Clone() const = 0; // erzeuge von sich eine Kopie @@ -439,8 +439,8 @@ public: void MoveFullNode(const SvxNodeIdx &rOldNode, const SvxNodeIdx &rNewNode); - sal_uInt32 GetSttNodeIdx() const { return pSttNd->GetIdx(); } - sal_uInt32 GetEndNodeIdx() const { return pEndNd->GetIdx(); } + sal_uLong GetSttNodeIdx() const { return pSttNd->GetIdx(); } + sal_uLong GetEndNodeIdx() const { return pEndNd->GetIdx(); } const SvxNodeIdx& GetSttNode() const { return *pSttNd; } const SvxNodeIdx& GetEndNode() const { return *pEndNd; } diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index 3bdcde494f6d..106ee9b61bbc 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -946,7 +946,7 @@ void SvxRTFParser::AttrGroupEnd() // den akt. Bearbeiten, vom Stack loeschen SvxRTFItemStackType *pAkt = aAttrStack.empty() ? 0 : aAttrStack.back(); do { // middle check loop - sal_uInt32 nOldSttNdIdx = pOld->pSttNd->GetIdx(); + sal_uLong nOldSttNdIdx = pOld->pSttNd->GetIdx(); if( !pOld->pChildList && ((!pOld->aAttrSet.Count() && !pOld->nStyleNo ) || (nOldSttNdIdx == pInsPos->GetNodeIdx() && @@ -981,7 +981,7 @@ void SvxRTFParser::AttrGroupEnd() // den akt. Bearbeiten, vom Stack loeschen if( bCrsrBack ) { // am Absatzanfang ? eine Position zurueck - sal_uInt32 nNd = pInsPos->GetNodeIdx(); + sal_uLong nNd = pInsPos->GetNodeIdx(); MovePos( sal_False ); // if can not move backward then later dont move forward ! bCrsrBack = nNd != pInsPos->GetNodeIdx(); |