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