diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-04 14:20:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-05 07:32:46 +0100 |
commit | 9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 (patch) | |
tree | 544f3e51a3978bd234a1c9fcdbf12d9b84352da4 /package/inc | |
parent | eaf89e477af94bd3977aca17d72dd442c7604e63 (diff) |
loplugin:salcall fix non-virtual methods
first, since those are safer to change than virtual methods
Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe
Reviewed-on: https://gerrit.libreoffice.org/45798
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc')
-rw-r--r-- | package/inc/ByteGrabber.hxx | 8 | ||||
-rw-r--r-- | package/inc/CRC32.hxx | 10 | ||||
-rw-r--r-- | package/inc/ZipEnumeration.hxx | 4 | ||||
-rw-r--r-- | package/inc/ZipPackageStream.hxx | 2 |
4 files changed, 12 insertions, 12 deletions
diff --git a/package/inc/ByteGrabber.hxx b/package/inc/ByteGrabber.hxx index 60a8e1e9f0e5..7a8e0c379596 100644 --- a/package/inc/ByteGrabber.hxx +++ b/package/inc/ByteGrabber.hxx @@ -51,18 +51,18 @@ public: /// @throws css::io::BufferSizeExceededException /// @throws css::io::IOException /// @throws css::uno::RuntimeException - sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ); + sal_Int32 readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ); // XSeekable /// @throws css::lang::IllegalArgumentException /// @throws css::io::IOException /// @throws css::uno::RuntimeException - void SAL_CALL seek( sal_Int64 location ); + void seek( sal_Int64 location ); /// @throws css::io::IOException /// @throws css::uno::RuntimeException - sal_Int64 SAL_CALL getPosition( ); + sal_Int64 getPosition( ); /// @throws css::io::IOException /// @throws css::uno::RuntimeException - sal_Int64 SAL_CALL getLength( ); + sal_Int64 getLength( ); sal_uInt16 ReadUInt16(); sal_uInt32 ReadUInt32(); diff --git a/package/inc/CRC32.hxx b/package/inc/CRC32.hxx index 778756475414..e19ed60d99c3 100644 --- a/package/inc/CRC32.hxx +++ b/package/inc/CRC32.hxx @@ -33,15 +33,15 @@ public: ~CRC32(); /// @throws css::uno::RuntimeException - sal_Int64 SAL_CALL updateStream (css::uno::Reference < css::io::XInputStream > const & xStream); + sal_Int64 updateStream (css::uno::Reference < css::io::XInputStream > const & xStream); /// @throws css::uno::RuntimeException - void SAL_CALL updateSegment(const css::uno::Sequence< sal_Int8 > &b, sal_Int32 len); + void updateSegment(const css::uno::Sequence< sal_Int8 > &b, sal_Int32 len); /// @throws css::uno::RuntimeException - void SAL_CALL update(const css::uno::Sequence< sal_Int8 > &b); + void update(const css::uno::Sequence< sal_Int8 > &b); /// @throws css::uno::RuntimeException - sal_Int32 SAL_CALL getValue(); + sal_Int32 getValue(); /// @throws css::uno::RuntimeException - void SAL_CALL reset(); + void reset(); }; #endif diff --git a/package/inc/ZipEnumeration.hxx b/package/inc/ZipEnumeration.hxx index c84ae2ce2410..07e8a5848617 100644 --- a/package/inc/ZipEnumeration.hxx +++ b/package/inc/ZipEnumeration.hxx @@ -26,8 +26,8 @@ class ZipEnumeration final EntryHash &rEntryHash; EntryHash::const_iterator aIterator; public: - bool SAL_CALL hasMoreElements(); - const ZipEntry * SAL_CALL nextElement(); + bool hasMoreElements(); + const ZipEntry * nextElement(); ZipEnumeration( EntryHash &rNewEntryHash ); ~ZipEnumeration(); }; diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx index d8f6903e35ac..4620b5da64f2 100644 --- a/package/inc/ZipPackageStream.hxx +++ b/package/inc/ZipPackageStream.hxx @@ -75,7 +75,7 @@ private: css::uno::Reference< css::io::XInputStream > const & GetOwnSeekStream(); /// get raw data using unbuffered stream /// @throws css::uno::RuntimeException - css::uno::Reference< css::io::XInputStream > SAL_CALL getRawData(); + css::uno::Reference< css::io::XInputStream > getRawData(); public: bool IsPackageMember () const { return m_nStreamMode == PACKAGE_STREAM_PACKAGEMEMBER;} |