diff options
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r-- | vcl/source/window/splitwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index c777f371ea37..86db81283a4f 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -3051,7 +3051,7 @@ long SplitWindow::GetItemSize( sal_uInt16 nId, SplitWindowItemBits nBits ) const return pSet->mpItems[nPos].mnSize; else { - ((SplitWindow*)this)->ImplCalcLayout(); + const_cast<SplitWindow*>(this)->ImplCalcLayout(); long nRelSize = 0; long nPerSize = 0; |