r19638 by jghali - #12829: Fix typo in source code (togleEditModeActions > toggleEditModeActions)

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 23 18:06:17 UTC 2014


Author: jghali
Date: Sun Nov 23 18:06:17 2014
New Revision: 19638

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19638
Log:
#12829: Fix typo in source code (togleEditModeActions > toggleEditModeActions)

Modified:
    trunk/Scribus/scribus/appmodehelper.cpp
    trunk/Scribus/scribus/pageitem_textframe.cpp
    trunk/Scribus/scribus/pageitem_textframe.h
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19638&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Sun Nov 23 18:06:17 2014
@@ -222,7 +222,7 @@
 			break;
 		case modeEdit:
 			{
-				if (oldMode!=modeEdit)
+				if (oldMode != modeEdit)
 					a_actMgr->saveActionShortcutsPreEditMode();
 				if (currItem != 0)
 				{
@@ -234,7 +234,7 @@
 				if (currItem!=NULL && currItem->asTextFrame())
 				{
 					enableTextActions(true, currItem->currentCharStyle().font().scName());
-					currItem->asTextFrame()->togleEditModeActions();
+					currItem->asTextFrame()->toggleEditModeActions();
 				}
 				if (ScMimeData::clipboardHasScribusData())
 				{

Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19638&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Sun Nov 23 18:06:17 2014
@@ -5230,7 +5230,7 @@
 	return true;
 }
 
-void PageItem_TextFrame::togleEditModeActions()
+void PageItem_TextFrame::toggleEditModeActions()
 {
 	bool editMode = (m_Doc->appMode == modeEdit);
 	bool masterMode = m_Doc->masterPageMode();

Modified: trunk/Scribus/scribus/pageitem_textframe.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19638&path=/trunk/Scribus/scribus/pageitem_textframe.h
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.h (original)
+++ trunk/Scribus/scribus/pageitem_textframe.h Sun Nov 23 18:06:17 2014
@@ -82,7 +82,7 @@
 	double columnWidth();
 
     //enable/disable marks inserting actions depending on editMode
-	void togleEditModeActions();
+	void toggleEditModeActions();
 	QRegion availableRegion() { return m_availableRegion; }
 
 protected:

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19638&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Sun Nov 23 18:06:17 2014
@@ -2679,7 +2679,7 @@
 			if (currItem->asTextFrame())
 			{
 				appModeHelper->enableTextActions(true, currItem->currentStyle().charStyle().font().scName());
-				currItem->asTextFrame()->togleEditModeActions();
+				currItem->asTextFrame()->toggleEditModeActions();
 			}
 			view->horizRuler->setItem(currItem);
 			view->horizRuler->update();




More information about the scribus-commit mailing list