]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/Dialog.C
Rename .C => .cpp for files in src/frontends/controllers, step 1
[lyx.git] / src / frontends / controllers / Dialog.C
index a25f9bcdef553257ef90adadbc6a7b13497f4382..6c0aee8d2cbad378cd92b2d35ab03d8b7caf9515 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * \file Dialog.C
+ * \file Dialog.cpp
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
@@ -208,7 +208,7 @@ Dialog::Controller::Controller(Dialog & parent)
 bool Dialog::Controller::canApply() const
 {
        FuncRequest const fr(getLfun(), dialog().name());
-       FuncStatus const fs(kernel().lyxview().getLyXFunc().getStatus(fr));
+       FuncStatus const fs(lyx::getStatus(fr));
        return fs.enabled();
 }