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 /sd/source/ui/tools/PreviewRenderer.cxx | |
parent | convert MouseTarget to enum class (diff) | |
download | core-abf60c4a0fd111985891e2faa30a1e32799fdf9c.tar.gz core-abf60c4a0fd111985891e2faa30a1e32799fdf9c.zip |
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 'sd/source/ui/tools/PreviewRenderer.cxx')
-rw-r--r-- | sd/source/ui/tools/PreviewRenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index b5f2b71f359e..812469caf889 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -297,12 +297,12 @@ void PreviewRenderer::PaintPage ( // Turn off online spelling and redlining. SdrOutliner* pOutliner = NULL; - sal_uLong nSavedControlWord (0); + EEControlBits nSavedControlWord; if (mpDocShellOfView!=NULL && mpDocShellOfView->GetDoc()!=NULL) { pOutliner = &mpDocShellOfView->GetDoc()->GetDrawOutliner(); nSavedControlWord = pOutliner->GetControlWord(); - pOutliner->SetControlWord((nSavedControlWord & ~EE_CNTRL_ONLINESPELLING)); + pOutliner->SetControlWord((nSavedControlWord & ~EEControlBits::ONLINESPELLING)); } // Use a special redirector to prevent PresObj shapes from being painted. |