X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdocument.h;h=c0adc527fda8c0883504f3a175b8a3eddefcbae6;hp=14a87d835db6efbc0eee6c9be13c5acf25faf416;hb=11724d8d8161e2c02e9278aed0e765de3ca436b4;hpb=bb2746f9e7e4660ec33909190dd7aaf093e80993 diff --git a/src/document.h b/src/document.h index 14a87d8..c0adc52 100644 --- a/src/document.h +++ b/src/document.h @@ -12,7 +12,7 @@ namespace IPDF Document(const std::string & filename = "") : m_objects(), m_count(0) {Load(filename);} virtual ~Document() {} - void LoadSVG(const std::string & filename, const Rect & bounds = {0,0,1,1}); + void LoadSVG(const std::string & filename, const Rect & bounds = Rect(0,0,1,1)); void Load(const std::string & filename = ""); void Save(const std::string & filename);