diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:18:24 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-08-02 18:23:38 +0200 |
commit | 75596f03ac498795a0d669bc1987e7bc372a53b0 (patch) | |
tree | 35c8ae2f71d34b9e9da282dcb4f72c75537d8b92 /vcl | |
parent | 67ecd3b1a23189b99e9509fab0b6c60d8648038a (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/sallayout.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/unx/saldisp.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/unx/salframe.h | 3 | ||||
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 8 | ||||
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 35 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 47 |
6 files changed, 0 insertions, 95 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 9c727a895581..51a64155f75e 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -215,7 +215,6 @@ public: virtual bool IsSpacingGlyph( sal_GlyphId ) const; // reference counting - void Reference() const; void Release() const; // used by glyph+font+script fallback diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index ac0c3c4c70fd..122a9f535eac 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -141,7 +141,6 @@ public: Pixel GetTCPixel( SalColor nColor ) const; SalColor GetTCColor( Pixel nPixel ) const; - sal_Bool Convert( int &n0, int &n1, int &n2, int &n3 ); // 32bit sal_Bool Convert( int &n0, int &n1, int &n2 ); // 24bit }; diff --git a/vcl/inc/unx/salframe.h b/vcl/inc/unx/salframe.h index 4bfe8958d728..32d2459cb12b 100644 --- a/vcl/inc/unx/salframe.h +++ b/vcl/inc/unx/salframe.h @@ -150,7 +150,6 @@ class VCLPLUG_GEN_PUBLIC X11SalFrame : public SalFrame void Minimize(); void Maximize(); void Restore(); - void SetWindowGravity (int nGravity ) const; void RestackChildren( XLIB_Window* pTopLevelWindows, int nTopLevelWindows ); void RestackChildren(); @@ -201,8 +200,6 @@ public: inline sal_Bool IsCaptured() const { return nCaptured_ == 1; } #if !defined(__synchronous_extinput__) void HandleExtTextEvent (XClientMessageEvent *pEvent); - void PostExtTextEvent (sal_uInt16 nExtTextEventType, - void *pExtTextEvent); #endif bool IsOverrideRedirect() const; bool IsChildWindow() const { return (nStyle_ & (SAL_FRAME_STYLE_PLUG|SAL_FRAME_STYLE_SYSTEMCHILD)) != 0; } diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 8b04476a1bea..b2f724fa323a 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -623,14 +623,6 @@ void SalLayout::AdjustLayout( ImplLayoutArgs& rArgs ) // ----------------------------------------------------------------------- -void SalLayout::Reference() const -{ - // TODO: protect when multiple threads can access this - ++mnRefCount; -} - -// ----------------------------------------------------------------------- - void SalLayout::Release() const { // TODO: protect when multiple threads can access this diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index 57eec67f5c23..2f6752a71033 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -2765,41 +2765,6 @@ SalVisual::~SalVisual() #define SALCOLOR RGB #define SALCOLORREVERSE BGR -sal_Bool SalVisual::Convert( int &n0, int &n1, int &n2, int &n3 ) -{ - int n; - - switch( GetMode() ) - { - case otherSalRGB: - return sal_False; - case SALCOLOR: - break; - case SALCOLORREVERSE: - case RBG: - case BRG: - case GBR: - case GRB: - return Convert( n0, n1, n2 ); - case RGBA: - n = n0; - n0 = n1; - n1 = n2; - n2 = n3; - n3 = n; - break; - case BGRA: - case RBGA: - case BRGA: - case GBRA: - case GRBA: - default: - fprintf( stderr, "SalVisual::Convert %d\n", GetMode() ); - abort(); - } - return sal_True; -} - sal_Bool SalVisual::Convert( int &n0, int &n1, int &n2 ) { int n; diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 8aba94d67a7f..58760be30656 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -1408,24 +1408,6 @@ void X11SalFrame::GetClientSize( long &rWidth, long &rHeight ) // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -void X11SalFrame::SetWindowGravity (int nGravity) const -{ - if( ! IsChildWindow() ) - { - XSizeHints* pHint = XAllocSizeHints(); - long nFlag; - - XGetWMNormalHints (GetXDisplay(), GetShellWindow(), pHint, &nFlag); - pHint->flags |= PWinGravity; - pHint->win_gravity = nGravity; - - XSetWMNormalHints (GetXDisplay(), GetShellWindow(), pHint); - XSync (GetXDisplay(), False); - - XFree (pHint); - } -} - void X11SalFrame::Center( ) { int nX, nY, nScreenWidth, nScreenHeight; @@ -2477,35 +2459,6 @@ void X11SalFrame::SetPointerPos(long nX, long nY) // delay handling of extended text input #if !defined(__synchronous_extinput__) void -X11SalFrame::PostExtTextEvent (sal_uInt16 nExtTextEventType, void *pExtTextEvent) -{ - XLIB_Window nFocusWindow = GetWindow(); - Atom nEventAtom = GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::SAL_EXTTEXTEVENT ); - - XEvent aEvent; - aEvent.xclient.type = ClientMessage; - aEvent.xclient.serial = 0; - aEvent.xclient.send_event = True; - aEvent.xclient.display = GetXDisplay(); - aEvent.xclient.window = nFocusWindow; - aEvent.xclient.message_type = nEventAtom; - aEvent.xclient.format = 32; - -#if SAL_TYPES_SIZEOFLONG > 4 - aEvent.xclient.data.l[0] = (sal_uInt32)((long)pExtTextEvent & 0xffffffff); - aEvent.xclient.data.l[1] = (sal_uInt32)((long)pExtTextEvent >> 32); -#else - aEvent.xclient.data.l[0] = (sal_uInt32)((long)pExtTextEvent); - aEvent.xclient.data.l[1] = 0; -#endif - aEvent.xclient.data.l[2] = (sal_uInt32)nExtTextEventType; - aEvent.xclient.data.l[3] = 0; - aEvent.xclient.data.l[4] = 0; - - XPutBackEvent( GetXDisplay(), &aEvent ); -} - -void X11SalFrame::HandleExtTextEvent (XClientMessageEvent *pEvent) { #if SAL_TYPES_SIZEOFLONG > 4 |