diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-10 13:34:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-11 06:17:36 +0000 |
commit | a52f29216d2a70ea4a0a0347d71273cdbf8830e3 (patch) | |
tree | 3884a4aedca33777c43a18b40313ab125b1b4c30 /sd | |
parent | b7c4c78a097f76314982d8c1a9f2e58df95080a1 (diff) |
fdo#84938: replace HELPMODE_ constants with enum
Change-Id: I44be5567e84cdabd8b10771ea37e28b8a88cc23e
Reviewed-on: https://gerrit.libreoffice.org/12333
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/viewshe2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx index ebe69a158524..3c72e3105302 100644 --- a/sd/source/ui/view/viewshe2.cxx +++ b/sd/source/ui/view/viewshe2.cxx @@ -668,7 +668,7 @@ bool ViewShell::RequestHelp(const HelpEvent& rHEvt, ::sd::Window*) { bool bReturn = false; - if (rHEvt.GetMode()) + if (bool(rHEvt.GetMode())) { if( GetView() ) bReturn = GetView()->getSmartTags().RequestHelp(rHEvt); |