From a43f7851c7d3424e845eedffe8ef25c6e9e8fe99 Mon Sep 17 00:00:00 2001 From: sb Date: Fri, 10 Sep 2010 13:10:07 +0200 Subject: sb129: #i113189# change UNO components to use passive registration --- sccomp/prj/d.lst | 1 + sccomp/source/solver/makefile.mk | 8 ++++++++ sccomp/source/solver/solver.component | 34 ++++++++++++++++++++++++++++++++++ sccomp/source/solver/solver.cxx | 28 ---------------------------- 4 files changed, 43 insertions(+), 28 deletions(-) create mode 100644 sccomp/source/solver/solver.component (limited to 'sccomp') diff --git a/sccomp/prj/d.lst b/sccomp/prj/d.lst index f31644cf5e8c..2af1e70a9424 100644 --- a/sccomp/prj/d.lst +++ b/sccomp/prj/d.lst @@ -7,3 +7,4 @@ mkdir: %COMMON_DEST%\bin%_EXT%\hid ..\%__SRC%\lib\*.sl %_DEST%\lib%_EXT%\*.sl ..\%__SRC%\bin\*.bin %_DEST%\bin%_EXT%\*.bin ..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res +..\%__SRC%\misc\solver.component %_DEST%\xml%_EXT%\solver.component diff --git a/sccomp/source/solver/makefile.mk b/sccomp/source/solver/makefile.mk index 6b25f60c8762..b1c65e88c64c 100644 --- a/sccomp/source/solver/makefile.mk +++ b/sccomp/source/solver/makefile.mk @@ -75,3 +75,11 @@ RESLIB1SRSFILES=$(RESLIB1LIST) .INCLUDE : target.mk + +ALLTAR : $(MISC)/solver.component + +$(MISC)/solver.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ + solver.component + $(XSLTPROC) --nonet --stringparam uri \ + '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ + $(SOLARENV)/bin/createcomponent.xslt solver.component diff --git a/sccomp/source/solver/solver.component b/sccomp/source/solver/solver.component new file mode 100644 index 000000000000..de9cb3bd511d --- /dev/null +++ b/sccomp/source/solver/solver.component @@ -0,0 +1,34 @@ + + + + + + + + diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx index 6c04f79d7cf5..a4dd69cc4847 100644 --- a/sccomp/source/solver/solver.cxx +++ b/sccomp/source/solver/solver.cxx @@ -603,34 +603,6 @@ extern "C" // ------------------------------------------------------------------------- - SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( void* /*pServiceManager*/, void* pRegistryKey ) - { - if (pRegistryKey) - { - try - { - uno::Reference xNewKey; - sal_Int32 nPos; - - xNewKey = reinterpret_cast< registry::XRegistryKey * >( pRegistryKey )->createKey( SolverComponent_getImplementationName() ); - xNewKey = xNewKey->createKey( OUString::createFromAscii( "/UNO/SERVICES" ) ); - const uno::Sequence< OUString > & rSNL1 = SolverComponent_getSupportedServiceNames(); - const OUString * pArray1 = rSNL1.getConstArray(); - for ( nPos = rSNL1.getLength(); nPos--; ) - xNewKey->createKey( pArray1[nPos] ); - - return sal_True; - } - catch (registry::InvalidRegistryException &) - { - OSL_ENSURE( sal_False, "### InvalidRegistryException!" ); - } - } - return sal_False; - } - - // ------------------------------------------------------------------------- - SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { OUString aImplName( OUString::createFromAscii( pImplName ) ); -- cgit From 4ffe09429872beed5f8d92b5d3efc65f1efe45d8 Mon Sep 17 00:00:00 2001 From: sb Date: Fri, 22 Oct 2010 10:37:46 +0200 Subject: sb131: #i115124# $(XSLTPROC) implies LIBXSLT:libxslt --- sccomp/prj/build.lst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sccomp') diff --git a/sccomp/prj/build.lst b/sccomp/prj/build.lst index 8e1e0d0181cb..6884378f77a0 100644 --- a/sccomp/prj/build.lst +++ b/sccomp/prj/build.lst @@ -1,4 +1,4 @@ -scc sccomp : l10n offuh comphelper LPSOLVE:lpsolve tools rsc NULL +scc sccomp : l10n offuh comphelper LPSOLVE:lpsolve tools rsc LIBXSLT:libxslt NULL scc sccomp usr1 - all scc_mkout NULL scc sccomp\prj get - all scc_prj NULL scc sccomp\source\solver nmake - all scc_solver NULL -- cgit From ce6308e4fad2281241bf4ca78280eba29f744d43 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 22 Feb 2011 19:07:34 +0100 Subject: masterfix DEV300: #i10000# usage of L10N build_type --- sccomp/prj/build.lst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sccomp') diff --git a/sccomp/prj/build.lst b/sccomp/prj/build.lst index 6884378f77a0..a16408723fa8 100644 --- a/sccomp/prj/build.lst +++ b/sccomp/prj/build.lst @@ -1,4 +1,4 @@ -scc sccomp : l10n offuh comphelper LPSOLVE:lpsolve tools rsc LIBXSLT:libxslt NULL +scc sccomp : L10N:l10n offuh comphelper LPSOLVE:lpsolve tools rsc LIBXSLT:libxslt NULL scc sccomp usr1 - all scc_mkout NULL scc sccomp\prj get - all scc_prj NULL scc sccomp\source\solver nmake - all scc_solver NULL -- cgit