summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-04-05 07:54:52 +0300
committerTor Lillqvist <tml@collabora.com>2016-04-05 07:54:52 +0300
commit08b8de7c93a80f6c5a0d131fa07da8b1eb622ff9 (patch)
treebe00848ce919806404b5363664313440626e1ec0 /l10ntools
parentc1b90fa342e09ab30068f6294fc866c63d7ae4c4 (diff)
loplugin:staticanonymous
Change-Id: If86e2df6d24766c5685466c4c6fc63ecba798000
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/merge.cxx4
-rw-r--r--l10ntools/source/po.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index 7789e3bad730..7ee23603c6bf 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -29,7 +29,7 @@
namespace
{
- static OString lcl_NormalizeFilename(const OString& rFilename)
+ OString lcl_NormalizeFilename(const OString& rFilename)
{
return rFilename.copy(
std::max(
@@ -37,7 +37,7 @@ namespace
rFilename.lastIndexOf( '/' ))+1);
};
- static bool lcl_ReadPoChecked(
+ bool lcl_ReadPoChecked(
PoEntry& o_rPoEntry, PoIfstream& rPoFile,
const OString& rFileName)
{
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index 6aa7c1d6f48c..1d8223e869f7 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -87,7 +87,7 @@ public:
namespace
{
// Convert a normal string to msg/po output string
- static OString lcl_GenMsgString(const OString& rString)
+ OString lcl_GenMsgString(const OString& rString)
{
if ( rString.isEmpty() )
return "\"\"";
@@ -114,7 +114,7 @@ namespace
}
// Convert msg string to normal form
- static OString lcl_GenNormString(const OString& rString)
+ OString lcl_GenNormString(const OString& rString)
{
return
helper::unEscapeAll(
@@ -406,7 +406,7 @@ OString PoEntry::genKeyId(const OString& rGenerator)
namespace
{
// Get actual time in "YEAR-MO-DA HO:MI+ZONE" form
- static OString lcl_GetTime()
+ OString lcl_GetTime()
{
time_t aNow = time(nullptr);
struct tm* pNow = localtime(&aNow);
@@ -511,7 +511,7 @@ namespace
{
// Check the validity of read entry
-static bool lcl_CheckInputEntry(const GenPoEntry& rEntry)
+bool lcl_CheckInputEntry(const GenPoEntry& rEntry)
{
const OString sMsgCtxt = rEntry.getMsgCtxt();
const sal_Int32 nFirstEndLine = sMsgCtxt.indexOf('\n');