summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-09-12 13:41:01 +0300
committerTor Lillqvist <tml@collabora.com>2013-09-12 13:41:01 +0300
commit3bd07839d6b114b5cea0ca22fd66af8ca8fd6d4e (patch)
tree431756ceb5ce2fb00479c4b86eab5026d8a330ec /editeng
parentb73dec8a06ef762098e642b2c37e4baad780b11a (diff)
WaE: C4701: potentially uninitialized local variable 'pGraphic' used
Change-Id: If726ed1d8b7db0c4bbf27fc9456e5eedd9e28924
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/numitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 3dd4e0469109..c72a2fe74d21 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 &&