[Libreoffice-commits] core.git: include/svtools svtools/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Feb 2 08:04:52 UTC 2018
include/svtools/svparser.hxx | 2 +-
svtools/source/svrtf/svparser.cxx | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
New commits:
commit 41759e1e892f37c0a51b8ee8cf9422a42230f0c9
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Feb 1 22:25:50 2018 +0100
svtools: SvParser<T>::NextToken() can be pure-virtual
Change-Id: I9e8c87beb86ee073d6b5ee95c3f80e6dc55a99e9
Reviewed-on: https://gerrit.libreoffice.org/49117
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
Tested-by: Jenkins <ci at libreoffice.org>
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index 2d3eaeeaf254..bb046d8083f4 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -89,7 +89,7 @@ protected:
virtual T GetNextToken_() = 0;
// is called for each Token that is recognized in CallParser
- virtual void NextToken( T nToken );
+ virtual void NextToken( T nToken ) = 0;
// at times of SvRefBase derivation, not everybody may delete
virtual ~SvParser() override;
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index 11ebe9805027..c6d59c08eb04 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -541,13 +541,6 @@ typename SvParser<T>::TokenStackType* SvParser<T>::GetStackPtr( short nCnt )
return pTokenStack + nAktPos;
}
-// is called for each token which is recognised by CallParser
-template<typename T>
-void SvParser<T>::NextToken( T )
-{
-}
-
-
// to read asynchronous from SvStream
template<typename T>
More information about the Libreoffice-commits
mailing list