diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rscerror.h | 2 | ||||
-rw-r--r-- | rsc/source/rscpp/cpp1.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rsc/inc/rscerror.h b/rsc/inc/rscerror.h index bc1516a73c41..fc494c09d1d7 100644 --- a/rsc/inc/rscerror.h +++ b/rsc/inc/rscerror.h @@ -136,6 +136,8 @@ class RscError void ErrorFormat( const ERRTYPE& rError, RscTop * pClass, const RscId & aId ); public: + virtual ~RscError() {} + sal_uInt32 nErrors;// Anzahl der Fehler RscError( RscVerbosity _verbosity ) { fListing = NULL; diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c index 014a14b1e65d..fbac898b7ed4 100644 --- a/rsc/source/rscpp/cpp1.c +++ b/rsc/source/rscpp/cpp1.c @@ -466,7 +466,7 @@ void cppmain() unget(); /* Reread the char. */ for (;;) { /* For the whole line, */ do { /* Token concat. loop */ - for (counter = 0; (type[(c = get())] == SPA);) { + for (counter = 0; type[(c = get())] == SPA;) { #if COMMENT_INVISIBLE if (c != COM_SEP) counter++; |