Kaydet (Commit) 14060e76 authored tarafından Wastack's avatar Wastack Kaydeden (comit) David Tardon

tdf#97966 Drop 'static' keywords

Change-Id: I2e495243b75fc239dafbf63c7644115f0a923f4a
Reviewed-on: https://gerrit.libreoffice.org/23607Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst ba0a866b
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
namespace namespace
{ {
static OString lcl_NormalizeFilename(const OString& rFilename) OString lcl_NormalizeFilename(const OString& rFilename)
{ {
return rFilename.copy( return rFilename.copy(
std::max( std::max(
...@@ -37,7 +37,7 @@ namespace ...@@ -37,7 +37,7 @@ namespace
rFilename.lastIndexOf( '/' ))+1); rFilename.lastIndexOf( '/' ))+1);
}; };
static bool lcl_ReadPoChecked( bool lcl_ReadPoChecked(
PoEntry& o_rPoEntry, PoIfstream& rPoFile, PoEntry& o_rPoEntry, PoIfstream& rPoFile,
const OString& rFileName) const OString& rFileName)
{ {
......
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
namespace namespace
{ {
// Convert a normal string to msg/po output string // 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() ) if ( rString.isEmpty() )
return "\"\""; return "\"\"";
...@@ -114,7 +114,7 @@ namespace ...@@ -114,7 +114,7 @@ namespace
} }
// Convert msg string to normal form // Convert msg string to normal form
static OString lcl_GenNormString(const OString& rString) OString lcl_GenNormString(const OString& rString)
{ {
return return
helper::unEscapeAll( helper::unEscapeAll(
...@@ -406,7 +406,7 @@ OString PoEntry::genKeyId(const OString& rGenerator) ...@@ -406,7 +406,7 @@ OString PoEntry::genKeyId(const OString& rGenerator)
namespace namespace
{ {
// Get actual time in "YEAR-MO-DA HO:MI+ZONE" form // Get actual time in "YEAR-MO-DA HO:MI+ZONE" form
static OString lcl_GetTime() OString lcl_GetTime()
{ {
time_t aNow = time(nullptr); time_t aNow = time(nullptr);
struct tm* pNow = localtime(&aNow); struct tm* pNow = localtime(&aNow);
...@@ -511,7 +511,7 @@ namespace ...@@ -511,7 +511,7 @@ namespace
{ {
// Check the validity of read entry // 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 OString sMsgCtxt = rEntry.getMsgCtxt();
const sal_Int32 nFirstEndLine = sMsgCtxt.indexOf('\n'); const sal_Int32 nFirstEndLine = sMsgCtxt.indexOf('\n');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment