summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-03-24 17:52:15 +0100
committerJan Holesovsky <kendy@collabora.com>2014-03-24 17:54:14 +0100
commit4fe8a4954c4c5cf13074fde419c4fc6f094578bf (patch)
treedb63c6584eda6c825cff669e3b3e7833211ec3e4 /include
parent2a200a271c134bdd91658f6b34213b4a77f3295f (diff)
GetPaintArea() was operating directly on the region, no need to return it.
Rename it accordingly, so that it is more obvious. Change-Id: Ifb313f1e60b50761247a65b7ce2c6b38773c1304
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--include/vcl/window.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index cbdf725bcd2f..eb4d0ba3f78e 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -736,7 +736,7 @@ public:
SAL_DLLPRIVATE void ImplDrawAlpha ( const Bitmap& rBmp, const AlphaMask& rAlpha,
const Point& rDestPt, const Size& rDestSize,
const Point& rSrcPtPixel, const Size& rSrcSizePixel );
- virtual Rectangle& GetPaintArea ( Rectangle& rDstRect );
+ virtual void ClipToPaintRegion ( Rectangle& rDstRect );
SAL_DLLPRIVATE Bitmap ImplBlend ( Bitmap aBmp,
BitmapReadAccess* pP,
BitmapReadAccess* pA,
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index d41f0f52c608..5bf0e8d642c0 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -579,7 +579,7 @@ protected:
virtual OUString getDefaultAccessibleName() const;
virtual void CopyAreaFinal( SalTwoRect& aPosAry, sal_uInt32 nFlags);
- virtual Rectangle& GetPaintArea ( Rectangle& rDstRect );
+ virtual void ClipToPaintRegion( Rectangle& rDstRect );
public:
bool HasMirroredGraphics() const;