loplugin:unusedfields all-can-be-private
these fields can be private Change-Id: I74423a9ae2ef0263a28c8a716ab1c55861e453d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154092 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
a62af04445
commit
58d155b8be
@ -29,7 +29,6 @@ class XMLOFF_DLLPUBLIC XMLCharContext : public SvXMLImportContext
|
||||
XMLCharContext(const XMLCharContext&) = delete;
|
||||
void operator =(const XMLCharContext&) = delete;
|
||||
sal_Int16 m_nControl;
|
||||
protected:
|
||||
sal_uInt16 m_nCount;
|
||||
sal_Unicode m_c;
|
||||
public:
|
||||
|
@ -33,10 +33,9 @@ class XMLOFF_DLLPUBLIC XMLShapeStyleContext: public XMLPropStyleContext
|
||||
{
|
||||
OUString m_sControlDataStyleName;
|
||||
bool m_bIsNumRuleAlreadyConverted;
|
||||
|
||||
protected:
|
||||
OUString m_sListStyleName;
|
||||
|
||||
protected:
|
||||
virtual void SetAttribute( sal_Int32 nElement, const OUString& rValue ) override;
|
||||
public:
|
||||
|
||||
|
@ -88,10 +88,9 @@ public:
|
||||
virtual OUString SAL_CALL getValueByIndex( sal_Int16 nPos ) override;
|
||||
virtual OUString SAL_CALL getValueByName( OUString const & rName ) override;
|
||||
|
||||
protected:
|
||||
private:
|
||||
::std::vector< css::uno::Reference<
|
||||
css::xml::sax::XAttributeList > > _subElems;
|
||||
private:
|
||||
OUString const _name;
|
||||
::std::vector< OUString > _attrNames;
|
||||
::std::vector< OUString > _attrValues;
|
||||
|
@ -71,11 +71,11 @@ public:
|
||||
|
||||
class AddressWalkerWriter : public AddressWalker
|
||||
{
|
||||
public:
|
||||
ScDocShell* mpDocShell;
|
||||
ScDocument& mrDocument;
|
||||
formula::FormulaGrammar::Grammar meGrammar;
|
||||
|
||||
public:
|
||||
AddressWalkerWriter(const ScAddress& aInitialAddress, ScDocShell* pDocShell, ScDocument& rDocument,
|
||||
formula::FormulaGrammar::Grammar eGrammar );
|
||||
|
||||
|
@ -61,9 +61,9 @@ namespace sc
|
||||
|
||||
class ScDocFunc
|
||||
{
|
||||
protected:
|
||||
ScDocShell& rDocShell;
|
||||
|
||||
protected:
|
||||
bool AdjustRowHeight( const ScRange& rRange, bool bPaint, bool bApi );
|
||||
void CreateOneName( ScRangeName& rList,
|
||||
SCCOL nPosX, SCROW nPosY, SCTAB nTab,
|
||||
|
@ -66,6 +66,7 @@ class ShutdownIcon : public ShutdownIconServiceBase
|
||||
bool m_bSystemDialogs;
|
||||
std::unique_ptr<sfx2::FileDialogHelper> m_pFileDlg;
|
||||
css::uno::Reference< css::uno::XComponentContext > m_xContext;
|
||||
css::uno::Reference< css::frame::XDesktop2 > m_xDesktop;
|
||||
|
||||
static rtl::Reference<ShutdownIcon> pShutdownIcon; // one instance
|
||||
|
||||
@ -135,8 +136,6 @@ class ShutdownIcon : public ShutdownIconServiceBase
|
||||
const css::uno::Any& aValue ) override;
|
||||
virtual css::uno::Any SAL_CALL getFastPropertyValue( ::sal_Int32 nHandle ) override;
|
||||
|
||||
css::uno::Reference< css::frame::XDesktop2 > m_xDesktop;
|
||||
|
||||
#ifdef _WIN32
|
||||
static void EnableAutostartW32( const OUString &aShortcutName );
|
||||
static OUString GetAutostartFolderNameW32();
|
||||
|
@ -70,9 +70,8 @@ public:
|
||||
|
||||
void ItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = nullptr) override;
|
||||
|
||||
sdr::table::CellRef mxCell;
|
||||
|
||||
private:
|
||||
sdr::table::CellRef mxCell;
|
||||
const CellTextProvider maTextProvider;
|
||||
};
|
||||
|
||||
|
@ -18,11 +18,11 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
struct SwAccessibilityOptions
|
||||
class SwAccessibilityOptions
|
||||
{
|
||||
bool bIsAlwaysAutoColor :1;
|
||||
bool bIsStopAnimatedGraphics :1;
|
||||
|
||||
public:
|
||||
SwAccessibilityOptions() :
|
||||
bIsAlwaysAutoColor(false),
|
||||
bIsStopAnimatedGraphics(false) {}
|
||||
|
@ -59,7 +59,7 @@ class SvtAccessibilityOptions;
|
||||
class SwPagePreviewLayout;
|
||||
class SwTextFrame;
|
||||
|
||||
struct SwAccessibilityOptions;
|
||||
class SwAccessibilityOptions;
|
||||
namespace vcl { class Region; }
|
||||
class SwPostItMgr;
|
||||
class SdrPaintWindow;
|
||||
|
@ -86,8 +86,6 @@ class SW_DLLPUBLIC SwDrawTextInfo
|
||||
// inside second half of bound rect, used for Accessibility
|
||||
bool m_bPosMatchesBounds :1;
|
||||
|
||||
public:
|
||||
|
||||
#ifdef DBG_UTIL
|
||||
// These flags should control that the appropriate Set-function has been
|
||||
// called before calling the Get-function of a member
|
||||
@ -107,6 +105,8 @@ public:
|
||||
bool m_bDrawSp: 1;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
||||
/// constructor for simple strings
|
||||
SwDrawTextInfo( SwViewShell const *pSh, OutputDevice &rOut,
|
||||
const OUString &rText, sal_Int32 const nIdx, sal_Int32 const nLen,
|
||||
|
@ -647,7 +647,7 @@ inline void SwHTMLWriter::OutCSS1_Property( std::string_view pProp,
|
||||
// positions in the document.
|
||||
// In dtor all data is restored and the created PaM is deleted again.
|
||||
|
||||
struct HTMLSaveData
|
||||
class HTMLSaveData
|
||||
{
|
||||
SwHTMLWriter& rWrt;
|
||||
std::shared_ptr<SwUnoCursor> pOldPam;
|
||||
@ -661,6 +661,7 @@ struct HTMLSaveData
|
||||
bool bOldOutFooter : 1;
|
||||
bool bOldOutFlyFrame : 1;
|
||||
|
||||
public:
|
||||
HTMLSaveData( SwHTMLWriter&, SwNodeOffset nStt, SwNodeOffset nEnd,
|
||||
bool bSaveNum=true,
|
||||
const SwFrameFormat *pFrameFormat=nullptr );
|
||||
|
@ -539,7 +539,6 @@ public:
|
||||
class SwInsTableDlg;
|
||||
class AbstractInsTableDlg_Impl : public AbstractInsTableDlg
|
||||
{
|
||||
protected:
|
||||
std::shared_ptr<weld::DialogController> m_xDlg;
|
||||
public:
|
||||
explicit AbstractInsTableDlg_Impl(std::shared_ptr<weld::DialogController> p)
|
||||
@ -620,7 +619,6 @@ public:
|
||||
class SwMultiTOXTabDialog;
|
||||
class AbstractMultiTOXTabDialog_Impl : public AbstractMultiTOXTabDialog
|
||||
{
|
||||
protected:
|
||||
std::shared_ptr<SwMultiTOXTabDialog> m_xDlg;
|
||||
public:
|
||||
explicit AbstractMultiTOXTabDialog_Impl(std::shared_ptr<SwMultiTOXTabDialog> p)
|
||||
|
@ -360,18 +360,19 @@ struct DXFEdgeTypeLine : public DXFEdgeType
|
||||
virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override;
|
||||
};
|
||||
|
||||
struct DXFEdgeTypeCircularArc : public DXFEdgeType
|
||||
class DXFEdgeTypeCircularArc : public DXFEdgeType
|
||||
{
|
||||
DXFVector aCenter; // 10,20
|
||||
double fRadius; // 40
|
||||
double fStartAngle; // 50
|
||||
double fEndAngle; // 51
|
||||
sal_Int32 nIsCounterClockwiseFlag; // 73
|
||||
public:
|
||||
DXFEdgeTypeCircularArc();
|
||||
virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override;
|
||||
};
|
||||
|
||||
struct DXFEdgeTypeEllipticalArc : public DXFEdgeType
|
||||
class DXFEdgeTypeEllipticalArc : public DXFEdgeType
|
||||
{
|
||||
DXFVector aCenter; // 10,20
|
||||
DXFVector aEndPoint; // 11,21
|
||||
@ -379,19 +380,19 @@ struct DXFEdgeTypeEllipticalArc : public DXFEdgeType
|
||||
double fStartAngle; // 50
|
||||
double fEndAngle; // 51
|
||||
sal_Int32 nIsCounterClockwiseFlag; // 73
|
||||
|
||||
public:
|
||||
DXFEdgeTypeEllipticalArc();
|
||||
virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override;
|
||||
};
|
||||
|
||||
struct DXFEdgeTypeSpline : public DXFEdgeType
|
||||
class DXFEdgeTypeSpline : public DXFEdgeType
|
||||
{
|
||||
sal_Int32 nDegree; // 94
|
||||
sal_Int32 nRational; // 73
|
||||
sal_Int32 nPeriodic; // 74
|
||||
sal_Int32 nKnotCount; // 75
|
||||
sal_Int32 nControlCount; // 76
|
||||
|
||||
public:
|
||||
DXFEdgeTypeSpline();
|
||||
virtual bool EvaluateGroup( DXFGroupReader & rDGR ) override;
|
||||
};
|
||||
|
@ -101,6 +101,7 @@ protected:
|
||||
virtual void lcl_endGlossaryEntry() {}
|
||||
virtual void lcl_checkId(const sal_Int32) {}
|
||||
|
||||
private:
|
||||
#ifdef DBG_UTIL
|
||||
LoggedResourcesHelper mHelper;
|
||||
#endif
|
||||
@ -119,6 +120,7 @@ protected:
|
||||
virtual void lcl_attribute(Id name, Value& val) = 0;
|
||||
virtual void lcl_sprm(Sprm& sprm) = 0;
|
||||
|
||||
private:
|
||||
#ifdef DBG_UTIL
|
||||
LoggedResourcesHelper mHelper;
|
||||
#endif
|
||||
@ -135,6 +137,7 @@ public:
|
||||
protected:
|
||||
virtual void lcl_entry(writerfilter::Reference<Properties>::Pointer_t ref) = 0;
|
||||
|
||||
private:
|
||||
#ifdef DBG_UTIL
|
||||
LoggedResourcesHelper mHelper;
|
||||
#endif
|
||||
|
@ -35,7 +35,6 @@ namespace com::sun::star::xml::sax {
|
||||
|
||||
class SchXMLDocContext : public virtual SvXMLImportContext
|
||||
{
|
||||
protected:
|
||||
SchXMLImportHelper& mrImportHelper;
|
||||
|
||||
public:
|
||||
|
@ -18,10 +18,10 @@
|
||||
|
||||
class SvXMLAttrCollection
|
||||
{
|
||||
public:
|
||||
SvXMLNamespaceMap aNamespaceMap;
|
||||
std::vector<SvXMLAttr> aAttrs;
|
||||
|
||||
public:
|
||||
bool operator==(const SvXMLAttrCollection &rCmp) const;
|
||||
bool AddAttr( const OUString& rLName,
|
||||
const OUString& rValue );
|
||||
|
@ -39,7 +39,6 @@ namespace xmloff
|
||||
//= OElementExport
|
||||
class OElementExport : public OPropertyExport
|
||||
{
|
||||
protected:
|
||||
css::uno::Sequence< css::script::ScriptEventDescriptor >
|
||||
m_aEvents;
|
||||
|
||||
|
@ -437,7 +437,6 @@ namespace xmloff
|
||||
friend class OListOptionImport;
|
||||
friend class OComboItemImport;
|
||||
|
||||
protected:
|
||||
std::vector<OUString >
|
||||
m_aListSource;
|
||||
std::vector< OUString >
|
||||
|
Loading…
x
Reference in New Issue
Block a user