diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-31 12:46:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-31 13:04:13 +0000 |
commit | 337abdbc67d4e021c31bc5990c199fd3f18d6417 (patch) | |
tree | d14804cb9ab4ea4056bb3404259d15783401c076 /vcl | |
parent | f2d8fdabd0fb2799cd2be69ba7ee0fea8e9f4291 (diff) |
quieten warning
Change-Id: I91bf3bce86d6b7fb01a26a6785d5bcfd7677878c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index b9a8b2bdb20f..203652347ea5 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -225,7 +225,7 @@ VirtualDevice::VirtualDevice( const OutputDevice& rCompDev, sal_uInt16 nBitCount : mpVirDev( NULL ), meRefDevMode( REFDEV_NONE ) { - SAL_WARN_IF( nBitCount > 1 && nBitCount != 8, "vcl.gdi", + SAL_WARN_IF( nBitCount > 1 && nBitCount != 8 && nBitCount != rCompDev.GetBitCount(), "vcl.gdi", "VirtualDevice::VirtualDevice(): Only 0, 1 or 8 allowed for BitCount, not " << nBitCount ); SAL_INFO( "vcl.gdi", "VirtualDevice::VirtualDevice( " << nBitCount << " )" ); |