diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 16:05:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-25 08:56:14 +0200 |
commit | abf60c4a0fd111985891e2faa30a1e32799fdf9c (patch) | |
tree | b83b66c7457b8e221a01dfe3808adc918c41e6b9 /starmath | |
parent | 6cb56b551bc1e30a887d8a333d70567cad23aa9e (diff) |
convert EE_CNTRL constants to enum class
there were a couple of lines in SC and SW where the code was using a
EV_CNTRL constant. I switched it to used the same-valued constant from
EE_CNTRL
Change-Id: I027183cc3b6e700bf365d48833e37eddc9b50f04
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index e61da8fa5356..f6a0bdee9a4b 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -376,9 +376,9 @@ EditEngine& SmDocShell::GetEditEngine() Application::GetDefaultDevice()->GetTextWidth(OUString("XXXX"))) ); pEditEngine->SetControlWord( - (pEditEngine->GetControlWord() | EE_CNTRL_AUTOINDENTING) & - (~EE_CNTRL_UNDOATTRIBS) & - (~EE_CNTRL_PASTESPECIAL) ); + (pEditEngine->GetControlWord() | EEControlBits::AUTOINDENTING) & + EEControlBits(~EEControlBits::UNDOATTRIBS) & + EEControlBits(~EEControlBits::PASTESPECIAL) ); pEditEngine->SetWordDelimiters(" .=+-*/(){}[];\""); pEditEngine->SetRefMapMode( MAP_PIXEL ); |