diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-26 21:55:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-26 21:55:43 +0100 |
commit | 1b59be1c9076f3d491a8893adc8de37323791db0 (patch) | |
tree | 53bb959023e304dc794139550d35b8b7cacd932d /avmedia/source | |
parent | 5885bc4879c1d33b5271ec127f7f4c7b18706418 (diff) |
loplugin:loopvartoosmall
Change-Id: I62c14c2e9d10345b29d133003238df9ce2021f3d
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index dd47d5229c6e..b204542b8833 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -224,8 +224,7 @@ bool MediaWindow::executeMediaURLDialog(vcl::Window*, getMediaFilters( aFilters ); - unsigned int i; - for( i = 0; i < aFilters.size(); ++i ) + for( FilterNameVector::size_type i = 0; i < aFilters.size(); ++i ) { for( sal_Int32 nIndex = 0; nIndex >= 0; ) { @@ -239,7 +238,7 @@ bool MediaWindow::executeMediaURLDialog(vcl::Window*, // add filter for all media types aDlg.AddFilter( AVMEDIA_RESSTR( AVMEDIA_STR_ALL_MEDIAFILES ), aAllTypes ); - for( i = 0; i < aFilters.size(); ++i ) + for( FilterNameVector::size_type i = 0; i < aFilters.size(); ++i ) { OUString aTypes; @@ -344,8 +343,7 @@ bool MediaWindow::isMediaURL( const OUString& rURL, const OUString& rReferer, bo getMediaFilters( aFilters ); - unsigned int i; - for( i = 0; ( i < aFilters.size() ) && !bRet; ++i ) + for( FilterNameVector::size_type i = 0; ( i < aFilters.size() ) && !bRet; ++i ) { for( sal_Int32 nIndex = 0; nIndex >= 0 && !bRet; ) { |