diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-04-01 11:25:23 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-04-01 11:25:23 +0000 |
commit | c7b0026b49b0fe1cbce62bb7bf7b23e77c234c1e (patch) | |
tree | 5bc5c31d30f17978323e04a7a563ce27f460d875 /svx | |
parent | 2bb783a759f27b29e76ca6810b8babc2ec85fa7f (diff) |
#120904# theArgs has dimension 2 now, so we need another one of dimension 1.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/optgdlg.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/dialog/optgdlg.cxx b/svx/source/dialog/optgdlg.cxx index ef091edb6f14..bc974eccf658 100644 --- a/svx/source/dialog/optgdlg.cxx +++ b/svx/source/dialog/optgdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: optgdlg.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: rt $ $Date: 2005-03-30 07:50:16 $ + * last change: $Author: rt $ $Date: 2005-04-01 12:25:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1235,9 +1235,10 @@ OfaLanguagesTabPage::OfaLanguagesTabPage( Window* pParent, const SfxItemSet& rSe } // find out whether the user has a specific locale specified - theArgs[0] = makeAny(sUserLocalePath); + Sequence< Any > theArgs2(1); + theArgs2[0] = makeAny(NamedValue(OUString::createFromAscii("NodePath"), makeAny(sUserLocalePath))); theNameAccess = Reference< XNameAccess > ( - theConfigProvider->createInstanceWithArguments(sAccessSrvc, theArgs ), UNO_QUERY_THROW ); + theConfigProvider->createInstanceWithArguments(sAccessSrvc, theArgs2 ), UNO_QUERY_THROW ); if (theNameAccess->hasByName(sUserLocaleKey)) theNameAccess->getByName(sUserLocaleKey) >>= m_sUserLocaleValue; // select the user specified locale in the listbox |