diff options
Diffstat (limited to 'vcl/source/gdi/sallayout.cxx')
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index fbaeb22a468a..9ba3dcc21d02 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -668,7 +668,7 @@ void SalLayout::Release() const if( --mnRefCount > 0 ) return; // const_cast because some compilers violate ANSI C++ spec - delete const_cast<SalLayout*>(this); + delete this; } Point SalLayout::GetDrawPosition( const Point& rRelative ) const |