]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
zlib stuff
[lyx.git] / src / BufferView_pimpl.C
index e7518d7629d4b2b837f4910cb71b23f17c89333a..1526c5112bed74e46ed362ca0694abdb71e8f4ef 100644 (file)
@@ -59,6 +59,7 @@
 #include "support/LAssert.h"
 #include "support/tostr.h"
 #include "support/filetools.h"
+#include "support/path_defines.h"
 
 #include <boost/bind.hpp>
 #include <boost/signals/connection.hpp>
@@ -935,7 +936,7 @@ void BufferView::Pimpl::MenuInsertLyXFile(string const & filen)
                        make_pair(string(_("Documents|#o#O")),
                                  string(lyxrc.document_path)),
                        make_pair(string(_("Examples|#E#e")),
-                                 string(AddPath(system_lyxdir, "examples"))));
+                                 string(AddPath(system_lyxdir(), "examples"))));
 
                FileDialog::Result result =
                        fileDlg.open(initpath,
@@ -987,7 +988,7 @@ void BufferView::Pimpl::trackChanges()
 #warning changes FIXME
                //moveCursorUpdate(false);
 
-               bool found = lyxfind::findNextChange(bv_);
+               bool found = lyx::find::findNextChange(bv_);
                if (found) {
                        owner_->getDialogs().show("changes");
                        return;
@@ -1322,7 +1323,7 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev_in)
 #warning FIXME changes
                //moveCursorUpdate(false);
 
-               while (lyxfind::findNextChange(bv_)) {
+               while (lyx::find::findNextChange(bv_)) {
                        bv_->getLyXText()->acceptChange();
                }
                update(BufferView::SELECT);
@@ -1335,7 +1336,7 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev_in)
 #warning FIXME changes
                //moveCursorUpdate(false);
 
-               while (lyxfind::findNextChange(bv_)) {
+               while (lyx::find::findNextChange(bv_)) {
                        bv_->getLyXText()->rejectChange();
                }
                update(BufferView::SELECT);