summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-26 15:28:43 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-26 15:28:43 +0000
commit96398251416e12e0eef25f1bc15479f87572bbf8 (patch)
tree2ac9e3b7927d71323dee7ac40dc6f44529d88d86 /scripting
parent6769fd283cec7f960d85deba5c21754e7142a36d (diff)
INTEGRATION: CWS tkr06 (1.11.12); FILE MERGED
2007/11/02 15:31:25 tkr 1.11.12.1: #83255# relative url
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/dlgprov/dlgprov.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx
index 398f6f8755e9..2a5764797d0c 100644
--- a/scripting/source/dlgprov/dlgprov.cxx
+++ b/scripting/source/dlgprov/dlgprov.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dlgprov.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: kz $ $Date: 2007-06-20 10:28:16 $
+ * last change: $Author: ihi $ $Date: 2007-11-26 16:28:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -416,7 +416,14 @@ namespace dlgprov
if ( xDialogModel.is() )
{
+ Any aDialogSourceURLAny;
+ aDialogSourceURLAny <<= aURL;
+ ::rtl::OUString aDlgSrcUrlPropName( RTL_CONSTASCII_USTRINGPARAM( "DialogSourceURL" ) );
+ Reference< beans::XPropertySet > xDlgPropSet( xDialogModel, UNO_QUERY );
+ xDlgPropSet->setPropertyValue( aDlgSrcUrlPropName, aDialogSourceURLAny );
+
::xmlscript::importDialogModel( xInput, xDialogModel, m_xContext );
+
xCtrlModel = Reference< XControlModel >( xDialogModel, UNO_QUERY );
Reference< resource::XStringResourceManager > xStringResourceManager;