summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msoleexp.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-14 13:56:21 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-14 13:56:21 +0100
commite8c2c1daae9008d383288f94600b1d34d2059fb1 (patch)
tree94a20ff44445a6bc959ff2330fa39e8ebada7c64 /filter/source/msfilter/msoleexp.cxx
parent3e3d12cb88fa6dc4e6d00692e57c9cb70c709e17 (diff)
removetooltypes01: #i112600# remove tooltypes from filter
Diffstat (limited to 'filter/source/msfilter/msoleexp.cxx')
-rw-r--r--filter/source/msfilter/msoleexp.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx
index ebafd06688b0..bf00ddc966f1 100644
--- a/filter/source/msfilter/msoleexp.cxx
+++ b/filter/source/msfilter/msoleexp.cxx
@@ -146,13 +146,13 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SvSto
const SfxFilter* pExpFilter = NULL;
{
static struct _ObjExpType {
- UINT32 nFlag;
+ sal_uInt32 nFlag;
const char* pFilterNm;
// GlobalNameId
struct _GlobalNameIds {
- UINT32 n1;
- USHORT n2, n3;
- BYTE b8, b9, b10, b11, b12, b13, b14, b15;
+ sal_uInt32 n1;
+ sal_uInt16 n2, n3;
+ sal_uInt8 b8, b9, b10, b11, b12, b13, b14, b15;
}
aGlNmIds[4];
} aArr[] = {
@@ -220,7 +220,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SvSto
aSeq[1].Value <<= ::rtl::OUString( pExpFilter->GetName() );
uno::Reference < frame::XStorable > xStor( rObj->getComponent(), uno::UNO_QUERY );
xStor->storeToURL( ::rtl::OUString::createFromAscii( "private:stream" ), aSeq );
- SotStorageRef xOLEStor = new SotStorage( pStream, TRUE );
+ SotStorageRef xOLEStor = new SotStorage( pStream, sal_True );
xOLEStor->CopyTo( &rDestStg );
rDestStg.Commit();
}