[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sw/source

Michael Stahl mstahl at redhat.com
Thu Jul 17 00:30:17 PDT 2014


 sw/source/core/draw/dflyobj.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c0af71d4f195dd374c688e4548dcc440519e1883
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon May 19 13:29:25 2014 +0200

    SwVirtFlyDrawObj: suppress unused parameter warnings (it's used by assert)
    
    Change-Id: I2f5b530e011bf1bb95ca5e0421f6e03c0885872a
    (cherry picked from commit 39669d3244e3859471e665cf6afc754b6aca634e)
    Signed-off-by: Eike Rathke <erack at redhat.com>

diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 80f09d7..bc043ed 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -468,6 +468,7 @@ void SwVirtFlyDrawObj::wrap_DoPaintObject(
         {
             // if there's no viewport set, all fly-frames will be painted,
             // which is slow, wastes memory, and can cause other trouble.
+            (void) rViewInformation; // suppress "unused parameter" warning
             assert(!rViewInformation.getViewport().isEmpty());
             if ( !pFlyFrm->IsFlyInCntFrm() )
             {


More information about the Libreoffice-commits mailing list