diff options
Diffstat (limited to 'dviware/dvisvgm/src/SVGOutput.hpp')
-rw-r--r-- | dviware/dvisvgm/src/SVGOutput.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dviware/dvisvgm/src/SVGOutput.hpp b/dviware/dvisvgm/src/SVGOutput.hpp index 38193dbdc8..3c382f0b7f 100644 --- a/dviware/dvisvgm/src/SVGOutput.hpp +++ b/dviware/dvisvgm/src/SVGOutput.hpp @@ -46,7 +46,7 @@ struct SVGOutputBase { virtual ~SVGOutputBase () =default; virtual std::ostream& getPageStream (int page, int numPages, const HashTriple &hashes=HashTriple()) const =0; - virtual std::string filename (int page, int numPages, const HashTriple &hashes=HashTriple()) const =0; + virtual FilePath filepath (int page, int numPages, const HashTriple &hashes= HashTriple()) const =0; virtual bool ignoresHashes () const {return true;} }; @@ -58,7 +58,7 @@ class SVGOutput : public SVGOutputBase { SVGOutput (const std::string &base, const std::string &pattern) : SVGOutput(base, pattern, 0) {} SVGOutput (const std::string &base, std::string pattern, int zipLevel); std::ostream& getPageStream (int page, int numPages, const HashTriple &hash=HashTriple()) const override; - std::string filename (int page, int numPages, const HashTriple &hash=HashTriple()) const override; + FilePath filepath (int page, int numPages, const HashTriple &hash=HashTriple()) const override; bool ignoresHashes () const override; protected: |