[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at collabora.com
Sat Apr 26 09:34:15 PDT 2014
vcl/source/window/menu.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit b98ce8b9c5201a61a60a9f7010e5ddfafd6fcecd
Author: Tor Lillqvist <tml at collabora.com>
Date: Sat Apr 26 19:32:30 2014 +0300
In fact InitMenuClipRegion() is unused
Change-Id: I5198baeb7b396bec2df991a94a57531f35b7a24b
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 12dd097..40f7c55 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -509,7 +509,6 @@ private:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
protected:
Region ImplCalcClipRegion( bool bIncludeLogo = true ) const;
- void InitMenuClipRegion();
void ImplDrawScroller( bool bUp );
using Window::ImplScroll;
void ImplScroll( const Point& rMousePos );
@@ -4032,18 +4031,6 @@ Region MenuFloatingWindow::ImplCalcClipRegion( bool bIncludeLogo ) const
return aRegion;
}
-void MenuFloatingWindow::InitMenuClipRegion()
-{
- if ( IsScrollMenu() )
- {
- SetClipRegion( ImplCalcClipRegion() );
- }
- else
- {
- SetClipRegion();
- }
-}
-
void MenuFloatingWindow::ImplHighlightItem( const MouseEvent& rMEvt, bool bMBDown )
{
if( ! pMenu )
More information about the Libreoffice-commits
mailing list