DocHolder->DocHolder

Change-Id: I8eddff0791a7887e1aee0515e73d40c54b97a0ae
This commit is contained in:
Caolán McNamara 2016-08-23 20:42:42 +01:00
parent b0e0f22548
commit fd9e3d8695
2 changed files with 3 additions and 3 deletions

View File

@ -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();
} }

View File

@ -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();