summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-23 18:54:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-23 18:54:57 +0000
commite21bc5c7772137f61d23884a965885b71ae049d6 (patch)
tree480dbeedad0c46dc2fc356d6d19b8be6bbdebaa0 /sdext
parent40fe15eb9c21baacfbf0b8427dd95638f1f78785 (diff)
cppcheck: Variable 'pFrame' is assigned a value that is never used
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/drawtreevisiting.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 1b22f85cfe63..edf0e9f45a7b 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -678,7 +678,6 @@ void DrawXmlOptimizer::optimizeTextElements(Element& rParent)
// concatenate child elements with same font id
std::list< Element* >::iterator next = rParent.Children.begin();
std::list< Element* >::iterator it = next++;
- FrameElement* pFrame = dynamic_cast<FrameElement*>(rParent.Parent);
while( next != rParent.Children.end() )
{