Code

fix warnings
authorJohan Engelen <goejendaagh@zonnet.nl>
Thu, 25 Feb 2010 21:43:22 +0000 (22:43 +0100)
committerJohan Engelen <goejendaagh@zonnet.nl>
Thu, 25 Feb 2010 21:43:22 +0000 (22:43 +0100)
src/extension/internal/latex-text-renderer.cpp

index 94e1d98934c5d58bba204755fc018be02e42985c..df0bfb8cbf1e4b34f7a69604cb4bbbf75abc26b9 100644 (file)
@@ -317,7 +317,7 @@ LaTeXTextRenderer::sp_text_render(SPItem *item)
 }
 
 void
-LaTeXTextRenderer::sp_flowtext_render(SPItem *item)
+LaTeXTextRenderer::sp_flowtext_render(SPItem * /*item*/)
 {
 /*    SPFlowtext *group = SP_FLOWTEXT(item);
 
@@ -402,8 +402,6 @@ LaTeXTextRenderer::setupDocument(SPDocument *doc, bool pageBoundingBox, SPItem *
 
     if (!pageBoundingBox)
     {
-        double high = sp_document_height(doc);
-
         push_transform( Geom::Translate( - d->min() ) );
     }