summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-05-31 20:50:32 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-05-31 23:35:55 +0200
commita512942270525405ea646c88dc1d460152a7aa46 (patch)
tree2d01a99f644b277c0d7bb9b57841248f20fe1fe6 /sw
parent0b8ae8aa7867e63f12517e4a575a700bd07f6d7d (diff)
Use auto, int
Change-Id: I39a7f83684d044602dd95e4523c43920d3caeac8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/htmldrawreader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmldrawreader.cxx b/sw/source/filter/html/htmldrawreader.cxx
index 73ca7cc619c2..1fd1266e6eab 100644
--- a/sw/source/filter/html/htmldrawreader.cxx
+++ b/sw/source/filter/html/htmldrawreader.cxx
@@ -424,7 +424,7 @@ void SwHTMLParser::NewMarquee( HTMLTable *pCurTable )
{
const SfxItemSet& rItemSet = pTextNd->GetAnyFormatColl().GetAttrSet();
const SfxPoolItem *pItem;
- for( sal_uInt16 i=0; nWhichIds[i]; i++ )
+ for( int i=0; nWhichIds[i]; ++i )
{
if( SfxItemState::SET == rItemSet.GetItemState( nWhichIds[i], true, &pItem ) )
PutEEPoolItem( aItemSet, *pItem );
@@ -433,7 +433,7 @@ void SwHTMLParser::NewMarquee( HTMLTable *pCurTable )
// die Attribute der Umgebung am Draw-Objekt setzen
_HTMLAttr** pHTMLAttributes = reinterpret_cast<_HTMLAttr**>(&aAttrTab);
- for (sal_uInt16 nCnt = sizeof(_HTMLAttrTable) / sizeof(_HTMLAttr*); nCnt--; ++pHTMLAttributes)
+ for (auto nCnt = sizeof(_HTMLAttrTable) / sizeof(_HTMLAttr*); nCnt--; ++pHTMLAttributes)
{
_HTMLAttr *pAttr = *pHTMLAttributes;
if( pAttr )