summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-21 19:47:24 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-21 19:47:24 +0300
commita65a48f713f2227991a2650d228ef6c15e708ca6 (patch)
tree3e151e0abb17887f0e545cc5a8aeff4ea216a9ae /vcl
parent38d636a5acfd76355c048f07f7b890c8373a8ff4 (diff)
WaE: implicit conversion of literal of type 'int' to 'bool'
Change-Id: I1c3721a4d44c882c749903c15f05666a74c725a5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 6983a3cc74d9..56597099629c 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1843,13 +1843,13 @@ void Printer::SetFontOrientation( ImplFontEntry* const pFontEntry ) const
void Printer::DrawImage( const Point&, const Image&, sal_uInt16 )
{
SAL_WARN ("vcl.gdi", "DrawImage(): Images can't be drawn on any Printer instance");
- assert(0);
+ assert(false);
}
void Printer::DrawImage( const Point&, const Size&, const Image&, sal_uInt16 )
{
SAL_WARN ("vcl.gdi", "DrawImage(): Images can't be drawn on any Printer instance");
- assert(0);
+ assert(false);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */