summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-07-27 14:12:42 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-27 16:00:12 +0200
commitd216c9fcbbbbd5b28912441567c2fa282b284a6a (patch)
treeed4ec307e7dcd302788b0cdcea8f7e78f7ced041 /starmath/inc
parent3a06fbc0418e04eab2bcfcc47ffc7d04faf6dac9 (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.hxx2
-rw-r--r--starmath/inc/unomodel.hxx2
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;