summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl')
-rw-r--r--idl/inc/database.hxx4
-rw-r--r--idl/source/prj/database.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx
index 44ef25eafbcf..79d289bee697 100644
--- a/idl/inc/database.hxx
+++ b/idl/inc/database.hxx
@@ -115,7 +115,7 @@ public:
void InsertId( const OString& rIdName, sal_uLong nVal );
bool ReadIdFile( std::string_view rFileName );
- SvMetaType * FindType( const OString& rName );
+ SvMetaType * FindType( std::string_view rName );
static SvMetaType * FindType( const SvMetaType *, SvRefMemberList<SvMetaType *>& );
SvMetaType * ReadKnownType( SvTokenStream & rInStm );
@@ -123,7 +123,7 @@ public:
SvMetaType * pType );
SvMetaAttribute * FindKnownAttr( const SvIdentifier& );
SvMetaClass * ReadKnownClass( SvTokenStream & rInStm );
- SvMetaClass * FindKnownClass( const OString& aName );
+ SvMetaClass * FindKnownClass( std::string_view aName );
void AddDepFile(OUString const& rFileName);
void WriteDepFile(SvFileStream & rStream, std::u16string_view rTarget);
};
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index de8aad3d9b74..6075a2da5fbd 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -271,7 +271,7 @@ SvMetaType * SvIdlDataBase::FindType( const SvMetaType * pPType,
return nullptr;
}
-SvMetaType * SvIdlDataBase::FindType( const OString& rName )
+SvMetaType * SvIdlDataBase::FindType( std::string_view rName )
{
for (auto const& elem : aTypeList)
if( rName == elem->GetName() )
@@ -370,7 +370,7 @@ SvMetaClass * SvIdlDataBase::ReadKnownClass( SvTokenStream & rInStm )
return nullptr;
}
-SvMetaClass * SvIdlDataBase::FindKnownClass( const OString& aName )
+SvMetaClass * SvIdlDataBase::FindKnownClass( std::string_view aName )
{
for( sal_uLong n = 0; n < aClassList.size(); n++ )
{