summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-16 22:48:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-16 22:48:44 +0100
commit2cd552cc75ce043bcee29a8984198f8f359e47b7 (patch)
treea61d63d18334c30cfd3ba885c176aa1fdd4cef92 /sfx2
parent3669c86b31e1a1eee81f02f9e0540d4fc5183e2b (diff)
CHECKERROR unused
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 );