[Libreoffice-commits] core.git: svx/source
Dennis Francis
dennisfrancis.in at gmail.com
Sat Oct 24 22:45:24 PDT 2015
svx/source/dialog/srchdlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 1a4fc613e13d2ac3cf9cf96f29aa3f367a8fb25a
Author: Dennis Francis <dennisfrancis.in at gmail.com>
Date: Sat Oct 24 19:11:52 2015 +0530
Remember the state of "Search formatted display string" checkbox
This checkbox was introduced in the commit
9a85743766e8a063d20d5f93ee88758e243397f4
This patch makes Calc persistently remember the option's setting between
invocations of the Find & Replace dialog.
Change-Id: I82c1355e85cd16ce13229d495a6d243e185318ad
Reviewed-on: https://gerrit.libreoffice.org/19574
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index c3e5815..c1ef963 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -567,6 +567,7 @@ bool SvxSearchDialog::Close()
aOpt.SetNotes ( m_pNotesBtn->IsChecked() );
aOpt.SetIgnoreDiacritics_CTL ( m_pIgnoreDiacritics->IsChecked() );
aOpt.SetIgnoreKashida_CTL ( m_pIgnoreKashida->IsChecked() );
+ aOpt.SetSearchFormatted ( m_pSearchFormattedCB->IsChecked() );
aOpt.Commit();
const SfxPoolItem* ppArgs[] = { pSearchItem, 0 };
@@ -811,6 +812,7 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern )
if ( pSearchItem->GetAppFlag() == SvxSearchApp::CALC )
{
m_pCalcGrid->Show();
+ m_pSearchFormattedCB->Check( aOpt.IsSearchFormatted() );
Link<Button*,void> aLink = LINK( this, SvxSearchDialog, FlagHdl_Impl );
m_pCalcSearchInLB->SetSelectHdl( LINK( this, SvxSearchDialog, LBSelectHdl_Impl ) );
m_pRowsBtn->SetClickHdl( aLink );
More information about the Libreoffice-commits
mailing list