diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-20 12:48:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-20 15:39:38 +0200 |
commit | 283a9790bffa6536f4c26bd31d85f815bc64dd08 (patch) | |
tree | c65ac7fe50fbea809dd765c24edbb47b57adea2b /pyuno | |
parent | 18bdf78e156f3cd1e6ccbb3ae28e919583bac70c (diff) |
loplugin:indentation check for indent inside block
look for places where the statements inside a block are
not indented
Change-Id: I0cbfa7e0b6fb194b2aff6fa7e070fb907d70ca2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123885
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/module/pyuno_util.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pyuno/source/module/pyuno_util.cxx b/pyuno/source/module/pyuno_util.cxx index 6023a4e310c6..12d58f0eca20 100644 --- a/pyuno/source/module/pyuno_util.cxx +++ b/pyuno/source/module/pyuno_util.cxx @@ -60,12 +60,12 @@ OUString pyString2ustring( PyObject *pystr ) if( PyUnicode_Check( pystr ) ) { #if Py_UNICODE_SIZE == 2 - ret = OUString( - reinterpret_cast<sal_Unicode const *>(PyUnicode_AS_UNICODE( pystr )) ); + ret = OUString( + reinterpret_cast<sal_Unicode const *>(PyUnicode_AS_UNICODE( pystr )) ); #else - Py_ssize_t size(0); - char const *pUtf8(PyUnicode_AsUTF8AndSize(pystr, &size)); - ret = OUString(pUtf8, size, RTL_TEXTENCODING_UTF8); + Py_ssize_t size(0); + char const *pUtf8(PyUnicode_AsUTF8AndSize(pystr, &size)); + ret = OUString(pUtf8, size, RTL_TEXTENCODING_UTF8); #endif } else |