From d58a0238561584cb5440e8df79fbf06737ae42af Mon Sep 17 00:00:00 2001 From: Simon Chenery Date: Sun, 16 Feb 2025 20:28:39 +0100 Subject: [PATCH] tdf#158068 Use OUString literals in printerinfomanager.cxx Change-Id: Ibd2e77246fddbe782f14252fee708035e9466b42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181754 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- vcl/unx/generic/printer/printerinfomanager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx index ad55d7448d8b..d2f015b205f5 100644 --- a/vcl/unx/generic/printer/printerinfomanager.cxx +++ b/vcl/unx/generic/printer/printerinfomanager.cxx @@ -696,8 +696,8 @@ static void lpgetSysQueueTokenHandler( rtl_TextEncoding aEncoding = osl_getThreadTextEncoding(); std::unordered_set< OUString > aUniqueSet; std::unordered_set< OUString > aOnlySet; - aUniqueSet.insert( OUString( "_all" ) ); - aUniqueSet.insert( OUString( "_default" ) ); + aUniqueSet.insert( u"_all"_ustr ); + aUniqueSet.insert( u"_default"_ustr ); // the eventual "all" attribute of the "_all" queue tells us, which // printers are to be used for this user at all