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 @@
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)
{
......
......@@ -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');
......
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