[Libreoffice-commits] .: sdext/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Nov 23 10:55:09 PST 2010


 sdext/source/pdfimport/tree/drawtreevisiting.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 8ea9be01114e5036c62d48965113e9ab82191cd3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Nov 23 18:54:57 2010 +0000

    cppcheck: Variable 'pFrame' is assigned a value that is never used

diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index c194985..92d01d3 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() )
     {


More information about the Libreoffice-commits mailing list