diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2013-08-17 15:14:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2013-08-17 15:15:58 +0300 |
commit | c0bc6efa89236a92f802bfc2e63af6050bf3f3d7 (patch) | |
tree | f22bfd0200f3137462afa7ed66d764a4a47acc40 /sw/source/ui/app | |
parent | d13251f284797ab9de8164e111931cdee74e3699 (diff) |
WaE: C4701: potentially uninitialized local variable 'nId' used
Change-Id: Ibc68d00837ac84e4954faac52769a500780a7309
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r-- | sw/source/ui/app/docstyle.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/docstyle.cxx b/sw/source/ui/app/docstyle.cxx index 1f32f1d312fb..916550bfef67 100644 --- a/sw/source/ui/app/docstyle.cxx +++ b/sw/source/ui/app/docstyle.cxx @@ -1003,7 +1003,7 @@ bool SwDocStyleSheet::SetFollow( const OUString& rStr) const SwPageDesc* pFollowDesc = !rStr.isEmpty() ? lcl_FindPageDesc(rDoc, rStr) : 0; - sal_uInt16 nId; + sal_uInt16 nId = 0; if( pFollowDesc != pDesc->GetFollow() && rDoc.FindPageDescByName( pDesc->GetName(), &nId ) ) { |