Kaydet (Commit) b57eceb2 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: remove unused Find1RefWindow variant

üst 4eb4514e
...@@ -256,7 +256,6 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO ...@@ -256,7 +256,6 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO
SC_DLLPUBLIC sal_Bool UnregisterRefWindow( sal_uInt16 nSlotId, Window *pWnd ); SC_DLLPUBLIC sal_Bool UnregisterRefWindow( sal_uInt16 nSlotId, Window *pWnd );
SC_DLLPUBLIC sal_Bool IsAliveRefDlg( sal_uInt16 nSlotId, Window *pWnd ); SC_DLLPUBLIC sal_Bool IsAliveRefDlg( sal_uInt16 nSlotId, Window *pWnd );
SC_DLLPUBLIC Window * Find1RefWindow( sal_uInt16 nSlotId, Window *pWndAncestor ); SC_DLLPUBLIC Window * Find1RefWindow( sal_uInt16 nSlotId, Window *pWndAncestor );
SC_DLLPUBLIC Window * Find1RefWindow( Window *pWndAncestor );
}; };
#define SC_MOD() ( *(ScModule**) GetAppData(SHL_CALC) ) #define SC_MOD() ( *(ScModule**) GetAppData(SHL_CALC) )
......
...@@ -2201,20 +2201,4 @@ Window * ScModule::Find1RefWindow( sal_uInt16 nSlotId, Window *pWndAncestor ) ...@@ -2201,20 +2201,4 @@ Window * ScModule::Find1RefWindow( sal_uInt16 nSlotId, Window *pWndAncestor )
return NULL; return NULL;
} }
Window * ScModule::Find1RefWindow( Window *pWndAncestor )
{
if (!pWndAncestor)
return NULL;
while( Window *pParent = pWndAncestor->GetParent() ) pWndAncestor = pParent;
for( std::map<sal_uInt16, std::list<Window*> >::iterator i = m_mapRefWindow.begin();
i!=m_mapRefWindow.end(); ++i )
for( std::list<Window*>::iterator j = i->second.begin(); j!=i->second.end(); ++j )
if ( pWndAncestor->IsWindowOrChild( *j, (*j)->IsSystemWindow() ) )
return *j;
return NULL;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -349,7 +349,6 @@ ScHorizontalValueIterator::GetCurNumFmtInfo(short&, unsigned long&) ...@@ -349,7 +349,6 @@ ScHorizontalValueIterator::GetCurNumFmtInfo(short&, unsigned long&)
ScLeftFooterEditPage::GetRanges() ScLeftFooterEditPage::GetRanges()
ScLeftHeaderEditPage::GetRanges() ScLeftHeaderEditPage::GetRanges()
ScMatrix::CalcOffset(unsigned long, unsigned long) const ScMatrix::CalcOffset(unsigned long, unsigned long) const
ScModule::Find1RefWindow(Window*)
ScMyCellInfo::ScMyCellInfo() ScMyCellInfo::ScMyCellInfo()
ScMyStyleRanges::SetStylesToRanges(ScRangeList*, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) ScMyStyleRanges::SetStylesToRanges(ScRangeList*, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&)
ScMyStyleRanges::SetStylesToRanges(ScRangeListRef, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&) ScMyStyleRanges::SetStylesToRanges(ScRangeListRef, rtl::OUString const*, short, rtl::OUString const*, ScXMLImport&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment