From 900ba7d24e1bfa7e9a2abcb7cb410261f680155a Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 14 Oct 2021 09:24:27 +0200 Subject: Use more appropriate type for OString-length related variable Change-Id: I7a2925116928e16381c95b59a45200fa5f05935e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123575 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- codemaker/source/codemaker/global.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'codemaker/source') diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 1b2b11db0f7e..6d831b45dca8 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -67,7 +67,7 @@ OString createFileNameFromType( const OString& destination, { OString type(typeName.replace('.', '/')); - sal_uInt32 length = destination.getLength(); + sal_Int32 length = destination.getLength(); bool bWithPoint = false; if (length == 0) -- cgit