summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww1/fltshell.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-12-17 00:12:03 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-12-19 00:16:06 +0100
commit65e6d651ceef55f569521a4f4e609f7e5e88847b (patch)
treef67875729b694c013a3cabb77cc93779b4c1b25f /sw/source/filter/ww1/fltshell.cxx
parenta85d10e0c1a0f79fc807007dbd49975f35f218fe (diff)
xub_StrLen/sal_uInt16 to sal_Int32
Change-Id: I61b717f080b9c667b75eac8dd3b5bd4cb50e6881
Diffstat (limited to 'sw/source/filter/ww1/fltshell.cxx')
-rw-r--r--sw/source/filter/ww1/fltshell.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww1/fltshell.cxx b/sw/source/filter/ww1/fltshell.cxx
index bc8f3951d341..5342ed1e5dd5 100644
--- a/sw/source/filter/ww1/fltshell.cxx
+++ b/sw/source/filter/ww1/fltshell.cxx
@@ -767,9 +767,9 @@ void SwFltControlStack::Delete(const SwPaM &rPam)
return;
SwNodeIndex aStartNode(pStt->nNode, -1);
- sal_uInt16 nStartIdx = pStt->nContent.GetIndex();
+ const sal_Int32 nStartIdx = pStt->nContent.GetIndex();
SwNodeIndex aEndNode(pEnd->nNode, -1);
- sal_uInt16 nEndIdx = pEnd->nContent.GetIndex();
+ const sal_Int32 nEndIdx = pEnd->nContent.GetIndex();
//We don't support deleting content that is over one node, or removing a node.
OSL_ENSURE(aEndNode == aStartNode, "nodes must be the same, or this method extended");
@@ -817,7 +817,7 @@ void SwFltControlStack::Delete(const SwPaM &rPam)
continue;
}
- xub_StrLen nCntntDiff = nEndIdx - nStartIdx;
+ const sal_Int32 nCntntDiff = nEndIdx - nStartIdx;
//to be adjusted
if (bEntryStartAfterSelStart)