diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/datman.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserlistbox.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/browserlistbox.hxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/cellbindinghelper.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index 23f8e464f1ce..a492c839712e 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -231,7 +231,7 @@ public: } static sal_uInt16 lcl_FindLogicalName(BibConfig const * pConfig , - const OUString& rLogicalColumnName) + std::u16string_view rLogicalColumnName) { for(sal_uInt16 i = 0; i < COLUMN_COUNT; i++) { diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index 6ac118cc91ba..b30f4f3eeee5 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -404,7 +404,7 @@ namespace pcr } } - sal_uInt16 OBrowserListBox::GetPropertyPos( const OUString& _rEntryName ) const + sal_uInt16 OBrowserListBox::GetPropertyPos( std::u16string_view _rEntryName ) const { sal_uInt16 nPos = 0; for (auto const& line : m_aLines) diff --git a/extensions/source/propctrlr/browserlistbox.hxx b/extensions/source/propctrlr/browserlistbox.hxx index aac20fc5d7c8..67cc5286f245 100644 --- a/extensions/source/propctrlr/browserlistbox.hxx +++ b/extensions/source/propctrlr/browserlistbox.hxx @@ -102,7 +102,7 @@ namespace pcr void ChangeEntry( const OLineDescriptor&, ListBoxLines::size_type nPos ); void SetPropertyValue( const OUString& rEntryName, const css::uno::Any& rValue, bool _bUnknownValue ); - sal_uInt16 GetPropertyPos( const OUString& rEntryName ) const; + sal_uInt16 GetPropertyPos( std::u16string_view rEntryName ) const; css::uno::Reference< css::inspection::XPropertyControl > GetPropertyControl( const OUString& rEntryName ); void EnablePropertyControls( const OUString& _rEntryName, sal_Int16 _nControls, bool _bEnable ); diff --git a/extensions/source/propctrlr/cellbindinghelper.cxx b/extensions/source/propctrlr/cellbindinghelper.cxx index 5207a9621fc8..4b93d048ddaa 100644 --- a/extensions/source/propctrlr/cellbindinghelper.cxx +++ b/extensions/source/propctrlr/cellbindinghelper.cxx @@ -65,7 +65,7 @@ namespace pcr public: explicit StringCompare( const OUString& _rReference ) : m_sReference( _rReference ) { } - bool operator()( const OUString& _rCompare ) + bool operator()( std::u16string_view _rCompare ) { return ( _rCompare == m_sReference ); } |