diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-05 15:20:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-06 06:27:51 +0100 |
commit | 7b99cdb2d77a3feaf9b782c1e656f2d922e2746e (patch) | |
tree | 180459dcd8379ee1a2e89098a4d9eda72abe8f05 /svtools | |
parent | 7ee07296a66df29555c9e9a684f24bc68201cb78 (diff) |
loplugin:indentation find broken if statements
so I don't read the "then" block as being a sequential statements
Change-Id: Ib2004acd3518bd4ebd2246f02a26c2c0a8bbab4c
Reviewed-on: https://gerrit.libreoffice.org/82069
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/editbrowsebox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/filter/exportdialog.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index f71515a2221c..c84ef2eb8cfd 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -482,7 +482,7 @@ namespace svt AsynchGetFocus(); if (!(IsEditing() && aController->GetWindow().IsEnabled() && aController->WantMouseEvent())) -return; + return; // forwards the event to the control diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx index 1604ff38d36c..9a04956698f9 100644 --- a/svtools/source/filter/exportdialog.cxx +++ b/svtools/source/filter/exportdialog.cxx @@ -722,7 +722,7 @@ void ExportDialog::setupSizeControls() mxLbSizeX->set_active( static_cast< sal_uInt16 >( nUnit ) ); if ( !mbIsPixelFormat ) // TODO: (metafileresolutionsupport) should be supported for vector formats also... this makes -return; + return; // sense eg for bitmap fillings in metafiles, to preserve high dpi output // (atm without special vector support the bitmaps are rendered with 96dpi) |