r22935 by jghali - #15646: remove ScribusDoc::CurrentSel: it's not used

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 11 18:20:07 UTC 2019


Author: jghali
Date: Thu Apr 11 18:20:07 2019
New Revision: 22935

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22935
Log:
#15646: remove ScribusDoc::CurrentSel: it's not used

Modified:
    trunk/Scribus/scribus/scribus.cpp
    trunk/Scribus/scribus/scribusdoc.cpp
    trunk/Scribus/scribus/scribusdoc.h

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22935&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp	(original)
+++ trunk/Scribus/scribus/scribus.cpp	Thu Apr 11 18:20:07 2019
@@ -2842,7 +2842,6 @@
 		}
 		break;
 	}
-	doc->CurrentSel = SelectedType;
 	propertiesPalette->xyzPal->basePointWidget->setCheckedId(doc->rotationMode());
 
 	if (docSelectionCount != 0)

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22935&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp	(original)
+++ trunk/Scribus/scribus/scribusdoc.cpp	Thu Apr 11 18:20:07 2019
@@ -242,7 +242,6 @@
 	ValCount(0),
 	m_documentFileName( tr("Document")+"-"),
 	AllFonts(&m_appPrefsData.fontPrefs.AvailFonts),
-	CurrentSel(-1),
 	LastAuto(nullptr), FirstAuto(nullptr),
 	DraggedElem(nullptr),
 	ElemToLink(nullptr),
@@ -337,7 +336,6 @@
 	ValCount(0),
 	m_documentFileName(docName),
 	AllFonts(&m_appPrefsData.fontPrefs.AvailFonts),
-	CurrentSel(-1),
 	LastAuto(nullptr), FirstAuto(nullptr),
 	DraggedElem(nullptr),
 	ElemToLink(nullptr),

Modified: trunk/Scribus/scribus/scribusdoc.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22935&path=/trunk/Scribus/scribus/scribusdoc.h
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.h	(original)
+++ trunk/Scribus/scribus/scribusdoc.h	Thu Apr 11 18:20:07 2019
@@ -1277,7 +1277,6 @@
 	QMap<QString,int> UsedFonts;
 	SCFonts * const AllFonts;
 	QList<AlignObjs> AObjects;
-	int CurrentSel;
 	ParagraphStyle currentStyle;
 	NodeEditContext nodeEdit;
 	/** \brief Letztes Element fuer AutoTextrahmen */




More information about the scribus-commit mailing list