summaryrefslogtreecommitdiff
path: root/scripting/source/basprov/basmodnode.cxx
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2003-10-15 07:35:32 +0000
committerNoel Power <npower@openoffice.org>2003-10-15 07:35:32 +0000
commit523410191cee137ccea76c603525add921282538 (patch)
treecd0405089e57a2253aa4f21d4876baf0dfefb816 /scripting/source/basprov/basmodnode.cxx
parent690c84cb8b109199a028d7f3b8992ef68da96a6f (diff)
#i21213#
#i21214# changes to basic provider to ensure that scripts get displayed ( implemented XPropertySet on script node implementation basmethnode. Also changed basprov ( basic provider ) to handle application context invoke requests ( also display of share scripts ). Now when basic provider is created ( regardless of context ) it will always be able to execute a script, whatever the location.
Diffstat (limited to 'scripting/source/basprov/basmodnode.cxx')
-rw-r--r--scripting/source/basprov/basmodnode.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/basprov/basmodnode.cxx b/scripting/source/basprov/basmodnode.cxx
index 6a228635afa4..e439b41526cf 100644
--- a/scripting/source/basprov/basmodnode.cxx
+++ b/scripting/source/basprov/basmodnode.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basmodnode.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tbe $ $Date: 2003-09-23 10:08:59 $
+ * last change: $Author: npower $ $Date: 2003-10-15 08:35:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,8 +100,8 @@ namespace basprov
// BasicModuleNodeImpl
// =============================================================================
- BasicModuleNodeImpl::BasicModuleNodeImpl( SbModule* pModule )
- :m_pModule( pModule )
+ BasicModuleNodeImpl::BasicModuleNodeImpl( SbModule* pModule, bool isAppScript )
+ :m_pModule( pModule ), m_bIsAppScript( isAppScript )
{
}
@@ -147,7 +147,7 @@ namespace basprov
{
SbMethod* pMethod = static_cast< SbMethod* >( pMethods->Get( static_cast< USHORT >( i ) ) );
if ( pMethod )
- pChildNodes[i] = static_cast< browse::XBrowseNode* >( new BasicMethodNodeImpl( pMethod ) );
+ pChildNodes[i] = static_cast< browse::XBrowseNode* >( new BasicMethodNodeImpl( pMethod, m_bIsAppScript ) );
}
}
}