diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-05-19 13:29:25 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-05-19 13:30:15 +0200 |
commit | 39669d3244e3859471e665cf6afc754b6aca634e (patch) | |
tree | bb0e456a193ab7a07efee69475bc8390dd26953f /sw | |
parent | 12d9ac1f773e88abd0cfa975366db16e42ae4292 (diff) |
SwVirtFlyDrawObj: suppress unused parameter warnings (it's used by assert)
Change-Id: I2f5b530e011bf1bb95ca5e0421f6e03c0885872a
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() ) { |