diff options
author | Michaël Lefèvre <lefevre00@yahoo.fr> | 2014-04-04 00:13:31 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 07:23:43 -0500 |
commit | 453ee351f32494b1f30b477069cc7a1834352377 (patch) | |
tree | 2e5fc2a57d2a2f3eb839e929cae42d7d61451e05 /svtools/source/toolpanel | |
parent | 4da62012fea1796c1fed5bb2d87a353d1be79ea5 (diff) |
fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16
Reviewed-on: https://gerrit.libreoffice.org/8832
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source/toolpanel')
-rw-r--r-- | svtools/source/toolpanel/paneltabbar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx index a7d51f9b1c3d..05902d707c7e 100644 --- a/svtools/source/toolpanel/paneltabbar.cxx +++ b/svtools/source/toolpanel/paneltabbar.cxx @@ -818,7 +818,7 @@ namespace svt return; } impl_calcItemRects(); - OSL_POSTCOND( m_bItemsDirty == false, "PanelTabBar_Impl::EnsureItemsCache: cache still dirty!" ); + SAL_WARN_IF( m_bItemsDirty , "svtools", "PanelTabBar_Impl::EnsureItemsCache: cache still dirty!" ); DBG_CHECK( *this ); } @@ -1331,7 +1331,7 @@ namespace svt GrabFocus(); m_pImpl->FocusItem( i_nItemPos ); - OSL_POSTCOND( !!m_pImpl->m_aFocusedItem, "PanelTabBar::FocusPanelItem: have the focus, but no focused item?" ); + SAL_WARN_IF( !m_pImpl->m_aFocusedItem, "svtools", "PanelTabBar::FocusPanelItem: have the focus, but no focused item?" ); if ( !!m_pImpl->m_aFocusedItem ) m_pImpl->InvalidateItem( *m_pImpl->m_aFocusedItem ); m_pImpl->m_aFocusedItem.reset( i_nItemPos ); |