sfx2/source/sidebar/Panel.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 0721f167a199c2bb2fa52f985665583598b68274 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jun 10 11:49:41 2014 +0200 -Werror,-Wtautological-undefined-compare Change-Id: I2e05bcf91c534d2aed6e296fe03d367c4c1b7212 diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx index 1641254..04c8c97 100644 --- a/sfx2/source/sidebar/Panel.cxx +++ b/sfx2/source/sidebar/Panel.cxx @@ -154,10 +154,7 @@ void Panel::SetExpanded (const bool bIsExpanded) bool Panel::HasIdPredicate (const ::rtl::OUString& rsId) const { - if (this == NULL) - return false; - else - return msPanelId.equals(rsId); + return msPanelId.equals(rsId); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits