sw/source/core/graphic/ndgrf.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit b79a361f25e10b71444369e5001bb0103daa1b5e
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sat Mar 22 23:12:22 2014 +0100

    cppcheck: fix reassigned var
    
    Change-Id: I20e421c216aa9053face25d00873928023ca859b

diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index f593a3e..a08403b 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -772,10 +772,9 @@ void SwGrfNode::ReleaseLink()
             // when inserting a linked graphic and save, reload document. Try 
to access
             // that data from the original file; if this works, use it. Else 
use the
             // data we have (but without knowing the original format)
-            int nRes = GRFILTER_OK;
             GraphicFilter& rFlt = GraphicFilter::GetGraphicFilter();
             Graphic aNew;
-            nRes = GraphicFilter::LoadGraphic( aFileName, OUString(), aNew, 
&rFlt);
+            int nRes = GraphicFilter::LoadGraphic( aFileName, OUString(), 
aNew, &rFlt);
 
             if(GRFILTER_OK == nRes)
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to