From 20276795b7a3b968fca873f29bbb971afc9fc0a8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 Feb 2016 15:59:13 +0200 Subject: small cleanups in .SDI parser Change-Id: Ic7122e3ecfe2914e27945fd508199f7ec1d6bdab --- idl/inc/database.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'idl/inc/database.hxx') diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index 71e77b4f2b71..eb43e5f54281 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -123,7 +123,7 @@ public: sal_uInt32 GetUniqueId() { return ++nUniqueId; } bool FindId( const OString& rIdName, sal_uLong * pVal ); bool InsertId( const OString& rIdName, sal_uLong nVal ); - bool ReadIdFile( const OUString & rFileName ); + bool ReadIdFile( const OString& rFileName ); SvMetaType * FindType( const OString& rName ); static SvMetaType * FindType( const SvMetaType *, SvRefMemberList& ); @@ -131,8 +131,9 @@ public: SvMetaType * ReadKnownType( SvTokenStream & rInStm ); SvMetaAttribute * ReadKnownAttr( SvTokenStream & rInStm, SvMetaType * pType = nullptr ); - SvMetaAttribute * SearchKnownAttr( const SvIdentifier& ); + SvMetaAttribute * FindKnownAttr( const SvIdentifier& ); SvMetaClass * ReadKnownClass( SvTokenStream & rInStm ); + SvMetaClass * FindKnownClass( const OString& aName ); void AddDepFile(OUString const& rFileName); void WriteDepFile(SvFileStream & rStream, OUString const& rTarget); }; -- cgit