From b866b71e2419c8011d969f316a28bd820c56fb5a Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 31 Aug 2020 15:59:50 +0200 Subject: Fix typo in code It passed "make check" on Linux Change-Id: I4db1681869907f050ea224ed24dcb7469a50eb20 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101792 Tested-by: Jenkins Reviewed-by: Julien Nabet --- vcl/workben/commonfuzzer.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/workben') diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx index d6c8d5cae634..85808c346f78 100644 --- a/vcl/workben/commonfuzzer.hxx +++ b/vcl/workben/commonfuzzer.hxx @@ -42,9 +42,9 @@ namespace if (osl_getExecutableFile(&uri.pData) != osl_Process_E_None) { abort(); } - sal_Int32 lastDirSeperatorPos = uri.lastIndexOf('/'); - if (lastDirSeperatorPos >= 0) { - uri = uri.copy(0, lastDirSeperatorPos + 1); + sal_Int32 lastDirSeparatorPos = uri.lastIndexOf('/'); + if (lastDirSeparatorPos >= 0) { + uri = uri.copy(0, lastDirSeparatorPos + 1); } return uri; } -- cgit