diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx index 12acb6f321d6..a16d22d0cf2f 100644 --- a/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx +++ b/connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx @@ -35,6 +35,8 @@ ************************************************************************/ #include <sal/log.hxx> + +#include <string_view> #include <vector> #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp> @@ -84,7 +86,7 @@ IndexColumns::IndexColumns( IndexColumns::~IndexColumns() {} -static sal_Int32 findInSequence( const Sequence< OUString > & seq , const OUString &str) +static sal_Int32 findInSequence( const Sequence< OUString > & seq , std::u16string_view str) { int index; for( index = 0 ; index < seq.getLength() ; index ++ ) |