summaryrefslogtreecommitdiff
path: root/l10ntools/source
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/source
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/source')
-rw-r--r--l10ntools/source/cfgmerge.cxx7
1 files changed, 1 insertions, 6 deletions
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