Commits

Anonymous committed 174cfc1

vcl122: #i117746# remove unused ImplFindWindow

  • Participants
  • Parent commits 3a6399c

Comments (0)

Files changed (3)

vcl/inc/svdata.hxx

 void        ImplWindowAutoMnemonic( Window* pWindow );
 
 void        ImplUpdateSystemProcessWindow();
-Window*     ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
 
 // SVAPP.CXX
 sal_Bool        ImplCallHotKey( const KeyCode& rKeyCode );

vcl/inc/vcl/window.hxx

 #ifdef DBG_UTIL
     friend const char* ImplDbgCheckWindow( const void* pObj );
 #endif
-    friend Window* ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos );
 public:
     SAL_DLLPRIVATE void                ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSystemParentData );
     SAL_DLLPRIVATE void                ImplInit( Window* pParent, WinBits nStyle, const ::com::sun::star::uno::Any& aSystemWorkWindowToken );

vcl/source/app/svdata.cxx

 
 // -----------------------------------------------------------------------
 
-Window* ImplFindWindow( const SalFrame* pFrame, Point& rSalFramePos )
-{
-    ImplSVData* pSVData = ImplGetSVData();
-    Window*     pFrameWindow = pSVData->maWinData.mpFirstFrame;
-    while ( pFrameWindow )
-    {
-        if ( pFrameWindow->ImplGetFrame() == pFrame )
-        {
-            Window* pWindow = pFrameWindow->ImplFindWindow( rSalFramePos );
-            if ( !pWindow )
-                pWindow = pFrameWindow->ImplGetWindow();
-            rSalFramePos = pWindow->ImplFrameToOutput( rSalFramePos );
-            return pWindow;
-        }
-        pFrameWindow = pFrameWindow->ImplGetFrameData()->mpNextFrame;
-    }
-
-    return NULL;
-}
-
 void LocaleConfigurationListener::ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 nHint )
 {
 	AllSettings::LocaleSettingsChanged( nHint );