summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:50:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:28 +0200
commitd60759a96da789e48137de7c256180a3ae450012 (patch)
treef9cef2990b0004a0ec97a03f1a92c3dd693ac8b3 /l10ntools
parent3107156f4135ca58998abd5d621a33af82cb8ddb (diff)
loplugin:staticcall
Change-Id: I6f18ab4dc082e30e51b4c0020dff4ff098275b60
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpex.cxx2
-rw-r--r--l10ntools/source/idxdict/idxdict.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/helpex.cxx b/l10ntools/source/helpex.cxx
index 38b1e7952430..c45564de2e65 100644
--- a/l10ntools/source/helpex.cxx
+++ b/l10ntools/source/helpex.cxx
@@ -122,7 +122,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
{
HelpParser aParser( aArgs.m_sInputFile );
hasNoError =
- aParser.CreatePO(
+ HelpParser::CreatePO(
aArgs.m_sOutputFile, aArgs.m_sInputFile,
new XMLFile( OString('0') ), "help" );
}
diff --git a/l10ntools/source/idxdict/idxdict.cxx b/l10ntools/source/idxdict/idxdict.cxx
index 035296a233d7..e35bceaa0aea 100644
--- a/l10ntools/source/idxdict/idxdict.cxx
+++ b/l10ntools/source/idxdict/idxdict.cxx
@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
::exit(99);
}
// This call improves performance by approx 5x
- cin.sync_with_stdio(false);
+ std::ios_base::sync_with_stdio(false);
const char * outputFile(argv[2]);
char inputBuffer[MAXLINE];