]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.cpp
Renaming leftovers
[lyx.git] / src / PDFOptions.cpp
index 149d85b3dbbdd185f330dfe06df433e5979fabaf..307c9b169f05c89e8a4e4748f1b2e64b90e83fd0 100644 (file)
 
 #include "support/convert.h"
 #include "support/lstrings.h"
-#include "debug.h"
+#include "support/debug.h"
 #include "Lexer.h"
 
 #include <sstream>
 #include <string>
 
-namespace lyx {
+using namespace std;
+using namespace lyx::support;
 
+namespace lyx {
 
-using std::ostream;
-using std::ostringstream;
-using std::string;
 
 const string PDFOptions::pagemode_fullscreen("FullScreen");
 
@@ -125,7 +124,7 @@ void PDFOptions::writeLaTeX(odocstream & os, bool hyper_required) const
        if (!pagemode.empty())
                opt += "pdfpagemode=" + pagemode + ',';
        
-       opt = support::rtrim(opt,",");
+       opt = rtrim(opt,",");
        opt += "]\n {hyperref}\n";
 
        // load the pdftitle etc. as hypersetup, otherwise you'll get
@@ -143,7 +142,7 @@ void PDFOptions::writeLaTeX(odocstream & os, bool hyper_required) const
                hyperset += "\n ";
                hyperset += quoted_options_get();
        }
-       hyperset = support::rtrim(hyperset,",");
+       hyperset = rtrim(hyperset,",");
        if (!hyperset.empty())
                opt += "\\hypersetup{" + hyperset + "}\n ";