r18316 by jghali - remove some unused variables
scribus-commit
scribus-commit at lists.scribus.net
Fri Jun 14 17:39:47 UTC 2013
Author: jghali
Date: Fri Jun 14 17:39:47 2013
New Revision: 18316
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18316
Log:
remove some unused variables
Modified:
branches/Version14x/Scribus/scribus/prefs.cpp
branches/Version14x/Scribus/scribus/reformdoc.cpp
Modified: branches/Version14x/Scribus/scribus/prefs.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18316&path=/branches/Version14x/Scribus/scribus/prefs.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/prefs.cpp (original)
+++ branches/Version14x/Scribus/scribus/prefs.cpp Fri Jun 14 17:39:47 2013
@@ -298,11 +298,8 @@
void Preferences::unitChange()
{
- double oldUnitRatio = unitRatio;
docUnitIndex = tabDocument->unitCombo->currentIndex();
unitRatio = unitGetRatioFromIndex(docUnitIndex);
- QString suffix = unitGetSuffixFromIndex(docUnitIndex);
- double invUnitConversion = 1.0 / oldUnitRatio * unitRatio;
tabDocument->unitChange();
tabGuides->unitChange(docUnitIndex);
Modified: branches/Version14x/Scribus/scribus/reformdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18316&path=/branches/Version14x/Scribus/scribus/reformdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/reformdoc.cpp (original)
+++ branches/Version14x/Scribus/scribus/reformdoc.cpp Fri Jun 14 17:39:47 2013
@@ -166,11 +166,9 @@
void ReformDoc::unitChange()
{
- double oldUnitRatio = unitRatio;
docUnitIndex = tabPage->unitCombo->currentIndex();
unitRatio = unitGetRatioFromIndex(docUnitIndex);
- QString suffix = unitGetSuffixFromIndex(docUnitIndex);
- double invUnitConversion = 1.0 / oldUnitRatio * unitRatio;
+
tabPage->unitChange();
tabGuides->unitChange(docUnitIndex);
tabView->unitChange(docUnitIndex);
More information about the scribus-commit
mailing list