diff options
Diffstat (limited to 'sc/source/ui/view/tabvwshe.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshe.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx index d3fa448a6538..74dfe9001dcd 100644 --- a/sc/source/ui/view/tabvwshe.cxx +++ b/sc/source/ui/view/tabvwshe.cxx @@ -261,8 +261,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq ) vcl::Window* pWin = pTabView->GetActiveWin(); if( pWin ) { - pSearchDlg->SetDocWin( pWin, pSearchItem->GetCommand() ); - pSearchDlg->SetSrchFlag( bSuccess ); + pSearchDlg->SetDocWin(pWin, pSearchItem->GetCommand(), bSuccess); } } } @@ -331,8 +330,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq ) vcl::Window* pWin = pTabView->GetActiveWin(); if( pWin ) { - pSearchDlg->SetDocWin( pWin, aSearchItem.GetCommand() ); - pSearchDlg->SetSrchFlag(false); + pSearchDlg->SetDocWin(pWin, aSearchItem.GetCommand(), false); } } } |