diff options
-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 |