diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-18 00:06:41 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-02-18 00:07:31 +0100 |
commit | cdfa3bd5e4c62dc88158a4c6c4908404baf1f529 (patch) | |
tree | 64dfd7671d64d74f3370a1403c3e8f9651e7857a /sd | |
parent | 29177b1d04b845e8e6bf8edc8beb34b76a95d9c3 (diff) |
sd::toolpanel::ScrollPanel::~ScrollPanel: bogus static_cast
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/toolpanel/ScrollPanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/toolpanel/ScrollPanel.cxx b/sd/source/ui/toolpanel/ScrollPanel.cxx index 0a84e751f44a..7c43aa473698 100644 --- a/sd/source/ui/toolpanel/ScrollPanel.cxx +++ b/sd/source/ui/toolpanel/ScrollPanel.cxx @@ -97,7 +97,7 @@ ScrollPanel::~ScrollPanel (void) TreeNode* pControl = pNode; // When the node has been created as TitledControl then use its // control instead of pNode directly. - TitledControl* pTitledControl = static_cast<TitledControl*>(pNode); + TitledControl* pTitledControl = dynamic_cast<TitledControl*>(pNode); if (pTitledControl != NULL) pControl = pTitledControl->GetControl(); |