diff options
Diffstat (limited to 'sc/source/ui/inc/olinewin.hxx')
-rw-r--r-- | sc/source/ui/inc/olinewin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/olinewin.hxx b/sc/source/ui/inc/olinewin.hxx index cd9f49183e1a..6e8cc64417ca 100644 --- a/sc/source/ui/inc/olinewin.hxx +++ b/sc/source/ui/inc/olinewin.hxx @@ -49,7 +49,7 @@ private: bool mbMTActive; /// Mouse tracking active? bool mbMTPressed; /// Mouse tracking: Button currently drawed pressed? - Rectangle maFocusRect; /// Focus rectangle on screen. + tools::Rectangle maFocusRect; /// Focus rectangle on screen. size_t mnFocusLevel; /// Level of focused button. size_t mnFocusEntry; /// Entry index of focused button. bool mbDontDrawFocus; /// Do not redraw focus in next Paint(). @@ -98,7 +98,7 @@ private: /** Returns the point in the window of the specified position. */ Point GetPoint( long nLevelPos, long nEntryPos ) const; /** Returns the rectangle in the window of the specified position. */ - Rectangle GetRectangle( + tools::Rectangle GetRectangle( long nLevelStart, long nEntryStart, long nLevelEnd, long nEntryEnd ) const; @@ -206,7 +206,7 @@ private: void ScrollRel( long nEntryDiff, long nEntryStart, long nEntryEnd ); protected: - virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override; + virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override; virtual void Resize() override; virtual void GetFocus() override; |