diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 14:05:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 14:48:28 +0200 |
commit | ef1556416adb5ee88b9560e430281e7ce480da32 (patch) | |
tree | 6940baed3326573bc49ec88cbe9de708e3240b68 /filter | |
parent | 63de6ba249a0e4349b66442821ad73aff71f25d8 (diff) |
Avoid css::uno::Sequence<sal_uInt8> (which is not a proper UNO type)
Change-Id: I887c358161f7ac4032b9ad9166ff16aa0b19eaa1
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 5d01ec6b62c2..eb1375214528 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -1447,8 +1447,8 @@ bool EscherPropertyContainer::CreateGraphicProperties( sal_uInt16 nAngle = 0; if ( rSource == "MetaFile" ) { - ::com::sun::star::uno::Sequence<sal_uInt8> aSeq = *static_cast<css::uno::Sequence<sal_uInt8> const *>(aAny.getValue()); - const sal_uInt8* pAry = aSeq.getArray(); + ::com::sun::star::uno::Sequence<sal_Int8> aSeq = *static_cast<css::uno::Sequence<sal_Int8> const *>(aAny.getValue()); + const sal_Int8* pAry = aSeq.getArray(); sal_uInt32 nAryLen = aSeq.getLength(); // the metafile is already rotated @@ -1457,7 +1457,7 @@ bool EscherPropertyContainer::CreateGraphicProperties( if ( pAry && nAryLen ) { Graphic aGraphic; - SvMemoryStream aTemp( const_cast<sal_uInt8 *>(pAry), nAryLen, StreamMode::READ ); + SvMemoryStream aTemp( const_cast<sal_Int8 *>(pAry), nAryLen, StreamMode::READ ); sal_uInt32 nErrCode = GraphicConverter::Import( aTemp, aGraphic, ConvertDataFormat::WMF ); if ( nErrCode == ERRCODE_NONE ) { |