diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-02-13 22:45:57 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-14 12:12:40 +0100 |
commit | 6ed7a9759fdf6affdb6ec81a9aae7a3398de8d9b (patch) | |
tree | 875fc380ec0c1de07f7eeef3191d2895828e016a /editeng | |
parent | 838fab822c8052dd9471e28a70b1907dfde111af (diff) |
editeng: presumed copypasta in 048e30c1f8231e6cd144a9251061f6fa127b353e
Doesn't make sense to check for RTF twice in a row.
Change-Id: I15a384adb4d9e65770d81c414b6f24cc0a2b75e8
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 20e2f9ba8432..a49559577a95 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3484,7 +3484,7 @@ EditSelection ImpEditEngine::InsertText( uno::Reference< datatransfer::XTransfer SotExchange::GetFormatDataFlavor( SotClipboardFormatId::RTF, aFlavor ); // RICHTEXT datatransfer::DataFlavor aFlavorRichtext; - SotExchange::GetFormatDataFlavor( SotClipboardFormatId::RTF, aFlavorRichtext ); + SotExchange::GetFormatDataFlavor( SotClipboardFormatId::RICHTEXT, aFlavorRichtext ); bool bRtfSupported = rxDataObj->isDataFlavorSupported( aFlavor ); bool bRichtextSupported = rxDataObj->isDataFlavorSupported( aFlavorRichtext ); if ( bRtfSupported || bRichtextSupported ) |