Revert "fdo#43869 use the old rtf importer for paste"
This reverts commit bb147bbb80
. It's no
longer needed, now the new importer supports importing to an existing
document.
This commit is contained in:
parent
1b7d7f8e2f
commit
ed654c4aa7
1 changed files with 0 additions and 6 deletions
|
@ -26,7 +26,6 @@
|
|||
#include <tools/helpers.hxx>
|
||||
#include <svl/itemiter.hxx>
|
||||
#include <svtools/rtftoken.h>
|
||||
#include <svtools/miscopt.hxx>
|
||||
#include <svl/intitem.hxx>
|
||||
#include <editeng/fhgtitem.hxx>
|
||||
#include <editeng/ulspitem.hxx>
|
||||
|
@ -223,11 +222,6 @@ sal_uLong SwRTFReader::Read( SwDoc &rDoc, const String& /*rBaseURL*/, SwPaM& rPa
|
|||
|
||||
extern "C" SAL_DLLPUBLIC_EXPORT Reader* SAL_CALL ImportRTF()
|
||||
{
|
||||
// Use the old rtf importer by default for paste, till the new one supports
|
||||
// undo stack and PaM.
|
||||
SvtMiscOptions aMiscOptions;
|
||||
if (!aMiscOptions.IsExperimentalMode())
|
||||
return new RtfReader();
|
||||
return new SwRTFReader();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue