diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2024-06-05 11:56:05 +0200 |
---|---|---|
committer | Taichi Haradaguchi <20001722@ymail.ne.jp> | 2024-06-05 14:52:19 +0200 |
commit | f32848500aa25a0e4e29053900c7827ec9a3b535 (patch) | |
tree | 3f898873fc98528be21c1ff9a5a351307529c909 | |
parent | 937bdd08ee8ff9ce90db06fd463719ba8e9da996 (diff) |
Fix typo
Change-Id: Ice2853eb7a14bd614b9bb53ce13667602c6e07eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168457
Reviewed-by: Taichi Haradaguchi <20001722@ymail.ne.jp>
Tested-by: Jenkins
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py index 71f7e3b428e4..5a3c03d411c1 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py +++ b/odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py @@ -24,7 +24,7 @@ class TextTransferable(unohelper.Base, XTransferable): ''' XTransferable methods ''' def getTransferData(self, flavor): - # str.casefold() allows reliable case-insensitive comparision + # str.casefold() allows reliable case-insensitive comparison if flavor.MimeType.casefold() != __class__.UNICODE_CONTENT_TYPE.casefold(): raise UnsupportedFlavorException() return self.text @@ -34,7 +34,7 @@ class TextTransferable(unohelper.Base, XTransferable): return [unicode_flavor] def isDataFlavorSupported(self, flavor): - # str.casefold() allows reliable case-insensitive comparision + # str.casefold() allows reliable case-insensitive comparison return flavor.MimeType.casefold() == __class__.UNICODE_CONTENT_TYPE.casefold() # vim: set shiftwidth=4 softtabstop=4 expandtab:
\ No newline at end of file |