summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-10 11:49:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-10 11:49:41 +0200
commit0721f167a199c2bb2fa52f985665583598b68274 (patch)
tree12cfd5f7f9fb44be25e93ee72f1bda8e07b347e7 /sfx2
parentea93714e9427e6802e843c4585871aeef0a5e28d (diff)
-Werror,-Wtautological-undefined-compare
Change-Id: I2e05bcf91c534d2aed6e296fe03d367c4c1b7212
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Panel.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/Panel.cxx b/sfx2/source/sidebar/Panel.cxx
index 16412544c5da..04c8c9746d53 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);
}