Kaydet (Commit) 9b39649f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticanonymous

cf. <https://gerrit.libreoffice.org/#/c/23630/> "tdf#97966 Compiler plugin"; in
code not covered by Tamás's pending "tdf#97966 Drop 'static' keywords" changes.

Change-Id: Ifbaef83fdb1fde7e25fafd5746cdbf99c334c5be
üst 5f4f6b31
......@@ -98,7 +98,7 @@ OUString getReleaseNote(const UpdateInfo& rInfo, sal_uInt8 pos, bool autoDownloa
namespace
{
static inline OUString getBuildId()
inline OUString getBuildId()
{
OUString aPathVal("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":buildid}");
rtl::Bootstrap::expandMacros(aPathVal);
......@@ -107,7 +107,7 @@ static inline OUString getBuildId()
#if defined LINUX || defined SOLARIS
static inline OUString getBaseInstallation()
inline OUString getBaseInstallation()
{
OUString aPathVal("$BRAND_BASE_DIR");
rtl::Bootstrap::expandMacros(aPathVal);
......@@ -196,7 +196,7 @@ OUString getImageFromFileName(const OUString& aFile)
}
static uno::Reference< beans::XPropertySet > createMenuBarUI(
uno::Reference< beans::XPropertySet > createMenuBarUI(
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< task::XJob >& xJob)
{
......
......@@ -352,7 +352,7 @@ void callSystemHandler(int signal)
}
#if defined HAVE_VALGRIND_HEADERS
static void DUMPCURRENTALLOCS()
void DUMPCURRENTALLOCS()
{
VALGRIND_PRINTF( "=== start memcheck dump of active allocations ===\n" );
......
......@@ -42,7 +42,7 @@ using namespace com::sun::star;
// helper function for lcl_CheckRedline
// 1. make sure that pPos->nContent points into pPos->nNode
// 2. check that position is valid and doesn't point after text
static void lcl_CheckPosition( const SwPosition* pPos )
void lcl_CheckPosition( const SwPosition* pPos )
{
assert(dynamic_cast<SwIndexReg*>(&pPos->nNode.GetNode())
== pPos->nContent.GetIdxReg());
......@@ -58,7 +58,7 @@ using namespace com::sun::star;
}
}
static void lcl_CheckPam( const SwPaM* pPam )
void lcl_CheckPam( const SwPaM* pPam )
{
assert(pPam);
lcl_CheckPosition( pPam->GetPoint() );
......@@ -67,7 +67,7 @@ using namespace com::sun::star;
// check validity of the redline table. Checks redline bounds, and make
// sure the redlines are sorted and non-overlapping.
static void lcl_CheckRedline( IDocumentRedlineAccess& redlineAccess )
void lcl_CheckRedline( IDocumentRedlineAccess& redlineAccess )
{
const SwRedlineTable& rTable = redlineAccess.GetRedlineTable();
......
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