summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-02 19:33:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-03 09:53:11 +0200
commitc00de80189caa204e4d3cef60c7f56b2e8a66533 (patch)
treeccce056d2bc91af6513a0032e6e7fd30ad9d0960 /starmath
parent13dffd2be76ad1e4911cd74f7b25485e5df02eb7 (diff)
drop some unnecessary includes
Change-Id: I76eceb7eec534171420f2ac26918e44dde0dd738 Reviewed-on: https://gerrit.libreoffice.org/80078 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index e33e4d114944..3d5442fb4075 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -26,7 +26,6 @@
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <svl/stritem.hxx>
-#include <vcl/combobox.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/virdev.hxx>
@@ -1930,7 +1929,7 @@ bool SmSymDefineDialog::SelectSymbol(weld::ComboBox& rComboBox,
// if there's a change of the old symbol, show only the available ones, otherwise show none
const SmSym *pOldSymbol = nullptr;
OUString aTmpOldSymbolSetName;
- if (nPos != COMBOBOX_ENTRY_NOTFOUND)
+ if (nPos != -1)
{
pOldSymbol = m_aSymbolMgrCopy.GetSymbolByName(aNormName);
aTmpOldSymbolSetName = m_xOldSymbolSets->get_active_text();