[PATCH] Change in core[libreoffice-4-0]: fix mailmerge output as plain text, explicitly pick correct ...

Caolán McNamara (via_Code_Review) gerrit at gerrit.libreoffice.org
Tue Jan 15 07:00:47 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1697

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/97/1697/1

fix mailmerge output as plain text, explicitly pick correct .txt export filter

Change-Id: Ie277dc58d9e562ffa2a0edd17c18aafe4f4bd4de
(cherry picked from commit a5dc04633d79f5abee85d919e097983117d2abd4)
---
M sw/source/ui/dbui/mmoutputpage.cxx
1 file changed, 4 insertions(+), 0 deletions(-)



diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx
index c88c168..35ba499 100644
--- a/sw/source/ui/dbui/mmoutputpage.cxx
+++ b/sw/source/ui/dbui/mmoutputpage.cxx
@@ -1084,7 +1084,11 @@
         }
         break;
         case MM_DOCTYPE_TEXT:
+        {
             bAsBody = true;
+            pSfxFlt = pFilterContainer->GetFilter4FilterName(
+                OUString("Text (encoded)"), SFX_FILTER_EXPORT);
+        }
         break;
     }
     if(!pSfxFlt)

-- 
To view, visit https://gerrit.libreoffice.org/1697
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie277dc58d9e562ffa2a0edd17c18aafe4f4bd4de
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Caolán McNamara <caolanm at redhat.com>



More information about the LibreOffice mailing list