X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetexternal.h;h=2e33880a20132fb3bb492464c2f6da0b2c9c1128;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=0ca0a06fd24628f01cdedd857d2307a60212a859;hpb=34a773b8cfe22ed278d101a13ad554a61fda526b;p=lyx.git diff --git a/src/insets/insetexternal.h b/src/insets/insetexternal.h index 0ca0a06fd2..2e33880a20 100644 --- a/src/insets/insetexternal.h +++ b/src/insets/insetexternal.h @@ -41,9 +41,9 @@ public: TempName(TempName const &); ~TempName(); TempName & operator=(TempName const &); - std::string const & operator()() const { return tempname_; } + support::FileName const & operator()() const { return tempname_; } private: - std::string tempname_; + support::FileName tempname_; }; /// How is the image to be displayed on the LyX screen? @@ -72,7 +72,7 @@ public: bool read(Buffer const &, LyXLex &); /// The name of the tempfile used for manipulations. - std::string const & tempname() const { return tempname_(); } + support::FileName const & tempname() const { return tempname_(); } /// The template currently in use. void settemplate(std::string const &); @@ -116,7 +116,7 @@ public: virtual EDITABLE editable() const { return IS_EDITABLE; } /// - void metrics(MetricsInfo &, Dimension &) const; + bool metrics(MetricsInfo &, Dimension &) const; /// void draw(PainterInfo & pi, int x, int y) const; ///