]> git.lyx.org Git - lyx.git/blobdiff - src/Format.cpp
BufferParams.h: add comment
[lyx.git] / src / Format.cpp
index c70c363fe088248c96f91907f542eff1aeacaf58..651b1bb4b30e0141d6e02c5f1be408d9d94d0318 100644 (file)
 #include "LyXRC.h"
 #include "debug.h"
 #include "gettext.h"
-#include "LyXServerSocket.h"
+#include "ServerSocket.h"
 
 #include "frontends/Application.h"
-#include "frontends/Alert.h" //to be removed?
+#include "frontends/alert.h" //to be removed?
 
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/os.h"
-#include "support/systemcall.h"
+#include "support/Systemcall.h"
 
 #include <boost/filesystem/operations.hpp>
 
@@ -314,7 +314,7 @@ bool Formats::view(Buffer const & buffer, FileName const & filename,
 
        command = subst(command, token_from_format, quoteName(filename.toFilesystemEncoding()));
        command = subst(command, token_path_format, quoteName(onlyPath(filename.toFilesystemEncoding())));
-       command = subst(command, token_socket_format, quoteName(theLyXServerSocket().address()));
+       command = subst(command, token_socket_format, quoteName(theServerSocket().address()));
        LYXERR(Debug::FILES) << "Executing command: " << command << std::endl;
        // FIXME UNICODE utf8 can be wrong for files
        buffer.message(_("Executing command: ") + from_utf8(command));
@@ -373,7 +373,7 @@ bool Formats::edit(Buffer const & buffer, FileName const & filename,
 
        command = subst(command, token_from_format, quoteName(filename.toFilesystemEncoding()));
        command = subst(command, token_path_format, quoteName(onlyPath(filename.toFilesystemEncoding())));
-       command = subst(command, token_socket_format, quoteName(theLyXServerSocket().address()));
+       command = subst(command, token_socket_format, quoteName(theServerSocket().address()));
        LYXERR(Debug::FILES) << "Executing command: " << command << std::endl;
        // FIXME UNICODE utf8 can be wrong for files
        buffer.message(_("Executing command: ") + from_utf8(command));