diff options
author | Patrick Luby <guibmacdev@gmail.com> | 2024-07-06 08:20:51 -0400 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2024-07-11 15:58:59 +0200 |
commit | 05d304ce155bb8a967c55f7b037dfbfe3ad6a416 (patch) | |
tree | 1c406ff43eeaefaf59e99313a5c337a938d4c5fe | |
parent | 72c45103ebdf94af6254eaf01bec1182c967a17f (diff) |
Move break inside conditional statement to match macOS code
Commit 839346d3f20af0c6db1377486cbff3f2ff3e2387 for iOS was miscopied
from commit e4cbe169bd1236698a573bf4758d8ae8519a1c08 so correct the
copy error to bring the iOS code back in sync with the macOS code.
Change-Id: I3bb8cc85465adf978e50fab1a802c3f062b7a728
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170067
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Patrick Luby <guibomacdev@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit e1cfc655e5112b4767da7c53000b859f3844b8e3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170110
Tested-by: Jenkins
-rw-r--r-- | vcl/ios/DataFlavorMapping.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/ios/DataFlavorMapping.cxx b/vcl/ios/DataFlavorMapping.cxx index ded47097015c..f2d039f2d6a9 100644 --- a/vcl/ios/DataFlavorMapping.cxx +++ b/vcl/ios/DataFlavorMapping.cxx @@ -403,11 +403,11 @@ NSString* DataFlavorMapper::openOfficeToSystemFlavor(const DataFlavor& oOOFlavor sysFlavor = flavorMap[i].SystemFlavor; else sysFlavor = OUStringToNSString(oOOFlavor.MimeType); - } - // Flavor set, then break - if (sysFlavor != nullptr) - break; + // Flavor set, then break + if (sysFlavor != nullptr) + break; + } } if (!sysFlavor) |