unohelp.cxx (db7807d9) | unohelp.cxx (885b220b) |
---|---|
1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 37 unchanged lines hidden (view full) --- 46#include <com/sun/star/i18n/XBreakIterator.hpp> 47#include <com/sun/star/i18n/XCharacterClassification.hpp> 48#include <com/sun/star/i18n/XCollator.hpp> 49#include <com/sun/star/awt/XExtendedToolkit.hpp> 50#include <com/sun/star/accessibility/AccessibleEventObject.hpp> 51#include <com/sun/star/accessibility/AccessibleStateType.hpp> 52#include <com/sun/star/registry/XImplementationRegistration.hpp> 53 | 1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * --- 37 unchanged lines hidden (view full) --- 46#include <com/sun/star/i18n/XBreakIterator.hpp> 47#include <com/sun/star/i18n/XCharacterClassification.hpp> 48#include <com/sun/star/i18n/XCollator.hpp> 49#include <com/sun/star/awt/XExtendedToolkit.hpp> 50#include <com/sun/star/accessibility/AccessibleEventObject.hpp> 51#include <com/sun/star/accessibility/AccessibleStateType.hpp> 52#include <com/sun/star/registry/XImplementationRegistration.hpp> 53 |
54 | |
55using namespace ::com::sun::star; 56using namespace ::rtl; 57 | 54using namespace ::com::sun::star; 55using namespace ::rtl; 56 |
58#define STRING( x ) #x "" 59 | |
60struct VCLRegServiceInfo 61{ 62 const sal_Char* pLibName; 63 sal_Bool bHasSUPD; 64}; 65 66static VCLRegServiceInfo aVCLComponentsArray[] = 67{ --- 113 unchanged lines hidden (view full) --- 181 } 182 } 183 return xB; 184} 185 186::rtl::OUString vcl::unohelper::CreateLibraryName( const sal_Char* pModName, sal_Bool bSUPD ) 187{ 188 // create variable library name suffixes | 57struct VCLRegServiceInfo 58{ 59 const sal_Char* pLibName; 60 sal_Bool bHasSUPD; 61}; 62 63static VCLRegServiceInfo aVCLComponentsArray[] = 64{ --- 113 unchanged lines hidden (view full) --- 178 } 179 } 180 return xB; 181} 182 183::rtl::OUString vcl::unohelper::CreateLibraryName( const sal_Char* pModName, sal_Bool bSUPD ) 184{ 185 // create variable library name suffixes |
189 OUString aDLLSuffix = OUString::createFromAscii( STRING(DLLPOSTFIX) ); | 186 OUString aDLLSuffix; //= OUString::createFromAscii( STRING(DLLPOSTFIX) ); |
190 191 OUString aLibName; 192 193#if defined( WNT) || defined(OS2) 194 aLibName = OUString::createFromAscii( pModName ); 195 if ( bSUPD ) 196 { 197 aLibName += aDLLSuffix; --- 38 unchanged lines hidden --- | 187 188 OUString aLibName; 189 190#if defined( WNT) || defined(OS2) 191 aLibName = OUString::createFromAscii( pModName ); 192 if ( bSUPD ) 193 { 194 aLibName += aDLLSuffix; --- 38 unchanged lines hidden --- |