DocHolder->DocHolder
Change-Id: I8eddff0791a7887e1aee0515e73d40c54b97a0ae
This commit is contained in:
parent
b0e0f22548
commit
fd9e3d8695
@ -97,7 +97,7 @@ void OCalcConnection::construct(const OUString& url,const Sequence< PropertyValu
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} // for(;pIter != pEnd;++pIter)
|
} // for(;pIter != pEnd;++pIter)
|
||||||
ODocHolder aDocHodler(this); // just to test that the doc can be loaded
|
ODocHolder aDocHolder(this); // just to test that the doc can be loaded
|
||||||
acquireDoc();
|
acquireDoc();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -375,8 +375,8 @@ Reference< XResultSet > SAL_CALL OCalcDatabaseMetaData::getTables(
|
|||||||
|
|
||||||
// get the sheet names from the document
|
// get the sheet names from the document
|
||||||
|
|
||||||
OCalcConnection::ODocHolder aDocHodler(static_cast<OCalcConnection*>(m_pConnection));
|
OCalcConnection::ODocHolder aDocHolder(static_cast<OCalcConnection*>(m_pConnection));
|
||||||
Reference<XSpreadsheetDocument> xDoc = aDocHodler.getDoc();
|
Reference<XSpreadsheetDocument> xDoc = aDocHolder.getDoc();
|
||||||
if ( !xDoc.is() )
|
if ( !xDoc.is() )
|
||||||
throw SQLException();
|
throw SQLException();
|
||||||
Reference<XSpreadsheets> xSheets = xDoc->getSheets();
|
Reference<XSpreadsheets> xSheets = xDoc->getSheets();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user