diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-05-19 13:29:25 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-07-17 09:28:27 +0200 |
commit | c0af71d4f195dd374c688e4548dcc440519e1883 (patch) | |
tree | 83b95b599787f6326033ccb6a793684a7badea3a /sw | |
parent | 86fbaaecbc30b1d541c1c341e454d3052a0ebe8b (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')
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 1 |
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() ) { |