summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/DeviceInfo.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-01-12 15:53:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2021-01-12 22:28:18 +0100
commit94f6765d6ecc3145fa2d266231124003cf953118 (patch)
treebe042584170eb3e0c05f0d023225aace13d41dc8 /vcl/inc/opengl/DeviceInfo.hxx
parent82cb5a3bb27bb70c97b3d04b9de97a3ff67231c5 (diff)
Avoid loplugin:stringviewparam when there already is a string_view overload
This avoids clang-cl > In file included from core/connectivity/source/drivers/ado/Aolevariant.cxx:20: > connectivity/source/inc\ado/Aolevariant.hxx(72,40): error: replace function parameter of type 'const rtl::OUString &' with 'std::u16string_view' [loplugin:stringviewparam] > OLEVariant(const OUString& us) > ~~~~~~~~~~~~~~~~^~ which would make that OLEVariant ctor overload redundant with the existing OLEVariant(std::u16string_view us); overload, but with the OUString overload gone, implicit conversions from OUString to OLEVariant would no longer work, e.g., > connectivity/source/drivers/ado/AColumn.cxx(184,76): error: no viable conversion from 'rtl::OUString' to 'const connectivity::ado::OLEVariant' > OTools::putValue(m_aColumn.get_Properties(), sAdoPropertyName, getString(rValue)); > ^~~~~~~~~~~~~~~~~ Change-Id: I92a5cc29d9fd2a5ff1a951f79df64879d0f71743 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109180 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/inc/opengl/DeviceInfo.hxx')
0 files changed, 0 insertions, 0 deletions