summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();