diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 09:28:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:07:40 +0000 |
commit | 32f95a35514701ed16413125b440c16d90f52b4a (patch) | |
tree | 25ac5edca15ee02bc937ee47116c2197559da4cd /vcl/workben | |
parent | 0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff) |
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index f02ac0390b8e..70e4ac8b6979 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -199,7 +199,7 @@ public: } } - void drawBackground(OutputDevice &rDev, Rectangle r) + void drawBackground(OutputDevice &rDev, const Rectangle& r) { rDev.Erase(); Gradient aGradient; @@ -627,7 +627,7 @@ public: // Simulate Page Borders rendering - which ultimately should // be done with a shader / gradient - void SimulateBorderStretch(OutputDevice &rDev, Rectangle r) + void SimulateBorderStretch(OutputDevice &rDev, const Rectangle& r) { static BitmapEx aPageShadowMask("sw/res/page-shadow-mask.png"); @@ -760,7 +760,7 @@ public: RENDER_AS_ALPHA_OUTDEV }; - void SizeAndRender(OutputDevice &rDev, Rectangle r, RenderType eType, + void SizeAndRender(OutputDevice &rDev, const Rectangle& r, RenderType eType, const RenderContext &rCtx) { VirtualDevice *pNested; |