summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-04-13 11:01:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-04-13 18:47:15 +0200
commit5652ecbf8bf9bf8b3c15764c38d26fe4b449cb64 (patch)
tree9fac7934b2f8beaf3bcf9e4288ae26835485b0c7 /vcl/unx
parent041e0d0943dffc2002a21ba7a157200766ecd644 (diff)
use more string_view in PrinterInfoManager
Change-Id: Ib0173b1a33be7156c27c81b0804ac7c4d3373857 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150336 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/printer/printerinfomanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx
index a2d99ccf0e59..c81e4ce256ee 100644
--- a/vcl/unx/generic/printer/printerinfomanager.cxx
+++ b/vcl/unx/generic/printer/printerinfomanager.cxx
@@ -548,7 +548,7 @@ const PrinterInfo& PrinterInfoManager::getPrinterInfo( const OUString& rPrinter
return it != m_aPrinters.end() ? it->second.m_aInfo : aEmptyInfo;
}
-bool PrinterInfoManager::checkFeatureToken( const OUString& rPrinterName, const char* pToken ) const
+bool PrinterInfoManager::checkFeatureToken( const OUString& rPrinterName, std::string_view pToken ) const
{
const PrinterInfo& rPrinterInfo( getPrinterInfo( rPrinterName ) );
sal_Int32 nIndex = 0;