summaryrefslogtreecommitdiff
path: root/include/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-08 11:01:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 07:27:39 +0100
commitc40d9ecd912a777ee25c6da6fbd2564b0d43a9b9 (patch)
tree5128962412b346ff9d2bdb79993838ce5072b2a2 /include/tools
parentafc96d263959d10e457b54a574f0829d20e99df4 (diff)
loplugin:unnecessaryvirtual
Change-Id: I5696c853daa16c9e55ff046d67102ba3042bfea8 Reviewed-on: https://gerrit.libreoffice.org/44459 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools')
-rw-r--r--include/tools/stream.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 64823f48d078..726412825bf6 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -292,7 +292,7 @@ public:
@endcode
causing endless loops ...
*/
- virtual bool ReadLine( OString& rStr, sal_Int32 nMaxBytesToRead = 0xFFFE );
+ bool ReadLine( OString& rStr, sal_Int32 nMaxBytesToRead = 0xFFFE );
bool WriteLine( const OString& rStr );
/** Read a line of bytes.
@@ -408,7 +408,7 @@ public:
If we try to read into a variable v and the operation fails, the value
of v should be unchanged,
*/
- virtual bool good() const { return !(eof() || bad()); }
+ bool good() const { return !(eof() || bad()); }
private:
template<typename T>