]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormGraphics.C
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormGraphics.C
index bfeb1f0aa6b631aa021184e2bd9e717eab40abb9..af3f41d5cccedf081fc626648ca5f27369ac51d5 100644 (file)
@@ -16,7 +16,7 @@
 #include "ControlGraphics.h"
 #include "forms/form_graphics.h"
 
-#include "controllers/helper_funcs.h" // for getStringFromVector
+#include "controllers/helper_funcs.h"
 
 #include "checkedwidgets.h"
 #include "input_validators.h"
@@ -45,6 +45,7 @@ using lyx::support::token;
 using std::endl;
 
 using std::vector;
+using std::string;
 
 
 namespace {
@@ -573,7 +574,7 @@ ButtonPolicy::SMInput FormGraphics::input(FL_OBJECT * ob, long)
        if (ob == file_->button_browse) {
                // Get the filename from the dialog
                string const in_name = getString(file_->input_filename);
-               string const out_name = controller().Browse(in_name);
+               string const out_name = controller().browse(in_name);
                lyxerr[Debug::GRAPHICS]
                        << "[FormGraphics]out_name: " << out_name << endl;
                if (out_name != in_name && !out_name.empty()) {