]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiGraphics.cpp
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiGraphics.cpp
index 2fcb79867103e6eab8e9fd30ece273f25e33df25..b1abb5847aee88df478335f746b5e81f75c36c9e 100644 (file)
@@ -481,7 +481,7 @@ void GuiGraphics::paramsToDialog(InsetGraphicsParams const & igp)
        rtXunit->clear();
        rtYunit->clear();
        
-       for (int i = 0; i < bb_size; i++) {
+       for (size_t i = 0; i < bb_size; i++) {
                lbXunit->addItem(qt_(bb_units_gui[i]),
                        toqstr(bb_units[i]));
                lbYunit->addItem(qt_(bb_units_gui[i]),
@@ -626,7 +626,7 @@ void GuiGraphics::paramsToDialog(InsetGraphicsParams const & igp)
 
        origin->clear();
 
-       for (int i = 0; i < rorigin_size; i++) {
+       for (size_t i = 0; i < rorigin_size; i++) {
                origin->addItem(qt_(rorigin_gui_strs[i]),
                        toqstr(rorigin_lyx_strs[i]));
        }