diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-29 14:12:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-02 12:09:56 +0200 |
commit | 6ef9f7e2025a2334034e9c8f7b3422220add4742 (patch) | |
tree | a97096df0d2627574f685ed37b3abbe296833538 /vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | |
parent | acd4ecc38fc3aa486b7eaf8d5effa4a5ea034ccd (diff) |
loplugin:loopvartoosmall
Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
Diffstat (limited to 'vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx')
-rw-r--r-- | vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx index 39b44cd6a993..a34c143b99f9 100644 --- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx @@ -567,7 +567,7 @@ void GtkData::initNWF() *********************************************************/ void GtkData::deInitNWF() { - for( unsigned int i = 0; i < gWidgetData.size(); i++ ) + for( size_t i = 0; i < gWidgetData.size(); i++ ) { // free up global widgets // gtk_widget_destroy will in turn destroy the child hierarchy @@ -871,7 +871,7 @@ bool GtkSalGraphics::drawNativeControl(ControlType nType, ControlPart nPart, if( GtkSalGraphics::bThemeChanged ) { // invalidate caches - for( unsigned int i = 0; i < gWidgetData.size(); i++ ) + for( size_t i = 0; i < gWidgetData.size(); i++ ) if( gWidgetData[i].gNWPixmapCacheList ) gWidgetData[i].gNWPixmapCacheList->ThemeChanged(); GtkSalGraphics::bThemeChanged = false; |