From 6425f7ff616f9aaad8b4e279385ed3f5ab65bfe2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 23 Apr 2015 17:21:56 +0200 Subject: Improved loplugin:literaltoboolconversion looking into cond. exprs. ...manual fix inside a macro call Change-Id: Ic14d5186aae08a1e868e98ed370b0142db1a1329 --- sd/source/ui/view/sdruler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx index 2df86286e921..8fd90d856aca 100644 --- a/sd/source/ui/view/sdruler.cxx +++ b/sd/source/ui/view/sdruler.cxx @@ -60,7 +60,7 @@ void RulerCtrlItem::StateChanged( sal_uInt16 nSId, SfxItemState, const SfxPoolIt case SID_RULER_NULL_OFFSET: { const SfxPointItem* pItem = dynamic_cast< const SfxPointItem* >(pState); - DBG_ASSERT(pState ? pItem != NULL : sal_True, "SfxPointItem expected"); + DBG_ASSERT(pState ? pItem != NULL : true, "SfxPointItem expected"); if ( pItem ) rRuler.SetNullOffset(pItem->GetValue()); } -- cgit