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 /sc/source/ui/docshell/docsh3.cxx | |
parent | f6ea27c111d1eff28649c567616c8add708ae4d0 (diff) |
WaE: C4805: Unsafe mix of bool and BOOL
Diffstat (limited to 'sc/source/ui/docshell/docsh3.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |