r20709 by craig -

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 24 16:04:37 UTC 2016


Author: craig
Date: Sun Jan 24 16:04:37 2016
New Revision: 20709

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20709
Log:
#13679: Fix compile error on old revenge code area

Modified:
    trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
    trunk/Scribus/scribus/plugins/scripter/api_item.cpp

Modified: trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20709&path=/trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/revenge/rawpainter.cpp	Sun Jan 24 16:04:37 2016
@@ -2639,7 +2639,7 @@
 								  ite->PoLine = Coords.copy();
 								  int rm = m_Doc->RotMode();
 								  m_Doc->RotMode(2);
-								  m_Doc->RotateItem(-rot, ite);
+								  m_Doc->rotateItem(-rot, ite);
 								  m_Doc->RotMode(rm);
 							  }
 							  else
@@ -2787,7 +2787,7 @@
 									  ite->PoLine = Coords.copy();
 									  int rm = m_Doc->RotMode();
 									  m_Doc->RotMode(2);
-									  m_Doc->RotateItem(-rot, ite);
+									  m_Doc->rotateItem(-rot, ite);
 									  m_Doc->RotMode(rm);
 								  }
 								  else
@@ -2922,7 +2922,7 @@
 									ite->PoLine = Coords.copy();
 									int rm = m_Doc->RotMode();
 									m_Doc->RotMode(2);
-									m_Doc->RotateItem(-rot, ite);
+									m_Doc->rotateItem(-rot, ite);
 									m_Doc->RotMode(rm);
 								}
 								else
@@ -2985,7 +2985,7 @@
 		{
 			int rm = m_Doc->RotMode();
 			m_Doc->RotMode(2);
-			m_Doc->RotateItem(rot, ite);
+			m_Doc->rotateItem(rot, ite);
 			m_Doc->RotMode(rm);
 		}
 		if (propList["draw-mirror-horizontal"])

Modified: trunk/Scribus/scribus/plugins/scripter/api_item.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20709&path=/trunk/Scribus/scribus/plugins/scripter/api_item.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/scripter/api_item.cpp	(original)
+++ trunk/Scribus/scribus/plugins/scripter/api_item.cpp	Sun Jan 24 16:04:37 2016
@@ -368,7 +368,7 @@
 		return;
 	if (item == NULL)
 		return;
-	ScCore->primaryMainWindow()->doc->RotateItem(item->rotation() - rot, item);
+	ScCore->primaryMainWindow()->doc->rotateItem(item->rotation() - rot, item);
 
 }
 void ItemAPI::rotateAbs(double rot)
@@ -377,7 +377,7 @@
 		return;
 	if (item == NULL)
 		return;
-	ScCore->primaryMainWindow()->doc->RotateItem(rot * -1.0, item);
+	ScCore->primaryMainWindow()->doc->rotateItem(rot * -1.0, item);
 }
 
 




More information about the scribus-commit mailing list