[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Wed Feb 25 23:05:11 PST 2015


 sw/source/filter/html/htmlgrin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 463f7be3f7d315789ecfbcbe874205995dbd3524
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Feb 26 08:02:15 2015 +0100

    Cppcheck: Same expression on both sides of '||'
    
    Change-Id: Ib4979a90134a71f6f26d20ea9430d2ae7f338dbc

diff --git a/sw/source/filter/html/htmlgrin.cxx b/sw/source/filter/html/htmlgrin.cxx
index 99a5844..3440326 100644
--- a/sw/source/filter/html/htmlgrin.cxx
+++ b/sw/source/filter/html/htmlgrin.cxx
@@ -819,7 +819,7 @@ IMAGE_SETEVENT:
     if (bRequestGrfNow && pGrfNd)
     {
         Size aUpdatedSize = pGrfNd->GetTwipSize();  //trigger a swap-in
-        SAL_WARN_IF(!aUpdatedSize.Width() || !aUpdatedSize.Width(), "sw.html", "html image with no width or height");
+        SAL_WARN_IF(!aUpdatedSize.Width() || !aUpdatedSize.Height(), "sw.html", "html image with no width or height");
     }
 
     // Ggf. Frames anlegen und Auto-gebundenen Rahmen registrieren


More information about the Libreoffice-commits mailing list