summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-12 06:03:22 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-12 07:26:38 +0100
commitc6f919c7288a7b59e9bad51d1452afba9a93c241 (patch)
treed5ff675120f8a423ee4f70bebd08630cbd837040 /vcl
parent200e0c8d88fc68defebbd7b79fd4d1d2e1b9c6bd (diff)
we don't need to cast here
Change-Id: I260c7a050c5998e5dca634ea5d5f43742bf604fe
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/split.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 9e79c8fa1b78..f174696b9000 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -729,7 +729,7 @@ void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
if( rDCEvt.GetType() == DATACHANGED_SETTINGS )
{
- AllSettings* pOldSettings = static_cast<AllSettings*>(rDCEvt.GetData());
+ const AllSettings* pOldSettings = rDCEvt.GetOldSettings();
if(!pOldSettings)
return;