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

use helpers some more

Change-Id: I596f25d3098edeef154917201ba6fd2f351517b3
üst e0e1577e
...@@ -1306,7 +1306,7 @@ void SwXTextTableRow::setPropertyValue(const OUString& rPropertyName, const uno: ...@@ -1306,7 +1306,7 @@ void SwXTextTableRow::setPropertyValue(const OUString& rPropertyName, const uno:
std::exception) std::exception)
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
SwFrmFmt* pFmt = lcl_EnsureCoreConnected(GetFrmFmt()); SwFrmFmt* pFmt = lcl_EnsureCoreConnected(GetFrmFmt(), static_cast<cppu::OWeakObject*>(this));
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)
...@@ -1388,7 +1388,7 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw( ...@@ -1388,7 +1388,7 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw(
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
uno::Any aRet; uno::Any aRet;
SwFrmFmt* pFmt = lcl_EnsureCoreConnected(GetFrmFmt()); SwFrmFmt* pFmt = lcl_EnsureCoreConnected(GetFrmFmt(), static_cast<cppu::OWeakObject*>(this));
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)
......
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