Kaydet (Commit) f04257d8 authored tarafından Eike Rathke's avatar Eike Rathke

blind fix MSVC werror C4701,C4703 potentially uninitialized local variable

... ´pModelObj´ used. Which is bullshit, but..

Change-Id: Ic731fc92264560c34bd512dc232a9ba901e218a5
üst 8747442d
......@@ -307,8 +307,8 @@ void ScTabView::TabChanged( bool bSameTabButMoved )
ScDocShell* pDocSh;
ScModelObj* pModelObj;
if ( ( pDocSh = GetViewData().GetDocShell() ) &&
( pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() )) )
if ( ( pDocSh = GetViewData().GetDocShell() ) != nullptr &&
( pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() )) != nullptr )
{
Size aDocSize = pModelObj->getDocumentSize();
std::stringstream ss;
......
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