diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:37 +0100 |
commit | 3b9e0676b0a193dbf802a6b703827c9cc0689900 (patch) | |
tree | f923afc6c47ceb5e3bb930025f27a8eaeb1758ff /svl/unx/source | |
parent | 23ab1493b64dff46e5f66941240c9972e99d6f1f (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Iefbf64608dba0c0ae01e79e5b679a9b42748b73a
Diffstat (limited to 'svl/unx/source')
-rw-r--r-- | svl/unx/source/svdde/ddedummy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx index d80752c7f899..4813dc36b5da 100644 --- a/svl/unx/source/svdde/ddedummy.cxx +++ b/svl/unx/source/svdde/ddedummy.cxx @@ -159,7 +159,7 @@ void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* ) DdeItem* DdeTopic::AddItem( const DdeItem& rDdeItem ) { - return (DdeItem*) &rDdeItem; + return const_cast<DdeItem*>(&rDdeItem); } void DdeTopic::RemoveItem( SAL_UNUSED_PARAMETER const DdeItem& ) |