diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-16 22:48:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-16 22:48:44 +0100 |
commit | 9e3de617f3928e09d2430d86b5092096c0b949e0 (patch) | |
tree | ea18a9c7990fb035327a00a032faf582a197de76 /sfx2/source | |
parent | 6cf70c53bba54975dcfcdce8635605b9b9320ce7 (diff) |
CHECKERROR unused
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 348399b34a6a..ced3dd807717 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -418,22 +418,6 @@ sal_uInt32 SfxFilterMatcher::GuessFilterIgnoringContent( //---------------------------------------------------------------- -#define CHECKERROR() \ -if( nErr == 1 || nErr == USHRT_MAX || nErr == ULONG_MAX ) \ -{ \ - ByteString aText = "Fehler in FilterDetection: Returnwert ";\ - aText += ByteString::CreateFromInt32(nErr); \ - if( pFilter ) \ - { \ - aText += ' '; \ - aText += ByteString(U2S(pFilter->GetFilterName())); \ - } \ - OSL_FAIL( aText.GetBuffer() ); \ - nErr = ERRCODE_ABORT; \ -} - -//---------------------------------------------------------------- - sal_uInt32 SfxFilterMatcher::GuessFilter( SfxMedium& rMedium, const SfxFilter**ppFilter, SfxFilterFlags nMust, SfxFilterFlags nDont ) const { return GuessFilterControlDefaultUI( rMedium, ppFilter, nMust, nDont, sal_True ); |