diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 15:05:27 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 15:26:09 +0300 |
commit | 69746a5e96a17875adc9854506148f38ba6d0d4f (patch) | |
tree | c2e9f3ddd40b7ee92601d706ccb8a0abe4aac734 /sd/source | |
parent | c07c94e4875e321f4f2503e0ba8c816d7f32b5f7 (diff) |
WaE: reinterpret_cast used between related classes
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/sdpage2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx index e5576bc01c1a..96c31fdb930a 100644 --- a/sd/source/core/sdpage2.cxx +++ b/sd/source/core/sdpage2.cxx @@ -217,8 +217,8 @@ void SdPage::SetPresentationLayout(const String& rLayoutName, while (iterOut != aOutlineStyles.end()) { - pSheet = reinterpret_cast<SfxStyleSheet*>(*iterOut); - pOldSheet = reinterpret_cast<SfxStyleSheet*>(*iterOldOut); + pSheet = static_cast<SfxStyleSheet*>(*iterOut); + pOldSheet = static_cast<SfxStyleSheet*>(*iterOldOut); if (pSheet != pOldSheet) { @@ -290,7 +290,7 @@ void SdPage::EndListenOutlineText() std::vector<SfxStyleSheetBase*>::iterator iter; for (iter = aOutlineStyles.begin(); iter != aOutlineStyles.end(); ++iter) { - pSheet = reinterpret_cast<SfxStyleSheet*>(*iter); + pSheet = static_cast<SfxStyleSheet*>(*iter); pOutlineTextObj->EndListening(*pSheet); } } |