ptype_removal_final.diff (1,331 bytes)
Index: scribus/pageitem.h
===================================================================
RCS file: /cvs/Scribus/scribus/pageitem.h,v
retrieving revision 1.26.2.39
diff -u -r1.26.2.39 pageitem.h
--- scribus/pageitem.h 8 Feb 2005 16:31:16 -0000 1.26.2.39
+++ scribus/pageitem.h 9 Feb 2005 09:54:18 -0000
@@ -155,7 +155,6 @@
double oldHeight;
/** Eckrundung von Rechtecken */
double RadRect;
- ItemType PType;
/** Winkel um den das Item gedreht wird */
double Rot;
/** @brief Stores the old rotation value for undo action. Is used to detect rotation actions. */
Index: scribus/plugins/scriptplugin/scriptplugin.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp,v
retrieving revision 1.33.2.42
diff -u -r1.33.2.42 scriptplugin.cpp
--- scribus/plugins/scriptplugin/scriptplugin.cpp 4 Feb 2005 20:03:54 -0000 1.33.2.42
+++ scribus/plugins/scriptplugin/scriptplugin.cpp 9 Feb 2005 09:54:19 -0000
@@ -248,7 +248,7 @@
Carrier->Sepal->SetView(Carrier->view);
Carrier->Sepal->Rebuild();
if (Carrier->view->SelItem.count() != 0)
- Carrier->HaveNewSel(Carrier->view->SelItem.at(0)->PType);
+ Carrier->HaveNewSel(Carrier->view->SelItem.at(0)->itemType());
else
Carrier->HaveNewSel(-1);
Carrier->view->DrawNew();