summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unodispatch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unodispatch.cxx')
-rw-r--r--sw/source/uibase/uno/unodispatch.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx
index 4060c0d08a39..7184b0f2cbf9 100644
--- a/sw/source/uibase/uno/unodispatch.cxx
+++ b/sw/source/uibase/uno/unodispatch.cxx
@@ -242,7 +242,7 @@ void SwXDispatch::dispatch(const util::URL& aURL,
frame::FeatureStateEvent aEvent;
aEvent.Source = *static_cast<cppu::OWeakObject*>(this);
- const SwDBData& rData = m_pView->GetWrtShell().GetDBDesc();
+ const SwDBData& rData = m_pView->GetWrtShell().GetDBData();
svx::ODataAccessDescriptor aDescriptor;
aDescriptor.setDataSource(rData.sDataSource);
aDescriptor[svx::DataAccessDescriptorProperty::Command] <<= rData.sCommand;
@@ -288,7 +288,7 @@ void SwXDispatch::addStatusListener(
// one of the URLs requires a special state...
if (aURL.Complete == cURLDocumentDataSource)
{
- const SwDBData& rData = m_pView->GetWrtShell().GetDBDesc();
+ const SwDBData& rData = m_pView->GetWrtShell().GetDBData();
svx::ODataAccessDescriptor aDescriptor;
aDescriptor.setDataSource(rData.sDataSource);