diff options
-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); } } |