diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 10:39:12 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 10:39:12 +0100 |
commit | 98fba37bb1e2c5fd10d57d20d6e139765eb69751 (patch) | |
tree | 14f77c32abc948c109622f72b31e666dc5952611 /sc/source/ui/view/tabview5.cxx | |
parent | 9d4a40f108e24422dc7aad60f4d17bff08449e90 (diff) |
Consistently let SetDesingMode functions take bool argument
...to avoid "warning C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool'
in opertaion" style errors. Additionally, mark those functions that are virtual
overrides as such.
Change-Id: I64f919f7e2d8f6224303f9bac67f6270d58de014
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index 681fcc62d68e..87933b426ba3 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -222,7 +222,7 @@ void ScTabView::MakeDrawView( sal_uInt8 nForceDesignMode ) // used when switching back from page preview: restore saved design mode state // (otherwise, keep the default from the draw view ctor) if ( nForceDesignMode != SC_FORCEMODE_NONE ) - pDrawView->SetDesignMode( (sal_Bool)nForceDesignMode ); + pDrawView->SetDesignMode( nForceDesignMode ); // an der FormShell anmelden FmFormShell* pFormSh = aViewData.GetViewShell()->GetFormShell(); |