summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-08-22 22:52:00 +0200
committerMichael Stahl <mstahl@redhat.com>2017-08-22 22:52:58 +0200
commitf53c9922c653123b43e039ff70bbd515c97db252 (patch)
treedd4fa897144ca93af2c10b4f443c494ea6d7f33a /editeng/source
parentd8bd81fff87acd0de39626da52bb7365f527157b (diff)
editeng: warning C4701 potentially uninitialized local var
Change-Id: I611f0b5652722f0de38dfb82440823b832a6029c
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/items/frmitems.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index fb3d120d8ab7..c2bfc5e290fb 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -2037,7 +2037,7 @@ SfxPoolItem* SvxBoxItem::Create( SvStream& rStrm, sal_uInt16 nIVersion ) const
SvxBoxItemLine aLineMap[4] = { SvxBoxItemLine::TOP, SvxBoxItemLine::LEFT,
SvxBoxItemLine::RIGHT, SvxBoxItemLine::BOTTOM };
- sal_Int8 cLine;
+ sal_Int8 cLine(0);
while (rStrm.good())
{
rStrm.ReadSChar( cLine );