diff options
Diffstat (limited to 'sw/inc/dbmgr.hxx')
-rw-r--r-- | sw/inc/dbmgr.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index b0da6613add0..0947bf0e4804 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -259,6 +259,12 @@ class SW_DLLPUBLIC SwDBManager /// Store last registrations to revoke or commit static std::vector<std::pair<SwDocShell*, OUString>> m_aUncommitedRegistrations; + /// Not used connections. + std::vector<OUString> m_aNotUsedConnections; + + /// Set connection as used. + void SetAsUsed(const OUString& rName); + /// The document that owns this manager. SwDoc* m_pDoc; @@ -485,6 +491,9 @@ public: /// Accept not commited registrations void CommitLastRegistrations(); + + /// Remove not used connections. + void RevokeNotUsedConnections(); }; #endif |