summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/ddetbl.cxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-12-25 17:38:13 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-12-25 18:21:11 +0100
commit93e97e83d8db7641d32391af7203806d2d26370b (patch)
treeb29e734b498e1881b61933c7b596ec4e21886a81 /sw/source/core/fields/ddetbl.cxx
parent1577d93102ab87952309eafefa497aa88e97de21 (diff)
sal_uInt16 to size_t
Change-Id: Ide8913930f9f951039cefecf71609c5a2bcc5e82
Diffstat (limited to 'sw/source/core/fields/ddetbl.cxx')
-rw-r--r--sw/source/core/fields/ddetbl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx
index a13560386e2a..be1212d8de01 100644
--- a/sw/source/core/fields/ddetbl.cxx
+++ b/sw/source/core/fields/ddetbl.cxx
@@ -111,12 +111,12 @@ void SwDDETable::ChangeContent()
OUString aExpand = comphelper::string::remove(pDDEType->GetExpansion(), '\r');
sal_Int32 nExpandTokenPos = 0;
- for( sal_uInt16 n = 0; n < aLines.size(); ++n )
+ for( size_t n = 0; n < aLines.size(); ++n )
{
OUString aLine = aExpand.getToken( 0, '\n', nExpandTokenPos );
sal_Int32 nLineTokenPos = 0;
SwTableLine* pLine = aLines[ n ];
- for( sal_uInt16 i = 0; i < pLine->GetTabBoxes().size(); ++i )
+ for( size_t i = 0; i < pLine->GetTabBoxes().size(); ++i )
{
SwTableBox* pBox = pLine->GetTabBoxes()[ i ];
OSL_ENSURE( pBox->GetSttIdx(), "no content box" );