[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Mon May 19 04:34:09 PDT 2014
sw/source/core/draw/dflyobj.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 39669d3244e3859471e665cf6afc754b6aca634e
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
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