summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration/ImageList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uiconfiguration/ImageList.cxx')
-rw-r--r--framework/source/uiconfiguration/ImageList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uiconfiguration/ImageList.cxx b/framework/source/uiconfiguration/ImageList.cxx
index 8e775aeda62d..8aef25517fb4 100644
--- a/framework/source/uiconfiguration/ImageList.cxx
+++ b/framework/source/uiconfiguration/ImageList.cxx
@@ -139,9 +139,9 @@ sal_uInt16 ImageList::GetImageCount() const
return static_cast< sal_uInt16 >( maImages.size() );
}
-sal_uInt16 ImageList::GetImagePos( const OUString& rImageName ) const
+sal_uInt16 ImageList::GetImagePos( std::u16string_view rImageName ) const
{
- if( !rImageName.isEmpty() )
+ if( !rImageName.empty() )
{
for( size_t i = 0; i < maImages.size(); i++ )
{