summaryrefslogtreecommitdiff
path: root/sw/source/core/draw/dflyobj.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-05-19 13:29:25 +0200
committerEike Rathke <erack@redhat.com>2014-07-17 09:31:43 +0200
commite52d26fda8df76c47bc90db592adc564227e6dfb (patch)
tree996ef4e801590133a3bee0909b8e0e9a3cf651d6 /sw/source/core/draw/dflyobj.cxx
parentf00cebcabb4c7380a80ec302090274780815fb78 (diff)
SwVirtFlyDrawObj: suppress unused parameter warnings (it's used by assert)
Change-Id: I2f5b530e011bf1bb95ca5e0421f6e03c0885872a (cherry picked from commit 39669d3244e3859471e665cf6afc754b6aca634e) Signed-off-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sw/source/core/draw/dflyobj.cxx')
-rw-r--r--sw/source/core/draw/dflyobj.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 80f09d7b42b6..bc043ed7b189 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() )
{