]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/epstools.cpp
Remove tooltips from the data of Toc Items
[lyx.git] / src / graphics / epstools.cpp
index 5fb403c3ecc92f9abab5ad5eda13507a747378ac..17aedfcb0ab7d04ddd0b0a9f423b9c5fcc074294 100644 (file)
@@ -57,8 +57,8 @@ string const readBB_from_PSFile(FileName const & file)
                return string();
        }
 
-       static lyx::regex bbox_re(
-               "^%%BoundingBox:\\s*([[:digit:]]+)\\s+([[:digit:]]+)\\s+([[:digit:]]+)\\s+([[:digit:]]+)");
+       static lyx::regex bbox_re("^%%BoundingBox:\\s*([-]*[[:digit:]]+)"
+               "\\s+([-]*[[:digit:]]+)\\s+([-]*[[:digit:]]+)\\s+([-]*[[:digit:]]+)");
        ifstream is(file_.toFilesystemEncoding().c_str());
        while (is) {
                string s;