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-04 19:28:29 +0100 |
commit | 0c225c7c2b47d7ec57ab7f3f2a900aaac78031d0 (patch) | |
tree | 37edca938de827fdcf20b3f98f0e3b5696b73411 /sw/source/ui | |
parent | b389b5958787b142a42d95744f46ccc9b94cf0a9 (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>
Diffstat (limited to 'sw/source/ui')
-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 f08d10d81fbf..7697e4413da7 100644 --- a/sw/source/ui/fldui/fldvar.cxx +++ b/sw/source/ui/fldui/fldvar.cxx @@ -395,7 +395,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*>( |