From 9e3de617f3928e09d2430d86b5092096c0b949e0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 16 Jul 2011 22:48:44 +0100 Subject: CHECKERROR unused --- sfx2/source/bastyp/fltfnc.cxx | 16 ---------------- 1 file changed, 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 ); -- cgit