Kaydet (Commit) e0e1577e authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

throw instead of returning an empty Any

Change-Id: I299ac48e480517289348c651f28b5c7fc7653362
üst c78449c8
......@@ -1388,9 +1388,7 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw(
{
SolarMutexGuard aGuard;
uno::Any aRet;
SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwFrmFmt* pFmt = lcl_EnsureCoreConnected(GetFrmFmt());
SwTable* pTable = SwTable::FindTable( pFmt );
SwTableLine* pLn = SwXTextTableRow::FindLine(pTable, pLine);
if(pLn)
......@@ -1428,7 +1426,6 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw(
}
}
}
}
return aRet;
}
......
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