summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-18 14:55:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:07:18 +0000
commit877774c05731b7505a3d3a947a1dcb528f36df41 (patch)
tree7576ec1fcdd6bb6357b7d96347a720fb82d4ee6e /l10ntools
parentf019ee7cf9e278cd8a27b1c36172ad4c8124080c (diff)
loplugin:expandablemethodds in hwpfilter..linguistic
Change-Id: If20fd4a6cf8a8e005804dbb7caf41cce73d587a5 Reviewed-on: https://gerrit.libreoffice.org/30016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/cfgmerge.hxx2
-rw-r--r--l10ntools/source/cfgmerge.cxx7
2 files changed, 1 insertions, 8 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index 2b43598a6d2f..3d2162ad4bfe 100644
--- a/l10ntools/inc/cfgmerge.hxx
+++ b/l10ntools/inc/cfgmerge.hxx
@@ -111,8 +111,6 @@ protected:
virtual void Output(const OString & rOutput)=0;
- static void Error(const OString &rError);
-
private:
void ExecuteAnalyzedToken( int nToken, char *pToken );
void AddText(
diff --git a/l10ntools/source/cfgmerge.cxx b/l10ntools/source/cfgmerge.cxx
index 3ea923059392..20a6f0deac47 100644
--- a/l10ntools/source/cfgmerge.cxx
+++ b/l10ntools/source/cfgmerge.cxx
@@ -266,7 +266,7 @@ void CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken )
sError += sToken;
sError += sInFile;
sError += global::inputPathname;
- Error( sError );
+ yyerror(sError.getStr());
std::exit(EXIT_FAILURE);
}
}
@@ -331,11 +331,6 @@ void CfgParser::Execute( int nToken, char * pToken )
ExecuteAnalyzedToken( nToken, pToken );
}
-void CfgParser::Error(const OString& rError)
-{
- yyerror(rError.getStr());
-}
-
// class CfgExport