diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 10:02:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 11:04:05 +0200 |
commit | 3be72fe233b3e6d7aeb267f6c82d8bf9759b39ef (patch) | |
tree | a8304c473bac0da12a6b5d35f7841cd61a13b01c /include/vcl/graphicfilter.hxx | |
parent | b5c5cccabe68dc2de84cee4ef041f52268e5b8b4 (diff) |
loplugin:constmethod in vcl
Change-Id: I20545527b117c9562b91076b748fb3e2659d2497
Reviewed-on: https://gerrit.libreoffice.org/77944
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/graphicfilter.hxx')
-rw-r--r-- | include/vcl/graphicfilter.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 2e8dda3c0d2d..14373039b684 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -233,7 +233,7 @@ public: GraphicFilter( bool bUseConfig = true ); ~GraphicFilter(); - sal_uInt16 GetImportFormatCount(); + sal_uInt16 GetImportFormatCount() const; sal_uInt16 GetImportFormatNumber( const OUString& rFormatName ); sal_uInt16 GetImportFormatNumberForShortName( const OUString& rShortName ); sal_uInt16 GetImportFormatNumberForTypeName( const OUString& rType ); @@ -245,7 +245,7 @@ public: OUString GetImportFormatShortName( sal_uInt16 nFormat ); OUString GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry ); - sal_uInt16 GetExportFormatCount(); + sal_uInt16 GetExportFormatCount() const; sal_uInt16 GetExportFormatNumber( const OUString& rFormatName ); sal_uInt16 GetExportFormatNumberForMediaType( const OUString& rShortName ); sal_uInt16 GetExportFormatNumberForShortName( const OUString& rShortName ); @@ -295,7 +295,7 @@ public: WmfExternal const *pExtHeader = nullptr ); // Setting sizeLimit limits how much will be read from the stream. - Graphic ImportUnloadedGraphic(SvStream& rIStream, sal_uInt64 sizeLimit = 0, Size* pSizeHint = nullptr); + Graphic ImportUnloadedGraphic(SvStream& rIStream, sal_uInt64 sizeLimit = 0, const Size* pSizeHint = nullptr); const FilterErrorEx& GetLastError() const { return *pErrorEx;} void ResetLastError(); |