summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 12:31:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 12:38:27 +0200
commit8f6c55a839d790c9268c1d0686f3eaf2f23484cb (patch)
tree1b10a5e10b66c3c8dcf0a8bf295167563e0f6828 /basic
parente0f6559776b515a7d51331c7e848ac785e751c6a (diff)
Replace SV_DECL/IMPL_REF macros with SvRef template
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/sbprop.hxx2
-rw-r--r--basic/source/inc/sbjsmeth.hxx2
-rw-r--r--basic/source/inc/sbunoobj.hxx10
3 files changed, 7 insertions, 7 deletions
diff --git a/basic/inc/sbprop.hxx b/basic/inc/sbprop.hxx
index 678de56f472b..b736aee8311b 100644
--- a/basic/inc/sbprop.hxx
+++ b/basic/inc/sbprop.hxx
@@ -41,7 +41,7 @@ public:
SbModule* GetModule() { return pMod; }
};
-SV_DECL_IMPL_REF(SbProperty)
+typedef tools::SvRef<SbProperty> SbPropertyRef;
class BASIC_DLLPUBLIC SbProcedureProperty : public SbxProperty
{
diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx
index 8f790fa37b2e..2b744a0234ec 100644
--- a/basic/source/inc/sbjsmeth.hxx
+++ b/basic/source/inc/sbjsmeth.hxx
@@ -37,7 +37,7 @@ public:
TYPEINFO_OVERRIDE();
};
-SV_DECL_IMPL_REF(SbJScriptMethod)
+typedef tools::SvRef<SbJScriptMethod> SbJScriptMethodRef;
#endif
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index ae9cb67ee3d3..dec4e34448ab 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -97,7 +97,7 @@ public:
::com::sun::star::uno::Any getUnoAny();
void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
};
-SV_DECL_IMPL_REF(SbUnoStructRefObject);
+typedef tools::SvRef<SbUnoStructRefObject> SbUnoStructRefObjectRef;
class SbUnoObject: public SbxObject
{
@@ -143,7 +143,7 @@ public:
bool isNativeCOMObject( void )
{ return bNativeCOMObject; }
};
-SV_DECL_IMPL_REF(SbUnoObject);
+typedef tools::SvRef<SbUnoObject> SbUnoObjectRef;
// #67781 delete return values of the uno-methods
void clearUnoMethods( void );
@@ -240,7 +240,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass >& getUnoClass( void ) { return m_xClass; }
};
-SV_DECL_IMPL_REF(SbUnoClass);
+typedef tools::SvRef<SbUnoClass> SbUnoClassRef;
// function to find a global identifier in
@@ -267,7 +267,7 @@ public:
void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
};
-SV_DECL_IMPL_REF(SbUnoService);
+typedef tools::SvRef<SbUnoService> SbUnoServiceRef;
SbUnoService* findUnoService( const OUString& rName );
@@ -307,7 +307,7 @@ public:
void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
};
-SV_DECL_IMPL_REF(SbUnoSingleton);
+typedef tools::SvRef<SbUnoSingleton> SbUnoSingletonRef;
SbUnoSingleton* findUnoSingleton( const OUString& rName );