r16664 by craig - Remove unused vars

scribus-commit scribus-commit at lists.scribus.net
Wed Jun 15 22:02:55 UTC 2011


Author: craig
Date: Wed Jun 15 22:02:55 2011
New Revision: 16664

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16664
Log:
Remove unused vars

Modified:
    trunk/Scribus/scribus/pageitem.cpp

Modified: trunk/Scribus/scribus/pageitem.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16664&path=/trunk/Scribus/scribus/pageitem.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem.cpp (original)
+++ trunk/Scribus/scribus/pageitem.cpp Wed Jun 15 22:02:55 2011
@@ -6190,7 +6190,7 @@
 	//if (m_Doc->m_Selection->count()!=0 && m_Doc->m_Selection->primarySelectionIsMyself(this))
 	//	ScMW->propertiesPalette->updateColorSpecialGradient();
 	//CB Will only emit if connected, ie is first in GUI selection
-	double dur=m_Doc->unitRatio();
+	//unused double dur=m_Doc->unitRatio();
 }
 
 void PageItem::setPolyClip(int up, int down)
@@ -6268,7 +6268,7 @@
 		return false;
 	if (!m_Doc->m_Selection->primarySelectionIs(this))
 		return false;
-	PropertiesPalette* pp=m_Doc->scMW()->propertiesPalette;
+	//unused PropertiesPalette* pp=m_Doc->scMW()->propertiesPalette;
 	//connect(this, SIGNAL(myself(PageItem *)), pp, SLOT(setCurrentItem(PageItem *)));
 	connect(this, SIGNAL(frameType(int)), m_Doc->scMW(), SLOT(HaveNewSel(int)));
 	connect(this, SIGNAL(frameType(int)), m_Doc, SLOT(selectionChanged()));




More information about the scribus-commit mailing list