diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-04 15:08:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-05 11:58:15 +0100 |
commit | dfed8bca32312884eb6166cbd8aba1d3397cd813 (patch) | |
tree | 44783799dca8237954435a49d12dcd7aaf8af086 | |
parent | 9c3171d4209f8eceb0152d7d9f70456c5813914e (diff) |
tdf#129796 junk in reference edit box
regression from
commit ebdf70cc68989d209965768edc8a3bdf27543c48
Date: Fri Sep 20 15:18:01 2019 +0200
convert SwFieldTypesEnum to scoped enum
Change-Id: Ifec7eb3bb3570f277aed365dcf38da477e437fea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89968
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 0c225c7c2b47d7ec57ab7f3f2a900aaac78031d0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90026
-rw-r--r-- | sw/source/ui/fldui/fldvar.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx index f3626ddac505..3064dc2f4933 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -397,7 +397,7 @@ void SwFieldVarPage::SubTypeHdl(const weld::TreeView* pBox) m_xNameED->set_text( sName ); // User- or SetField ? - if (GetFieldMgr().GetFieldType(SwFieldIds::User, sName)) + if (!GetFieldMgr().GetFieldType(SwFieldIds::User, sName)) // SetExp { // is there a corresponding SetField SwSetExpFieldType* pSetTyp = static_cast<SwSetExpFieldType*>( |