summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Luby <guibmacdev@gmail.com>2024-07-06 08:20:51 -0400
committerAndras Timar <andras.timar@collabora.com>2024-07-06 21:21:18 +0200
commit9723c9368a6cb6ed1ea5bd8aa48d8b22db83ea40 (patch)
tree9a873796f4ea7815f730c5a79842c6fd15a3e15d
parented6ad116dbda6a58814807fb93b2d6f6c1fb85ea (diff)
Move break inside conditional statement to match macOS code cp-24.04.4-4co-24.04.4-4
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>
-rw-r--r--vcl/ios/DataFlavorMapping.cxx8
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)