Kaydet (Commit) 944d1fd5 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix windows build and sal_Bool->bool

Change-Id: If88a5b1171ef0b586861dd071820bc993c4cf06e
üst a251fe4d
......@@ -696,23 +696,21 @@ SfxFilterFlags MimeConfigurationHelper::GetFilterFlags( const OUString& aFilterN
return nFlags;
}
sal_Bool MimeConfigurationHelper::AddFilterNameCheckOwnFile(
bool MimeConfigurationHelper::AddFilterNameCheckOwnFile(
uno::Sequence< beans::PropertyValue >& aMediaDescr )
{
sal_Bool bResult = sal_False;
OUString aFilterName = UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_False );
if ( !aFilterName.isEmpty() )
{
SfxFilterFlags nFlags = GetFilterFlags( aFilterName );
// check the OWN flag
bResult = ( nFlags & SfxFilterFlags::OWN );
return bool(nFlags & SfxFilterFlags::OWN);
}
return bResult;
return false;
}
#endif
#endif
OUString MimeConfigurationHelper::GetDefaultFilterFromServiceName( const OUString& aServiceName, sal_Int32 nVersion )
{
......
......@@ -115,7 +115,7 @@ public:
#ifdef WNT
SfxFilterFlags GetFilterFlags( const OUString& aFilterName );
sal_Bool AddFilterNameCheckOwnFile(
bool AddFilterNameCheckOwnFile(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr );
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment