aboutsummaryrefslogtreecommitdiffstats
path: root/print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp')
-rw-r--r--print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp b/print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp
new file mode 100644
index 00000000000..5bc93d8ee46
--- /dev/null
+++ b/print/scribus/files/patch-scribus::plugins::scriptplugin::cmdobj.cpp
@@ -0,0 +1,11 @@
+--- scribus/plugins/scriptplugin/cmdobj.cpp.orig Tue Jul 13 05:24:03 2004
++++ scribus/plugins/scriptplugin/cmdobj.cpp Sun Aug 29 20:02:39 2004
+@@ -26,7 +26,7 @@
+ Carrier->doc->Dwidth, Carrier->doc->Dbrush, Carrier->doc->Dpen);
+ Carrier->doc->ActPage->SetRectFrame(Carrier->doc->ActPage->Items.at(i));
+ if (GetUniqueItem(QString(Name)) == NULL)
+- (Name != "") ? Carrier->doc->ActPage->Items.at(i)->AnName = QString(Name) : NULL;
++ (Name != "") ? Carrier->doc->ActPage->Items.at(i)->AnName = QString(Name) : QString::null;
+ /* else
+ {
+ PyErr_SetString(PyExc_Exception, ERROBJ);