summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgole.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgole.cxx')
-rw-r--r--sot/source/sdstor/stgole.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index f52dff841cd8..2fcbffabf1e5 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -23,6 +23,7 @@
#include "stgole.hxx"
#include "sot/storinfo.hxx"
#include <boost/scoped_array.hpp>
+#include <sot/exchange.hxx>
#ifdef _MSC_VER
#pragma warning(disable: 4342)
@@ -97,13 +98,13 @@ StgCompObjStream::StgCompObjStream( BaseStorage& rStg, bool bWr )
: StgInternalStream( rStg, OUString("\1CompObj"), bWr )
{
memset( &aClsId, 0, sizeof( ClsId ) );
- nCbFormat = 0;
+ nCbFormat = SotClipboardFormatId::NONE;
}
bool StgCompObjStream::Load()
{
memset( &aClsId, 0, sizeof( ClsId ) );
- nCbFormat = 0;
+ nCbFormat = SotClipboardFormatId::NONE;
aUserName.clear();
if( GetError() != SVSTREAM_OK )
return false;