Kaydet (Commit) 516d3007 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticmethods

Change-Id: I0041724d340bf75a184910805f7f927efb3b2131
üst 7fabc230
...@@ -371,7 +371,7 @@ public: ...@@ -371,7 +371,7 @@ public:
const ::com::sun::star::uno::Reference < ::com::sun::star::beans::XPropertySet > *pSettings = 0); 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. /// 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. /** 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. If this is not possible, the data source will be created through its name.
......
...@@ -495,7 +495,7 @@ void SwDoc::ChgDBData(const SwDBData& rNewData) ...@@ -495,7 +495,7 @@ void SwDoc::ChgDBData(const SwDBData& rNewData)
if( rNewData != maDBData ) if( rNewData != maDBData )
{ {
if (maDBData.sEmbeddedName != rNewData.sEmbeddedName && GetDocShell()) if (maDBData.sEmbeddedName != rNewData.sEmbeddedName && GetDocShell())
mpDBManager->LoadAndRegisterEmbeddedDataSource(rNewData, *GetDocShell()); SwDBManager::LoadAndRegisterEmbeddedDataSource(rNewData, *GetDocShell());
maDBData = rNewData; maDBData = rNewData;
getIDocumentState().SetModified(); getIDocumentState().SetModified();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment