diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTheme.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index 66843fa45dc4..52c2d875d4ef 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -158,7 +158,7 @@ class ViewStyle public: ViewStyle(); - SharedBitmapDescriptor GetBitmap (const OUString& sBitmapName) const; + SharedBitmapDescriptor GetBitmap (std::u16string_view sBitmapName) const; PresenterTheme::SharedFontDescriptor GetFont() const; @@ -1003,9 +1003,9 @@ ViewStyle::ViewStyle() { } -SharedBitmapDescriptor ViewStyle::GetBitmap (const OUString& rsBitmapName) const +SharedBitmapDescriptor ViewStyle::GetBitmap (std::u16string_view rsBitmapName) const { - if (rsBitmapName == "Background") + if (rsBitmapName == u"Background") return mpBackground; else return SharedBitmapDescriptor(); |