summaryrefslogtreecommitdiff
path: root/basic/source/classes/sbunoobj.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-07 01:07:51 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-08 05:34:20 +0100
commit56f3dbffdf5b3264c1c71201733e3ff6bb5e48cb (patch)
treee00509b726c470c3e97de33feb8545c5bca12041 /basic/source/classes/sbunoobj.cxx
parent27f7770e3e9be60b0caef8469666474151a753fb (diff)
Simplify a bit
Change-Id: I618b0f8bcb2e8032ee12367c73e1136685f66b3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176183 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic/source/classes/sbunoobj.cxx')
-rw-r--r--basic/source/classes/sbunoobj.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 77e3541cf157..3199340e8b89 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2302,7 +2302,7 @@ SbUnoObject::SbUnoObject( const OUString& aName_, const Any& aUnoObj_ )
Remove( u"Parent"_ustr, SbxClassType::DontCare );
// check the type of the objects
- TypeClass eType = aUnoObj_.getValueType().getTypeClass();
+ TypeClass eType = aUnoObj_.getValueTypeClass();
Reference< XInterface > x;
if( eType == TypeClass_INTERFACE )
{
@@ -2353,7 +2353,7 @@ SbUnoObject::SbUnoObject( const OUString& aName_, const Any& aUnoObj_ )
// insert the real name of the class
if( aName_.isEmpty() )
{
- aClassName_ = aUnoObj_.getValueType().getTypeName();
+ aClassName_ = aUnoObj_.getValueTypeName();
bSetClassName = true;
}
StructRefInfo aThisStruct( maTmpUnoObj, maTmpUnoObj.getValueType(), 0 );
@@ -3127,7 +3127,7 @@ void RTL_Impl_IsUnoStruct( SbxArray& rPar )
return;
}
Any aAny = obj->getUnoAny();
- TypeClass eType = aAny.getValueType().getTypeClass();
+ TypeClass eType = aAny.getValueTypeClass();
if( eType == TypeClass_STRUCT )
{
refVar->PutBool( true );
@@ -3160,7 +3160,7 @@ void RTL_Impl_EqualUnoObjects( SbxArray& rPar )
return;
}
Any aAny1 = obj1->getUnoAny();
- TypeClass eType1 = aAny1.getValueType().getTypeClass();
+ TypeClass eType1 = aAny1.getValueTypeClass();
if( eType1 != TypeClass_INTERFACE )
{
return;
@@ -3180,7 +3180,7 @@ void RTL_Impl_EqualUnoObjects( SbxArray& rPar )
return;
}
Any aAny2 = obj2->getUnoAny();
- TypeClass eType2 = aAny2.getValueType().getTypeClass();
+ TypeClass eType2 = aAny2.getValueTypeClass();
if( eType2 != TypeClass_INTERFACE )
{
return;
@@ -3377,7 +3377,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
try
{
Any aValue = xHarryName->getByHierarchicalName( aNewName );
- TypeClass eType = aValue.getValueType().getTypeClass();
+ TypeClass eType = aValue.getValueTypeClass();
// Interface located? Then it is a class
if( eType == TypeClass_INTERFACE )