[Libreoffice-commits] core.git: vcl/source
Khaled Hosny
khaledhosny at eglug.org
Mon May 6 15:25:18 PDT 2013
vcl/source/gdi/outdev3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7556ba312ff3a7409b7da55f220d3ff877505a3b
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Mon May 6 21:41:14 2013 +0200
Surely the intent was to check for !pFallback here
Change-Id: Ia583cfe1d123903ac8f61ad4a224364af7c77ef7
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index c1ee2f0..ffd140c 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -5967,7 +5967,7 @@ SalLayout* OutputDevice::getFallbackFontThatFits(ImplFontEntry &rFallbackFont,
pFallback->Release();
pFallback = NULL;
}
- SAL_WARN_IF(pFallback, "vcl.gdi", "we couldn't layout text with a smaller point size that worked with a bigger one");
+ SAL_WARN_IF(!pFallback, "vcl.gdi", "we couldn't layout text with a smaller point size that worked with a bigger one");
}
}
return pFallback;
More information about the Libreoffice-commits
mailing list