]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlExternal.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlExternal.h
index 604bc98e937512db0ab07d8389949b1f28eba825..da404970d3cc2d44b888f91ff830b7e674abbede 100644 (file)
 class InsetExternalParams;
 
 namespace lyx {
+
 namespace external {
+
 class Template;
 class RotationDataType;
+
 } // namespace external
-} // namespace lyx
 
 
+namespace frontend {
+
 class ControlExternal : public Dialog::Controller {
 public:
        ///
@@ -59,7 +63,7 @@ public:
        ///
        int getTemplateNumber(std::string const &) const;
        ///
-       lyx::external::Template getTemplate(int) const;
+       external::Template getTemplate(int) const;
        ///
        std::string const browse(std::string const & input_file,
                                 std::string const & tempalate_name) const;
@@ -75,12 +79,13 @@ private:
        bool bb_changed_;
 };
 
+} // namespace frontend
+
 
-namespace lyx {
 namespace external {
 
 std::vector<RotationDataType> const & all_origins();
-std::string const origin_gui_str(lyx::size_type i);
+std::string const origin_gui_str(size_type i);
 
 } // namespace external
 } // namespace lyx