summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-02-12 00:58:29 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-02-21 17:44:59 +0100
commit8097a5b0847ed62caaa08b4c7a15315ee9d6866d (patch)
treecbf2e54339713fd48173ba7befd12f9ec03fb7aa
parent1b4d55645da61804c029f496a6ffb4febe99345a (diff)
Use more proper types
Change-Id: I548370202d81abe0348a082da0d321260aa8cd37
-rw-r--r--sw/source/core/doc/docglbl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docglbl.cxx b/sw/source/core/doc/docglbl.cxx
index 017a4f5da4b6..c76c12dd06d7 100644
--- a/sw/source/core/doc/docglbl.cxx
+++ b/sw/source/core/doc/docglbl.cxx
@@ -186,7 +186,7 @@ bool SwDoc::SplitDoc( sal_uInt16 eDocType, const OUString& rPath, bool bOutline,
{
// Look for the 1st level OutlineTemplate
const SwTxtFmtColls& rFmtColls =*GetTxtFmtColls();
- for( sal_uInt16 n = rFmtColls.size(); n; )
+ for( SwTxtFmtColls::size_type n = rFmtColls.size(); n; )
if ( rFmtColls[ --n ]->GetAttrOutlineLevel() == 1 )
{
pSplitColl = rFmtColls[ n ];
@@ -372,7 +372,7 @@ bool SwDoc::SplitDoc( sal_uInt16 eDocType, const OUString& rPath, bool bOutline,
CorrAbs( aSIdx, aEIdx, *aTmp.GetPoint(), true);
// If FlyFrames are still around, delete these too
- for( sal_uInt16 n = 0; n < GetSpzFrmFmts()->size(); ++n )
+ for( SwFrmFmts::size_type n = 0; n < GetSpzFrmFmts()->size(); ++n )
{
SwFrmFmt* pFly = (*GetSpzFrmFmts())[n];
const SwFmtAnchor* pAnchor = &pFly->GetAnchor();