diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:14:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:12 +0200 |
commit | 46baf01c24a936e1c5f9a30d622c88247f28a9ea (patch) | |
tree | 00f44f5b1aa6dcdef2a42b1e3e9026419a8e52e5 /cui/source/tabpages/macroass.cxx | |
parent | f41eea85217a9179b98502d536ec0548c9e1705f (diff) |
Improved loplugin:cstylecast to reference types: cui
Change-Id: I3473b5d90b91f73e3bc30a7a7c6035f7de7657d6
Diffstat (limited to 'cui/source/tabpages/macroass.cxx')
-rw-r--r-- | cui/source/tabpages/macroass.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx index cb454389ea62..7f92f19ecece 100644 --- a/cui/source/tabpages/macroass.cxx +++ b/cui/source/tabpages/macroass.cxx @@ -198,7 +198,7 @@ void SfxMacroTabPage::ScriptChanged() bool SfxMacroTabPage::FillItemSet( SfxItemSet* rSet ) { SvxMacroItem aItem( GetWhich( aPageRg[0] ) ); - ((SvxMacroTableDtor&)aItem.GetMacroTable()) = aTbl; + const_cast<SvxMacroTableDtor&>(aItem.GetMacroTable()) = aTbl; const SfxPoolItem* pItem; if( SfxItemState::SET != GetItemSet().GetItemState( aItem.Which(), true, &pItem ) |