summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdoc.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-07-27 22:35:56 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-01 19:33:20 +0200
commit2a57ea7a67a016b09d91cbf0e97c22e6909a298c (patch)
treed10af2259da5644870c7d5a7eb5a1c380bc23308 /vcl/source/edit/textdoc.cxx
parent69a4c6626c7924cef6ccfcd48a47d3010e5837c8 (diff)
sal_uInt16 to sal_Int32
Change-Id: I723d7c187ec186ccc68f061ba2357712a5f31869
Diffstat (limited to 'vcl/source/edit/textdoc.cxx')
-rw-r--r--vcl/source/edit/textdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx
index bca417af0558..fe8d4857d737 100644
--- a/vcl/source/edit/textdoc.cxx
+++ b/vcl/source/edit/textdoc.cxx
@@ -474,7 +474,7 @@ sal_uLong TextDoc::GetTextLen( const sal_Unicode* pSep, const TextSelection* pSe
{
TextNode* pNode = maTextNodes[ nNode ];
- sal_uInt16 nS = 0;
+ sal_Int32 nS = 0;
sal_Int32 nE = pNode->GetText().getLength();
if ( pSel && ( nNode == pSel->GetStart().GetPara() ) )
nS = pSel->GetStart().GetIndex();