diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2014-03-22 16:33:07 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2014-03-23 00:38:04 +0200 |
commit | 4e642a3f6b07163a030720f2043b0dde1fdfd66d (patch) | |
tree | 6195aa90c7003621182e10ec33ee67470c4ded43 /vcl/source/gdi/print.cxx | |
parent | ac466bc94eaea5356dc764564810e787b0536121 (diff) |
No need for these (void)s
Change-Id: I946009c4ffacf51c7f144acf85060ccd4a31620a
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r-- | vcl/source/gdi/print.cxx | 47 |
1 files changed, 13 insertions, 34 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx index c5d1961eea16..25f20a7a14db 100644 --- a/vcl/source/gdi/print.cxx +++ b/vcl/source/gdi/print.cxx @@ -212,61 +212,40 @@ bool PrinterOptions::ReadFromConfig( bool i_bFile ) } bool Printer::DrawTransformBitmapExDirect( - const basegfx::B2DHomMatrix& aFullTransform, - const BitmapEx& rBitmapEx) + const basegfx::B2DHomMatrix& /*aFullTransform*/, + const BitmapEx& /*rBitmapEx*/) { // printers can't draw bitmaps directly - (void) aFullTransform; - (void) rBitmapEx; return false; } bool Printer::TransformReduceBitmapExTargetRange( - const basegfx::B2DHomMatrix& aFullTransform, - basegfx::B2DRange &aVisibleRange, - double &fMaximumArea) + const basegfx::B2DHomMatrix& /*aFullTransform*/, + basegfx::B2DRange& /*aVisibleRange*/, + double& /*fMaximumArea*/) { // deliberately do nothing - you can't reduce the // target range for a printer at all - (void) aFullTransform; - (void) aVisibleRange; - (void) fMaximumArea; return true; } -void Printer::DrawOutDev( const Point& rDestPt, const Size& rDestSize, - const Point& rSrcPt, const Size& rSrcSize ) +void Printer::DrawOutDev( const Point& /*rDestPt*/, const Size& /*rDestSize*/, + const Point& /*rSrcPt*/, const Size& /*rSrcSize*/ ) { - (void) rDestPt; - (void) rDestSize; - (void) rSrcPt; - (void) rSrcSize; - DBG_ASSERT( false, "Don't use OutputDevice::DrawOutDev(...) with printer devices!" ); } -void Printer::DrawOutDev( const Point& rDestPt, const Size& rDestSize, - const Point& rSrcPt, const Size& rSrcSize, - const OutputDevice& rOutDev ) +void Printer::DrawOutDev( const Point& /*rDestPt*/, const Size& /*rDestSize*/, + const Point& /*rSrcPt*/, const Size& /*rSrcSize*/, + const OutputDevice& /*rOutDev*/ ) { - (void) rDestPt; - (void) rDestSize; - (void) rSrcPt; - (void) rSrcSize; - (void) rOutDev; - DBG_ASSERT( false, "Don't use OutputDevice::DrawOutDev(...) with printer devices!" ); } -void Printer::CopyArea( const Point& rDestPt, - const Point& rSrcPt, const Size& rSrcSize, - sal_uInt16 nFlags ) +void Printer::CopyArea( const Point& /*rDestPt*/, + const Point& /*rSrcPt*/, const Size& /*rSrcSize*/, + sal_uInt16 /*nFlags*/ ) { - (void) rDestPt; - (void) rSrcPt; - (void) rSrcSize; - (void) nFlags; - DBG_ASSERT( false, "Don't use OutputDevice::CopyArea(...) with printer devices!" ); } |