summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starmath/Library_sm.mk1
-rw-r--r--starmath/source/eqnolefilehdr.cxx24
-rw-r--r--starmath/source/eqnolefilehdr.hxx24
3 files changed, 22 insertions, 27 deletions
diff --git a/starmath/Library_sm.mk b/starmath/Library_sm.mk
index 1fc0a763bf11..bd492dfdc472 100644
--- a/starmath/Library_sm.mk
+++ b/starmath/Library_sm.mk
@@ -74,7 +74,6 @@ $(eval $(call gb_Library_add_exception_objects,sm,\
starmath/source/dialog \
starmath/source/document \
starmath/source/edit \
- starmath/source/eqnolefilehdr \
starmath/source/format \
starmath/source/mathmlexport \
starmath/source/mathmlimport \
diff --git a/starmath/source/eqnolefilehdr.cxx b/starmath/source/eqnolefilehdr.cxx
index 4da274fb2673..3e7fa57c665a 100644
--- a/starmath/source/eqnolefilehdr.cxx
+++ b/starmath/source/eqnolefilehdr.cxx
@@ -33,30 +33,6 @@
//////////////////////////////////////////////////////////////////////
-void EQNOLEFILEHDR::Read(SvStorageStream *pS)
-{
- *pS >> nCBHdr;
- *pS >> nVersion;
- *pS >> nCf;
- *pS >> nCBObject;
- *pS >> nReserved1;
- *pS >> nReserved2;
- *pS >> nReserved3;
- *pS >> nReserved4;
-}
-
-
-void EQNOLEFILEHDR::Write(SvStorageStream *pS)
-{
- *pS << nCBHdr;
- *pS << nVersion;
- *pS << nCf;
- *pS << nCBObject;
- *pS << nReserved1;
- *pS << nReserved2;
- *pS << nReserved3;
- *pS << nReserved4;
-}
sal_Bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion )
diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx
index cdc592d8ea0c..e19980529ee2 100644
--- a/starmath/source/eqnolefilehdr.hxx
+++ b/starmath/source/eqnolefilehdr.hxx
@@ -54,8 +54,28 @@ public:
sal_uInt32 nReserved3; // not used
sal_uInt32 nReserved4; // not used
- void Read(SvStorageStream *pS);
- void Write(SvStorageStream *pS);
+ inline void Read(SvStorageStream *pS)
+ {
+ *pS >> nCBHdr;
+ *pS >> nVersion;
+ *pS >> nCf;
+ *pS >> nCBObject;
+ *pS >> nReserved1;
+ *pS >> nReserved2;
+ *pS >> nReserved3;
+ *pS >> nReserved4;
+ }
+ inline void Write(SvStorageStream *pS)
+ {
+ *pS << nCBHdr;
+ *pS << nVersion;
+ *pS << nCf;
+ *pS << nCBObject;
+ *pS << nReserved1;
+ *pS << nReserved2;
+ *pS << nReserved3;
+ *pS << nReserved4;
+ }
};
sal_Bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion );