sw/source/ui/frmdlg/cption.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0261be7f92930952a470bc7f5e1d543b8907b1f0 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Dec 3 09:30:44 2015 +0000 Resolves: tdf#94701 allow fully deleting illustration category in combobox Change-Id: Iaaefbe2311e61be3b9689c693481d149aa1355f5 diff --git a/sw/source/ui/frmdlg/cption.cxx b/sw/source/ui/frmdlg/cption.cxx index 4f3509e..cc176df 100644 --- a/sw/source/ui/frmdlg/cption.cxx +++ b/sw/source/ui/frmdlg/cption.cxx @@ -83,10 +83,10 @@ public: OUString SwCaptionDialog::our_aSepTextSave(": "); // Caption separator text -//Resolves: fdo#47427 disallow typing *or* pasting content into the category box +//Resolves: tdf#47427 disallow typing *or* pasting invalid content into the category box OUString TextFilterAutoConvert::filter(const OUString &rText) { - if (rText != m_sNone && !SwCalc::IsValidVarName(rText)) + if (!rText.isEmpty() && rText != m_sNone && !SwCalc::IsValidVarName(rText)) return m_sLastGoodText; m_sLastGoodText = rText; return rText;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits