diff options
author | Oliver Specht <os@openoffice.org> | 2001-01-19 13:45:15 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-01-19 13:45:15 +0000 |
commit | 4f4e89d39d0ac60877f0bee8ec82fee647c93b48 (patch) | |
tree | 8c3a749b626cdfe62645946a0387eb5a7e832320 | |
parent | a8b002e680b7a034b651e508dcd482f84ab50caf (diff) |
#82653# sub node names corrected
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index e0f4e037ec21..dc091179acc3 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dbinsdlg.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: os $ $Date: 2000-12-09 13:03:26 $ + * last change: $Author: os $ $Date: 2001-01-19 14:45:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1953,12 +1953,14 @@ void SwInsertDBColAutoPilot::Load() pNewData->bIsEmptyHeadln = *(sal_Bool*)pDataSourceProps[10].getValue(); OUString sSubNodeName(pNames[nNode]); - sSubNodeName += C2U("/ColumnSet"); + sSubNodeName += C2U("/ColumnSet/"); Sequence <OUString> aSubNames = GetNodeNames(sSubNodeName); const OUString* pSubNames = aSubNames.getConstArray(); for(sal_Int32 nSub = 0; nSub < aSubNames.getLength(); nSub++) { - Sequence <OUString> aSubNodeNames = lcl_CreateSubNames(sSubNodeName); + OUString sSubSubNodeName(sSubNodeName); + sSubSubNodeName += pSubNames[nSub]; + Sequence <OUString> aSubNodeNames = lcl_CreateSubNames(sSubSubNodeName); Sequence< Any> aSubProps = GetProperties(aSubNodeNames); const Any* pSubProps = aSubProps.getConstArray(); |