diff options
Diffstat (limited to 'vcl/source/window/builder.cxx')
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 5e41df185bd1..fb613b3e6ba6 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -94,7 +94,7 @@ bool toBool(std::u16string_view rValue) namespace { - OUString mapStockToImageResource(std::u16string_view sType) + const OUString & mapStockToImageResource(std::u16string_view sType) { if (sType == u"view-refresh") return SV_RESID_BITMAP_REFRESH; @@ -118,7 +118,7 @@ namespace return IMG_CALENDAR; else if (sType == u"accessories-character-map") return IMG_CHARACTER_MAP; - return OUString(); + return EMPTY_OUSTRING; } } |