summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 10:28:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 11:34:22 +0200
commitbad8bb24142348e7273fedfa5f8f4132a131254e (patch)
tree00a1c6800ce9d9de823ae6546f18cd88ae8c1ceb /sw/source/uibase/dialog
parent3cee2b2d5823e83fbfa01b2987df2452f75fc777 (diff)
convert SelectionType to scoped enum
Change-Id: Iefdf6d47b1c0189c3b3e39ad5a025e95f18fe6b6 Reviewed-on: https://gerrit.libreoffice.org/36446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/dialog')
-rw-r--r--sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
index fc9e0217105c..117fe87afdc3 100644
--- a/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
+++ b/sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx
@@ -208,7 +208,7 @@ svx::SpellPortions SwSpellDialogChildWindow::GetNextWrongSentence(bool bRecheck)
else
{
// the selection type has to be checked again - both text types are possible
- if(0 != (pWrtShell->GetSelectionType()& nsSelectionType::SEL_DRW_TXT))
+ if(pWrtShell->GetSelectionType() & SelectionType::DrawObjectEditMode)
bDrawText = true;
bNormalText = !bDrawText;
}