Kaydet (Commit) c0bc6efa authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: C4701: potentially uninitialized local variable 'nId' used

Change-Id: Ibc68d00837ac84e4954faac52769a500780a7309
üst d13251f2
...@@ -1003,7 +1003,7 @@ bool SwDocStyleSheet::SetFollow( const OUString& rStr) ...@@ -1003,7 +1003,7 @@ bool SwDocStyleSheet::SetFollow( const OUString& rStr)
const SwPageDesc* pFollowDesc = !rStr.isEmpty() const SwPageDesc* pFollowDesc = !rStr.isEmpty()
? lcl_FindPageDesc(rDoc, rStr) ? lcl_FindPageDesc(rDoc, rStr)
: 0; : 0;
sal_uInt16 nId; sal_uInt16 nId = 0;
if( pFollowDesc != pDesc->GetFollow() && if( pFollowDesc != pDesc->GetFollow() &&
rDoc.FindPageDescByName( pDesc->GetName(), &nId ) ) rDoc.FindPageDescByName( pDesc->GetName(), &nId ) )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment