summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWastack <btomi96@gmail.com>2016-03-31 08:45:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-01 06:46:02 +0000
commiteea3f508c35f8f391825761ab6e1f3fbfb2fd0c1 (patch)
treed956fb94b7d9cf4b978eb1a9aca2910fca93d384
parent1271eadfac7e77ff7b249e64be3857ffdc0a261c (diff)
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks Change-Id: I87f2ed75888b51ec9e0cb75566bf7c2351b479b4 Reviewed-on: https://gerrit.libreoffice.org/23675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--pyuno/source/module/pyuno_module.cxx2
-rw-r--r--reportdesign/source/ui/report/propbrw.cxx2
-rw-r--r--rsc/source/rsc/rsc.cxx6
-rw-r--r--sal/rtl/strtmpl.cxx4
-rw-r--r--sal/textenc/convertsimple.cxx2
-rw-r--r--sax/qa/cppunit/test_converter.cxx14
-rw-r--r--sax/source/expatwrap/saxwriter.cxx4
-rw-r--r--sc/source/core/data/cellvalue.cxx2
-rw-r--r--sc/source/core/data/formulacell.cxx18
-rw-r--r--sc/source/core/tool/interpr1.cxx4
-rw-r--r--sc/source/filter/xcl97/xcl97rec.cxx8
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx2
-rw-r--r--sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx4
-rw-r--r--sfx2/source/appl/appserv.cxx6
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
-rw-r--r--sfx2/source/doc/guisaveas.cxx8
-rw-r--r--sfx2/source/doc/objmisc.cxx2
-rw-r--r--sfx2/source/doc/objxtor.cxx2
-rw-r--r--shell/source/sessioninstall/SyncDbusSessionHelper.cxx2
19 files changed, 47 insertions, 47 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index ed6f304e6b58..9e64c126dde1 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -140,7 +140,7 @@ public:
}
};
-static void fillStruct(
+void fillStruct(
const Reference< XInvocation2 > &inv,
typelib_CompoundTypeDescription *pCompType,
PyObject *initializer,
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx
index c6d3297908af..bd4bcf6312c4 100644
--- a/reportdesign/source/ui/report/propbrw.cxx
+++ b/reportdesign/source/ui/report/propbrw.cxx
@@ -70,7 +70,7 @@ using namespace ::comphelper;
namespace
{
- static bool lcl_shouldEnableHelpSection( const Reference< XComponentContext >& _rxContext )
+ bool lcl_shouldEnableHelpSection( const Reference< XComponentContext >& _rxContext )
{
::utl::OConfigurationTreeRoot aConfiguration(
::utl::OConfigurationTreeRoot::createWithComponentContext(
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index fe9107d07204..3c6eb9c8b1d6 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -529,7 +529,7 @@ namespace
using namespace ::osl;
class RscIoError { };
- static inline OUString lcl_getAbsoluteUrl(const OUString& i_sBaseUrl, const OString& i_sPath)
+ inline OUString lcl_getAbsoluteUrl(const OUString& i_sBaseUrl, const OString& i_sPath)
{
OUString sRelUrl, sAbsUrl;
if(FileBase::getFileURLFromSystemPath(OStringToOUString(i_sPath, RTL_TEXTENCODING_MS_1252), sRelUrl) != FileBase::E_None)
@@ -539,7 +539,7 @@ namespace
return sAbsUrl;
};
- static inline OString lcl_getSystemPath(const OUString& i_sUrl)
+ inline OString lcl_getSystemPath(const OUString& i_sUrl)
{
OUString sSys;
if(FileBase::getSystemPathFromFileURL(i_sUrl, sSys) != FileBase::E_None)
@@ -548,7 +548,7 @@ namespace
return OUStringToOString(sSys, RTL_TEXTENCODING_MS_1252);
};
- static inline OString lcl_getTempFile(OUString& sTempDirUrl)
+ inline OString lcl_getTempFile(OUString& sTempDirUrl)
{
// get a temp file name for the rc file
OUString sTempUrl;
diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx
index 7260fbcfc9d4..df0d1a2e52cf 100644
--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx
@@ -994,7 +994,7 @@ sal_Bool SAL_CALL IMPL_RTL_STRNAME( toBoolean )( const IMPL_RTL_STRCODE* pStr )
/* ----------------------------------------------------------------------- */
namespace {
- template<typename T, typename U> static inline T IMPL_RTL_STRNAME( toInt )( const IMPL_RTL_STRCODE* pStr,
+ template<typename T, typename U> inline T IMPL_RTL_STRNAME( toInt )( const IMPL_RTL_STRCODE* pStr,
sal_Int16 nRadix )
{
static_assert(std::numeric_limits<T>::is_signed, "is signed");
@@ -1084,7 +1084,7 @@ sal_Int64 SAL_CALL IMPL_RTL_STRNAME( toInt64 )( const IMPL_RTL_STRCODE* pStr,
/* ----------------------------------------------------------------------- */
namespace {
- template <typename T> static inline T IMPL_RTL_STRNAME( toUInt )( const IMPL_RTL_STRCODE* pStr,
+ template <typename T> inline T IMPL_RTL_STRNAME( toUInt )( const IMPL_RTL_STRCODE* pStr,
sal_Int16 nRadix )
{
static_assert(!std::numeric_limits<T>::is_signed, "is not signed");
diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx
index 11c5bf5758b5..476e8819bbd0 100644
--- a/sal/textenc/convertsimple.cxx
+++ b/sal/textenc/convertsimple.cxx
@@ -444,7 +444,7 @@ const sal_uInt16* ImplGetReplaceString( sal_Unicode c )
}
// Writes 0--2 characters to dest:
-static int ImplConvertUnicodeCharToChar(
+int ImplConvertUnicodeCharToChar(
const ImplByteConvertData* pConvertData, sal_Unicode c, char * dest )
{
const ImplUniCharTabData* pToCharExTab;
diff --git a/sax/qa/cppunit/test_converter.cxx b/sax/qa/cppunit/test_converter.cxx
index d8fe313eb047..c8b813c47d22 100644
--- a/sax/qa/cppunit/test_converter.cxx
+++ b/sax/qa/cppunit/test_converter.cxx
@@ -76,7 +76,7 @@ public:
private:
};
-static void doTest(util::Duration const & rid, char const*const pis,
+void doTest(util::Duration const & rid, char const*const pis,
char const*const i_pos = nullptr)
{
char const*const pos((i_pos) ? i_pos : pis);
@@ -100,7 +100,7 @@ static void doTest(util::Duration const & rid, char const*const pis,
CPPUNIT_ASSERT(buf.makeStringAndClear().equalsAscii(pos));
}
-static void doTestDurationF(char const*const pis)
+void doTestDurationF(char const*const pis)
{
util::Duration od;
bool bSuccess = Converter::convertDuration(od,
@@ -144,7 +144,7 @@ void ConverterTest::testDuration()
}
-static bool eqDateTime(const util::DateTime& a, const util::DateTime& b) {
+bool eqDateTime(const util::DateTime& a, const util::DateTime& b) {
return a.Year == b.Year && a.Month == b.Month && a.Day == b.Day
&& a.Hours == b.Hours && a.Minutes == b.Minutes
&& a.Seconds == b.Seconds
@@ -152,7 +152,7 @@ static bool eqDateTime(const util::DateTime& a, const util::DateTime& b) {
&& a.IsUTC == b.IsUTC;
}
-static void doTest(util::DateTime const & rdt, char const*const pis,
+void doTest(util::DateTime const & rdt, char const*const pis,
char const*const i_pos = nullptr)
{
char const*const pos((i_pos) ? i_pos : pis);
@@ -170,7 +170,7 @@ static void doTest(util::DateTime const & rdt, char const*const pis,
buf.makeStringAndClear());
}
-static void doTestDateTimeF(char const*const pis)
+void doTestDateTimeF(char const*const pis)
{
util::DateTime odt;
bool bSuccess = Converter::parseDateTime(odt, nullptr,
@@ -247,7 +247,7 @@ void ConverterTest::testDateTime()
SAL_INFO("sax.cppunit","\nSAX CONVERTER TEST END");
}
-static void doTestTime(util::DateTime const & rdt, char const*const pis,
+void doTestTime(util::DateTime const & rdt, char const*const pis,
char const*const i_pos = nullptr)
{
char const*const pos((i_pos) ? i_pos : pis);
@@ -265,7 +265,7 @@ static void doTestTime(util::DateTime const & rdt, char const*const pis,
buf.makeStringAndClear());
}
-static void doTestTimeF(char const*const pis)
+void doTestTimeF(char const*const pis)
{
util::DateTime odt;
bool bSuccess = Converter::parseTimeOrDateTime(odt, nullptr,
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index db75efe44d33..a58a77af70d6 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -855,7 +855,7 @@ inline sal_Int32 calcXMLByteLength( const sal_Unicode *pStr, sal_Int32 nStrLen,
/** returns position of first ascii 10 within the string, -1 when no 10 in string.
*/
-static inline sal_Int32 getFirstLineBreak( const OUString & str ) throw ()
+inline sal_Int32 getFirstLineBreak( const OUString & str ) throw ()
{
const sal_Unicode *pSource = str.getStr();
sal_Int32 nLen = str.getLength();
@@ -991,7 +991,7 @@ sal_Int32 SAXWriter::getIndentPrefixLength( sal_Int32 nFirstLineBreakOccurrence
return nLength;
}
-static inline bool isFirstCharWhitespace( const sal_Unicode *p ) throw()
+inline bool isFirstCharWhitespace( const sal_Unicode *p ) throw()
{
return *p == ' ';
}
diff --git a/sc/source/core/data/cellvalue.cxx b/sc/source/core/data/cellvalue.cxx
index 5da5e08e9cc5..bba0b956fed3 100644
--- a/sc/source/core/data/cellvalue.cxx
+++ b/sc/source/core/data/cellvalue.cxx
@@ -103,7 +103,7 @@ bool equalsWithoutFormatImpl( const _T& left, const _T& right )
return false;
}
-static void commitToColumn( const ScCellValue& rCell, ScColumn& rColumn, SCROW nRow )
+void commitToColumn( const ScCellValue& rCell, ScColumn& rColumn, SCROW nRow )
{
switch (rCell.meType)
{
diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
index e234bf0b4ab4..7d618a5fd7b6 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -223,24 +223,24 @@ using std::deque;
typedef SCCOLROW(*DimensionSelector)(const ScAddress&, const ScSingleRefData&);
-static SCCOLROW lcl_GetCol(const ScAddress& rPos, const ScSingleRefData& rData)
+SCCOLROW lcl_GetCol(const ScAddress& rPos, const ScSingleRefData& rData)
{
return rData.toAbs(rPos).Col();
}
-static SCCOLROW lcl_GetRow(const ScAddress& rPos, const ScSingleRefData& rData)
+SCCOLROW lcl_GetRow(const ScAddress& rPos, const ScSingleRefData& rData)
{
return rData.toAbs(rPos).Row();
}
-static SCCOLROW lcl_GetTab(const ScAddress& rPos, const ScSingleRefData& rData)
+SCCOLROW lcl_GetTab(const ScAddress& rPos, const ScSingleRefData& rData)
{
return rData.toAbs(rPos).Tab();
}
/** Check if both references span the same range in selected dimension.
*/
-static bool
+bool
lcl_checkRangeDimension(
const ScAddress& rPos, const SingleDoubleRefProvider& rRef1, const SingleDoubleRefProvider& rRef2,
const DimensionSelector aWhich)
@@ -249,7 +249,7 @@ lcl_checkRangeDimension(
aWhich(rPos, rRef1.Ref2) == aWhich(rPos, rRef2.Ref2);
}
-static bool
+bool
lcl_checkRangeDimensions(
const ScAddress& rPos, const SingleDoubleRefProvider& rRef1, const SingleDoubleRefProvider& rRef2,
bool& bCol, bool& bRow, bool& bTab)
@@ -272,7 +272,7 @@ lcl_checkRangeDimensions(
/** Check if references in given reference list can possibly
form a range. To do that, two of their dimensions must be the same.
*/
-static bool
+bool
lcl_checkRangeDimensions(
const ScAddress& rPos,
const deque<formula::FormulaToken*>::const_iterator& rBegin,
@@ -342,7 +342,7 @@ public:
}
};
-static bool
+bool
lcl_checkIfAdjacent(
const ScAddress& rPos, const deque<formula::FormulaToken*>& rReferences, const DimensionSelector aWhich)
{
@@ -355,7 +355,7 @@ lcl_checkIfAdjacent(
return std::equal(aBegin, aEnd, aBegin1, AdjacentByReference(rPos, aWhich));
}
-static void
+void
lcl_fillRangeFromRefList(
const ScAddress& aPos, const deque<formula::FormulaToken*>& rReferences, ScRange& rRange)
{
@@ -367,7 +367,7 @@ lcl_fillRangeFromRefList(
rRange.aEnd = aEnd.toAbs(aPos);
}
-static bool
+bool
lcl_refListFormsOneRange(
const ScAddress& rPos, deque<formula::FormulaToken*>& rReferences,
ScRange& rRange)
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 8f262b7b4c0a..0a5ed78dfc17 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -4135,7 +4135,7 @@ private:
/** returns -1 when the matrix value is smaller than the query value, 0 when
they are equal, and 1 when the matrix value is larger than the query
value. */
-static sal_Int32 lcl_CompareMatrix2Query(
+sal_Int32 lcl_CompareMatrix2Query(
SCSIZE i, const VectorMatrixAccessor& rMat, const ScQueryEntry& rEntry)
{
if (rMat.IsEmpty(i))
@@ -4173,7 +4173,7 @@ static sal_Int32 lcl_CompareMatrix2Query(
/** returns the last item with the identical value as the original item
value. */
-static void lcl_GetLastMatch( SCSIZE& rIndex, const VectorMatrixAccessor& rMat,
+void lcl_GetLastMatch( SCSIZE& rIndex, const VectorMatrixAccessor& rMat,
SCSIZE nMatCount, bool bReverse)
{
if (rMat.IsValue(rIndex))
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 19a6e0eadcb8..585276ef9fb1 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -168,7 +168,7 @@ void XclExpObjList::Save( XclExpStream& rStrm )
namespace {
-static bool IsVmlObject( const XclObj *rObj )
+bool IsVmlObject( const XclObj *rObj )
{
switch( rObj->GetObjType() )
{
@@ -179,7 +179,7 @@ static bool IsVmlObject( const XclObj *rObj )
}
}
-static sal_Int32 GetVmlObjectCount( XclExpObjList& rList )
+sal_Int32 GetVmlObjectCount( XclExpObjList& rList )
{
sal_Int32 nNumVml = 0;
@@ -232,7 +232,7 @@ bool IsValidObject( const XclObj& rObj )
return true;
}
-static void SaveDrawingMLObjects( XclExpObjList& rList, XclExpXmlStream& rStrm, sal_Int32& nDrawingMLCount )
+void SaveDrawingMLObjects( XclExpObjList& rList, XclExpXmlStream& rStrm, sal_Int32& nDrawingMLCount )
{
std::vector<XclObj*> aList;
aList.reserve(rList.size());
@@ -277,7 +277,7 @@ static void SaveDrawingMLObjects( XclExpObjList& rList, XclExpXmlStream& rStrm,
rStrm.PopStream();
}
-static void SaveVmlObjects( XclExpObjList& rList, XclExpXmlStream& rStrm, sal_Int32& nVmlCount )
+void SaveVmlObjects( XclExpObjList& rList, XclExpXmlStream& rStrm, sal_Int32& nVmlCount )
{
if( GetVmlObjectCount( rList ) == 0 )
return;
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index 5c8f09f3cd6a..6b08f37548be 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -231,7 +231,7 @@ const OUString FrameworkHelper::msConfigurationControllerService("com.sun.star.d
//----- helper ----------------------------------------------------------------
namespace
{
- static ::std::shared_ptr< ViewShell > lcl_getViewShell( const Reference< XResource >& i_rViewShellWrapper )
+ ::std::shared_ptr< ViewShell > lcl_getViewShell( const Reference< XResource >& i_rViewShellWrapper )
{
::std::shared_ptr< ViewShell > pViewShell;
if ( !i_rViewShellWrapper.is() )
diff --git a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
index 0a0283bee857..789f5874f53a 100644
--- a/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
+++ b/sd/source/ui/sidebar/RecentlyUsedMasterPages.cxx
@@ -48,11 +48,11 @@ using namespace ::com::sun::star::uno;
namespace {
-static OUString GetPathToImpressConfigurationRoot()
+OUString GetPathToImpressConfigurationRoot()
{
return OUString("/org.openoffice.Office.Impress/");
}
-static OUString GetPathToSetNode()
+OUString GetPathToSetNode()
{
return OUString("MultiPaneGUI/ToolPanel/RecentlyUsedMasterPages");
}
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 822a851b6a84..a178dc454961 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -137,7 +137,7 @@ using namespace ::com::sun::star::document;
namespace
{
// lp#527938, debian#602953, fdo#33266, i#105408
- static bool lcl_isBaseAvailable()
+ bool lcl_isBaseAvailable()
{
try
{
@@ -153,7 +153,7 @@ namespace
return false;
}
}
- static void lcl_tryLoadBibliography()
+ void lcl_tryLoadBibliography()
{
// lp#527938, debian#602953, fdo#33266, i#105408
// make sure we actually can instanciate services from base first
@@ -898,7 +898,7 @@ namespace
return _pFallback;
}
- static OUString lcl_getBasicIDEServiceName()
+ OUString lcl_getBasicIDEServiceName()
{
return OUString( "com.sun.star.script.BasicIDE");
}
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index ec2078cd0310..e33fd4677be1 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1997,7 +1997,7 @@ void FileDialogHelper_Impl::saveConfig()
namespace
{
- static OUString getInitPath( const OUString& _rFallback, const sal_Int32 _nFallbackToken )
+ OUString getInitPath( const OUString& _rFallback, const sal_Int32 _nFallbackToken )
{
SfxApplication *pSfxApp = SfxGetpApp();
OUString sPath = pSfxApp->GetLastDir_Impl();
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 44b153f7148a..c00ed82c5d40 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -123,7 +123,7 @@ using namespace css::system;
namespace {
-static sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode )
+sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode )
{
// This is a temporary hardcoded solution must be removed when
// dialogs do not need parameters in SidSet representation any more
@@ -147,7 +147,7 @@ static sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode )
}
-static sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName )
+sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName )
{
sal_Int8 nResult = 0;
if ( aSlotName == "ExportTo" )
@@ -172,14 +172,14 @@ static sal_Int8 getStoreModeFromSlotName( const OUString& aSlotName )
}
-static SfxFilterFlags getMustFlags( sal_Int8 nStoreMode )
+SfxFilterFlags getMustFlags( sal_Int8 nStoreMode )
{
return ( SfxFilterFlags::EXPORT
| ( ( ( nStoreMode & EXPORT_REQUESTED ) && !( nStoreMode & WIDEEXPORT_REQUESTED ) ) ? SfxFilterFlags::NONE : SfxFilterFlags::IMPORT ) );
}
-static SfxFilterFlags getDontFlags( sal_Int8 nStoreMode )
+SfxFilterFlags getDontFlags( sal_Int8 nStoreMode )
{
return ( SfxFilterFlags::INTERNAL
| SfxFilterFlags::NOTINFILEDLG
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index a8dd86db683f..6a04de27abdf 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -1452,7 +1452,7 @@ ErrCode SfxObjectShell::CallBasic( const OUString& rMacro,
namespace
{
- static bool lcl_isScriptAccessAllowed_nothrow( const Reference< XInterface >& _rxScriptContext )
+ bool lcl_isScriptAccessAllowed_nothrow( const Reference< XInterface >& _rxScriptContext )
{
try
{
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index a3c1049e122c..6f6963080a32 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -635,7 +635,7 @@ bool SfxObjectShell::PrepareClose
#if HAVE_FEATURE_SCRIPTING
namespace
{
- static BasicManager* lcl_getBasicManagerForDocument( const SfxObjectShell& _rDocument )
+ BasicManager* lcl_getBasicManagerForDocument( const SfxObjectShell& _rDocument )
{
if ( !_rDocument.Get_Impl()->m_bNoBasicCapabilities )
{
diff --git a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
index eca1a4bbb9e5..2b6659a67d22 100644
--- a/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
+++ b/shell/source/sessioninstall/SyncDbusSessionHelper.cxx
@@ -36,7 +36,7 @@ namespace
}
GError*& getRef() { return m_pError; }
};
- static inline GDBusProxy* lcl_GetPackageKitProxy(const OUString& sInterface)
+ inline GDBusProxy* lcl_GetPackageKitProxy(const OUString& sInterface)
{
const OString sFullInterface = OUStringToOString("org.freedesktop.PackageKit." + sInterface, RTL_TEXTENCODING_ASCII_US);
GDBusProxy* proxy = nullptr;