diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-28 09:45:59 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-28 09:46:30 +0100 |
commit | 316a0487dcf9bb15db159552e70dbfc43b785618 (patch) | |
tree | ce8a0a59769d4d212da4d8a7854e44bef47a5884 /editeng/source/outliner | |
parent | bf7240d0676b4350892e01fa8c1ba5eb6a3913c6 (diff) |
Variable X is reassigned a value before the old one has been used
Change-Id: I196145550e5f0e53f9498ddd127fec588be064b9
Diffstat (limited to 'editeng/source/outliner')
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index 68922aa38743..714f350271b5 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -1258,10 +1258,9 @@ sal_uLong OutlinerView::Read( SvStream& rInput, const String& rBaseURL, EETextF { if ( eFormat == EE_FORMAT_BIN ) { - sal_uInt16 nDepth = 0; const SfxItemSet& rAttrs = pOwner->GetParaAttribs( n ); const SfxInt16Item& rLevel = (const SfxInt16Item&) rAttrs.Get( EE_PARA_OUTLLEVEL ); - nDepth = rLevel.GetValue(); + sal_uInt16 nDepth = rLevel.GetValue(); pOwner->ImplInitDepth( n, nDepth, sal_False ); } |