[Libreoffice-commits] core.git: vcl/aqua

Tor Lillqvist tml at iki.fi
Wed Jul 24 05:54:08 PDT 2013


 vcl/aqua/source/gdi/salnativewidgets.cxx |   22 ----------------------
 1 file changed, 22 deletions(-)

New commits:
commit acf6241887bc919fa6a83dafe2bede780ed96be7
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Jul 24 14:44:50 2013 +0300

    Remove dead function: ImplgetCounterPart()
    
    Change-Id: If1196d56db250a429d467e5dda7f426b5c7f9113

diff --git a/vcl/aqua/source/gdi/salnativewidgets.cxx b/vcl/aqua/source/gdi/salnativewidgets.cxx
index 3de4118..0921fb1 100644
--- a/vcl/aqua/source/gdi/salnativewidgets.cxx
+++ b/vcl/aqua/source/gdi/salnativewidgets.cxx
@@ -72,28 +72,6 @@ void AquaBlinker::Blink( AquaSalFrame* pFrame, const Rectangle& rRect, int nTime
     pNew->Start();
 }
 
-ControlPart ImplgetCounterPart( ControlPart nPart )
-{
-    ControlPart nCounterPart = 0;
-    switch (nPart)
-    {
-        case PART_BUTTON_UP:
-            nCounterPart = PART_BUTTON_DOWN;
-            break;
-        case PART_BUTTON_DOWN:
-            nCounterPart = PART_BUTTON_UP;
-            break;
-        case PART_BUTTON_LEFT:
-            nCounterPart = PART_BUTTON_RIGHT;
-            break;
-        case PART_BUTTON_RIGHT:
-            nCounterPart = PART_BUTTON_LEFT;
-            break;
-    }
-    return nCounterPart;
-}
-
-
 // Helper returns an HIRect
 
 static HIRect ImplGetHIRectFromRectangle(Rectangle aRect)


More information about the Libreoffice-commits mailing list