diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-09-09 10:19:54 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-20 14:20:50 +0000 |
commit | 09a546ed1f4ca691ab9a81e0a0a08ec53f99a558 (patch) | |
tree | 2981fce61a3fe945c68198f92fe3fbe990068d2d /svx | |
parent | 38dd74047968fd734b598d3ee7293cd5263c1012 (diff) |
fdo#39881 change Find All behaviour in Calc
Allow to search in all sheets.
Find all now creates new dialog describing all matching cells.
Change-Id: I36a9bee314b620384937fff074680022397c8c5f
Reviewed-on: https://gerrit.libreoffice.org/5886
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index d9535b14d2d3..d07b77373ced 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -1189,13 +1189,8 @@ IMPL_LINK( SvxSearchDialog, FlagHdl_Impl, Control *, pCtrl ) if (m_pAllSheetsCB == pCtrl) { - if ( m_pAllSheetsCB->IsChecked() ) - m_pSearchAllBtn->Disable(); - else - { - bSet = sal_True; - ModifyHdl_Impl(m_pSearchLB); - } + bSet = sal_True; + ModifyHdl_Impl(m_pSearchLB); } if (m_pJapOptionsCB == pCtrl) @@ -1725,7 +1720,7 @@ void SvxSearchDialog::EnableControl_Impl( Control* pCtrl ) if ( m_pSearchAllBtn == pCtrl && ( SEARCH_OPTIONS_SEARCH_ALL & nOptions ) != 0 ) { - m_pSearchAllBtn->Enable( ( bWriter || !m_pAllSheetsCB->IsChecked() ) ); + m_pSearchAllBtn->Enable( true ); return; } if ( m_pReplaceBtn == pCtrl && ( SEARCH_OPTIONS_REPLACE & nOptions ) != 0 ) |