l10ntools/source/merge.cxx | 4 ++-- l10ntools/source/po.cxx | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 14060e76e33cfb305c1469fecf7db688bf8a8858 Author: Wastack <btom...@gmail.com> Date: Tue Mar 29 23:49:41 2016 +0200 tdf#97966 Drop 'static' keywords Change-Id: I2e495243b75fc239dafbf63c7644115f0a923f4a Reviewed-on: https://gerrit.libreoffice.org/23607 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: David Tardon <dtar...@redhat.com> diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index 7789e3b..7ee2360 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 6aa7c1d..1d8223e 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'); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits