summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-23 20:42:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-25 21:10:14 +0100
commitfd9e3d86951a95e6d2447a340740a8b12c0ff12a (patch)
tree6840463d24fca6b5ce1b55192b919db6913ad5ea /connectivity
parentb0e0f225482834c9555d32b37b5656ffd571e243 (diff)
DocHolder->DocHolder
Change-Id: I8eddff0791a7887e1aee0515e73d40c54b97a0ae
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/calc/CConnection.cxx2
-rw-r--r--connectivity/source/drivers/calc/CDatabaseMetaData.cxx4
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<OCalcConnection*>(m_pConnection));
- Reference<XSpreadsheetDocument> xDoc = aDocHodler.getDoc();
+ OCalcConnection::ODocHolder aDocHolder(static_cast<OCalcConnection*>(m_pConnection));
+ Reference<XSpreadsheetDocument> xDoc = aDocHolder.getDoc();
if ( !xDoc.is() )
throw SQLException();
Reference<XSpreadsheets> xSheets = xDoc->getSheets();