diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 10:32:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-11 11:27:55 +0200 |
commit | 80b04f3d767bced56c68839731c48284bc1a59e3 (patch) | |
tree | 8ab1c9b8201c72864e6103f748d24809953c80e1 /include/sfx2/docfilt.hxx | |
parent | 64fb35889d76d44ac293918c4e475d0272ec903e (diff) |
long->sal_Int32 in various Get/SetVersion
sal_Int32 appears to be the widest type we need here
Change-Id: I1859936dbe7b6a95840c638c8ca5d4148849e12d
Reviewed-on: https://gerrit.libreoffice.org/42154
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/docfilt.hxx')
-rw-r--r-- | include/sfx2/docfilt.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx index 75b889f451d3..95fde5036d06 100644 --- a/include/sfx2/docfilt.hxx +++ b/include/sfx2/docfilt.hxx @@ -58,7 +58,7 @@ class SFX2_DLLPUBLIC SfxFilter OUString maProvider; SfxFilterFlags nFormatType; - sal_uIntPtr nVersion; + sal_Int32 nVersion; SotClipboardFormatId lFormat; public: @@ -98,8 +98,8 @@ public: bool UsesStorage() const { return GetFormat() != SotClipboardFormatId::NONE; } void SetURLPattern( const OUString& rStr ); void SetUIName( const OUString& rName ) { aUIName = rName; } - void SetVersion( sal_uIntPtr nVersionP ) { nVersion = nVersionP; } - sal_uIntPtr GetVersion() const { return nVersion; } + void SetVersion( sal_Int32 nVersionP ) { nVersion = nVersionP; } + sal_Int32 GetVersion() const { return nVersion; } OUString GetSuffixes() const; OUString GetDefaultExtension() const; const OUString& GetServiceName() const { return aServiceName; } |