r23246 by jghali - Code style fixes

scribus-commit scribus-commit at lists.scribus.net
Thu Oct 10 05:58:26 UTC 2019


Author: jghali
Date: Thu Oct 10 05:58:26 2019
New Revision: 23246

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23246
Log:
Code style fixes

Modified:
    trunk/Scribus/scribus/canvasmode.cpp

Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23246&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode.cpp	Thu Oct 10 05:58:26 2019
@@ -302,7 +302,7 @@
 				if (!m_doc->Items->contains(currItem))
 					continue;
 				psx->save();
-				double lineAdjust(psx->pen().width()/m_canvas->scale());
+				double lineAdjust(psx->pen().width() / m_canvas->scale());
 				double x, y, w, h;
 				w = currItem->visualWidth() ;
 				h = currItem->visualHeight() ;
@@ -331,7 +331,7 @@
 		}
 		psx->save();
 		psx->setPen(m_pen["selection-group"]);
-		double lineAdjust(psx->pen().width()/m_canvas->scale());
+		double lineAdjust(psx->pen().width() / m_canvas->scale());
 		double x, y, w, h;
 		m_doc->m_Selection->setGroupRect();
 		m_doc->m_Selection->getVisualGroupRect(&x, &y, &w, &h);
@@ -362,7 +362,7 @@
 			psx->save();
 			psx->setPen(m_pen["selection"]);
 			psx->setBrush(m_brush["selection"]);
-			double lineAdjust(psx->pen().width()/m_canvas->scale());
+			double lineAdjust(psx->pen().width() / m_canvas->scale());
 			double x, y, w, h;
 			if (currItem->isGroupChild())
 			{




More information about the scribus-commit mailing list