From 35cf00e20ad5826f715f5d5bbc48d486228774ca Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 20 Mar 2015 15:48:04 +0100 Subject: OutputDevice::LogicInvalidate: take a Rectangle At the end this gets exported in the LOK API as a rectangle anyway, so better to convert the vcl::Regions into a Rectangle, and not the other way around. Change-Id: I81fede6e30af112d17bb74328801915d90474863 --- sc/source/ui/inc/gridwin.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/inc/gridwin.hxx') diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index ac158bfec473..36a7e5c2ef87 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -322,7 +322,7 @@ public: long nTileWidth, long nTileHeight ); /// @see OutputDevice::LogicInvalidate(). - void LogicInvalidate(const ::vcl::Region* pRegion) SAL_OVERRIDE; + void LogicInvalidate(const Rectangle* pRectangle) SAL_OVERRIDE; /// Same as MouseButtonDown(), but coordinates are in logic unit. void LogicMouseButtonDown(const MouseEvent& rMouseEvent); -- cgit