summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-20 09:47:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-20 13:07:02 +0100
commitcf7306194f5c677fef75e3ff5098676ee302359e (patch)
treea52a0980de72c7f70e4f3ae55126579655440773 /idl/inc
parent24b02a4f2507f40fe9d36c393c59e12c072428c3 (diff)
No longer need to worry about ambiguous operator== in loplugin:stringviewparam
...after 46c5de832868d2812448b2caace3eeaa9237b9f6 "make *String(string_view) constructors explicit" Change-Id: I6e884c762a2fc91f5dd6fbb197a596fd60f17cae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108043 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/database.hxx4
1 files changed, 2 insertions, 2 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);
};