diff options
-rw-r--r-- | vcl/aqua/source/dtrans/DataFlavorMapping.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx index a1a69ffe15f6..6cfc2c97f5c4 100644 --- a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx +++ b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx @@ -526,7 +526,7 @@ NSString* DataFlavorMapper::openOfficeToSystemFlavor(const DataFlavor& oOOFlavor for (size_t i = 0; i < SIZE_FLAVOR_MAP; i++) { - if (oOOFlavor.MimeType.compareToAscii(flavorMap[i].OOoFlavor, strlen(flavorMap[i].OOoFlavor)) == 0) + if (oOOFlavor.MimeType.startsWith(flavorMap[i].OOoFlavor)) { sysFlavor = flavorMap[i].SystemFlavor; } |