r21112 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Wed Mar 23 22:32:57 UTC 2016
Author: jghali
Date: Wed Mar 23 22:32:57 2016
New Revision: 21112
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21112
Log:
small refactoring
Modified:
trunk/Scribus/scribus/scpageoutput.cpp
trunk/Scribus/scribus/scpageoutput.h
Modified: trunk/Scribus/scribus/scpageoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21112&path=/trunk/Scribus/scribus/scpageoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/scpageoutput.cpp (original)
+++ trunk/Scribus/scribus/scpageoutput.cpp Wed Mar 23 22:32:57 2016
@@ -921,7 +921,7 @@
}
}
-class ScpageoutputPainter: public TextLayoutPainter
+class ScPageOutputPainter: public TextLayoutPainter
{
private:
PageItem* m_item;
@@ -942,7 +942,7 @@
}
public:
- ScpageoutputPainter(PageItem* item, ScPainterExBase* painter, ScPageOutput* scpage)
+ ScPageOutputPainter(PageItem* item, ScPainterExBase* painter, ScPageOutput* scpage)
: m_item(item)
, m_painter(painter)
, m_scpage(scpage)
@@ -1097,7 +1097,7 @@
void ScPageOutput::drawItem_PathText( PageItem_PathText* item, ScPainterExBase* painter, QRect clip )
{
- ScpageoutputPainter p(item, painter, this);
+ ScPageOutputPainter p(item, painter, this);
item->textLayout.renderBackground(&p);
item->textLayout.render(&p);
}
@@ -1451,7 +1451,7 @@
void ScPageOutput::drawItem_TextFrame( PageItem_TextFrame* item, ScPainterExBase* painter, QRect cullingArea )
{
- ScpageoutputPainter p(item, painter, this);
+ ScPageOutputPainter p(item, painter, this);
item->textLayout.renderBackground(&p);
item->textLayout.render(&p);
}
Modified: trunk/Scribus/scribus/scpageoutput.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21112&path=/trunk/Scribus/scribus/scpageoutput.h
==============================================================================
--- trunk/Scribus/scribus/scpageoutput.h (original)
+++ trunk/Scribus/scribus/scpageoutput.h Wed Mar 23 22:32:57 2016
@@ -53,7 +53,7 @@
class SCRIBUS_API ScPageOutput
{
- friend class ScpageoutputPainter;
+ friend class ScPageOutputPainter;
public:
ScPageOutput(ScribusDoc* doc, bool reloadImages = false, int resolution = 72, bool useProfiles = false);
More information about the scribus-commit
mailing list