diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:45 +0200 |
commit | a52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch) | |
tree | 9e03f530d36c1c65f0db9d8698677e802137b3bb /xmloff | |
parent | c266ba458f444e5f4a4bafbf4073710c31897536 (diff) |
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLPropertyBackpatcher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.cxx b/xmloff/source/text/XMLPropertyBackpatcher.cxx index f244d0a54c6f..5844b0937e58 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.cxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.cxx @@ -62,7 +62,7 @@ void XMLPropertyBackpatcher<A>::ResolveId( { // aah, we have a backpatch list! BackpatchListType* pList = - (BackpatchListType*)aBackpatchListMap[sName]; + static_cast<BackpatchListType*>(aBackpatchListMap[sName]); // a) remove list from list map aBackpatchListMap.erase(sName); @@ -133,7 +133,7 @@ void XMLPropertyBackpatcher<A>::SetProperty( } // insert footnote - ((BackpatchListType*)aBackpatchListMap[sName])->push_back(xPropSet); + static_cast<BackpatchListType*>(aBackpatchListMap[sName])->push_back(xPropSet); } } |