diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-08-18 20:53:27 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-21 15:52:41 +0200 |
commit | 38fa44435a428685b4ac59ee98972a8521942225 (patch) | |
tree | 442600a651acb02d79bd531bcc4a47b40f7565e8 /cui | |
parent | e86def1f3f86731230a27926d61d525653f62c72 (diff) |
fix bogus always-true asserts
Most of these were converted from OSL_ASSERT
Change-Id: Ia95a758cdebf72ee80d00866644d92e6bb915071
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tppattern.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tppattern.cxx b/cui/source/tabpages/tppattern.cxx index 26e1f2b9c7b1..7b6cf2c63649 100644 --- a/cui/source/tabpages/tppattern.cxx +++ b/cui/source/tabpages/tppattern.cxx @@ -408,7 +408,7 @@ IMPL_LINK_NOARG(SvxPatternTabPage, ClickAddHdl_Impl, Button*, void) pEntry.reset(new XBitmapEntry(dynamic_cast<const XFillBitmapItem*>(pPoolItem)->GetGraphicObject(), aName)); } else - assert("SvxPatternTabPage::ClickAddHdl_Impl(), XBitmapEntry* pEntry == nullptr ?"); + assert(!"SvxPatternTabPage::ClickAddHdl_Impl(), XBitmapEntry* pEntry == nullptr ?"); } if( pEntry ) |