diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:27:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:28 +0100 |
commit | 0511c867911695154ea677a89e9f40264e41467a (patch) | |
tree | e3d579ed7a691edecd2fa6659134d47a731ea2b5 /basic/source/sbx/sbxobj.cxx | |
parent | 21997319a3d656b2d552b70089f824ead568f09e (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
Diffstat (limited to 'basic/source/sbx/sbxobj.cxx')
-rw-r--r-- | basic/source/sbx/sbxobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx index e57c42911a9c..badea10bbdd1 100644 --- a/basic/source/sbx/sbxobj.cxx +++ b/basic/source/sbx/sbxobj.cxx @@ -671,7 +671,7 @@ bool SbxObject::StoreData( SvStream& rStrm ) const { return false; } - ((SbxObject*) this)->SetModified( false ); + const_cast<SbxObject*>(this)->SetModified( false ); return true; } |