summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/datamembershadow.cxx2
-rw-r--r--connectivity/source/drivers/calc/CTable.cxx10
-rw-r--r--connectivity/source/inc/calc/CTable.hxx2
3 files changed, 6 insertions, 8 deletions
diff --git a/compilerplugins/clang/datamembershadow.cxx b/compilerplugins/clang/datamembershadow.cxx
index f1b9b4398473..cc2ec7675b8d 100644
--- a/compilerplugins/clang/datamembershadow.cxx
+++ b/compilerplugins/clang/datamembershadow.cxx
@@ -48,8 +48,6 @@ bool DataMemberShadow::VisitFieldDecl(FieldDecl const * fieldDecl)
// FIXME complex stuff to fix later
- if (loplugin::isSamePathname(aFileName, SRCDIR "/connectivity/source/inc/calc/CTable.hxx"))
- return true;
if (loplugin::hasPathnamePrefix(aFileName, SRCDIR "/chart2/source/"))
return true;
if (loplugin::isSamePathname(aFileName, SRCDIR "/cppcanvas/source/mtfrenderer/emfplus.cxx"))
diff --git a/connectivity/source/drivers/calc/CTable.cxx b/connectivity/source/drivers/calc/CTable.cxx
index 39993d6a4059..47bee0acb54c 100644
--- a/connectivity/source/drivers/calc/CTable.cxx
+++ b/connectivity/source/drivers/calc/CTable.cxx
@@ -517,7 +517,7 @@ OCalcTable::OCalcTable(sdbcx::OCollection* _pTables,OCalcConnection* _pConnectio
Description,
SchemaName,
CatalogName)
- ,m_pConnection(_pConnection)
+ ,m_pCalcConnection(_pConnection)
,m_nStartCol(0)
,m_nStartRow(0)
,m_nDataCols(0)
@@ -529,7 +529,7 @@ OCalcTable::OCalcTable(sdbcx::OCollection* _pTables,OCalcConnection* _pConnectio
void OCalcTable::construct()
{
// get sheet object
- Reference< XSpreadsheetDocument> xDoc = m_pConnection->acquireDoc();
+ Reference< XSpreadsheetDocument> xDoc = m_pCalcConnection->acquireDoc();
if (xDoc.is())
{
Reference<XSpreadsheets> xSheets = xDoc->getSheets();
@@ -613,9 +613,9 @@ void SAL_CALL OCalcTable::disposing()
OFileTable::disposing();
::osl::MutexGuard aGuard(m_aMutex);
m_aColumns = nullptr;
- if ( m_pConnection )
- m_pConnection->releaseDoc();
- m_pConnection = nullptr;
+ if ( m_pCalcConnection )
+ m_pCalcConnection->releaseDoc();
+ m_pCalcConnection = nullptr;
}
diff --git a/connectivity/source/inc/calc/CTable.hxx b/connectivity/source/inc/calc/CTable.hxx
index 19cd32116ea1..1d9b6897813b 100644
--- a/connectivity/source/inc/calc/CTable.hxx
+++ b/connectivity/source/inc/calc/CTable.hxx
@@ -46,7 +46,7 @@ namespace connectivity
std::vector<sal_Int32> m_aPrecisions; // same as aboth
std::vector<sal_Int32> m_aScales;
css::uno::Reference< css::sheet::XSpreadsheet > m_xSheet;
- OCalcConnection* m_pConnection;
+ OCalcConnection* m_pCalcConnection;
sal_Int32 m_nStartCol;
sal_Int32 m_nStartRow;
sal_Int32 m_nDataCols;