diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-14 16:55:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-16 14:19:12 +0000 |
commit | 432e3162e6cf4e90137699d45934b5db56a89aaf (patch) | |
tree | a9e0e22a20591dde6f0a14aa8861ad0ce8c2b28f /fpicker/source/win32/filepicker/FilterContainer.hxx | |
parent | 5f2bf2ce3ce2b5614ceaa454bffb3ce0623ce48a (diff) |
clang-cl loplugin: fpicker
Change-Id: Ib19175affd48610fc164a996d609b369256d4f72
Reviewed-on: https://gerrit.libreoffice.org/29865
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker/source/win32/filepicker/FilterContainer.hxx')
-rw-r--r-- | fpicker/source/win32/filepicker/FilterContainer.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/fpicker/source/win32/filepicker/FilterContainer.hxx b/fpicker/source/win32/filepicker/FilterContainer.hxx index 26e755d6efbe..18edcf5df25e 100644 --- a/fpicker/source/win32/filepicker/FilterContainer.hxx +++ b/fpicker/source/win32/filepicker/FilterContainer.hxx @@ -43,14 +43,14 @@ public: // returns true if the filter was successfully added // returns false if duplicates are not allowed and // the filter is already in the container - sal_Bool SAL_CALL addFilter( + bool SAL_CALL addFilter( const OUString& aName, const OUString& aFilter, - sal_Bool bAllowDuplicates = sal_False ); + bool bAllowDuplicates = false ); // delete the specified filter returns true on // success and false if the filter was not found - sal_Bool SAL_CALL delFilter( const OUString& aName ); + bool SAL_CALL delFilter( const OUString& aName ); // the number of filter already added sal_Int32 SAL_CALL numFilter( ); @@ -61,8 +61,8 @@ public: // retrieve a filter from the container both methods // return true on success and false if the specified // filter was not found - sal_Bool SAL_CALL getFilter( const OUString& aName, OUString& theFilter ) const; - sal_Bool SAL_CALL getFilter( sal_Int32 aIndex, OUString& theFilter ) const; + bool SAL_CALL getFilter( const OUString& aName, OUString& theFilter ) const; + bool SAL_CALL getFilter( sal_Int32 aIndex, OUString& theFilter ) const; // returns the position of the specified filter or -1 // if the filter was not found @@ -72,7 +72,7 @@ public: void SAL_CALL beginEnumFilter( ); // returns true if another filter has been retrieved - sal_Bool SAL_CALL getNextFilter( FILTER_ENTRY_T& nextFilterEntry ); + bool SAL_CALL getNextFilter( FILTER_ENTRY_T& nextFilterEntry ); // cache current filter void SAL_CALL setCurrentFilter( const OUString& aName ); @@ -93,7 +93,7 @@ private: private: FILTER_VECTOR_T m_vFilters; FILTER_VECTOR_T::const_iterator m_iter; - sal_Bool m_bIterInitialized; + bool m_bIterInitialized; OUString m_sCurrentFilter; }; |