summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-10 12:33:06 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-10 12:53:11 +0300
commit1459d574f4aefc95a6e8d55ccb5285f3ecdd4e75 (patch)
tree968f0d487ea1ef510d1c5c63ac0e45f91d3ae666 /sd
parentWaE: unreachable code (diff)
downloadcore-1459d574f4aefc95a6e8d55ccb5285f3ecdd4e75.tar.gz
core-1459d574f4aefc95a6e8d55ccb5285f3ecdd4e75.zip
WaE: reinterpret_cast used between related classes
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 671dbfa0b100..4ae6df0867bc 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -773,7 +773,7 @@ void SdDrawDocument::NewOrLoadCompleted( SdPage* pPage, SdStyleSheetPool* pSPool
std::vector<SfxStyleSheetBase*>::iterator iter;
for (iter = aOutlineList.begin(); iter != aOutlineList.end(); ++iter)
{
- SfxStyleSheet* pSheet = reinterpret_cast<SfxStyleSheet*>(*iter);
+ SfxStyleSheet* pSheet = static_cast<SfxStyleSheet*>(*iter);
if (pSheet)
{