summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 43b07937df..a94fff078a 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 );