r19074 by jghali - fix vector import regression reported on ml
scribus-commit
scribus-commit at lists.scribus.net
Mon Apr 21 14:27:13 UTC 2014
Author: jghali
Date: Mon Apr 21 14:27:13 2014
New Revision: 19074
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19074
Log:
fix vector import regression reported on ml
Modified:
branches/Version14x/Scribus/scribus/scribusXml.cpp
Modified: branches/Version14x/Scribus/scribus/scribusXml.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19074&path=/branches/Version14x/Scribus/scribus/scribusXml.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusXml.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusXml.cpp Mon Apr 21 14:27:13 2014
@@ -1883,8 +1883,8 @@
writer.writeAttribute("H", item->height());
}
}
- writer.writeAttribute("XP", xp);
- writer.writeAttribute("YP", yp);
+ writer.writeAttribute("XP", xp - doc->currentPage()->xOffset());
+ writer.writeAttribute("YP", yp - doc->currentPage()->yOffset());
writer.writeAttribute("COUNT", selection->count());
writer.writeAttribute("Version", QString(VERSION));
More information about the scribus-commit
mailing list