diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-12-04 17:38:04 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-12-08 22:11:43 +0100 |
commit | 1a18c92a527cd53abfb0919246935a4fd4ef421d (patch) | |
tree | bad1fa7cd87a402c8b9ddd6175e1995b7ed55db6 /sc/source/filter/excel/excel.cxx | |
parent | 3b63d2b9371baa5f526d0fcd41043ec76abb0d50 (diff) |
consolidate MSO format ClassID magic numbers in msfilter/classids.hxx
Change-Id: I673eeaa4168f769cb002995c43d986ee5f2030b2
Diffstat (limited to 'sc/source/filter/excel/excel.cxx')
-rw-r--r-- | sc/source/filter/excel/excel.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excel.cxx b/sc/source/filter/excel/excel.cxx index 59e0daf446f3..73ee93ed3773 100644 --- a/sc/source/filter/excel/excel.cxx +++ b/sc/source/filter/excel/excel.cxx @@ -24,6 +24,7 @@ #include <sfx2/request.hxx> #include <sot/storage.hxx> #include <sot/exchange.hxx> +#include <filter/msfilter/classids.hxx> #include <tools/globname.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/beans/NamedValue.hpp> @@ -186,7 +187,7 @@ static FltError lcl_ExportExcelBiff( SfxMedium& rMedium, ScDocument *pDocument, if( eRet == eERR_RNGOVRFLW ) eRet = SCWARN_EXPORT_MAXROW; - SvGlobalName aGlobName( 0x00020810, 0x0000, 0x0000, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ); + SvGlobalName aGlobName(MSO_EXCEL5_CLASSID); SotClipboardFormatId nClip = SotExchange::RegisterFormatName( aClipName ); xRootStrg->SetClass( aGlobName, nClip, aClassName ); |