summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animationnodes/basecontainernode.cxx4
-rw-r--r--slideshow/source/engine/animationnodes/basenode.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index 909c9f677321..95e9ef1ddf4d 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -181,9 +181,9 @@ void BaseContainerNode::showState() const
boost::dynamic_pointer_cast<BaseNode>(maChildren[i]);
SAL_INFO("slideshow.verbose",
"Node connection: n" <<
- (const char*)this+debugGetCurrentOffset() <<
+ reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" -> n" <<
- (const char*)pNode.get()+debugGetCurrentOffset() );
+ reinterpret_cast<const char*>(pNode.get())+debugGetCurrentOffset() );
pNode->showState();
}
diff --git a/slideshow/source/engine/animationnodes/basenode.cxx b/slideshow/source/engine/animationnodes/basenode.cxx
index 9c857c09c088..6b6f62dd239a 100644
--- a/slideshow/source/engine/animationnodes/basenode.cxx
+++ b/slideshow/source/engine/animationnodes/basenode.cxx
@@ -683,13 +683,13 @@ void BaseNode::showState() const
if( eNodeState == AnimationNode::INVALID )
SAL_INFO("slideshow.verbose", "Node state: n" <<
- (const char*)this+debugGetCurrentOffset() <<
+ reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" [label=\"" <<
getDescription() <<
"\",style=filled, fillcolor=\"0.5,0.2,0.5\"]");
else
SAL_INFO("slideshow.verbose", "Node state: n" <<
- (const char*)this+debugGetCurrentOffset() <<
+ reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" [label=\"" <<
getDescription() <<
"fillcolor=\"" <<
@@ -725,7 +725,7 @@ void BaseNode::showState() const
>>= aName) )
{
SAL_INFO("slideshow.verbose", "Node info: n" <<
- (const char*)this+debugGetCurrentOffset() <<
+ reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
", name \"" <<
aName <<
"\"");