summaryrefslogtreecommitdiff
path: root/svl/source/items/cntwall.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/cntwall.cxx')
-rw-r--r--svl/source/items/cntwall.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx
index 3eb89d8b7abe..92bdff92508d 100644
--- a/svl/source/items/cntwall.cxx
+++ b/svl/source/items/cntwall.cxx
@@ -133,7 +133,7 @@ SvStream& CntWallpaperItem::Store( SvStream& rStream, sal_uInt16 ) const
// !!! Color stream operators do not work - they discard any
// transparency info !!!
// ??? Why the hell Color::Write(...) isn't const ???
- SAL_CONST_CAST( CntWallpaperItem*, this )->_nColor.Write( rStream, sal_True );
+ (const_cast< CntWallpaperItem* >(this))->_nColor.Write( rStream, sal_True );
rStream << _nStyle;
return rStream;