]> git.lyx.org Git - features.git/blobdiff - src/frontends/xforms/FormPreferences.C
non-templated tostr in separate files
[features.git] / src / frontends / xforms / FormPreferences.C
index 91f47461c20c333ae940472531be78b33c789716..003f41dffe4568aac2d5cf45bd622d34e87736a9 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <config.h>
 
-
 #include "ControlPrefs.h"
 #include "FormPreferences.h"
 #include "forms/form_preferences.h"
@@ -38,6 +37,7 @@
 
 #include "support/lyxfunctional.h"
 #include "support/lyxmanip.h"
+#include "support/tostr.h"
 #include "support/filetools.h"
 #include "support/LAssert.h"
 
@@ -657,8 +657,7 @@ void FormPreferences::Colors::InputHSV()
        int const s = int(100.0 * sat);
        int const v = int(100.0 * val);
 
-       string const label = tostr(h) + string(", ") + tostr(s) + string(", ") +
-               tostr(v);
+       string const label = tostr(h) + ", " + tostr(s) + ", " + tostr(v);
        fl_set_object_label(dialog_->text_color_values, label.c_str());
 
        RGBColor col = HSVColor(hue, sat, val);