[Libreoffice-commits] core.git: editeng/source
Tor Lillqvist
tml at collabora.com
Thu Sep 12 03:41:32 PDT 2013
editeng/source/items/numitem.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3bd07839d6b114b5cea0ca22fd66af8ca8fd6d4e
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Sep 12 13:41:01 2013 +0300
WaE: C4701: potentially uninitialized local variable 'pGraphic' used
Change-Id: If726ed1d8b7db0c4bbf27fc9456e5eedd9e28924
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 3dd4e04..c72a2fe 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -910,7 +910,7 @@ sal_Bool SvxNumRule::UnLinkGraphics()
{
SvxNumberFormat aFmt(GetLevel(i));
const SvxBrushItem* pBrush = aFmt.GetBrush();
- const Graphic* pGraphic;
+ const Graphic* pGraphic = NULL;
if(SVX_NUM_BITMAP == aFmt.GetNumberingType())
{
if(pBrush &&
More information about the Libreoffice-commits
mailing list