summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdruler.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-23 17:21:56 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-23 18:39:06 +0200
commit6425f7ff616f9aaad8b4e279385ed3f5ab65bfe2 (patch)
tree5a188d98e729066c72dfe964b41d83b90d405741 /sd/source/ui/view/sdruler.cxx
parent59076a982599ea391217b14d9eeff06db3a4e08e (diff)
Improved loplugin:literaltoboolconversion looking into cond. exprs.
...manual fix inside a macro call Change-Id: Ic14d5186aae08a1e868e98ed370b0142db1a1329
Diffstat (limited to 'sd/source/ui/view/sdruler.cxx')
-rw-r--r--sd/source/ui/view/sdruler.cxx2
1 files changed, 1 insertions, 1 deletions
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());
}