From e739007b71c4d6fad239365f9ded4c7116eef414 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 17 Dec 2010 20:43:45 +0000 Subject: WaE: C4805: Unsafe mix of bool and BOOL --- sc/source/ui/docshell/docsh3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/docshell/docsh3.cxx') 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); } } -- cgit