diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-20 09:54:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-07-20 16:26:47 +0100 |
commit | bfe1aa0e79cd1b849721760e89f254870b3f8000 (patch) | |
tree | 354e42a284d7748d1d8c5f06b375d7b6106f6d05 /basic/inc | |
parent | 9c497e9ed128f341846072b1c85271d9208290a4 (diff) |
XubString->rtl::OUString
Change-Id: I584ff580e3c8eee401f07c858ecbd63e5b0bf980
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/basic/sbmod.hxx | 4 | ||||
-rw-r--r-- | basic/inc/basic/sbobjmod.hxx | 10 | ||||
-rw-r--r-- | basic/inc/basic/sbstar.hxx | 2 | ||||
-rw-r--r-- | basic/inc/basic/sbstdobj.hxx | 8 | ||||
-rw-r--r-- | basic/inc/basic/sbx.hxx | 6 | ||||
-rw-r--r-- | basic/inc/basic/sbxfac.hxx | 4 | ||||
-rw-r--r-- | basic/inc/basic/sbxobj.hxx | 4 |
7 files changed, 19 insertions, 19 deletions
diff --git a/basic/inc/basic/sbmod.hxx b/basic/inc/basic/sbmod.hxx index 25d83a126fe6..f98121112a78 100644 --- a/basic/inc/basic/sbmod.hxx +++ b/basic/inc/basic/sbmod.hxx @@ -99,7 +99,7 @@ public: virtual void SetParent( SbxObject* ); virtual void Clear(); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); virtual const String& GetSource() const; const ::rtl::OUString& GetSource32() const; @@ -164,7 +164,7 @@ public: ~SbClassModuleObject(); // Overridden to support NameAccess etc. - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); virtual void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ); diff --git a/basic/inc/basic/sbobjmod.hxx b/basic/inc/basic/sbobjmod.hxx index 1e37280eb44f..d1f1c0f8f066 100644 --- a/basic/inc/basic/sbobjmod.hxx +++ b/basic/inc/basic/sbobjmod.hxx @@ -41,7 +41,7 @@ protected: public: TYPEINFO(); SbObjModule( const String& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVbaCompatible ); - virtual SbxVariable* Find( const XubString& rName, SbxClassType t ); + virtual SbxVariable* Find( const rtl::OUString& rName, SbxClassType t ); virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType, const SfxHint& rHint, const TypeId& rHintType ); @@ -68,7 +68,7 @@ public: TYPEINFO(); SbUserFormModule( const String& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); virtual ~SbUserFormModule(); - virtual SbxVariable* Find( const XubString& rName, SbxClassType t ); + virtual SbxVariable* Find( const rtl::OUString& rName, SbxClassType t ); void ResetApiObj( bool bTriggerTerminateEvent = true ); void Unload(); void Load(); @@ -94,11 +94,11 @@ class BASIC_DLLPUBLIC SbUserFormModuleInstance : public SbUserFormModule SbUserFormModule* m_pParentModule; public: - SbUserFormModuleInstance( SbUserFormModule* pParentModule, const String& rName, + SbUserFormModuleInstance( SbUserFormModule* pParentModule, const rtl::OUString& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); - virtual sal_Bool IsClass( const String& ) const; - virtual SbxVariable* Find( const XubString& rName, SbxClassType t ); + virtual sal_Bool IsClass( const rtl::OUString& ) const; + virtual SbxVariable* Find( const rtl::OUString& rName, SbxClassType t ); }; diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx index 96a9c39d0198..1b0cd71972c4 100644 --- a/basic/inc/basic/sbstar.hxx +++ b/basic/inc/basic/sbstar.hxx @@ -126,7 +126,7 @@ public: static String GetErrorMsg(); static xub_StrLen GetErl(); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); virtual sal_Bool Call( const String&, SbxArray* = NULL ); SbxArray* GetModules() { return pModules; } diff --git a/basic/inc/basic/sbstdobj.hxx b/basic/inc/basic/sbstdobj.hxx index 6b2955909304..c9befbec1382 100644 --- a/basic/inc/basic/sbstdobj.hxx +++ b/basic/inc/basic/sbstdobj.hxx @@ -36,7 +36,7 @@ class BASIC_DLLPUBLIC SbStdFactory : public SbxFactory public: SbStdFactory(); - virtual SbxObject* CreateObject( const String& rClassName ); + virtual SbxObject* CreateObject( const rtl::OUString& rClassName ); }; //-------------------- @@ -59,7 +59,7 @@ public: TYPEINFO(); SbStdPicture(); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); Graphic GetGraphic() const { return aGraphic; } void SetGraphic( const Graphic& rGrf ) { aGraphic = rGrf; } @@ -93,7 +93,7 @@ public: TYPEINFO(); SbStdFont(); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); void SetBold( sal_Bool bB ) { bBold = bB; } sal_Bool IsBold() const { return bBold; } @@ -131,7 +131,7 @@ public: TYPEINFO(); SbStdClipboard(); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); }; #endif diff --git a/basic/inc/basic/sbx.hxx b/basic/inc/basic/sbx.hxx index 51e47c76e9f2..04b46de8ad06 100644 --- a/basic/inc/basic/sbx.hxx +++ b/basic/inc/basic/sbx.hxx @@ -88,7 +88,7 @@ public: SbxInfo(); SbxInfo( const String&, sal_uInt32 ); - void AddParam( const String&, SbxDataType, sal_uInt16=SBX_READ ); + void AddParam( const rtl::OUString&, SbxDataType, sal_uInt16=SBX_READ ); const SbxParamInfo* GetParam( sal_uInt16 n ) const; // index starts with 1! const String& GetComment() const { return aComment; } const String& GetHelpFile() const { return aHelpFile; } @@ -182,7 +182,7 @@ public: const String& GetAlias( sal_uInt16 ); void PutAlias( const String&, sal_uInt16 ); SbxVariable* FindUserData( sal_uInt32 nUserData ); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); // Additional methods for 32-bit indices sal_uInt32 Count32() const; @@ -274,7 +274,7 @@ public: SbxCollection( const SbxCollection& ); SbxCollection& operator=( const SbxCollection& ); virtual SbxVariable* FindUserData( sal_uInt32 nUserData ); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); virtual void Clear(); }; diff --git a/basic/inc/basic/sbxfac.hxx b/basic/inc/basic/sbxfac.hxx index af73df0e5bfa..e36cbe6a5948 100644 --- a/basic/inc/basic/sbxfac.hxx +++ b/basic/inc/basic/sbxfac.hxx @@ -21,11 +21,11 @@ #define __SBX_SBX_FACTORY_HXX #include <basic/sbxdef.hxx> +#include <rtl/ustring.hxx> #include "basicdllapi.h" class SbxBase; class SbxObject; -class String; class BASIC_DLLPUBLIC SbxFactory { @@ -35,7 +35,7 @@ public: SbxFactory( sal_Bool bLast=sal_False ) { bHandleLast = bLast; } sal_Bool IsHandleLast( void ) { return bHandleLast; } virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 = SBXCR_SBX ); - virtual SbxObject* CreateObject( const String& ); + virtual SbxObject* CreateObject( const rtl::OUString& ); }; #endif diff --git a/basic/inc/basic/sbxobj.hxx b/basic/inc/basic/sbxobj.hxx index 9a0c4c3e59dc..e65f71bbbf49 100644 --- a/basic/inc/basic/sbxobj.hxx +++ b/basic/inc/basic/sbxobj.hxx @@ -56,7 +56,7 @@ public: virtual SbxClassType GetClass() const; virtual void Clear(); - virtual sal_Bool IsClass( const String& ) const; + virtual sal_Bool IsClass( const rtl::OUString& ) const; const String& GetClassName() const { return aClassName; } void SetClassName( const String &rNew ) { aClassName = rNew; } // Default-Property @@ -64,7 +64,7 @@ public: void SetDfltProperty( const String& r ); // Search for an element virtual SbxVariable* FindUserData( sal_uInt32 nUserData ); - virtual SbxVariable* Find( const String&, SbxClassType ); + virtual SbxVariable* Find( const rtl::OUString&, SbxClassType ); SbxVariable* FindQualified( const String&, SbxClassType ); // Quick-Call-Interface for Methods virtual sal_Bool Call( const String&, SbxArray* = NULL ); |