r18276 by jghali - fix incorrect reading of TopLink/LeftLink/RightLink/BottomLink attributes when copy-pasting tables
scribus-commit
scribus-commit at lists.scribus.net
Wed May 1 14:01:16 UTC 2013
Author: jghali
Date: Wed May 1 14:01:15 2013
New Revision: 18276
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18276
Log:
fix incorrect reading of TopLink/LeftLink/RightLink/BottomLink attributes when copy-pasting tables
Modified:
branches/Version14x/Scribus/scribus/pageitem_desaxe.cpp
Modified: branches/Version14x/Scribus/scribus/pageitem_desaxe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18276&path=/branches/Version14x/Scribus/scribus/pageitem_desaxe.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pageitem_desaxe.cpp (original)
+++ branches/Version14x/Scribus/scribus/pageitem_desaxe.cpp Wed May 1 14:01:15 2013
@@ -156,13 +156,13 @@
result.insert("RightLine", toXMLString(item->RightLine));
result.insert("BottomLine", toXMLString(item->BottomLine));
if (item->TopLink != 0)
- result.insert("TopLINK", "obj" + toXMLString(item->TopLink->getUId()));
+ result.insert("TopLink", "obj" + toXMLString(item->TopLink->getUId()));
if (item->LeftLink != 0)
- result.insert("LeftLINK", "obj" + toXMLString(item->LeftLink->getUId()));
+ result.insert("LeftLink", "obj" + toXMLString(item->LeftLink->getUId()));
if (item->RightLink != 0)
- result.insert("RightLINK", "obj" + toXMLString(item->RightLink->getUId()));
+ result.insert("RightLink", "obj" + toXMLString(item->RightLink->getUId()));
if (item->BottomLink != 0)
- result.insert("BottomLINK", "obj" + toXMLString(item->BottomLink->getUId()));
+ result.insert("BottomLink", "obj" + toXMLString(item->BottomLink->getUId()));
}
// result.insert("ANNAME", !item->AutoName ? item->itemName() : QString("")); // not used
More information about the scribus-commit
mailing list