diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-26 13:12:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 13:13:42 +0200 |
commit | ed085a6d2043e1da6b50a9d00742b812c9ff0247 (patch) | |
tree | 2301c4fd94cecc102111b2ad80b253b9883e0552 /sfx2 | |
parent | dd2b8472a97d1ab01111f9969b046a1c2ec5586a (diff) |
cleanup GUID/ClsId/CLSID types
- rename GUID to SvGUID so we don't need an #ifdef WIN32
- drop ClsId struct, since it is used interchangeably with GUID and has
the same structure
Change-Id: Idf5c14c82a6861ef585fb57896a9b12cfe40374c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx index b5c8fa022633..86b9d48030fc 100644 --- a/sfx2/source/doc/objitem.cxx +++ b/sfx2/source/doc/objitem.cxx @@ -81,7 +81,7 @@ bool SfxObjectShellItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uIn xModel, ::com::sun::star::uno::UNO_QUERY ); if ( xTunnel.is() ) { - ::com::sun::star::uno::Sequence < sal_Int8 > aSeq( (sal_Int8*) SvGlobalName( SFX_GLOBAL_CLASSID ).GetBytes(), 16 ); + ::com::sun::star::uno::Sequence < sal_Int8 > aSeq = SvGlobalName( SFX_GLOBAL_CLASSID ).GetByteSequence(); sal_Int64 nHandle = xTunnel->getSomething( aSeq ); if ( nHandle ) { |