Commit 7553efa6 authored by Jan Hambrecht's avatar Jan Hambrecht

constify parameter in KoShape::reapint( QRectF )


svn path=/trunk/koffice/; revision=579799
parent d6afa9ae
......@@ -237,7 +237,7 @@ void KoShape::repaint() const {
}
}
void KoShape::repaint(QRectF &shape) const {
void KoShape::repaint(const QRectF &shape) const {
if ( !m_shapeManagers.empty() && isVisible() )
{
foreach( KoShapeManager * manager, m_shapeManagers )
......
......@@ -335,7 +335,7 @@ public:
* will be merged into an appropriate repaint action.
* @param shape the rectangle (in pt) to queue for repaint.
*/
void repaint(QRectF &shape) const;
void repaint(const QRectF &shape) const;
/**
* Request a repaint to be queued.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment