odk/examples/DevelopersGuide/OfficeDev/Clipboard/python/text_transferable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f32848500aa25a0e4e29053900c7827ec9a3b535 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Wed Jun 5 11:56:05 2024 +0200 Commit: Taichi Haradaguchi <20001...@ymail.ne.jp> CommitDate: Wed Jun 5 14:52:19 2024 +0200 Fix typo Change-Id: Ice2853eb7a14bd614b9bb53ce13667602c6e07eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168457 Reviewed-by: Taichi Haradaguchi <20001...@ymail.ne.jp> Tested-by: Jenkins 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