svdem.cxx (fc9fd3f1) | svdem.cxx (3b807085) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 37 unchanged lines hidden (view full) --- 46 47// ----------------------------------------------------------------------- 48 49SAL_IMPLEMENT_MAIN() 50{ 51 tools::extendApplicationEnvironment(); 52 53 Reference< XMultiServiceFactory > xMS; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 37 unchanged lines hidden (view full) --- 46 47// ----------------------------------------------------------------------- 48 49SAL_IMPLEMENT_MAIN() 50{ 51 tools::extendApplicationEnvironment(); 52 53 Reference< XMultiServiceFactory > xMS; |
54 //xMS = cppu::createRegistryServiceFactory( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "types.rdb" ) ), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "applicat.rdb" ) ), sal_True ); 55 xMS = cppu::createRegistryServiceFactory( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "applicat.rdb" ) ), sal_True ); 56 | 54 xMS = cppu::createRegistryServiceFactory( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "types.rdb" ) ), rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "applicat.rdb" ) ), sal_True ); 55 |
57 InitVCL( xMS ); 58 ::Main(); 59 DeInitVCL(); 60 61 return 0; 62} 63 64// ----------------------------------------------------------------------- --- 81 unchanged lines hidden --- | 56 InitVCL( xMS ); 57 ::Main(); 58 DeInitVCL(); 59 60 return 0; 61} 62 63// ----------------------------------------------------------------------- --- 81 unchanged lines hidden --- |