diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-11 16:21:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-11 16:21:40 +0200 |
commit | b3d281f5c2c69cbbe8f90115e76ebbe5263d0ec7 (patch) | |
tree | a08b03bee2eea2b09dd600a5de1abb4c618e6b05 /sfx2 | |
parent | ae4fdbaac97341681bf38b2dc6e9925bc462ae9a (diff) |
-Werror,-Wtautological-undefined-compare
("'this' pointer cannot be null in well-defined C++ code; comparison may be
assumed to always evaluate to true")
Change-Id: Id3b886135f43b39a2fcf2bb197cf6a80d6532365
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/menu/virtmenu.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx index 434198de89f9..59f0fbebc763 100644 --- a/sfx2/source/menu/virtmenu.cxx +++ b/sfx2/source/menu/virtmenu.cxx @@ -990,7 +990,6 @@ IMPL_LINK( SfxVirtualMenu, Select, Menu *, pMenu ) void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, bool bCheck ) { - DBG_ASSERT( this != 0, ""); DBG_ASSERT( pSVMenu != 0, "" ); if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) pSVMenu->CheckItem( nItemId, bCheck ); @@ -1001,7 +1000,6 @@ void SfxVirtualMenu::CheckItem( sal_uInt16 nItemId, bool bCheck ) void SfxVirtualMenu::EnableItem( sal_uInt16 nItemId, bool bEnable ) { - DBG_ASSERT( this != 0, ""); DBG_ASSERT( pSVMenu != 0, "" ); if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) @@ -1013,7 +1011,6 @@ void SfxVirtualMenu::EnableItem( sal_uInt16 nItemId, bool bEnable ) void SfxVirtualMenu::SetItemText( sal_uInt16 nItemId, const OUString& rText ) { - DBG_ASSERT( this != 0, ""); DBG_ASSERT( pSVMenu != 0, "" ); if (pSVMenu->GetItemPos( nItemId ) != MENU_ITEM_NOTFOUND ) pSVMenu->SetItemText( nItemId, rText ); |