diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-07-27 14:12:42 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-07-27 16:00:12 +0200 |
commit | d216c9fcbbbbd5b28912441567c2fa282b284a6a (patch) | |
tree | ed4ec307e7dcd302788b0cdcea8f7e78f7ced041 /starmath/inc | |
parent | 3a06fbc0418e04eab2bcfcc47ffc7d04faf6dac9 (diff) |
SmRtfExport: get current encoding from Writer instead of assuming the default
Change-Id: Ia8bdf83f36d986ca45ddad985aca827224c194f4
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/unomodel.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 43aefaaad229..e9b4a9595990 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -156,7 +156,7 @@ class SmDocShell : public SfxObjectShell, public SfxListener void InvalidateCursor(); bool writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version ); - void writeFormulaRtf(OStringBuffer& rBuffer); + void writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding); bool readFormulaOoxml( oox::formulaimport::XmlStream& stream ); public: diff --git a/starmath/inc/unomodel.hxx b/starmath/inc/unomodel.hxx index fc6808974a04..dbf4b1fcb9a4 100644 --- a/starmath/inc/unomodel.hxx +++ b/starmath/inc/unomodel.hxx @@ -93,7 +93,7 @@ public: // oox::FormulaExportBase virtual void writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer, oox::core::OoxmlVersion version ); - virtual void writeFormulaRtf(OStringBuffer& rBuffer); + virtual void writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding); // oox::FormulaImportBase virtual void readFormulaOoxml( oox::formulaimport::XmlStream& stream ); virtual Size getFormulaSize() const; |