summaryrefslogtreecommitdiff
path: root/forms/source/helper/formnavigation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/helper/formnavigation.cxx')
-rw-r--r--forms/source/helper/formnavigation.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/forms/source/helper/formnavigation.cxx b/forms/source/helper/formnavigation.cxx
index 816c81f314b8..a99f29b24f50 100644
--- a/forms/source/helper/formnavigation.cxx
+++ b/forms/source/helper/formnavigation.cxx
@@ -26,6 +26,7 @@
#include <comphelper/propertyvalue.hxx>
#include <tools/debug.hxx>
+#include <o3tl/string_view.hxx>
#include <osl/diagnose.h>
@@ -427,12 +428,12 @@ namespace frm
}
- sal_Int16 OFormNavigationMapper::getFeatureId( const OUString& _rCompleteURL )
+ sal_Int16 OFormNavigationMapper::getFeatureId( std::u16string_view _rCompleteURL )
{
const FeatureURL* pFeatures = lcl_getFeatureTable();
while ( pFeatures->pAsciiURL )
{
- if ( _rCompleteURL.equalsAscii( pFeatures->pAsciiURL ) )
+ if ( o3tl::equalsAscii( _rCompleteURL, pFeatures->pAsciiURL ) )
return pFeatures->nFormFeature;
++pFeatures;
}