r23930 by jghali - Small cleanups

scribus-commit scribus-commit at lists.scribus.net
Mon Jul 20 04:11:23 UTC 2020


Author: jghali
Date: Mon Jul 20 04:11:23 2020
New Revision: 23930

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23930
Log:
Small cleanups

Modified:
    trunk/Scribus/scribus/actionmanager.cpp
    trunk/Scribus/scribus/marks.cpp

Modified: trunk/Scribus/scribus/actionmanager.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23930&path=/trunk/Scribus/scribus/actionmanager.cpp
==============================================================================
--- trunk/Scribus/scribus/actionmanager.cpp	(original)
+++ trunk/Scribus/scribus/actionmanager.cpp	Mon Jul 20 04:11:23 2020
@@ -1439,7 +1439,7 @@
 	if (currView==nullptr)
 		return;
 	PageItem* currItem = mainWindow->doc->m_Selection->itemAt(0);
-	if (currItem==nullptr)
+	if (currItem == nullptr)
 		return;
 
 	(*scrActions)["itemPDFIsBookmark"]->disconnect();

Modified: trunk/Scribus/scribus/marks.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23930&path=/trunk/Scribus/scribus/marks.cpp
==============================================================================
--- trunk/Scribus/scribus/marks.cpp	(original)
+++ trunk/Scribus/scribus/marks.cpp	Mon Jul 20 04:11:23 2020
@@ -30,7 +30,7 @@
 {
 	if (mP == nullptr)
 	{
-		m_data.destmarkName = "";
+		m_data.destmarkName.clear();
 		m_data.destmarkType = MARKNoType;
 	}
 	else




More information about the scribus-commit mailing list