diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-17 20:43:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-17 21:29:30 +0000 |
commit | e739007b71c4d6fad239365f9ded4c7116eef414 (patch) | |
tree | 9fb5d1c5453c4ce38932d23ff481d9c5d9695f2b | |
parent | f6ea27c111d1eff28649c567616c8add708ae4d0 (diff) |
WaE: C4805: Unsafe mix of bool and BOOL
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index 9505bd4e83c4..d4d581dc7783 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -225,7 +225,7 @@ ScDrawLayer* ScDocShell::MakeDrawLayer() InitItems(); // incl. Undo und Basic Broadcast( SfxSimpleHint( SC_HINT_DRWLAYER_NEW ) ); if (nDocumentLock) - pDrawLayer->setLock(TRUE); + pDrawLayer->setLock(true); } return pDrawLayer; } diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx index 2818c9ea2d8e..133a5d889468 100644 --- a/sc/source/ui/docshell/docsh3.cxx +++ b/sc/source/ui/docshell/docsh3.cxx @@ -289,7 +289,7 @@ void ScDocShell::LockDocument_Impl(USHORT nNew) { ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); if (pDrawLayer) - pDrawLayer->setLock(TRUE); + pDrawLayer->setLock(true); } nDocumentLock = nNew; } @@ -301,7 +301,7 @@ void ScDocShell::UnlockDocument_Impl(USHORT nNew) { ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); if (pDrawLayer) - pDrawLayer->setLock(FALSE); + pDrawLayer->setLock(false); } } |