diff options
author | Wastack <btomi96@gmail.com> | 2016-03-29 23:49:41 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-03-30 14:25:11 +0000 |
commit | 14060e76e33cfb305c1469fecf7db688bf8a8858 (patch) | |
tree | 01cf5e0226a37e707760d502ff6b3793954c5a5a /l10ntools | |
parent | tdf#96505: fix wrong SfxDispatcher::Execute calls ... (diff) | |
download | core-14060e76e33cfb305c1469fecf7db688bf8a8858.tar.gz core-14060e76e33cfb305c1469fecf7db688bf8a8858.zip |
tdf#97966 Drop 'static' keywords
Change-Id: I2e495243b75fc239dafbf63c7644115f0a923f4a
Reviewed-on: https://gerrit.libreoffice.org/23607
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/merge.cxx | 4 | ||||
-rw-r--r-- | l10ntools/source/po.cxx | 8 |
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'); |