summaryrefslogtreecommitdiff
path: root/starmath/source/eqnolefilehdr.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-20 09:48:41 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-20 09:48:41 +0200
commit2850da4f8cab294b2f897d170b35ec532e3c4d49 (patch)
tree549908e5c5b1d28ba2a6a37369201079c1209a5b /starmath/source/eqnolefilehdr.hxx
parent457fe4e7e83a0fed70a07ddeb2158e02ff1bca7e (diff)
parent5f03f0c86933b1372a96d05018610205bbd43db9 (diff)
Merge branch 'master' into feature/gnumake4
Conflicts: starmath/JunitTest_sm_unoapi.mk starmath/Library_sm.mk starmath/Library_smd.mk starmath/Makefile starmath/prj/build.lst starmath/prj/makefile.mk starmath/qa/unoapi/Test.java starmath/source/detreg.cxx starmath/source/register.cxx starmath/source/smdetect.cxx sw/Library_sw.mk sw/Library_swd.mk sw/Library_swui.mk sw/Library_vbaswobj.mk sw/inc/iodetect.hxx sw/inc/swddllapi.h sw/source/filter/basflt/iodetect.cxx
Diffstat (limited to 'starmath/source/eqnolefilehdr.hxx')
-rw-r--r--starmath/source/eqnolefilehdr.hxx26
1 files changed, 24 insertions, 2 deletions
diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx
index bfb6f5e159d7..669511a0d6a4 100644
--- a/starmath/source/eqnolefilehdr.hxx
+++ b/starmath/source/eqnolefilehdr.hxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53,11 +54,32 @@ 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_DLLPUBLIC_EXPORT sal_Bool GetMathTypeVersion( SotStorage* pStor, sal_uInt8 &nVersion );
#endif
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */