diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-05 08:47:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-05 12:57:18 +0200 |
commit | 8130714148d58dd2bf1ef12dcc6dd6d5838be0d1 (patch) | |
tree | bf8cf91d9837b9d03e1e3e336be7eb35667d4de9 /filter/source/xmlfilterdetect | |
parent | 54942f0d093e42b06c7a6c10e93d632bfe0c6519 (diff) |
fdo#84938: replace NUMBERFORMAT_INT_ constants with 'enum class'
Change-Id: I9c67de31f5571b282adc132d973b79bccb35fdc9
Diffstat (limited to 'filter/source/xmlfilterdetect')
-rw-r--r-- | filter/source/xmlfilterdetect/filterdetect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xmlfilterdetect/filterdetect.cxx b/filter/source/xmlfilterdetect/filterdetect.cxx index b4d614f172cc..d797a9fca61d 100644 --- a/filter/source/xmlfilterdetect/filterdetect.cxx +++ b/filter/source/xmlfilterdetect/filterdetect.cxx @@ -109,7 +109,7 @@ OUString SAL_CALL FilterDetect::detect( com::sun::star::uno::Sequence< com::sun: else if ( nHeader == 0x3C00 ) { bTryUtf16 = true; - pInStream->SetEndianSwap( !pInStream->IsEndianSwap() ); + pInStream->SetEndian( pInStream->GetEndian() == SvStreamEndian::LITTLE ? SvStreamEndian::BIG : SvStreamEndian::LITTLE ); } pInStream->Seek( STREAM_SEEK_TO_BEGIN ); } |