diff options
author | Noel <noelgrandin@gmail.com> | 2020-11-13 14:29:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-11-17 09:57:35 +0100 |
commit | 8ef6067596cf4b2c52fbce94b44bf7af9fefa643 (patch) | |
tree | f4cca1a99ba97683b14fa6fe0f1f45f75bf855c2 /idl | |
parent | 75bada928cf08d2afc6efe52ba99b45088bc9eec (diff) |
loplugin:stringviewparam check methods too
not just functions
Change-Id: Icca295dd159002b428b73f2c95d40725434f04d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105789
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/inc/database.hxx | 2 | ||||
-rw-r--r-- | idl/source/prj/database.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/inc/database.hxx b/idl/inc/database.hxx index caf3cf9fff4d..3e7706b25b1e 100644 --- a/idl/inc/database.hxx +++ b/idl/inc/database.hxx @@ -92,7 +92,7 @@ public: // list of used types while writing SvRefMemberList<SvMetaType *> aUsedTypes; - void StartNewFile( const OUString& rName ); + void StartNewFile( std::u16string_view rName ); void SetExportFile( const OUString& rName ) { aExportFile = rName; } void AppendSlot( SvMetaSlot *pSlot ); diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx index 7613e0a59c6d..37bf552c76e2 100644 --- a/idl/source/prj/database.cxx +++ b/idl/source/prj/database.cxx @@ -483,7 +483,7 @@ bool SvIdlWorkingBase::WriteSfx( SvStream & rOutStm ) return true; } -void SvIdlDataBase::StartNewFile( const OUString& rName ) +void SvIdlDataBase::StartNewFile( std::u16string_view rName ) { bExport = aExportFile.equalsIgnoreAsciiCase( rName ); assert ( !bExport ); |