diff options
Diffstat (limited to 'sc/source/ui/docshell/dbdocfun.cxx')
-rw-r--r-- | sc/source/ui/docshell/dbdocfun.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx index 1c35fd65f02f..dc31cd9095d2 100644 --- a/sc/source/ui/docshell/dbdocfun.cxx +++ b/sc/source/ui/docshell/dbdocfun.cxx @@ -1698,7 +1698,7 @@ void ScDBDocFunc::UpdateImport( const String& rTarget, const svx::ODataAccessDes OUString sDBName; OUString sDBTable; sal_Int32 nCommandType = 0; - rDescriptor[svx::daDataSource] >>= sDBName; + sDBName = rDescriptor.getDataSource(); rDescriptor[svx::daCommand] >>= sDBTable; rDescriptor[svx::daCommandType] >>= nCommandType; |