Kaydet (Commit) fe3b2912 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4800: 'unsigned long' : forcing value to bool 'true' or 'false'

Change-Id: Iea71e791a760b38448a89294ab4136f815b8932c
üst 6c54831d
......@@ -77,13 +77,13 @@ public:
const OUString& rServiceName );
~SfxFilter();
bool IsAllowedAsTemplate() const { return nFormatType & SFX_FILTER_TEMPLATE; }
bool IsOwnFormat() const { return nFormatType & SFX_FILTER_OWN; }
bool IsOwnTemplateFormat() const { return nFormatType & SFX_FILTER_TEMPLATEPATH; }
bool IsAlienFormat() const { return nFormatType & SFX_FILTER_ALIEN; }
bool CanImport() const { return nFormatType & SFX_FILTER_IMPORT; }
bool CanExport() const { return nFormatType & SFX_FILTER_EXPORT; }
bool IsInternal() const { return nFormatType & SFX_FILTER_INTERNAL; }
bool IsAllowedAsTemplate() const { return (nFormatType & SFX_FILTER_TEMPLATE) != 0; }
bool IsOwnFormat() const { return (nFormatType & SFX_FILTER_OWN) != 0; }
bool IsOwnTemplateFormat() const { return (nFormatType & SFX_FILTER_TEMPLATEPATH) != 0; }
bool IsAlienFormat() const { return (nFormatType & SFX_FILTER_ALIEN) != 0; }
bool CanImport() const { return (nFormatType & SFX_FILTER_IMPORT) != 0; }
bool CanExport() const { return (nFormatType & SFX_FILTER_EXPORT) != 0; }
bool IsInternal() const { return (nFormatType & SFX_FILTER_INTERNAL) != 0; }
SfxFilterFlags GetFilterFlags() const { return nFormatType; }
const OUString& GetFilterName() const { return maFilterName; }
const OUString& GetMimeType() const { return aMimeType; }
......
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