summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-16 13:57:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-17 18:10:30 +0200
commit810e1a86b0f87086f972f0b1190130ce3ec088b2 (patch)
tree8dd455a4c78b5c5a48426b61eec4faa572e60742 /sd
parentb5bc0d40ce55ced3c5019bdce27395e2a4f74454 (diff)
there's already a way to customize the invalidation
Change-Id: I486494de730b8665e56cfc664b62830fb0b8b8ee Reviewed-on: https://gerrit.libreoffice.org/72415 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/ClientView.hxx4
-rw-r--r--sd/source/ui/view/clview.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/inc/ClientView.hxx b/sd/source/ui/inc/ClientView.hxx
index a7bb20b51bf2..a616a6252bce 100644
--- a/sd/source/ui/inc/ClientView.hxx
+++ b/sd/source/ui/inc/ClientView.hxx
@@ -38,8 +38,8 @@ public:
/* if the view should not do a Invalidate() on the windows, you have to
override the following two methods and do something different */
- virtual void InvalidateOneWin(vcl::Window& rWin) override;
- virtual void InvalidateOneWin(vcl::Window& rWin, const ::tools::Rectangle& rRect) override;
+ virtual void InvalidateOneWin(OutputDevice& rWin) override;
+ virtual void InvalidateOneWin(OutputDevice& rWin, const ::tools::Rectangle& rRect) override;
};
} // end of namespace sd
diff --git a/sd/source/ui/view/clview.cxx b/sd/source/ui/view/clview.cxx
index 29905c83909f..a73bd292314f 100644
--- a/sd/source/ui/view/clview.cxx
+++ b/sd/source/ui/view/clview.cxx
@@ -48,7 +48,7 @@ ClientView::~ClientView()
* to be overridden and properly handled.
*/
-void ClientView::InvalidateOneWin(vcl::Window& rWin)
+void ClientView::InvalidateOneWin(OutputDevice& rWin)
{
vcl::Region aRegion;
CompleteRedraw(&rWin, aRegion);
@@ -59,7 +59,7 @@ void ClientView::InvalidateOneWin(vcl::Window& rWin)
* to be overridden and properly handled.
*/
-void ClientView::InvalidateOneWin(vcl::Window& rWin, const ::tools::Rectangle& rRect)
+void ClientView::InvalidateOneWin(OutputDevice& rWin, const ::tools::Rectangle& rRect)
{
CompleteRedraw(&rWin, vcl::Region(rRect));
}