summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-10 09:34:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-10 14:50:59 +0200
commitfbc038cc4f4a12f8302ce5b3bd7d739bd66a674e (patch)
treed6cc189748e5980420cc0611b44b28ec4183ea25 /basic
parent8ccffe4e7fb6abf6fa3ba9187007e9d8af116baf (diff)
an uno -> a uno
Change-Id: I538db88f8477dd2d2ad25c372928fec6c11d979d Reviewed-on: https://gerrit.libreoffice.org/72105 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbunoobj.cxx10
-rw-r--r--basic/source/inc/sbunoobj.hxx2
-rw-r--r--basic/source/runtime/runtime.cxx8
-rw-r--r--basic/source/uno/namecont.cxx2
4 files changed, 11 insertions, 11 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 0ece9c2d24ea..0896c8b39ebb 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -108,7 +108,7 @@ static char const ID_DBG_METHODS[] = "Dbg_Methods";
static char const aSeqLevelStr[] = "[]";
-// Gets the default property for an uno object. Note: There is some
+// Gets the default property for a uno object. Note: There is some
// redirection built in. The property name specifies the name
// of the default property.
@@ -2824,7 +2824,7 @@ Any SbUnoObject::getUnoAny()
return aRetAny;
}
-// help method to create an Uno-Struct per CoreReflection
+// help method to create a Uno-Struct per CoreReflection
static SbUnoObject* Impl_CreateUnoStruct( const OUString& aClassName )
{
// get CoreReflection
@@ -2869,7 +2869,7 @@ SbxObject* SbUnoFactory::CreateObject( const OUString& rClassName )
// Provisional interface for the UNO-Connection
-// Deliver a SbxObject, that wrap an Uno-Interface
+// Deliver a SbxObject, that wrap a Uno-Interface
SbxObjectRef GetSbUnoObject( const OUString& aName, const Any& aUnoObj_ )
{
return new SbUnoObject( aName, aUnoObj_ );
@@ -3395,7 +3395,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
}
}
- // An UNO service?
+ // A UNO service?
if( !pRes )
{
SbUnoService* pUnoService = findUnoService( aNewName );
@@ -3407,7 +3407,7 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType )
}
}
- // An UNO singleton?
+ // A UNO singleton?
if( !pRes )
{
SbUnoSingleton* pUnoSingleton = findUnoSingleton( aNewName );
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index 8cc966da66fa..1116767e34ca 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -209,7 +209,7 @@ public:
virtual SbxObject* CreateObject( const OUString& ) override;
};
-// wrapper for an uno-class
+// wrapper for a uno-class
class SbUnoClass : public SbxObject
{
const css::uno::Reference< css::reflection::XIdlClass > m_xClass;
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 846b6c5765e2..3baba08b2f8a 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1597,8 +1597,8 @@ static bool checkUnoStructCopy( bool bVBA, SbxVariableRef const & refVal, SbxVar
SbUnoObject* pUnoVal = dynamic_cast<SbUnoObject*>( xValObj.get() );
SbUnoStructRefObject* pUnoStructVal = dynamic_cast<SbUnoStructRefObject*>( xValObj.get() );
Any aAny;
- // make doubly sure value is either an Uno object or
- // an uno struct
+ // make doubly sure value is either a Uno object or
+ // a uno struct
if ( pUnoVal || pUnoStructVal )
aAny = pUnoVal ? pUnoVal->getUnoAny() : pUnoStructVal->getUnoAny();
else
@@ -3397,7 +3397,7 @@ SbxVariable* SbiRuntime::FindElement( SbxObject* pObj, sal_uInt32 nOp1, sal_uInt
}
}
- // #62939 If an uno-class has been found, the wrapper
+ // #62939 If a uno-class has been found, the wrapper
// object has to be held, because the uno-class, e. g.
// "stardiv", has to be read out of the registry
// every time again otherwise
@@ -3782,7 +3782,7 @@ SbxVariable* SbiRuntime::CheckArray( SbxVariable* pElem )
pPar = pElem->GetParameters();
if ( pPar )
{
- // is it an uno-object?
+ // is it a uno-object?
SbxBaseRef pObj = pElem->GetObject();
if( pObj.is() )
{
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 192da2b017ab..d98b7364bdcd 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -592,7 +592,7 @@ static void createVariableURL( OUString& rStr, const OUString& rLibName,
void SfxLibraryContainer::init( const OUString& rInitialDocumentURL, const uno::Reference< embed::XStorage >& rxInitialStorage )
{
// this might be called from within the ctor, and the impl_init might (indirectly) create
- // an UNO reference to ourself.
+ // a UNO reference to ourself.
// Ensure that we're not destroyed while we're in here
osl_atomic_increment( &m_refCount );
init_Impl( rInitialDocumentURL, rxInitialStorage );