summaryrefslogtreecommitdiff
path: root/idl/source/prj/database.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idl/source/prj/database.cxx')
-rw-r--r--idl/source/prj/database.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index e6521bdbf37b..c0b7b8cf9cea 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -284,7 +284,7 @@ SvMetaType * SvIdlDataBase::ReadKnownType( SvTokenStream & rInStm )
if( rTok.IsIdentifier() )
{
- OString aName = rTok.GetString();
+ const OString& aName = rTok.GetString();
for( const auto& aType : GetTypeList() )
{
if( aType->GetName() == aName )