summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/core/dataaccess/databasedocument.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx
index fe01e88509b1..e12e3e4cb764 100644
--- a/dbaccess/source/core/dataaccess/databasedocument.cxx
+++ b/dbaccess/source/core/dataaccess/databasedocument.cxx
@@ -537,7 +537,7 @@ void SAL_CALL ODatabaseDocument::connectController( const Reference< XController
// In this case, warn the user, too.
if ( m_pImpl->hasMacroStorages() )
{
- ::comphelper::NamedValueCollection aArgs( m_pImpl->m_aArgs );
+ ::comphelper::NamedValueCollection aArgs( m_pImpl->getResource() );
Reference< XInteractionHandler > xInteraction;
xInteraction = aArgs.getOrDefault( "InteractionHandler", xInteraction );
if ( xInteraction.is() )