INTEGRATION: CWS sb27 (1.19.14); FILE MERGED
2004/12/03 15:34:30 toconnor 1.19.14.1: #i38361# allow macro execution when no document is loaded Issue number: Submitted by: Reviewed by:
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
*
|
*
|
||||||
* $RCSfile: scripthandler.cxx,v $
|
* $RCSfile: scripthandler.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.19 $
|
* $Revision: 1.20 $
|
||||||
*
|
*
|
||||||
* last change: $Author: rt $ $Date: 2004-10-22 14:04:56 $
|
* last change: $Author: rt $ $Date: 2004-12-07 10:53:49 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
@@ -487,9 +487,7 @@ throw ( RuntimeException )
|
|||||||
Reference< provider::XScriptProviderFactory > xFac(
|
Reference< provider::XScriptProviderFactory > xFac(
|
||||||
xCtx->getValueByName( tmspf ), UNO_QUERY_THROW );
|
xCtx->getValueByName( tmspf ), UNO_QUERY_THROW );
|
||||||
|
|
||||||
Any aContext =
|
Any aContext;
|
||||||
makeAny( ::rtl::OUString::createFromAscii("share") );
|
|
||||||
|
|
||||||
m_xScriptProvider = Reference< provider::XScriptProvider > (
|
m_xScriptProvider = Reference< provider::XScriptProvider > (
|
||||||
xFac->createScriptProvider( aContext ), UNO_QUERY_THROW );
|
xFac->createScriptProvider( aContext ), UNO_QUERY_THROW );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user