summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-10-14 09:24:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-10-14 10:42:31 +0200
commit900ba7d24e1bfa7e9a2abcb7cb410261f680155a (patch)
tree459ba1ef8987b567b7a3a7ba033d5872a7999410 /codemaker
parentf28c4ae3c676554723ae5959f15b5766e322cee6 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/global.cxx2
1 files changed, 1 insertions, 1 deletions
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)