diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 09:30:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:30:00 +0200 |
commit | 28564f96e88e7204a5d2119297d5865354942438 (patch) | |
tree | 3585b43967f03eebc07efd67f81558c51ba96a67 /slideshow | |
parent | 7151a2a9ca056d398ce3de6c0b48c3df7623f6e0 (diff) |
loplugin:cstylecast
Change-Id: Ie44d7b031b16647457cf08dc944526c720360f9d
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/animationnodes/basecontainernode.cxx | 4 | ||||
-rw-r--r-- | slideshow/source/engine/animationnodes/basenode.cxx | 6 |
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 << "\""); |