diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-07-13 00:36:46 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-07-12 23:28:06 +0200 |
commit | e333183d4390da0b17a55f214e2b953dbb0a8883 (patch) | |
tree | 680493fcca8e2a8239838db841cd623c2cedf1d3 /sd | |
parent | b392208dde22edbcba36fe516ac114284a111728 (diff) |
EditEngine: Making ODF Format Default for Copy/Paste
Change-Id: Idfb4dacf4a1595ff974bbca195e419ff6a98418b
Reviewed-on: https://gerrit.libreoffice.org/39876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdview3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx index cff977eb1461..88763dab7a74 100644 --- a/sd/source/ui/view/sdview3.cxx +++ b/sd/source/ui/view/sdview3.cxx @@ -1394,7 +1394,7 @@ bool View::InsertData( const TransferableDataHelper& rDataHelper, char* ODF_XML_Env = getenv ("ODF_TEXT_FLAT_XML_ENV"); - if(!bReturn && !bLink && CHECK_FORMAT_TRANS(SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT) && ODF_XML_Env != nullptr) + if(!bReturn && !bLink && CHECK_FORMAT_TRANS(SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT) && ODF_XML_Env == nullptr) { ::tools::SvRef<SotStorageStream> xStm; if( aDataHelper.GetSotStorageStream( SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT, xStm ) ) |