Kaydet (Commit) 28564f96 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:cstylecast

Change-Id: Ie44d7b031b16647457cf08dc944526c720360f9d
üst 7151a2a9
...@@ -181,9 +181,9 @@ void BaseContainerNode::showState() const ...@@ -181,9 +181,9 @@ void BaseContainerNode::showState() const
boost::dynamic_pointer_cast<BaseNode>(maChildren[i]); boost::dynamic_pointer_cast<BaseNode>(maChildren[i]);
SAL_INFO("slideshow.verbose", SAL_INFO("slideshow.verbose",
"Node connection: n" << "Node connection: n" <<
(const char*)this+debugGetCurrentOffset() << reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" -> n" << " -> n" <<
(const char*)pNode.get()+debugGetCurrentOffset() ); reinterpret_cast<const char*>(pNode.get())+debugGetCurrentOffset() );
pNode->showState(); pNode->showState();
} }
......
...@@ -683,13 +683,13 @@ void BaseNode::showState() const ...@@ -683,13 +683,13 @@ void BaseNode::showState() const
if( eNodeState == AnimationNode::INVALID ) if( eNodeState == AnimationNode::INVALID )
SAL_INFO("slideshow.verbose", "Node state: n" << SAL_INFO("slideshow.verbose", "Node state: n" <<
(const char*)this+debugGetCurrentOffset() << reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" [label=\"" << " [label=\"" <<
getDescription() << getDescription() <<
"\",style=filled, fillcolor=\"0.5,0.2,0.5\"]"); "\",style=filled, fillcolor=\"0.5,0.2,0.5\"]");
else else
SAL_INFO("slideshow.verbose", "Node state: n" << SAL_INFO("slideshow.verbose", "Node state: n" <<
(const char*)this+debugGetCurrentOffset() << reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
" [label=\"" << " [label=\"" <<
getDescription() << getDescription() <<
"fillcolor=\"" << "fillcolor=\"" <<
...@@ -725,7 +725,7 @@ void BaseNode::showState() const ...@@ -725,7 +725,7 @@ void BaseNode::showState() const
>>= aName) ) >>= aName) )
{ {
SAL_INFO("slideshow.verbose", "Node info: n" << SAL_INFO("slideshow.verbose", "Node info: n" <<
(const char*)this+debugGetCurrentOffset() << reinterpret_cast<const char*>(this)+debugGetCurrentOffset() <<
", name \"" << ", name \"" <<
aName << aName <<
"\""); "\"");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment