diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 10:04:02 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-07-01 10:04:02 +0000 |
commit | db8ba5409eb32a15ccf09eafb1f04535dee49fd1 (patch) | |
tree | 0aed0b3f02527e602efc42e231c51c5ccac6950a /writerfilter/source/filter/WriterFilterDetection.cxx | |
parent | 58717f51990bfc1501ffedd24776201c038363e4 (diff) |
INTEGRATION: CWS xmlfilter05 (1.2.34); FILE MERGED
2008/05/02 10:30:12 hbrinkm 1.2.34.2: RESYNC: (1.2-1.3); FILE MERGED
2008/04/17 09:54:28 dr 1.2.34.1: #i86546# #i86549# #i86560# support all file types and templates
Diffstat (limited to 'writerfilter/source/filter/WriterFilterDetection.cxx')
-rw-r--r-- | writerfilter/source/filter/WriterFilterDetection.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx index 68b5cb5d3e5c..d47447e4ea4e 100644 --- a/writerfilter/source/filter/WriterFilterDetection.cxx +++ b/writerfilter/source/filter/WriterFilterDetection.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: WriterFilterDetection.cxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -89,7 +89,8 @@ OUString WriterFilterDetection::detect( uno::Sequence< beans::PropertyValue >& r else if( pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM ( "InputStream" )) ) pValues[nProperty].Value >>= xInputStream; } - bool bBinary = sTypeName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "writer_MS_Word_97" )); + bool bBinary = sTypeName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "writer_MS_Word_97" )) || + sTypeName.equalsAsciiL ( RTL_CONSTASCII_STRINGPARAM ( "writer_MS_Word_97_Vorlage" )); try { |