]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Further cleanup of InsetFlex, InsetCollapsable and InsetLayout:
[lyx.git] / src / Buffer.h
index d713c8ac0f037db54903b0c501e7f933380f47db..568a28d162818e1372a12d0afddf44e498b6c9a8 100644 (file)
 #include "insets/InsetCode.h"
 
 #include "support/FileName.h"
-#include "support/docstring.h"
-#include "support/docstream.h"
+#include "support/strfwd.h"
 #include "support/types.h"
 
-#include <iosfwd>
 #include <string>
-#include <utility>
 #include <vector>
 
 
@@ -252,7 +249,7 @@ public:
        std::string latexName(bool no_path = true) const;
 
        /// Get thee name and type of the log.
-       std::pair<LogType, std::string> logName() const;
+       std::string logName(LogType * type = 0) const;
 
        /// Change name of buffer. Updates "read-only" flag.
        void setFileName(std::string const & newfile);