diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-22 10:21:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-28 10:47:34 +0200 |
commit | bfc1600c6ade6f006eb774bffe7caa9c948e8603 (patch) | |
tree | c660fa18fc6a9e5f05c3cc58fa34411cdc4f4257 /unotools | |
parent | f9514beb9bfed51aee69227797e74504afed31c6 (diff) |
loplugin:indentation improve checks for brace alignment
Change-Id: I333100fda7e181f68f36b03279b3fbb8cb768310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117615
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/misc/fontdefs.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/xtempfile.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/misc/fontdefs.cxx b/unotools/source/misc/fontdefs.cxx index e470575a015b..d32f6ad7397e 100644 --- a/unotools/source/misc/fontdefs.cxx +++ b/unotools/source/misc/fontdefs.cxx @@ -247,7 +247,7 @@ OUString GetEnglishSearchFontName(const OUString& rInName) rName[ i ] = c; - } + } else { // Only Fontnames with None-Ascii-Characters must be translated diff --git a/unotools/source/ucbhelper/xtempfile.cxx b/unotools/source/ucbhelper/xtempfile.cxx index ae8140526441..712c788aa3e2 100644 --- a/unotools/source/ucbhelper/xtempfile.cxx +++ b/unotools/source/ucbhelper/xtempfile.cxx @@ -62,7 +62,7 @@ sal_Bool SAL_CALL OTempFileService::getRemoveFile() { // the stream is already disconnected throw css::uno::RuntimeException("Not connected to a file."); - } + } return mbRemoveFile; }; @@ -98,7 +98,7 @@ OUString SAL_CALL OTempFileService::getResourceName() if ( !mpTempFile ) { throw css::uno::RuntimeException("Not connected to a file."); -} + } return mpTempFile->GetFileName(); }; |