diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 10:53:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-30 10:53:10 +0200 |
commit | 0dccc59702c4a30e9aca8251e64678a2588a5513 (patch) | |
tree | 409bd4e48b6efc331baedd0a7a07184ddad03a68 /sfx2/source/bastyp | |
parent | a29efdc0489df61a4ad6b717d93775a7c244596f (diff) |
Use typed MaybeFile Link
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 6db9950b47e0..09f59473b5b6 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -862,7 +862,7 @@ const SfxFilter* SfxFilterMatcher::GetFilter4FilterName( const OUString& rName, return NULL; } -IMPL_STATIC_LINK( SfxFilterMatcher, MaybeFileHdl_Impl, OUString*, pString ) +IMPL_STATIC_LINK_TYPED( SfxFilterMatcher, MaybeFileHdl_Impl, OUString*, pString, bool ) { const SfxFilter* pFilter = pThis->GetFilter4Extension( *pString, SfxFilterFlags::IMPORT ); if (pFilter && !pFilter->GetWildcard().Matches( OUString() ) && @@ -870,9 +870,9 @@ IMPL_STATIC_LINK( SfxFilterMatcher, MaybeFileHdl_Impl, OUString*, pString ) !pFilter->GetWildcard().Matches(OUString('*')) ) { - return sal_True; + return true; } - return sal_False; + return false; } |