From fd9e3d86951a95e6d2447a340740a8b12c0ff12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 23 Aug 2016 20:42:42 +0100 Subject: [PATCH] DocHolder->DocHolder Change-Id: I8eddff0791a7887e1aee0515e73d40c54b97a0ae --- connectivity/source/drivers/calc/CConnection.cxx | 2 +- connectivity/source/drivers/calc/CDatabaseMetaData.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/connectivity/source/drivers/calc/CConnection.cxx b/connectivity/source/drivers/calc/CConnection.cxx index 0d32d31a7bb0..3934fd4c2861 100644 --- a/connectivity/source/drivers/calc/CConnection.cxx +++ b/connectivity/source/drivers/calc/CConnection.cxx @@ -97,7 +97,7 @@ void OCalcConnection::construct(const OUString& url,const Sequence< PropertyValu break; } } // 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(); } diff --git a/connectivity/source/drivers/calc/CDatabaseMetaData.cxx b/connectivity/source/drivers/calc/CDatabaseMetaData.cxx index 8ed737ba4d48..47986d4119a4 100644 --- a/connectivity/source/drivers/calc/CDatabaseMetaData.cxx +++ b/connectivity/source/drivers/calc/CDatabaseMetaData.cxx @@ -375,8 +375,8 @@ Reference< XResultSet > SAL_CALL OCalcDatabaseMetaData::getTables( // get the sheet names from the document - OCalcConnection::ODocHolder aDocHodler(static_cast(m_pConnection)); - Reference xDoc = aDocHodler.getDoc(); + OCalcConnection::ODocHolder aDocHolder(static_cast(m_pConnection)); + Reference xDoc = aDocHolder.getDoc(); if ( !xDoc.is() ) throw SQLException(); Reference xSheets = xDoc->getSheets();