summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mork/MConnection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mork/MConnection.hxx')
-rw-r--r--connectivity/source/drivers/mork/MConnection.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/mork/MConnection.hxx b/connectivity/source/drivers/mork/MConnection.hxx
index 3654b6926085..e573d057aafd 100644
--- a/connectivity/source/drivers/mork/MConnection.hxx
+++ b/connectivity/source/drivers/mork/MConnection.hxx
@@ -37,7 +37,7 @@ namespace connectivity
// Data attributes
- MorkDriver* m_pDriver; // Pointer to the owning
+ css::uno::Reference<MorkDriver> m_xDriver; // Pointer to the owning
// driver object
OColumnAlias m_aColumnAlias;
// Mork Parser (abook)
@@ -52,7 +52,7 @@ namespace connectivity
explicit OConnection(MorkDriver* const driver);
virtual ~OConnection();
- MorkDriver* getDriver() {return m_pDriver;};
+ const css::uno::Reference<MorkDriver>& getDriver() {return m_xDriver;};
MorkParser* getMorkParser(const OString& t) {return t == "CollectedAddressBook" ? m_pHistory : m_pBook;};
// OComponentHelper