summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdoc.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-07-27 22:41:44 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-08-01 19:33:20 +0200
commit288f49440f304ef43b9b1c6983ce0ee2af62225f (patch)
tree012739aed0ccfcac10f9ffee55c05cc56f4ae939 /vcl/source/edit/textdoc.cxx
parent2a57ea7a67a016b09d91cbf0e97c22e6909a298c (diff)
sal_uInt16 to sal_uInt32
Change-Id: Ib95d8812b0ce288b9691a398fe0396e73ea9af97
Diffstat (limited to 'vcl/source/edit/textdoc.cxx')
-rw-r--r--vcl/source/edit/textdoc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx
index fe8d4857d737..a19202c20052 100644
--- a/vcl/source/edit/textdoc.cxx
+++ b/vcl/source/edit/textdoc.cxx
@@ -28,7 +28,7 @@ static bool CompareStart( const TextCharAttrib& pFirst, const TextCharAttrib& pS
return pFirst.GetStart() < pSecond.GetStart();
}
-TextCharAttrib::TextCharAttrib( const TextAttrib& rAttr, sal_uInt16 nStart, sal_uInt16 nEnd )
+TextCharAttrib::TextCharAttrib( const TextAttrib& rAttr, sal_Int32 nStart, sal_Int32 nEnd )
{
mpAttr = rAttr.Clone();
mnStart = nStart,
@@ -67,7 +67,7 @@ void TextCharAttribList::InsertAttrib( TextCharAttrib* pAttrib )
if ( pAttrib->IsEmpty() )
mbHasEmptyAttribs = true;
- const sal_uInt16 nStart = pAttrib->GetStart(); // maybe better for Comp.Opt.
+ const sal_Int32 nStart = pAttrib->GetStart(); // maybe better for Comp.Opt.
bool bInserted = false;
for (TextCharAttribs::iterator it = maAttribs.begin(); it != maAttribs.end(); ++it)
{