summaryrefslogtreecommitdiff
path: root/basic/source/runtime/dllmgr-x64.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime/dllmgr-x64.cxx')
-rw-r--r--basic/source/runtime/dllmgr-x64.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index 8fd83b116440..dad4bea8794a 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -27,7 +27,6 @@
#include <algorithm>
#include <cstddef>
#include <map>
-#include <string_view>
#include <vector>
#include <basic/sbx.hxx>
@@ -497,7 +496,7 @@ ErrCode call(
// require similar treatment, too:
bool special =
dll.equalsIgnoreAsciiCase("KERNEL32.DLL") &&
- (proc.name == std::string_view("GetLogicalDriveStringsA"));
+ (proc.name == "GetLogicalDriveStringsA");
for (sal_uInt32 i = 1; i < (arguments == nullptr ? 0 : arguments->Count()); ++i)
{
ErrCode e = marshal(true, arguments->Get(i), special && i == 2, stack, stack.size(),