loplugin:staticmethods: sw
Change-Id: I2b06eb926ebc8ab04883da3272ea239a12e09436
This commit is contained in:
@@ -195,7 +195,8 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
|
||||
|| (fdc.Function("Read_F_Shape").Class("SwWW8ImplReader")
|
||||
.GlobalNamespace())
|
||||
|| (fdc.Function("Read_Majority").Class("SwWW8ImplReader")
|
||||
.GlobalNamespace()))
|
||||
.GlobalNamespace())
|
||||
|| fdc.Function("Ignore").Class("SwWrtShell").GlobalNamespace())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@@ -223,15 +223,15 @@ private:
|
||||
SAL_DLLPRIVATE const SwFrame *GetBox( const Point &rPt, bool* pbRow = nullptr, bool* pbCol = nullptr ) const;
|
||||
|
||||
// 0 == not in any column.
|
||||
SAL_DLLPRIVATE sal_uInt16 GetCurColNum_( const SwFrame *pFrame,
|
||||
SwGetCurColNumPara* pPara ) const;
|
||||
SAL_DLLPRIVATE static sal_uInt16 GetCurColNum_( const SwFrame *pFrame,
|
||||
SwGetCurColNumPara* pPara );
|
||||
|
||||
SAL_DLLPRIVATE void GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox ) const;
|
||||
SAL_DLLPRIVATE void GetTabRows_( SwTabCols &rToFill, const SwFrame *pBox ) const;
|
||||
SAL_DLLPRIVATE static void GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox );
|
||||
SAL_DLLPRIVATE static void GetTabRows_( SwTabCols &rToFill, const SwFrame *pBox );
|
||||
|
||||
SAL_DLLPRIVATE bool ImpEndCreate();
|
||||
|
||||
SAL_DLLPRIVATE ObjCntType GetObjCntType( const SdrObject& rObj ) const;
|
||||
SAL_DLLPRIVATE static ObjCntType GetObjCntType( const SdrObject& rObj );
|
||||
|
||||
/// Methods for copying of draw objects.
|
||||
SAL_DLLPRIVATE bool CopyDrawSel( SwFEShell* pDestShell, const Point& rSttPt,
|
||||
|
@@ -1611,7 +1611,7 @@ const SwFrameFormat* SwFEShell::GetFormatFromAnyObj( const Point& rPt ) const
|
||||
return pRet;
|
||||
}
|
||||
|
||||
ObjCntType SwFEShell::GetObjCntType( const SdrObject& rObj ) const
|
||||
ObjCntType SwFEShell::GetObjCntType( const SdrObject& rObj )
|
||||
{
|
||||
ObjCntType eType = OBJCNT_NONE;
|
||||
|
||||
|
@@ -518,7 +518,7 @@ bool SwFEShell::SplitTab( bool bVert, sal_uInt16 nCnt, bool bSameHeight )
|
||||
return bRet;
|
||||
}
|
||||
|
||||
void SwFEShell::GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox ) const
|
||||
void SwFEShell::GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox )
|
||||
{
|
||||
const SwTabFrame *pTab = pBox->FindTabFrame();
|
||||
if ( pLastCols )
|
||||
@@ -582,7 +582,7 @@ void SwFEShell::GetTabCols_( SwTabCols &rToFill, const SwFrame *pBox ) const
|
||||
}
|
||||
}
|
||||
|
||||
void SwFEShell::GetTabRows_( SwTabCols &rToFill, const SwFrame *pBox ) const
|
||||
void SwFEShell::GetTabRows_( SwTabCols &rToFill, const SwFrame *pBox )
|
||||
{
|
||||
const SwTabFrame *pTab = pBox->FindTabFrame();
|
||||
if ( pLastRows )
|
||||
|
@@ -602,7 +602,7 @@ bool SwFEShell::IsColRightToLeft() const
|
||||
}
|
||||
|
||||
sal_uInt16 SwFEShell::GetCurColNum_( const SwFrame *pFrame,
|
||||
SwGetCurColNumPara* pPara ) const
|
||||
SwGetCurColNumPara* pPara )
|
||||
{
|
||||
sal_uInt16 nRet = 0;
|
||||
while ( pFrame )
|
||||
|
@@ -27,7 +27,7 @@ struct SwDBData;
|
||||
class SW_DLLPUBLIC SwDBConfig : public utl::ConfigItem
|
||||
{
|
||||
private:
|
||||
SAL_DLLPRIVATE const css::uno::Sequence<OUString>& GetPropertyNames();
|
||||
SAL_DLLPRIVATE static const css::uno::Sequence<OUString>& GetPropertyNames();
|
||||
virtual void ImplCommit() override;
|
||||
|
||||
SwDBData* pAdrImpl;
|
||||
|
@@ -58,7 +58,7 @@ class SW_DLLPUBLIC SwStdFontConfig : public utl::ConfigItem
|
||||
OUString sDefaultFonts[DEF_FONT_COUNT];
|
||||
sal_Int32 nDefaultFontHeight[DEF_FONT_COUNT];
|
||||
|
||||
SAL_DLLPRIVATE css::uno::Sequence<OUString> GetPropertyNames();
|
||||
SAL_DLLPRIVATE static css::uno::Sequence<OUString> GetPropertyNames();
|
||||
|
||||
void ChangeString(sal_uInt16 nFontType, const OUString& rSet)
|
||||
{
|
||||
|
@@ -40,7 +40,7 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox
|
||||
|
||||
DECL_DLLPRIVATE_LINK( SelectHdl, ListBox&, void );
|
||||
|
||||
SAL_DLLPRIVATE double GetDefValue(const short nFormatType) const;
|
||||
SAL_DLLPRIVATE static double GetDefValue(const short nFormatType);
|
||||
SAL_DLLPRIVATE void Init();
|
||||
SAL_DLLPRIVATE SwView* GetView();
|
||||
|
||||
|
@@ -40,7 +40,7 @@ class SW_DLLPUBLIC PercentField
|
||||
bool bLockAutoCalculation; //prevent recalcution of percent values when the
|
||||
//reference value is changed
|
||||
|
||||
SAL_DLLPRIVATE sal_Int64 ImpPower10(sal_uInt16 n);
|
||||
SAL_DLLPRIVATE static sal_Int64 ImpPower10(sal_uInt16 n);
|
||||
|
||||
public:
|
||||
|
||||
|
@@ -109,10 +109,10 @@ class SW_DLLPUBLIC SwRedlineAcceptDlg
|
||||
SAL_DLLPRIVATE void RemoveParents(sal_uInt16 nStart, sal_uInt16 nEnd);
|
||||
SAL_DLLPRIVATE void InitAuthors();
|
||||
|
||||
SAL_DLLPRIVATE OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0);
|
||||
SAL_DLLPRIVATE static OUString GetRedlineText(const SwRangeRedline& rRedln, DateTime &rDateTime, sal_uInt16 nStack = 0);
|
||||
SAL_DLLPRIVATE Image GetActionImage(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0);
|
||||
SAL_DLLPRIVATE OUString GetActionText(const SwRangeRedline& rRedln, sal_uInt16 nStack = 0);
|
||||
SAL_DLLPRIVATE sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry) const;
|
||||
SAL_DLLPRIVATE static sal_uInt16 GetRedlinePos( const SvTreeListEntry& rEntry);
|
||||
|
||||
SwRedlineAcceptDlg(SwRedlineAcceptDlg const&) = delete;
|
||||
SwRedlineAcceptDlg& operator=(SwRedlineAcceptDlg const&) = delete;
|
||||
|
@@ -876,7 +876,7 @@ void SwRedlineAcceptDlg::CallAcceptReject( bool bSelect, bool bAccept )
|
||||
m_pTPView->EnableUndo();
|
||||
}
|
||||
|
||||
sal_uInt16 SwRedlineAcceptDlg::GetRedlinePos( const SvTreeListEntry& rEntry ) const
|
||||
sal_uInt16 SwRedlineAcceptDlg::GetRedlinePos( const SvTreeListEntry& rEntry )
|
||||
{
|
||||
SwWrtShell* pSh = ::GetActiveView()->GetWrtShellPtr();
|
||||
return pSh->FindRedlineOfData( *static_cast<SwRedlineDataParent*>(static_cast<RedlinData *>(
|
||||
|
@@ -436,7 +436,7 @@ IMPL_LINK( NumFormatListBox, SelectHdl, ListBox&, rBox, void )
|
||||
}
|
||||
}
|
||||
|
||||
double NumFormatListBox::GetDefValue(const short nFormatType) const
|
||||
double NumFormatListBox::GetDefValue(const short nFormatType)
|
||||
{
|
||||
SvxNumValCategory nDefValue = SvxNumValCategory::Standard;
|
||||
|
||||
|
Reference in New Issue
Block a user