ooo-build r13093 - in trunk: . patches/dev300



Author: brosenk
Date: Mon Jul  7 18:15:50 2008
New Revision: 13093
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13093&view=rev

Log:
Adapt testing-more-optimizations-ark.diff to m22


Modified:
   trunk/ChangeLog
   trunk/patches/dev300/testing-more-optimizations-ark.diff

Modified: trunk/patches/dev300/testing-more-optimizations-ark.diff
==============================================================================
--- trunk/patches/dev300/testing-more-optimizations-ark.diff	(original)
+++ trunk/patches/dev300/testing-more-optimizations-ark.diff	Mon Jul  7 18:15:50 2008
@@ -1,123 +1,529 @@
---- ./sal/inc/osl/file.h.opt	2005-09-08 14:27:23.000000000 +0000
-+++ ./sal/inc/osl/file.h	2005-10-31 16:29:51.000000000 +0000
-@@ -183,7 +183,7 @@
- 	@see osl_closeDirectory()
- */
- 
--oslFileError SAL_CALL osl_openDirectory( rtl_uString *pustrDirectoryURL, oslDirectory *pDirectory);
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_openDirectory( rtl_uString *pustrDirectoryURL, oslDirectory *pDirectory);
+--- ./icu/makefile.mk.optimize~	2008-04-11 09:26:50.000000000 +0200
++++ ./icu/makefile.mk	2008-07-07 20:13:22.894846909 +0200
+@@ -82,8 +82,8 @@ CC:=gcc $(EXTRA_CFLAGS)
+ icu_LDFLAGS+=-Wl,-z,noexecstack
+ .ENDIF
  
+-icu_CFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CDEFS)
+-icu_CXXFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CDEFS)
++icu_CFLAGS+=$(CFLAGSOPT) $(ARCH_FLAGS) $(EXTRA_CDEFS)
++icu_CXXFLAGS+=$(CFLAGSOPT) $(ARCH_FLAGS) $(EXTRA_CDEFS)
  
- /**	Retrieve the next item of a previously opened directory. 
-@@ -217,7 +217,7 @@
- 	@see osl_getFileStatus()
+ # until someone introduces SOLARIS 64-bit builds
+ .IF "$(OS)"=="SOLARIS"
+--- ./registry/inc/registry/registry.h.optimize~	2008-04-11 12:45:33.000000000 +0200
++++ ./registry/inc/registry/registry.h	2008-07-07 20:12:51.808846525 +0200
+@@ -50,7 +50,7 @@ extern "C" {
+                      reg_closeKey. If the function fails, phNewKey is NULL.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
+-RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createKey(RegKeyHandle hKey, 
+ 										 rtl_uString* keyName, 
+ 										 RegKeyHandle* phNewKey);
  
--oslFileError SAL_CALL osl_getNextDirectoryItem(
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getNextDirectoryItem(
- 	oslDirectory Directory,
- 	oslDirectoryItem *pItem,
- 	sal_uInt32	 uHint
-@@ -239,7 +239,7 @@
- 	@see osl_openDirectory()
+@@ -65,7 +65,7 @@ RegError REGISTRY_CALLTYPE reg_createKey
+                      reg_closeKey. If the function fails, phNewKey is NULL.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
- 
--oslFileError SAL_CALL osl_closeDirectory(oslDirectory Directory);
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_closeDirectory(oslDirectory Directory);
- 
- 
- /**	Retrieve a single directory item. 
-@@ -278,7 +278,7 @@
- 	@see osl_getNextDirectoryItem()
+-RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openKey(RegKeyHandle hKey, 
+ 					  				   rtl_uString* keyName, 
+ 					  				   RegKeyHandle* phOpenKey);
+ 					  
+@@ -83,7 +83,7 @@ RegError REGISTRY_CALLTYPE reg_openKey(R
+ 	@param	pnSubKeys specifies the length of the array (the number of open subkeys).
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
- 
--oslFileError SAL_CALL osl_getDirectoryItem(
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getDirectoryItem(
- 	rtl_uString *pustrFileURL, 
- 	oslDirectoryItem *pItem
- 	);
-@@ -301,7 +301,7 @@
-     @see osl_releaseDirectoryItem()
+-RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openSubKeys(RegKeyHandle hKey, 
+ 						  				   rtl_uString* keyName, 
+ 						  				   RegKeyHandle** pphSubKeys, 
+ 						  				   sal_uInt32* pnSubKeys);
+@@ -96,7 +96,7 @@ RegError REGISTRY_CALLTYPE reg_openSubKe
+ 	@param	nSubKeys specifies the length of the array (the number of subkeys to closed).
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
- 
--oslFileError SAL_CALL osl_acquireDirectoryItem( oslDirectoryItem Item );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_acquireDirectoryItem( oslDirectoryItem Item );
+-RegError REGISTRY_CALLTYPE reg_closeSubKeys(RegKeyHandle* phSubKeys, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeSubKeys(RegKeyHandle* phSubKeys, 
+ 						   					sal_uInt32 nSubKeys);
  
  
- /**	Decrease the refcount of a directory item handle. 
-@@ -323,7 +323,7 @@
- 	@see osl_acquireDirectoryItem()
+@@ -108,7 +108,7 @@ RegError REGISTRY_CALLTYPE reg_closeSubK
+                     be deleted.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
+-RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_deleteKey(RegKeyHandle hKey, 
+ 										 rtl_uString* keyName);
  
--oslFileError SAL_CALL osl_releaseDirectoryItem( oslDirectoryItem Item ); 
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_releaseDirectoryItem( oslDirectoryItem Item ); 
- 
- /* File types */
  
-@@ -446,7 +446,7 @@
- 	@see oslFileStatus
+@@ -118,7 +118,7 @@ RegError REGISTRY_CALLTYPE reg_deleteKey
+                  The memory of the variable specifying the key will be freed.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
- 
--oslFileError SAL_CALL osl_getFileStatus( oslDirectoryItem Item, oslFileStatus *pStatus, sal_uInt32 uFieldMask );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getFileStatus( oslDirectoryItem Item, oslFileStatus *pStatus, sal_uInt32 uFieldMask );
+-RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey);
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeKey(RegKeyHandle hKey);
  
  
- typedef void *oslVolumeDeviceHandle;
-@@ -468,7 +468,7 @@
-     @see osl_getVolumeInformation()
+ /**	This function returns the name of a key.
+@@ -126,7 +126,7 @@ RegError REGISTRY_CALLTYPE reg_closeKey(
+ 	@param	hKey identifies a currently open key which name will be returned.
+ 	@param	pKeyName contains the keyname if succeeds else an empty string. 
  */
+-const RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
++const RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
  
--oslFileError SAL_CALL osl_unmountVolumeDevice( oslVolumeDeviceHandle Handle );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_unmountVolumeDevice( oslVolumeDeviceHandle Handle );
  
+ /**	This function sets a value of a key.
+@@ -141,7 +141,7 @@ const RegError REGISTRY_CALLTYPE reg_get
+ 	@param	valueSize specifies the size of pData in bytes
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setValue(RegKeyHandle hKey, 
+ 					   					rtl_uString* keyName, 
+ 					   					RegValueType valueType, 
+ 					   					RegValue pData, 
+@@ -157,7 +157,7 @@ RegError REGISTRY_CALLTYPE reg_setValue(
+ 	@param	len specifies the len of pValueList.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_setLongListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setLongListValue(RegKeyHandle hKey, 
+ 					   		 	  				rtl_uString* keyName, 
+ 			   			 		  				sal_Int32* pValueList, 
+ 			   			 		  				sal_uInt32 len);
+@@ -172,7 +172,7 @@ RegError REGISTRY_CALLTYPE reg_setLongLi
+ 	@param	len specifies the len of pValueList.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_setStringListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setStringListValue(RegKeyHandle hKey, 
+ 					   		 	  			  	  rtl_uString* keyName, 
+ 			   			 		  			  	  sal_Char** pValueList, 
+ 			   			 		  			  	  sal_uInt32 len);
+@@ -187,7 +187,7 @@ RegError REGISTRY_CALLTYPE reg_setString
+ 	@param	len	specifies the len of pValueList.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_setUnicodeListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setUnicodeListValue(RegKeyHandle hKey, 
+ 					   		 	  			   	   rtl_uString* keyName, 
+ 			   			 		  			   	   sal_Unicode** pValueList, 
+ 			   			 		  			   	   sal_uInt32 len);
+@@ -204,7 +204,7 @@ RegError REGISTRY_CALLTYPE reg_setUnicod
+ 	@param	pValueSize returns the size of the value in bytes
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_getValueInfo(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getValueInfo(RegKeyHandle hKey, 
+ 						   					rtl_uString* keyName, 
+ 						   					RegValueType* pValueType, 
+ 						   					sal_uInt32* pValueSize);
+@@ -220,7 +220,7 @@ RegError REGISTRY_CALLTYPE reg_getValueI
+ 	@param	pData points to an allocated memory block receiving the data of the value. 
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getValue(RegKeyHandle hKey, 
+ 					   					rtl_uString* keyName, 
+ 					   					RegValue pData);
  
- /** Automount a volume device.
-@@ -487,7 +487,7 @@
-     @see osl_getVolumeInformation()
+@@ -234,7 +234,7 @@ RegError REGISTRY_CALLTYPE reg_getValue(
+ 	@param	pLen returns the length of the value list.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_getLongListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getLongListValue(RegKeyHandle hKey, 
+ 					   		 	  				rtl_uString* keyName, 
+ 			   			 		  				sal_Int32** pValueList, 
+ 			   			 		  				sal_uInt32* pLen);
+@@ -249,7 +249,7 @@ RegError REGISTRY_CALLTYPE reg_getLongLi
+ 	@param	pLen returns the length of the value list.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_getStringListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getStringListValue(RegKeyHandle hKey, 
+ 				   			  					  rtl_uString* keyName, 
+ 				   			  					  sal_Char*** pValueList,
+ 				   			  					  sal_uInt32* pLen);
+@@ -264,7 +264,7 @@ RegError REGISTRY_CALLTYPE reg_getString
+ 	@param	pLen returns the length of the value list.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_getUnicodeListValue(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getUnicodeListValue(RegKeyHandle hKey, 
+ 					   		 	  				   rtl_uString* keyName, 
+ 			   			 		  				   sal_Unicode*** pValueList, 
+ 			   			 		  				   sal_uInt32* pLen);
+@@ -277,7 +277,7 @@ RegError REGISTRY_CALLTYPE reg_getUnicod
+ 	@param	len specifies the length of the value list.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
+-RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_freeValueList(RegValueType valueType, 
+ 				   			  				 RegValue pValueList, 
+ 				   			  				 sal_uInt32 len);
  
--oslFileError SAL_CALL osl_automountVolumeDevice( oslVolumeDeviceHandle Handle );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_automountVolumeDevice( oslVolumeDeviceHandle Handle );
+@@ -294,7 +294,7 @@ RegError REGISTRY_CALLTYPE reg_freeValue
+                        link will be opened.
+ 	@return	REG_NO_ERROR if succeeds else an error code.    
+ */
+-RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createLink(RegKeyHandle hKey,
+ 				  			   		      rtl_uString* linkName, 
+ 										  rtl_uString* linkTarget);
  
+@@ -305,7 +305,7 @@ RegError REGISTRY_CALLTYPE reg_createLin
+ 	@param	linkName points to a null terminated string specifying the name of the link.
+ 	@return	REG_NO_ERROR if succeeds else an error code.    
+ */
+-RegError REGISTRY_CALLTYPE reg_deleteLink(RegKeyHandle hKey,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_deleteLink(RegKeyHandle hKey,
+ 								  		  rtl_uString* linkName);
  
- /** Release a volume device handle.
-@@ -508,7 +508,7 @@
-     @see osl_getVolumeInformation()    
+ /** This function returns the type of a key.
+@@ -318,7 +318,7 @@ RegError REGISTRY_CALLTYPE reg_deleteLin
+     @param  pKeyType returns the type of the key.   
+ 	@return	REG_NO_ERROR if succeeds else an error code.    
  */
+-RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getKeyType(RegKeyHandle hKey,
+ 										  rtl_uString* keyName,
+ 					   					  RegKeyType* pKeyType);
  
--oslFileError SAL_CALL osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
+@@ -329,7 +329,7 @@ RegError REGISTRY_CALLTYPE reg_getKeyTyp
+ 	@param	pLinkTarget contains the linktarget if succeeds else an empty string.
+ 	@return	REG_NO_ERROR if succeeds else an error code.    
+ */
+-RegError REGISTRY_CALLTYPE reg_getLinkTarget(RegKeyHandle hKey,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getLinkTarget(RegKeyHandle hKey,
+ 											 rtl_uString* linkName,
+ 						  					 rtl_uString** pLinkTarget);
  
- /** Acquire a volume device handle.
+@@ -342,7 +342,7 @@ RegError REGISTRY_CALLTYPE reg_getLinkTa
+                     The name of hKey together with keyName will be resolved from links.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+  */
+-RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getResolvedKeyName(RegKeyHandle hKey,
+ 											  	  rtl_uString* keyName,
+ 											 	  sal_Bool firstLinkOnly,
+ 							  				  	  rtl_uString** pResolvedName);
+@@ -359,7 +359,7 @@ RegError REGISTRY_CALLTYPE reg_getResolv
+ 			            registry information.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_loadKey(RegKeyHandle hKey, 
+ 					  				   rtl_uString* keyName, 
+ 					  				   rtl_uString* regFileName);
  
-@@ -528,7 +528,7 @@
-     @see osl_getVolumeInformation()
+@@ -376,7 +376,7 @@ RegError REGISTRY_CALLTYPE reg_loadKey(R
+ 			            registry information.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
+-RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_saveKey(RegKeyHandle hKey, 
+ 					  				   rtl_uString* keyName, 
+ 					  				   rtl_uString* regFileName);
  
--oslFileError SAL_CALL osl_acquireVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_acquireVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
+@@ -396,7 +396,7 @@ RegError REGISTRY_CALLTYPE reg_saveKey(R
+ 	@param	bReport if TRUE the function reports warnings on stdout if a key already exists. 
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_mergeKey(RegKeyHandle hKey, 
+ 					   					rtl_uString* keyName, 
+ 					   					rtl_uString* regFileName,
+ 					   					sal_Bool bWarnings,
+@@ -409,7 +409,7 @@ RegError REGISTRY_CALLTYPE reg_mergeKey(
+ 	@param 	phRegistry points to a handle of the new registry if the function succeeds otherwise NULL.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_createRegistry(rtl_uString* registryName, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createRegistry(rtl_uString* registryName, 
+ 							 				  RegHandle* phRegistry);
  
  
- /** Get the full qualified URL where a device is mounted to.
-@@ -559,7 +559,7 @@
- 	@see	osl_unmountVolumeDevice()
+@@ -419,7 +419,7 @@ RegError REGISTRY_CALLTYPE reg_createReg
+ 	@param 	phRootKey points to a handle of the open root key if the function succeeds otherwise NULL.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
  */
+-RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openRootKey(RegHandle hRegistry, 
+ 						  				   RegKeyHandle* phRootKey);
  
--oslFileError SAL_CALL osl_getVolumeDeviceMountPath( oslVolumeDeviceHandle Handle, rtl_uString **ppustrDirectoryURL);
-+oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getVolumeDeviceMountPath( oslVolumeDeviceHandle Handle, rtl_uString **ppustrDirectoryURL);
  
- /* Volume attributes */
+@@ -429,7 +429,7 @@ RegError REGISTRY_CALLTYPE reg_openRootK
+ 	@param  pName returns the name of the registry if the function succeeds otherwise an empty string. 
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-const RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
++const RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getName(RegHandle hRegistry, rtl_uString** pName);
  
-@@ -654,7 +654,7 @@
- 	@see	oslVolumeInfo
- */	
+ 
+ /**	This function returns the access mode of the registry.
+@@ -437,7 +437,7 @@ const RegError REGISTRY_CALLTYPE reg_get
+ 	@param	hReg identifies a currently open registry.
+ 	@return	TRUE if accessmode is read only else FALSE. 
+ */
+-sal_Bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
++sal_Bool REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_isReadOnly(RegHandle hReg);
+ 
+ 
+ /**	This function opens a registry with the specified name.
+@@ -447,7 +447,7 @@ sal_Bool REGISTRY_CALLTYPE reg_isReadOnl
+ 	@param 	accessMode specifies the accessmode of the registry, REG_READONLY or REG_READWRITE.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, 
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openRegistry(rtl_uString* registryName, 
+ 						   					RegHandle* phRegistry,
+ 						   					RegAccessMode accessMode);
+ 
+@@ -457,7 +457,7 @@ RegError REGISTRY_CALLTYPE reg_openRegis
+ 	@param	hRegistry identifies a currently open registry which should be closed.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry);
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeRegistry(RegHandle hRegistry);
+ 
+ 
+ /**	This function destroys a registry.
+@@ -467,7 +467,7 @@ RegError REGISTRY_CALLTYPE reg_closeRegi
+                          name is NULL the registry itselfs will be destroyed.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry,
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_destroyRegistry(RegHandle hRegistry,
+ 											   rtl_uString* registryName);
+ 
+ 
+@@ -478,7 +478,7 @@ RegError REGISTRY_CALLTYPE reg_destroyRe
+ 	@param	hKey identifies a currently open key which content will be reported.
+ 	@return	REG_NO_ERROR if succeeds else an error code. 
+ */
+-RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey);
++RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_dumpRegistry(RegKeyHandle hKey);
+ 
+ #ifdef __cplusplus
+ }
+--- ./registry/inc/registry/writer.h.optimize~	2008-04-11 12:47:02.000000000 +0200
++++ ./registry/inc/registry/writer.h	2008-07-07 20:12:51.805848099 +0200
+@@ -79,7 +79,7 @@ void * SAL_CALL typereg_writer_create(
+     rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published,
+     rtl_uString const * typeName, sal_uInt16 superTypeCount,
+     sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount)
+-    SAL_THROW_EXTERN_C();
++    SAL_THROW_EXTERN_C() SAL_DLLPUBLIC_EXPORT;
+ 
+ /**
+    Destroys a type writer.
+@@ -89,7 +89,7 @@ void * SAL_CALL typereg_writer_create(
+ 
+    @since UDK 3.2.0
+  */
+-void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C();
++void SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C();
+ 
+ /**
+    Sets the type name of a super type of a type writer.
+@@ -106,7 +106,7 @@ void SAL_CALL typereg_writer_destroy(voi
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setSuperTypeName(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setSuperTypeName(
+     void * handle, sal_uInt16 index, rtl_uString const * typeName)
+         SAL_THROW_EXTERN_C();
+ 
+@@ -136,7 +136,7 @@ sal_Bool SAL_CALL typereg_writer_setSupe
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setFieldData(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setFieldData(
+     void * handle, sal_uInt16 index, rtl_uString const * documentation,
+     rtl_uString const * fileName, RTFieldAccess flags, rtl_uString const * name,
+     rtl_uString const * typeName, RTValueType valueType,
+@@ -167,7 +167,7 @@ sal_Bool SAL_CALL typereg_writer_setFiel
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setMethodData(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodData(
+     void * handle, sal_uInt16 index, rtl_uString const * documentation,
+     RTMethodMode flags, rtl_uString const * name,
+     rtl_uString const * returnTypeName, sal_uInt16 parameterCount,
+@@ -196,7 +196,7 @@ sal_Bool SAL_CALL typereg_writer_setMeth
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setMethodParameterData(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodParameterData(
+     void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex,
+     RTParamMode flags, rtl_uString const * name, rtl_uString const * typeName)
+     SAL_THROW_EXTERN_C();
+@@ -219,7 +219,7 @@ sal_Bool SAL_CALL typereg_writer_setMeth
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodExceptionTypeName(
+     void * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex,
+     rtl_uString const * typeName)
+     SAL_THROW_EXTERN_C();
+@@ -245,7 +245,7 @@ sal_Bool SAL_CALL typereg_writer_setMeth
+ 
+    @since UDK 3.2.0
+  */
+-sal_Bool SAL_CALL typereg_writer_setReferenceData(
++sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setReferenceData(
+     void * handle, sal_uInt16 index, rtl_uString const * documentation,
+     RTReferenceType sort, RTFieldAccess flags, rtl_uString const * typeName)
+     SAL_THROW_EXTERN_C();
+@@ -263,7 +263,7 @@ sal_Bool SAL_CALL typereg_writer_setRefe
+    and <code>size</code> is not modified
+  */
+ void const * SAL_CALL typereg_writer_getBlob(void * handle, sal_uInt32 * size)
+-    SAL_THROW_EXTERN_C();
++    SAL_THROW_EXTERN_C() SAL_DLLPUBLIC_EXPORT;
+ 
+ #ifdef __cplusplus
+ }
+--- ./salhelper/inc/salhelper/dynload.hxx.optimize~	2008-04-11 13:21:48.000000000 +0200
++++ ./salhelper/inc/salhelper/dynload.hxx	2008-07-07 20:12:51.809847002 +0200
+@@ -40,7 +40,7 @@ namespace salhelper
+ 
+ /** The ORealDynamicLoader is an implementation helper class for the template loader ODynamicLoader.
+  */   
+-class ORealDynamicLoader
++class SAL_DLLPUBLIC_EXPORT ORealDynamicLoader
+ {
+ public:
+     /** initializes the loader, loads the library and call the initialization fucntion.
+--- ./sal/inc/osl/file.h.optimize~	2008-07-07 19:57:38.318847517 +0200
++++ ./sal/inc/osl/file.h	2008-07-07 20:12:51.791847717 +0200
+@@ -175,7 +175,7 @@ typedef void *oslDirectoryItem;
+ 	@see osl_closeDirectory()
+ */
+ 
+-oslFileError SAL_CALL osl_openDirectory( rtl_uString *pustrDirectoryURL, oslDirectory *pDirectory);
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_openDirectory( rtl_uString *pustrDirectoryURL, oslDirectory *pDirectory);
+ 
+ 
+ /**	Retrieve the next item of a previously opened directory. 
+@@ -209,7 +209,7 @@ oslFileError SAL_CALL osl_openDirectory(
+ 	@see osl_getFileStatus()
+ */
+ 
+-oslFileError SAL_CALL osl_getNextDirectoryItem(
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getNextDirectoryItem(
+ 	oslDirectory Directory,
+ 	oslDirectoryItem *pItem,
+ 	sal_uInt32	 uHint
+@@ -231,7 +231,7 @@ oslFileError SAL_CALL osl_getNextDirecto
+ 	@see osl_openDirectory()
+ */
+ 
+-oslFileError SAL_CALL osl_closeDirectory(oslDirectory Directory);
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_closeDirectory(oslDirectory Directory);
+ 
+ 
+ /**	Retrieve a single directory item. 
+@@ -270,7 +270,7 @@ oslFileError SAL_CALL osl_closeDirectory
+ 	@see osl_getNextDirectoryItem()
+ */
+ 
+-oslFileError SAL_CALL osl_getDirectoryItem(
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getDirectoryItem(
+ 	rtl_uString *pustrFileURL, 
+ 	oslDirectoryItem *pItem
+ 	);
+@@ -293,7 +293,7 @@ oslFileError SAL_CALL osl_getDirectoryIt
+     @see osl_releaseDirectoryItem()
+ */
+ 
+-oslFileError SAL_CALL osl_acquireDirectoryItem( oslDirectoryItem Item );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_acquireDirectoryItem( oslDirectoryItem Item );
+ 
+ 
+ /**	Decrease the refcount of a directory item handle. 
+@@ -315,7 +315,7 @@ oslFileError SAL_CALL osl_acquireDirecto
+ 	@see osl_acquireDirectoryItem()
+ */
+ 
+-oslFileError SAL_CALL osl_releaseDirectoryItem( oslDirectoryItem Item ); 
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_releaseDirectoryItem( oslDirectoryItem Item ); 
+ 
+ /* File types */
+ 
+@@ -438,7 +438,7 @@ struct _oslFileStatus {
+ 	@see oslFileStatus
+ */
+ 
+-oslFileError SAL_CALL osl_getFileStatus( oslDirectoryItem Item, oslFileStatus *pStatus, sal_uInt32 uFieldMask );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getFileStatus( oslDirectoryItem Item, oslFileStatus *pStatus, sal_uInt32 uFieldMask );
+ 
+ 
+ typedef void *oslVolumeDeviceHandle;
+@@ -460,7 +460,7 @@ typedef void *oslVolumeDeviceHandle;
+     @see osl_getVolumeInformation()
+ */
+ 
+-oslFileError SAL_CALL osl_unmountVolumeDevice( oslVolumeDeviceHandle Handle );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_unmountVolumeDevice( oslVolumeDeviceHandle Handle );
+ 
+ 
+ /** Automount a volume device.
+@@ -479,7 +479,7 @@ oslFileError SAL_CALL osl_unmountVolumeD
+     @see osl_getVolumeInformation()
+ */
+ 
+-oslFileError SAL_CALL osl_automountVolumeDevice( oslVolumeDeviceHandle Handle );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_automountVolumeDevice( oslVolumeDeviceHandle Handle );
+ 
+ 
+ /** Release a volume device handle.
+@@ -500,7 +500,7 @@ oslFileError SAL_CALL osl_automountVolum
+     @see osl_getVolumeInformation()    
+ */
+ 
+-oslFileError SAL_CALL osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_releaseVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
+ 
+ /** Acquire a volume device handle.
+ 
+@@ -520,7 +520,7 @@ oslFileError SAL_CALL osl_releaseVolumeD
+     @see osl_getVolumeInformation()
+ */
+ 
+-oslFileError SAL_CALL osl_acquireVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_acquireVolumeDeviceHandle( oslVolumeDeviceHandle Handle );
+ 
+ 
+ /** Get the full qualified URL where a device is mounted to.
+@@ -551,7 +551,7 @@ oslFileError SAL_CALL osl_acquireVolumeD
+ 	@see	osl_unmountVolumeDevice()
+ */
+ 
+-oslFileError SAL_CALL osl_getVolumeDeviceMountPath( oslVolumeDeviceHandle Handle, rtl_uString **ppustrDirectoryURL);
++oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getVolumeDeviceMountPath( oslVolumeDeviceHandle Handle, rtl_uString **ppustrDirectoryURL);
+ 
+ /* Volume attributes */
+ 
+@@ -646,7 +646,7 @@ struct _oslVolumeInfo {
+ 	@see	oslVolumeInfo
+ */	
  
 -oslFileError SAL_CALL osl_getVolumeInformation(
 +oslFileError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getVolumeInformation(
      rtl_uString *pustrDirectoryURL, 
      oslVolumeInfo *pInfo, 
      sal_uInt32 uFieldMask );
-@@ -716,7 +716,7 @@
+@@ -709,7 +709,7 @@ typedef	void *oslFileHandle;
  	@see osl_getFileSize()
  */
  
@@ -126,7 +532,7 @@
  
  #define osl_Pos_Absolut 1
  #define osl_Pos_Current 2
-@@ -742,7 +742,7 @@
+@@ -735,7 +735,7 @@ oslFileError SAL_CALL osl_openFile( rtl_
  	@see	osl_getFilePos()
  */
  
@@ -135,7 +541,7 @@
  
  
  /**	Retrieve the current position of the internal pointer of an open file.
-@@ -764,7 +764,7 @@
+@@ -757,7 +757,7 @@ oslFileError SAL_CALL osl_setFilePos( os
  	@see osl_writeFile()
  */
  
@@ -144,7 +550,7 @@
  
  
  /**	Set the file size of an open file. 
-@@ -789,7 +789,7 @@
+@@ -782,7 +782,7 @@ oslFileError SAL_CALL osl_getFilePos( os
  	@see osl_getFileSize()
  */
  
@@ -153,7 +559,7 @@
  
  
  /**	Get the file size of an open file. 
-@@ -813,7 +813,7 @@
+@@ -806,7 +806,7 @@ oslFileError SAL_CALL osl_setFileSize( o
  	@see osl_getFileStatus()
  */
  
@@ -162,7 +568,7 @@
  
  
  /**	Read a number of bytes from a file. 
-@@ -851,7 +851,7 @@
+@@ -844,7 +844,7 @@ oslFileError SAL_CALL osl_getFileSize( o
  	@see osl_setFilePos()
  */
  
@@ -171,7 +577,7 @@
  
  
  /**	Test if the end of a file is reached.
-@@ -879,7 +879,7 @@
+@@ -872,7 +872,7 @@ oslFileError SAL_CALL osl_readFile( oslF
  	@see osl_setFilePos()
  */
  
@@ -180,7 +586,7 @@
  
  
  /** Write a number of bytes to a file. 
-@@ -919,7 +919,7 @@
+@@ -912,7 +912,7 @@ oslFileError SAL_CALL osl_isEndOfFile( o
  	@see osl_setFilePos()
  */
  
@@ -189,7 +595,7 @@
  
  
  /** Read a line from a file. 
-@@ -949,7 +949,7 @@
+@@ -942,7 +942,7 @@ oslFileError SAL_CALL osl_writeFile( osl
  	@see osl_setFilePos()
  */
  
@@ -198,7 +604,7 @@
  
  /** Synchronize the memory representation of a file with that on the physical medium.
  
-@@ -985,7 +985,7 @@
+@@ -978,7 +978,7 @@ oslFileError SAL_CALL osl_readLine( oslF
        @see osl_openFile()
        @see osl_writeFile()      
  */
@@ -207,7 +613,7 @@
  
  /**	Close an open file.
  
-@@ -1004,7 +1004,7 @@
+@@ -997,7 +997,7 @@ oslFileError SAL_CALL osl_syncFile(oslFi
  	@see osl_openFile()
  */
  
@@ -216,7 +622,7 @@
  
  	
  /**	Create a directory.
-@@ -1034,7 +1034,7 @@
+@@ -1027,7 +1027,7 @@ oslFileError SAL_CALL osl_closeFile( osl
  	@see osl_removeDirectory()
  */
  
@@ -225,7 +631,7 @@
  
  
  /**	Remove an empty directory.
-@@ -1065,7 +1065,7 @@
+@@ -1058,7 +1058,7 @@ oslFileError SAL_CALL osl_createDirector
  	@see osl_createDirectory()
  */
  	
@@ -234,7 +640,7 @@
  
  /** Function pointer representing a function that will be called by osl_createDirectoryPath
      if a directory has been created.
-@@ -1143,7 +1143,7 @@
+@@ -1136,7 +1136,7 @@ typedef void (SAL_CALL *oslDirectoryCrea
  	@see oslFileError
  	@see osl_createDirectory
  */
@@ -243,7 +649,7 @@
      rtl_uString* aDirectoryUrl, 
      oslDirectoryCreationCallbackFunc aDirectoryCreationCallbackFunc, 
      void* pData);
-@@ -1176,7 +1176,7 @@
+@@ -1169,7 +1169,7 @@ oslFileError SAL_CALL osl_createDirector
  	@see osl_openFile()
  */
  
@@ -252,7 +658,7 @@
  
  
  /** Copy a file to a new destination. 
-@@ -1205,7 +1205,7 @@
+@@ -1198,7 +1198,7 @@ oslFileError SAL_CALL osl_removeFile( rt
  	@see	osl_removeFile()
  */
  
@@ -261,7 +667,7 @@
  
  
  /** Move a file or directory to a new destination or renames it. 
-@@ -1232,7 +1232,7 @@
+@@ -1225,7 +1225,7 @@ oslFileError SAL_CALL osl_copyFile( rtl_
  	@see osl_copyFile()
  */
  
@@ -270,7 +676,7 @@
  
  
  /**	Determine a valid unused canonical name for a requested name. 
-@@ -1256,7 +1256,7 @@
+@@ -1249,7 +1249,7 @@ oslFileError SAL_CALL osl_moveFile( rtl_
  	@see osl_getFileStatus()
  */
  
@@ -279,7 +685,7 @@
  
  
  /**	Convert a path relative to a given directory into an full qualified file URL.
-@@ -1294,7 +1294,7 @@
+@@ -1287,7 +1287,7 @@ oslFileError SAL_CALL osl_getCanonicalNa
  	@see	osl_getFileStatus()
  */
  
@@ -288,7 +694,7 @@
      rtl_uString* pustrBaseDirectoryURL, 
      rtl_uString *pustrRelativeFileURL, 
      rtl_uString **ppustrAbsoluteFileURL );
-@@ -1315,7 +1315,7 @@
+@@ -1308,7 +1308,7 @@ oslFileError SAL_CALL osl_getAbsoluteFil
  	@see osl_getSystemPathFromFileURL()
  */
  
@@ -297,7 +703,7 @@
  
  
  /**	Searche a full qualified system path or a file URL.
-@@ -1346,7 +1346,7 @@
+@@ -1339,7 +1339,7 @@ oslFileError SAL_CALL osl_getFileURLFrom
  	@see osl_getSystemPathFromFileURL()
  */
  
@@ -306,7 +712,7 @@
  
  
  /**	Convert a file URL into a system dependend path.
-@@ -1364,7 +1364,7 @@
+@@ -1357,7 +1357,7 @@ oslFileError SAL_CALL osl_searchFileURL(
  	@see osl_getFileURLFromSystemPath()
  */
  
@@ -315,7 +721,7 @@
  
  
  /** Function pointer representing the function called back from osl_abbreviateSystemPath
-@@ -1403,7 +1403,7 @@
+@@ -1396,7 +1396,7 @@ typedef sal_uInt32 (SAL_CALL *oslCalcTex
  	@see	oslCalcTextWidthFunc
  */
  
@@ -324,7 +730,7 @@
      rtl_uString *ustrSystemPath, 
      rtl_uString **pustrCompacted, 
      sal_uInt32 uMaxWidth, 
-@@ -1425,7 +1425,7 @@
+@@ -1418,7 +1418,7 @@ oslFileError SAL_CALL osl_abbreviateSyst
  	@see osl_getFileStatus()
  */
  
@@ -333,7 +739,7 @@
  
  
  /**	Set the file time.
-@@ -1450,7 +1450,7 @@
+@@ -1443,7 +1443,7 @@ oslFileError SAL_CALL osl_setFileAttribu
  	@see osl_getFileStatus()
  */
  
@@ -342,7 +748,7 @@
      rtl_uString *pustrFileURL,	
      const TimeValue *aCreationTime,
  	const TimeValue *aLastAccessTime,
-@@ -1467,7 +1467,7 @@
+@@ -1460,7 +1460,7 @@ oslFileError SAL_CALL osl_setFileTime( 
  	osl_File_E_NOENT no such file or directory not found
  */
  
@@ -351,7 +757,7 @@
  
  
  /** Creates a temporary file in the directory provided by the caller or the
-@@ -1522,7 +1522,7 @@
+@@ -1515,7 +1515,7 @@ oslFileError SAL_CALL osl_getTempDirURL(
  	@see    osl_getTempDirURL()	
  */
  
@@ -360,15 +766,15 @@
      rtl_uString*   pustrDirectoryURL, 
      oslFileHandle* pHandle, 
      rtl_uString**  ppustrTempFileURL);
-@@ -1532,5 +1532,3 @@
+@@ -1525,5 +1525,3 @@ oslFileError SAL_CALL osl_createTempFile
  #endif
  
  #endif	/* _OSL_FILE_H_ */
 -
 -
---- ./sal/inc/osl/process.h.opt	2005-09-08 14:30:44.000000000 +0000
-+++ ./sal/inc/osl/process.h	2005-10-31 16:29:51.000000000 +0000
-@@ -206,7 +206,7 @@
+--- ./sal/inc/osl/process.h.optimize~	2008-04-10 12:31:27.000000000 +0200
++++ ./sal/inc/osl/process.h	2008-07-07 20:12:51.795846689 +0200
+@@ -180,7 +180,7 @@ typedef void* oslProcess;
  	@see osl_freeProcessHandle
  	@see osl_loginUser
  */
@@ -377,7 +783,7 @@
      rtl_uString* ustrImageName,
  	rtl_uString* ustrArguments[],
      sal_uInt32  nArguments,
-@@ -292,7 +292,7 @@
+@@ -266,7 +266,7 @@ oslProcessError SAL_CALL osl_executeProc
  	@see osl_loginUser
  	@see osl_closeFile
  */
@@ -386,7 +792,7 @@
      rtl_uString* strImageName,
  	rtl_uString* ustrArguments[],
      sal_uInt32 nArguments,
-@@ -313,7 +313,7 @@
+@@ -287,7 +287,7 @@ oslProcessError SAL_CALL osl_executeProc
      @see osl_getProcess
      @see osl_joinProcess
   */
@@ -395,7 +801,7 @@
  
  
  /** @deprecated
-@@ -322,13 +322,13 @@
+@@ -296,13 +296,13 @@ oslProcessError SAL_CALL osl_terminatePr
  
      @return the process handle on success, NULL in all other cases
   */
@@ -411,7 +817,7 @@
  
  
  /** Wait for completation of the specified childprocess.
-@@ -336,7 +336,7 @@
+@@ -310,7 +310,7 @@ void SAL_CALL osl_freeProcessHandle(oslP
  	@return ols_Process_E_None
  	@see osl_executeProcess
  */
@@ -420,7 +826,7 @@
  
  /** Wait with a timeout for the completion of the specified child
      process.
-@@ -355,7 +355,7 @@
+@@ -329,7 +329,7 @@ oslProcessError SAL_CALL osl_joinProcess
  
      @see osl_executeProcess
  */
@@ -429,7 +835,7 @@
  
  /** Retrieves information about a Process
      @param Process [in] the process handle of the process
-@@ -372,7 +372,7 @@
+@@ -346,7 +346,7 @@ oslProcessError SAL_CALL osl_joinProcess
                          retrieved valid information fields.
      @return osl_Process_E_None on success, osl_Process_E_Unknown on failure.
   */
@@ -438,7 +844,7 @@
                                     oslProcessInfo* pInfo);
  
  /** Get the filename of the executable. 
-@@ -380,13 +380,13 @@
+@@ -354,13 +354,13 @@ oslProcessError SAL_CALL osl_getProcessI
  	@return osl_Process_E_None or does not return. 	
  	@see osl_executeProcess 
  */
@@ -454,7 +860,7 @@
  
  /** Get the nArg-th command-line argument passed to the main-function of this process.
      @param nArg [in] The number of the argument to return.
-@@ -394,7 +394,7 @@
+@@ -368,7 +368,7 @@ sal_uInt32 SAL_CALL osl_getCommandArgCou
  	@return osl_Process_E_None or does not return. 	
  	@see osl_executeProcess
  */
@@ -462,8 +868,8 @@
 +oslProcessError SAL_CALL SAL_DLLPUBLIC_EXPORT osl_getCommandArg(sal_uInt32 nArg, rtl_uString **strCommandArg);
  
  /** Set the command-line arguments as passed to the main-function of this process.
- 	@param argc [in] The number of elements in the argv array.
-@@ -403,13 +403,13 @@
+ 
+@@ -383,13 +383,13 @@ oslProcessError SAL_CALL osl_getCommandA
  	@see osl_getCommandArgCount
  	@see osl_getCommandArg
  */
@@ -479,7 +885,7 @@
  
  /** Get the working directory of the current process as a file URL. 
  
-@@ -417,7 +417,7 @@
+@@ -397,7 +397,7 @@ oslProcessError SAL_CALL osl_getEnvironm
  	@param	pustrWorkingDir [out] string that receives the working directory file URL.
  */
  
@@ -488,7 +894,7 @@
  
  /** Get the locale the process is currently running in. 
  
-@@ -428,7 +428,7 @@
+@@ -408,7 +408,7 @@ oslProcessError SAL_CALL osl_getProcessW
      @see osl_setProcessLocale
  */
  
@@ -497,7 +903,7 @@
  
  /** Change the locale of the process. 
  
-@@ -436,12 +436,12 @@
+@@ -416,12 +416,12 @@ oslProcessError SAL_CALL osl_getProcessL
      @see osl_getProcessLocale
  */
  
@@ -513,9 +919,9 @@
  
  #ifdef __cplusplus
  }
---- ./sal/inc/rtl/unload.h.opt	2005-09-08 14:43:39.000000000 +0000
-+++ ./sal/inc/rtl/unload.h	2005-10-31 16:29:51.000000000 +0000
-@@ -179,7 +179,7 @@
+--- ./sal/inc/rtl/unload.h.optimize~	2008-04-10 12:43:59.000000000 +0200
++++ ./sal/inc/rtl/unload.h	2008-07-07 20:12:51.796847095 +0200
+@@ -166,7 +166,7 @@ have to bother about registering.
  @param module a module handle as is obtained by osl_loadModule 
  @return sal_True - the module could be registered for unloading, sal_False otherwise 
  */
@@ -524,7 +930,7 @@
  
  /**
  The function revokes the registration of a module. By calling the function for 
-@@ -192,7 +192,7 @@
+@@ -179,7 +179,7 @@ there is no need to call this function u
  
  @param module a module handle as is obtained by osl_loadModule
  */
@@ -533,7 +939,7 @@
  /**
  This function sets off the unloading mechanism. At first it notifies the 
  unloading listeners in order to give them a chance to do cleanup and get 
-@@ -218,7 +218,7 @@
+@@ -205,7 +205,7 @@ registered listeners and release the ref
  @param libUnused span of time that a module must be unused to be unloaded. the 
  argument is optional.
  */
@@ -542,7 +948,7 @@
  
  /** 
  rtl_addUnloadingListener takes an argument of this type.
-@@ -240,7 +240,7 @@
+@@ -227,7 +227,7 @@ as it has been registered.
  @param this  - a value to distinguish different listener instances
  @return identifier which is used in rtl_removeUnloadingListener
  */
@@ -551,7 +957,7 @@
  
  /**
  Listeners (the callback functions) must be unregistered before the listener code 
-@@ -250,7 +250,7 @@
+@@ -237,7 +237,7 @@ registered when <code>component_canUnloa
  
  @param cookie is an identifier as returned by <code>rtl_addUnloadingListener</code> function.
  */
@@ -560,7 +966,7 @@
  
  
  /** 
-@@ -310,17 +310,17 @@
+@@ -297,17 +297,17 @@ typedef struct _rtl_StandardModuleCount
  /** Default implementation for <code>rtl_ModuleCount.acquire</code>. Use this function along with 
  <code>rtl_StandardModuleCount</code>.
  */
@@ -581,9 +987,9 @@
  
  
  #ifdef __cplusplus
---- ./solenv/inc/unxlngi6.mk.opt	2005-10-31 16:15:17.000000000 +0000
-+++ ./solenv/inc/unxlngi6.mk	2005-10-31 16:33:13.000000000 +0000
-@@ -64,7 +64,7 @@
+--- ./solenv/inc/unxlngi6.mk.optimize~	2008-07-07 20:10:05.917096526 +0200
++++ ./solenv/inc/unxlngi6.mk	2008-07-07 20:12:51.798847489 +0200
+@@ -60,7 +60,7 @@ JAVA_RUNTIME=-ljava_g
  
  # architecture dependent flags for the C and C++ compiler that can be changed by
  # exporting the variable ARCH_FLAGS="..." in the shell, which is used to start build
@@ -592,7 +998,7 @@
  
  # name of C++ Compiler
  CXX*=g++
-@@ -79,24 +79,24 @@
+@@ -75,24 +75,24 @@ CFLAGS+=-fmessage-length=0 -c
  
  # flags to enable build with symbols; required for crashdump feature
  .IF "$(ENABLE_SYMBOLS)"=="SMALL"
@@ -621,8 +1027,8 @@
 +CFLAGSCXX += -fvisibility-inlines-hidden # -fvisibility=hidden
  .ENDIF # "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
  
- # Compiler flags for compiling static object in single threaded environment with graphical user interface
-@@ -115,13 +115,13 @@
+ CFLAGS_CREATE_PCH=-x c++-header -I$(INCPCH) -DPRECOMPILED_HEADERS
+@@ -110,13 +110,13 @@ CFLAGSSLOCUIMT=$(PICSWITCH)
  # Compiler flags for profiling
  CFLAGSPROF=
  # Compiler flags for debugging
@@ -639,7 +1045,7 @@
  .ENDIF	# "$(PRODUCT)"!=""
  # Compiler flags for disabling optimizations
  CFLAGSNOOPT=-O0
-@@ -156,12 +156,12 @@
+@@ -170,12 +170,12 @@ LINKFLAGSSHLCUI= -shared
  
  LINKFLAGSTACK=
  LINKFLAGSPROF=
@@ -654,9 +1060,9 @@
  LINKVERSIONMAPFLAG=$(LINKFLAGSOPTIMIZE) -Wl,--version-script
  
  SONAME_SWITCH=-Wl,-h
---- ./store/inc/store/store.h.opt	2005-09-08 08:39:22.000000000 +0000
-+++ ./store/inc/store/store.h	2005-10-31 16:29:51.000000000 +0000
-@@ -53,7 +53,7 @@
+--- ./store/inc/store/store.h.optimize~	2008-04-10 16:16:35.000000000 +0200
++++ ./store/inc/store/store.h	2008-07-07 20:12:51.803847286 +0200
+@@ -46,7 +46,7 @@ typedef void* storeHandle;
      @param  Handle [in] the Handle.
      @return store_E_None upon success
   */
@@ -665,7 +1071,7 @@
  	storeHandle Handle
  ) SAL_THROW_EXTERN_C();
  
-@@ -63,7 +63,7 @@
+@@ -56,7 +56,7 @@ storeError SAL_CALL store_acquireHandle 
      @return store_E_None          upon success,
              store_E_InvalidHandle otherwise.
   */
@@ -674,7 +1080,7 @@
  	storeHandle Handle
  ) SAL_THROW_EXTERN_C();
  
-@@ -80,7 +80,7 @@
+@@ -73,7 +73,7 @@ typedef void* storeFileHandle;
      @param  phFile [out] the File Handle.
      @return store_E_None upon success
   */
@@ -683,7 +1089,7 @@
  	sal_uInt16       nPageSize,
  	storeFileHandle *phFile
  ) SAL_THROW_EXTERN_C();
-@@ -98,7 +98,7 @@
+@@ -91,7 +91,7 @@ storeError SAL_CALL store_createMemoryFi
  	@param  phFile [out] the File Handle.
      @return store_E_None upon success
   */
@@ -692,7 +1098,7 @@
  	rtl_uString     *pFilename,
  	storeAccessMode  eAccessMode,
  	sal_uInt16       nPageSize,
-@@ -111,7 +111,7 @@
+@@ -104,7 +104,7 @@ storeError SAL_CALL store_openFile (
      @return store_E_None upon     success,
              store_E_InvalidHandle otherwise.
   */
@@ -701,7 +1107,7 @@
  	storeFileHandle hFile
  ) SAL_THROW_EXTERN_C();
  
-@@ -120,7 +120,7 @@
+@@ -113,7 +113,7 @@ storeError SAL_CALL store_closeFile (
      @param  hFile [in] the File Handle.
      @return store_E_None upon success
   */
@@ -710,7 +1116,7 @@
  	storeFileHandle hFile
  ) SAL_THROW_EXTERN_C();
  
-@@ -130,7 +130,7 @@
+@@ -123,7 +123,7 @@ storeError SAL_CALL store_flushFile (
      @param  pnRefCount [out] number of open directories and streams.
      @return store_E_None upon success
   */
@@ -719,7 +1125,7 @@
  	storeFileHandle  hFile,
  	sal_uInt32      *pnRefCount
  ) SAL_THROW_EXTERN_C();
-@@ -141,7 +141,7 @@
+@@ -134,7 +134,7 @@ storeError SAL_CALL store_getFileReferer
      @param  pnSize [out] the file size in bytes.
      @return store_E_None upon success
   */
@@ -728,7 +1134,7 @@
  	storeFileHandle  hFile,
  	sal_uInt32      *pnSize
  ) SAL_THROW_EXTERN_C();
-@@ -154,7 +154,7 @@
+@@ -147,7 +147,7 @@ storeError SAL_CALL store_getFileSize (
      @param  pDstFilename [in] created with store_AccessCreate.
      @return store_E_None upon success
   */
@@ -737,7 +1143,7 @@
  	rtl_uString *pSrcFilename,
  	rtl_uString *pDstFilename
  ) SAL_THROW_EXTERN_C();
-@@ -176,7 +176,7 @@
+@@ -169,7 +169,7 @@ typedef void* storeDirectoryHandle;
      @param  phDirectory [out] the Directory Handle.
      @return store_E_None upon success
   */
@@ -746,7 +1152,7 @@
  	storeFileHandle       hFile,
  	rtl_uString          *pPath,
  	rtl_uString          *pName,
-@@ -190,7 +190,7 @@
+@@ -183,7 +183,7 @@ storeError SAL_CALL store_openDirectory 
      @return store_E_None          upon success,
              store_E_InvalidHandle otherwise.
   */
@@ -755,7 +1161,7 @@
  	storeDirectoryHandle hDirectory
  ) SAL_THROW_EXTERN_C();
  
-@@ -201,7 +201,7 @@
+@@ -194,7 +194,7 @@ storeError SAL_CALL store_closeDirectory
      @return store_E_None       upon success,
              store_E_NoMoreFile upon end of iteration.
   */
@@ -764,7 +1170,7 @@
  	storeDirectoryHandle  hDirectory,
  	storeFindData        *pFindData
  ) SAL_THROW_EXTERN_C();
-@@ -213,7 +213,7 @@
+@@ -206,7 +206,7 @@ storeError SAL_CALL store_findFirst (
      @return store_E_None       upon success,
              store_E_NoMoreFile upon end of iteration.
   */
@@ -773,7 +1179,7 @@
  	storeDirectoryHandle  hDirectory,
  	storeFindData        *pFindData
  ) SAL_THROW_EXTERN_C();
-@@ -235,7 +235,7 @@
+@@ -228,7 +228,7 @@ typedef void* storeStreamHandle;
      @param  phStrm [out] the Stream Handle.
      @return store_E_None upon success
   */
@@ -782,7 +1188,7 @@
  	storeFileHandle    hFile,
  	rtl_uString       *pPath,
  	rtl_uString       *pName,
-@@ -249,7 +249,7 @@
+@@ -242,7 +242,7 @@ storeError SAL_CALL store_openStream (
      @return store_E_None          upon success,
              store_E_InvalidHandle otherwise.
   */
@@ -791,7 +1197,7 @@
  	storeStreamHandle hStrm
  ) SAL_THROW_EXTERN_C();
  
-@@ -262,7 +262,7 @@
+@@ -255,7 +255,7 @@ storeError SAL_CALL store_closeStream (
      @param  pnDone [out] the number of bytes actually read.
      @return store_E_None upon success
   */
@@ -800,7 +1206,7 @@
  	storeStreamHandle  hStrm,
  	sal_uInt32         nOffset,
  	void              *pBuffer,
-@@ -279,7 +279,7 @@
+@@ -272,7 +272,7 @@ storeError SAL_CALL store_readStream (
      @param  pnDone [out] the number of bytes actually written.
      @return store_E_None upon success
   */
@@ -809,7 +1215,7 @@
  	storeStreamHandle  hStrm,
  	sal_uInt32         nOffset,
  	const void        *pBuffer,
-@@ -292,7 +292,7 @@
+@@ -285,7 +285,7 @@ storeError SAL_CALL store_writeStream (
      @param  hStrm [in] the Stream Handle.
      @return store_E_None upon success
   */
@@ -818,7 +1224,7 @@
  	storeStreamHandle hStrm
  ) SAL_THROW_EXTERN_C();
  
-@@ -302,7 +302,7 @@
+@@ -295,7 +295,7 @@ storeError SAL_CALL store_flushStream (
      @param  pnSize [out] the stream size in bytes.
      @return store_E_None upon success
   */
@@ -827,7 +1233,7 @@
  	storeStreamHandle  hStrm,
  	sal_uInt32        *pnSize
  ) SAL_THROW_EXTERN_C();
-@@ -313,7 +313,7 @@
+@@ -306,7 +306,7 @@ storeError SAL_CALL store_getStreamSize 
      @param  nSize [in] the new stream size in bytes.
      @return store_E_None upon success
   */
@@ -836,7 +1242,7 @@
  	storeStreamHandle hStrm,
  	sal_uInt32        nSize
  ) SAL_THROW_EXTERN_C();
-@@ -329,7 +329,7 @@
+@@ -322,7 +322,7 @@ storeError SAL_CALL store_setStreamSize 
      @param  pnAttrib [out] the resulting attributes, may be NULL.
      @return store_E_None upon success
   */
@@ -845,7 +1251,7 @@
  	storeFileHandle hFile,
  	rtl_uString    *pPath,
  	rtl_uString    *pName,
-@@ -351,7 +351,7 @@
+@@ -344,7 +344,7 @@ storeError SAL_CALL store_attrib (
      @param  pDstName [in] the Destination name
      @return store_E_None upon success
   */
@@ -854,7 +1260,7 @@
  	storeFileHandle hFile,
  	rtl_uString *pSrcPath, rtl_uString *pSrcName,
  	rtl_uString *pDstPath, rtl_uString *pDstName
-@@ -370,7 +370,7 @@
+@@ -363,7 +363,7 @@ storeError SAL_CALL store_link (
      @param  pDstName [in] the Destination name
      @return store_E_None upon success
   */
@@ -863,7 +1269,7 @@
  	storeFileHandle hFile,
  	rtl_uString *pSrcPath, rtl_uString *pSrcName,
  	rtl_uString *pDstPath, rtl_uString *pDstName
-@@ -385,7 +385,7 @@
+@@ -378,7 +378,7 @@ storeError SAL_CALL store_symlink (
      @param  pDstName [in] the Destination name
      @return store_E_None upon success
   */
@@ -872,7 +1278,7 @@
  	storeFileHandle hFile,
  	rtl_uString *pSrcPath, rtl_uString *pSrcName,
  	rtl_uString *pDstPath, rtl_uString *pDstName
-@@ -398,7 +398,7 @@
+@@ -391,7 +391,7 @@ storeError SAL_CALL store_rename (
      @param  pName [in] the entry name
      @return store_E_None upon success
   */
@@ -881,409 +1287,3 @@
  	storeFileHandle hFile,
  	rtl_uString    *pPath,
  	rtl_uString    *pName
---- ./registry/inc/registry/writer.h.opt	2005-09-09 05:14:13.000000000 +0000
-+++ ./registry/inc/registry/writer.h	2005-10-31 16:29:51.000000000 +0000
-@@ -84,7 +84,7 @@
-     rtl_uString const * fileName, RTTypeClass typeClass, sal_Bool published,
-     rtl_uString const * typeName, sal_uInt16 superTypeCount,
-     sal_uInt16 fieldCount, sal_uInt16 methodCount, sal_uInt16 referenceCount)
--    SAL_THROW_EXTERN_C();
-+    SAL_THROW_EXTERN_C() SAL_DLLPUBLIC_EXPORT;
- 
- /**
-    Destroys a type writer.
-@@ -94,7 +94,7 @@
- 
-    @since UDK 3.2.0
-  */
--void SAL_CALL typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C();
-+void SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_destroy(void * handle) SAL_THROW_EXTERN_C();
- 
- /**
-    Sets the type name of a super type of a type writer.
-@@ -111,7 +111,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setSuperTypeName(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setSuperTypeName(
-     void * handle, sal_uInt16 index, rtl_uString const * typeName)
-         SAL_THROW_EXTERN_C();
- 
-@@ -141,7 +141,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setFieldData(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setFieldData(
-     void * handle, sal_uInt16 index, rtl_uString const * documentation,
-     rtl_uString const * fileName, RTFieldAccess flags, rtl_uString const * name,
-     rtl_uString const * typeName, RTValueType valueType,
-@@ -172,7 +172,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setMethodData(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodData(
-     void * handle, sal_uInt16 index, rtl_uString const * documentation,
-     RTMethodMode flags, rtl_uString const * name,
-     rtl_uString const * returnTypeName, sal_uInt16 parameterCount,
-@@ -201,7 +201,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setMethodParameterData(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodParameterData(
-     void * handle, sal_uInt16 methodIndex, sal_uInt16 parameterIndex,
-     RTParamMode flags, rtl_uString const * name, rtl_uString const * typeName)
-     SAL_THROW_EXTERN_C();
-@@ -224,7 +224,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setMethodExceptionTypeName(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setMethodExceptionTypeName(
-     void * handle, sal_uInt16 methodIndex, sal_uInt16 exceptionIndex,
-     rtl_uString const * typeName)
-     SAL_THROW_EXTERN_C();
-@@ -250,7 +250,7 @@
- 
-    @since UDK 3.2.0
-  */
--sal_Bool SAL_CALL typereg_writer_setReferenceData(
-+sal_Bool SAL_CALL SAL_DLLPUBLIC_EXPORT typereg_writer_setReferenceData(
-     void * handle, sal_uInt16 index, rtl_uString const * documentation,
-     RTReferenceType sort, RTFieldAccess flags, rtl_uString const * typeName)
-     SAL_THROW_EXTERN_C();
-@@ -268,7 +268,7 @@
-    and <code>size</code> is not modified
-  */
- void const * SAL_CALL typereg_writer_getBlob(void * handle, sal_uInt32 * size)
--    SAL_THROW_EXTERN_C();
-+    SAL_THROW_EXTERN_C() SAL_DLLPUBLIC_EXPORT;
- 
- #ifdef __cplusplus
- }
---- ./registry/inc/registry/registry.h.opt	2005-09-09 05:12:56.000000000 +0000
-+++ ./registry/inc/registry/registry.h	2005-10-31 16:29:51.000000000 +0000
-@@ -60,7 +60,7 @@
-                      reg_closeKey. If the function fails, phNewKey is NULL.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_createKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createKey(RegKeyHandle hKey, 
- 										 rtl_uString* keyName, 
- 										 RegKeyHandle* phNewKey);
- 
-@@ -75,7 +75,7 @@
-                      reg_closeKey. If the function fails, phNewKey is NULL.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_openKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openKey(RegKeyHandle hKey, 
- 					  				   rtl_uString* keyName, 
- 					  				   RegKeyHandle* phOpenKey);
- 					  
-@@ -93,7 +93,7 @@
- 	@param	pnSubKeys specifies the length of the array (the number of open subkeys).
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_openSubKeys(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openSubKeys(RegKeyHandle hKey, 
- 						  				   rtl_uString* keyName, 
- 						  				   RegKeyHandle** pphSubKeys, 
- 						  				   sal_uInt32* pnSubKeys);
-@@ -106,7 +106,7 @@
- 	@param	nSubKeys specifies the length of the array (the number of subkeys to closed).
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_closeSubKeys(RegKeyHandle* phSubKeys, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeSubKeys(RegKeyHandle* phSubKeys, 
- 						   					sal_uInt32 nSubKeys);
- 
- 
-@@ -118,7 +118,7 @@
-                     be deleted.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_deleteKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_deleteKey(RegKeyHandle hKey, 
- 										 rtl_uString* keyName);
- 
- 
-@@ -128,7 +128,7 @@
-                  The memory of the variable specifying the key will be freed.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey);
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeKey(RegKeyHandle hKey);
- 
- 
- /**	This function returns the name of a key.
-@@ -136,7 +136,7 @@
- 	@param	hKey identifies a currently open key which name will be returned.
- 	@param	pKeyName contains the keyname if succeeds else an empty string. 
- */
--const RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
-+const RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
- 
- 
- /**	This function sets a value of a key.
-@@ -151,7 +151,7 @@
- 	@param	valueSize specifies the size of pData in bytes
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_setValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setValue(RegKeyHandle hKey, 
- 					   					rtl_uString* keyName, 
- 					   					RegValueType valueType, 
- 					   					RegValue pData, 
-@@ -167,7 +167,7 @@
- 	@param	len specifies the len of pValueList.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_setLongListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setLongListValue(RegKeyHandle hKey, 
- 					   		 	  				rtl_uString* keyName, 
- 			   			 		  				sal_Int32* pValueList, 
- 			   			 		  				sal_uInt32 len);
-@@ -182,7 +182,7 @@
- 	@param	len specifies the len of pValueList.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_setStringListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setStringListValue(RegKeyHandle hKey, 
- 					   		 	  			  	  rtl_uString* keyName, 
- 			   			 		  			  	  sal_Char** pValueList, 
- 			   			 		  			  	  sal_uInt32 len);
-@@ -197,7 +197,7 @@
- 	@param	len	specifies the len of pValueList.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_setUnicodeListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_setUnicodeListValue(RegKeyHandle hKey, 
- 					   		 	  			   	   rtl_uString* keyName, 
- 			   			 		  			   	   sal_Unicode** pValueList, 
- 			   			 		  			   	   sal_uInt32 len);
-@@ -214,7 +214,7 @@
- 	@param	pValueSize returns the size of the value in bytes
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_getValueInfo(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getValueInfo(RegKeyHandle hKey, 
- 						   					rtl_uString* keyName, 
- 						   					RegValueType* pValueType, 
- 						   					sal_uInt32* pValueSize);
-@@ -230,7 +230,7 @@
- 	@param	pData points to an allocated memory block receiving the data of the value. 
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_getValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getValue(RegKeyHandle hKey, 
- 					   					rtl_uString* keyName, 
- 					   					RegValue pData);
- 
-@@ -244,7 +244,7 @@
- 	@param	pLen returns the length of the value list.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_getLongListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getLongListValue(RegKeyHandle hKey, 
- 					   		 	  				rtl_uString* keyName, 
- 			   			 		  				sal_Int32** pValueList, 
- 			   			 		  				sal_uInt32* pLen);
-@@ -259,7 +259,7 @@
- 	@param	pLen returns the length of the value list.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_getStringListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getStringListValue(RegKeyHandle hKey, 
- 				   			  					  rtl_uString* keyName, 
- 				   			  					  sal_Char*** pValueList,
- 				   			  					  sal_uInt32* pLen);
-@@ -274,7 +274,7 @@
- 	@param	pLen returns the length of the value list.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_getUnicodeListValue(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getUnicodeListValue(RegKeyHandle hKey, 
- 					   		 	  				   rtl_uString* keyName, 
- 			   			 		  				   sal_Unicode*** pValueList, 
- 			   			 		  				   sal_uInt32* pLen);
-@@ -287,7 +287,7 @@
- 	@param	len specifies the length of the value list.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_freeValueList(RegValueType valueType, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_freeValueList(RegValueType valueType, 
- 				   			  				 RegValue pValueList, 
- 				   			  				 sal_uInt32 len);
- 
-@@ -304,7 +304,7 @@
-                        link will be opened.
- 	@return	REG_NO_ERROR if succeeds else an error code.    
- */
--RegError REGISTRY_CALLTYPE reg_createLink(RegKeyHandle hKey,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createLink(RegKeyHandle hKey,
- 				  			   		      rtl_uString* linkName, 
- 										  rtl_uString* linkTarget);
- 
-@@ -315,7 +315,7 @@
- 	@param	linkName points to a null terminated string specifying the name of the link.
- 	@return	REG_NO_ERROR if succeeds else an error code.    
- */
--RegError REGISTRY_CALLTYPE reg_deleteLink(RegKeyHandle hKey,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_deleteLink(RegKeyHandle hKey,
- 								  		  rtl_uString* linkName);
- 
- /** This function returns the type of a key.
-@@ -328,7 +328,7 @@
-     @param  pKeyType returns the type of the key.   
- 	@return	REG_NO_ERROR if succeeds else an error code.    
- */
--RegError REGISTRY_CALLTYPE reg_getKeyType(RegKeyHandle hKey,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getKeyType(RegKeyHandle hKey,
- 										  rtl_uString* keyName,
- 					   					  RegKeyType* pKeyType);
- 
-@@ -339,7 +339,7 @@
- 	@param	pLinkTarget contains the linktarget if succeeds else an empty string.
- 	@return	REG_NO_ERROR if succeeds else an error code.    
- */
--RegError REGISTRY_CALLTYPE reg_getLinkTarget(RegKeyHandle hKey,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getLinkTarget(RegKeyHandle hKey,
- 											 rtl_uString* linkName,
- 						  					 rtl_uString** pLinkTarget);
- 
-@@ -352,7 +352,7 @@
-                     The name of hKey together with keyName will be resolved from links.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
-  */
--RegError REGISTRY_CALLTYPE reg_getResolvedKeyName(RegKeyHandle hKey,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getResolvedKeyName(RegKeyHandle hKey,
- 											  	  rtl_uString* keyName,
- 											 	  sal_Bool firstLinkOnly,
- 							  				  	  rtl_uString** pResolvedName);
-@@ -369,7 +369,7 @@
- 			            registry information.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_loadKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_loadKey(RegKeyHandle hKey, 
- 					  				   rtl_uString* keyName, 
- 					  				   rtl_uString* regFileName);
- 
-@@ -386,7 +386,7 @@
- 			            registry information.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_saveKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_saveKey(RegKeyHandle hKey, 
- 					  				   rtl_uString* keyName, 
- 					  				   rtl_uString* regFileName);
- 
-@@ -406,7 +406,7 @@
- 	@param	bReport if TRUE the function reports warnings on stdout if a key already exists. 
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_mergeKey(RegKeyHandle hKey, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_mergeKey(RegKeyHandle hKey, 
- 					   					rtl_uString* keyName, 
- 					   					rtl_uString* regFileName,
- 					   					sal_Bool bWarnings,
-@@ -419,7 +419,7 @@
- 	@param 	phRegistry points to a handle of the new registry if the function succeeds otherwise NULL.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_createRegistry(rtl_uString* registryName, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_createRegistry(rtl_uString* registryName, 
- 							 				  RegHandle* phRegistry);
- 
- 
-@@ -429,7 +429,7 @@
- 	@param 	phRootKey points to a handle of the open root key if the function succeeds otherwise NULL.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openRootKey(RegHandle hRegistry, 
- 						  				   RegKeyHandle* phRootKey);
- 
- 
-@@ -439,7 +439,7 @@
- 	@param  pName returns the name of the registry if the function succeeds otherwise an empty string. 
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--const RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
-+const RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_getName(RegHandle hRegistry, rtl_uString** pName);
- 
- 
- /**	This function returns the access mode of the registry.
-@@ -447,7 +447,7 @@
- 	@param	hReg identifies a currently open registry.
- 	@return	TRUE if accessmode is read only else FALSE. 
- */
--sal_Bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
-+sal_Bool REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_isReadOnly(RegHandle hReg);
- 
- 
- /**	This function opens a registry with the specified name.
-@@ -457,7 +457,7 @@
- 	@param 	accessMode specifies the accessmode of the registry, REG_READONLY or REG_READWRITE.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, 
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_openRegistry(rtl_uString* registryName, 
- 						   					RegHandle* phRegistry,
- 						   					RegAccessMode accessMode);
- 
-@@ -467,7 +467,7 @@
- 	@param	hRegistry identifies a currently open registry which should be closed.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry);
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_closeRegistry(RegHandle hRegistry);
- 
- 
- /**	This function destroys a registry.
-@@ -477,7 +477,7 @@
-                          name is NULL the registry itselfs will be destroyed.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_destroyRegistry(RegHandle hRegistry,
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_destroyRegistry(RegHandle hRegistry,
- 											   rtl_uString* registryName);
- 
- 
-@@ -488,7 +488,7 @@
- 	@param	hKey identifies a currently open key which content will be reported.
- 	@return	REG_NO_ERROR if succeeds else an error code. 
- */
--RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey);
-+RegError REGISTRY_CALLTYPE SAL_DLLPUBLIC_EXPORT reg_dumpRegistry(RegKeyHandle hKey);
- 
- #ifdef __cplusplus
- }
---- ./salhelper/inc/salhelper/dynload.hxx.opt	2005-09-08 16:58:03.000000000 +0000
-+++ ./salhelper/inc/salhelper/dynload.hxx	2005-10-31 16:29:51.000000000 +0000
-@@ -53,7 +53,7 @@
- 
- /** The ORealDynamicLoader is an implementation helper class for the template loader ODynamicLoader.
-  */   
--class ORealDynamicLoader
-+class SAL_DLLPUBLIC_EXPORT ORealDynamicLoader
- {
- public:
-     /** initializes the loader, loads the library and call the initialization fucntion.
---- icu/makefile.mk.ark	2008-01-08 13:26:41.000000000 +0100
-+++ icu/makefile.mk	2008-01-08 13:27:07.000000000 +0100
-@@ -77,8 +77,8 @@
- icu_LDFLAGS+=-Wl,-z,noexecstack
- .ENDIF
- 
--icu_CFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CFLAGS)
--icu_CXXFLAGS+=-O $(ARCH_FLAGS) $(EXTRA_CFLAGS)
-+icu_CFLAGS+=$(CFLAGSOPT) $(ARCH_FLAGS) $(EXTRA_CFLAGS)
-+icu_CXXFLAGS+=$(CFLAGSOPT) $(ARCH_FLAGS) $(EXTRA_CFLAGS)
- 
- # until someone introduces SOLARIS 64-bit builds
- .IF "$(OS)"=="SOLARIS"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]