summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-04 17:38:04 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-08 22:11:43 +0100
commit1a18c92a527cd53abfb0919246935a4fd4ef421d (patch)
treebad1fa7cd87a402c8b9ddd6175e1995b7ed55db6 /starmath
parent3b63d2b9371baa5f526d0fcd41043ec76abb0d50 (diff)
consolidate MSO format ClassID magic numbers in msfilter/classids.hxx
Change-Id: I673eeaa4168f769cb002995c43d986ee5f2030b2
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathtype.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 9cc65c08500c..962de9d19b67 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -17,8 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <mathtype.hxx>
+
+#include <filter/msfilter/classids.hxx>
#include <osl/diagnose.h>
#include <sfx2/docfile.hxx>
@@ -1887,8 +1888,7 @@ int MathType::ConvertFromStarMath( SfxMedium& rMedium )
{
tools::SvRef<SotStorage> pStor = new SotStorage( pStream, false );
- SvGlobalName aGName(0x0002ce02L, 0x0000, 0x0000,0xc0,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x46 );
+ SvGlobalName aGName(MSO_EQUATION3_CLASSID);
pStor->SetClass( aGName, SotClipboardFormatId::NONE, "Microsoft Equation 3.0");
static sal_uInt8 const aCompObj[] = {