summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
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