summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docchart.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/doc/docchart.cxx
parent1577d93102ab87952309eafefa497aa88e97de21 (diff)
sal_uInt16 to size_t
Change-Id: Ide8913930f9f951039cefecf71609c5a2bcc5e82
Diffstat (limited to 'sw/source/core/doc/docchart.cxx')
-rw-r--r--sw/source/core/doc/docchart.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx
index 1b48a928c886..02fdf9127b9c 100644
--- a/sw/source/core/doc/docchart.cxx
+++ b/sw/source/core/doc/docchart.cxx
@@ -91,7 +91,7 @@ void SwDoc::DoUpdateAllCharts()
if( pVSh )
{
const SwFrmFmts& rTblFmts = *GetTblFrmFmts();
- for( sal_uInt16 n = 0; n < rTblFmts.size(); ++n )
+ for( size_t n = 0; n < rTblFmts.size(); ++n )
{
SwTable* pTmpTbl;
const SwTableNode* pTblNd;
@@ -151,7 +151,7 @@ void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const OUString &rNewName )
{
const SwFrmFmt* pFmt;
const SwFrmFmts& rTbl = *GetTblFrmFmts();
- for( sal_uInt16 i = rTbl.size(); i; )
+ for( size_t i = rTbl.size(); i; )
if( !( pFmt = rTbl[ --i ] )->IsDefault() &&
pFmt->GetName() == rNewName && IsUsed( *pFmt ) )
{