summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-06-27 11:06:04 +0200
committerMiklos Vajna <vmiklos@frugalware.org>2011-06-27 11:06:04 +0200
commit8268ca0b7521c4de5f42ad6f294a78f68fecb665 (patch)
treeef9ea60aa4cd8e90e609b16c91efe45a99a17048 /writerfilter/source/filter
parent65f918d8c9a15b84cf6d5b9d4c260b36c2438479 (diff)
Enable rtftok on experimental mode only
Diffstat (limited to 'writerfilter/source/filter')
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index 9f04f1bec8cf..3c326d98bf29 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -36,6 +36,7 @@
#include <dmapper/DomainMapper.hxx>
#include <rtftok/RTFDocument.hxx>
#include <com/sun/star/frame/XFrame.hpp>
+#include <svtools/miscopt.hxx>
using namespace ::rtl;
using namespace ::cppu;
@@ -70,8 +71,8 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
}
else if ( m_xDstDoc.is() )
{
- bool bUseDomainMapper = true;
- if (bUseDomainMapper)
+ SvtMiscOptions aMiscOptions;
+ if (aMiscOptions.IsExperimentalMode())
{
MediaDescriptor aMediaDesc( aDescriptor );
#ifdef DEBUG_IMPORT