diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-05-29 23:34:09 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-06-02 10:47:42 +0200 |
commit | 263b4b99856c81c12707a5e9823d693a594ee305 (patch) | |
tree | 5606e0b36e0a059a267fa4757f31e7e455b27d4e /sw/source/ui/config | |
parent | 20bb2e707481135440b2c905fb234c5ba54d5041 (diff) |
loplugin: loopvartoosmall
Change-Id: Icb30dac9cdcba493752623ccafff5f06ccafc31f
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 86da07785385..758e53bd7301 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -559,7 +559,7 @@ void SwAddPrinterTabPage::PageCreated( const SfxAllItemSet& aSet) { std::vector<OUString> aFaxList; const std::vector<OUString>& rPrinters = Printer::GetPrinterQueues(); - for (unsigned int i = 0; i < rPrinters.size(); ++i) + for (size_t i = 0; i < rPrinters.size(); ++i) aFaxList.insert(aFaxList.begin(), rPrinters[i]); SetFax( aFaxList ); } @@ -2031,7 +2031,7 @@ void SwRedlineOptionsTabPage::Reset( const SfxItemSet* ) pChangedColorLB->InsertEntry(sAuthor); XColorListRef pColorLst = XColorList::GetStdColorList(); - for( sal_Int32 i = 0; i < pColorLst->Count(); ++i ) + for( long i = 0; i < pColorLst->Count(); ++i ) { XColorEntry* pEntry = pColorLst->GetColor( i ); Color aColor = pEntry->GetColor(); |