summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 16:57:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 16:57:49 +0200
commit516d3007444fe2dd07b2cde24066637281c2a217 (patch)
tree28be7fb6eb3b8bca41c5f4c9827b26aaa8d76ab3 /sw
parent7fabc2300bc7255c839eb42c2185cad92029009d (diff)
loplugin:staticmethods
Change-Id: I0041724d340bf75a184910805f7f927efb3b2131
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/dbmgr.hxx2
-rw-r--r--sw/source/core/doc/doc.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index e5f719c5fa13..dfcd231b712d 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -371,7 +371,7 @@ public:
const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > *pSettings = 0);
/// Load the embedded data source of the document and also register it.
- void LoadAndRegisterEmbeddedDataSource(const SwDBData& rData, const SwDocShell& rDocShell);
+ static void LoadAndRegisterEmbeddedDataSource(const SwDBData& rData, const SwDocShell& rDocShell);
/** try to get the data source from the given connection through the XChild interface.
If this is not possible, the data source will be created through its name.
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 4886e296a3e5..9c3e75f30cba 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -495,7 +495,7 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
if( rNewData != maDBData )
{
if (maDBData.sEmbeddedName != rNewData.sEmbeddedName && GetDocShell())
- mpDBManager->LoadAndRegisterEmbeddedDataSource(rNewData, *GetDocShell());
+ SwDBManager::LoadAndRegisterEmbeddedDataSource(rNewData, *GetDocShell());
maDBData = rNewData;
getIDocumentState().SetModified();