diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-11-15 15:13:00 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-11-15 15:13:00 +0100 |
commit | 7776ebfa63cec652131e2be61e2dc198648770db (patch) | |
tree | ddff706f7b4519e5949c569c51bf8bd477dd46a6 /sw/source/ui/uiview/viewsrch.cxx | |
parent | 30d646fb884570ac34d40b0d2300eaf54453cfc4 (diff) |
Cleanup few macros and unused headers.
Diffstat (limited to 'sw/source/ui/uiview/viewsrch.cxx')
-rw-r--r-- | sw/source/ui/uiview/viewsrch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/viewsrch.cxx b/sw/source/ui/uiview/viewsrch.cxx index bbd490f0640b..3a568c1c9933 100644 --- a/sw/source/ui/uiview/viewsrch.cxx +++ b/sw/source/ui/uiview/viewsrch.cxx @@ -91,7 +91,7 @@ inline Window* GetParentWindow( SvxSearchDialog* pSrchDlg ) { Window* pWin; if( pSrchDlg && pSrchDlg->IsVisible() ) - pWin = LAYOUT_THIS_WINDOW (pSrchDlg); + pWin = pSrchDlg; else pWin = 0; return pWin; @@ -763,7 +763,7 @@ sal_uLong SwView::FUNC_Search( const SwSearchOptions& rOptions ) return nFound; } -LAYOUT_NS Dialog* SwView::GetSearchDialog() +Dialog* SwView::GetSearchDialog() { const sal_uInt16 nId = SvxSearchDialogWrapper::GetChildWindowId(); SvxSearchDialogWrapper *pWrp = (SvxSearchDialogWrapper*)SfxViewFrame::Current()->GetChildWindow(nId); |