summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay Deep <akshaydeepiitr@gmail.com>2016-02-25 10:43:46 +0530
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-02-29 11:31:06 +0000
commit9729c112a082d807b5703f51c34dd0d7ddf094bf (patch)
tree9cbce8f2e9cc5c797dfea0e1534ed323128276cc
parentf0a0179c140ac18c7aff280eea82a6a3a0bc06a5 (diff)
tdf#98169 - Cross reference tab filter releases filter when refocused
Change-Id: Id77fad1dd84a4ea18ac69eeb6aaee39042017b6d Reviewed-on: https://gerrit.libreoffice.org/22681 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r--sw/source/ui/fldui/fldref.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index e6b4eaf88312..f6f002abb4f2 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -383,7 +383,8 @@ IMPL_LINK_NOARG_TYPED(SwFieldRefPage, TypeHdl, ListBox&, void)
sal_uInt16 nTypeId = (sal_uInt16)reinterpret_cast<sal_uLong>(m_pTypeLB->GetEntryData(GetTypeSel()));
// fill selection-ListBox
- UpdateSubType();
+ OUString sFilter = comphelper::string::strip(m_pFilterED->GetText(), ' ');
+ UpdateSubType(sFilter);
bool bName = false;
nFieldDlgFormatSel = 0;