[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Tue Mar 25 07:16:38 PDT 2014
sw/source/core/uibase/uiview/view2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6811caf91a63c597a533aac7ffe7ef33e0509e1c
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Mar 25 16:13:25 2014 +0200
WaE: implicit conversion of literal of type 'sal_Bool' to 'bool' [loplugin]
Change-Id: I5850e62b5d8dc25f58ac098fb7ec6a987e96c040
diff --git a/sw/source/core/uibase/uiview/view2.cxx b/sw/source/core/uibase/uiview/view2.cxx
index 52212a3..1fcf58a 100644
--- a/sw/source/core/uibase/uiview/view2.cxx
+++ b/sw/source/core/uibase/uiview/view2.cxx
@@ -748,7 +748,7 @@ void SwView::Execute(SfxRequest &rReq)
nVersion = ((const SfxInt16Item *)pItem)->GetValue();
m_pViewImpl->SetParam( nVersion );
}
- if( SFX_ITEM_SET == pArgs->GetItemState( SID_NO_ACCEPT_DIALOG, sal_False, &pItem ))
+ if( SFX_ITEM_SET == pArgs->GetItemState( SID_NO_ACCEPT_DIALOG, false, &pItem ))
{
bNoAcceptDialog = ((const SfxBoolItem *)pItem)->GetValue();
}
More information about the Libreoffice-commits
mailing list