From bad8bb24142348e7273fedfa5f8f4132a131254e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 12 Apr 2017 10:28:56 +0200 Subject: convert SelectionType to scoped enum Change-Id: Iefdf6d47b1c0189c3b3e39ad5a025e95f18fe6b6 Reviewed-on: https://gerrit.libreoffice.org/36446 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/dialog') 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; } -- cgit