diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-09-20 21:43:53 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-09-21 11:14:59 +0300 |
commit | 988cfbaa92e7ec20e2c29b81ba14fb7e314a4a08 (patch) | |
tree | 4871c6219156b397a9e72b5701f1b14a60eccd99 /vcl/source/gdi/virdev.cxx | |
parent | c6afaeecb8f38228bd5b053f387c24b871a0f7bf (diff) |
Change slightly mysterious comment into a SAL_WARN()
No memory any more in what circumstances we might end up at this early
return spot in this function. Is it an error or can it be intentional
that the function is called like this, no idea. But now at least we
use a SAL_WARN().
Change-Id: Iaa9c27b4104135d4d3d6787125c9c26004b861cb
Diffstat (limited to 'vcl/source/gdi/virdev.cxx')
-rw-r--r-- | vcl/source/gdi/virdev.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx index 7a7c3b7d855c..8d97085f03b3 100644 --- a/vcl/source/gdi/virdev.cxx +++ b/vcl/source/gdi/virdev.cxx @@ -283,8 +283,7 @@ bool VirtualDevice::InnerImplSetOutputSizePixel( const Size& rNewSize, bool bEra { if ( bErase ) Erase(); - // Yeah, so trying to re-use a VirtualDevice but this time using a - // pre-allocated buffer won't work. Big deal. + SAL_WARN( "vcl.virdev", "Trying to re-use a VirtualDevice but this time using a pre-allocated buffer"); return true; } |