Kaydet (Commit) 2bdf80be authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:finalclasses in unotools..vbahelper

Change-Id: I9350f9d37eaba99a1d74e103c969a9dcfe795497
Reviewed-on: https://gerrit.libreoffice.org/43160Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst b6d6591f
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
//===== internal ======================================================== //===== internal ========================================================
AccessibleRelationSetHelper (); AccessibleRelationSetHelper ();
AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper); AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper);
protected: private:
virtual ~AccessibleRelationSetHelper() override; virtual ~AccessibleRelationSetHelper() override;
public: public:
...@@ -124,11 +124,9 @@ public: ...@@ -124,11 +124,9 @@ public:
virtual css::uno::Sequence<sal_Int8> SAL_CALL virtual css::uno::Sequence<sal_Int8> SAL_CALL
getImplementationId() override; getImplementationId() override;
protected: private:
/// Mutex guarding this object. /// Mutex guarding this object.
::osl::Mutex maMutex; ::osl::Mutex maMutex;
private:
/// The implementation of this helper interface. /// The implementation of this helper interface.
std::unique_ptr<AccessibleRelationSetHelperImpl> mpHelperImpl; std::unique_ptr<AccessibleRelationSetHelperImpl> mpHelperImpl;
}; };
......
...@@ -62,7 +62,7 @@ public: ...@@ -62,7 +62,7 @@ public:
AccessibleStateSetHelper ( const sal_Int64 _nInitialStates ); AccessibleStateSetHelper ( const sal_Int64 _nInitialStates );
AccessibleStateSetHelper ( const AccessibleStateSetHelper& rHelper ); AccessibleStateSetHelper ( const AccessibleStateSetHelper& rHelper );
protected: private:
virtual ~AccessibleStateSetHelper() override; virtual ~AccessibleStateSetHelper() override;
public: public:
...@@ -135,11 +135,9 @@ public: ...@@ -135,11 +135,9 @@ public:
virtual css::uno::Sequence<sal_Int8> SAL_CALL virtual css::uno::Sequence<sal_Int8> SAL_CALL
getImplementationId() override; getImplementationId() override;
protected: private:
/// Mutex guarding this object. /// Mutex guarding this object.
::osl::Mutex maMutex; ::osl::Mutex maMutex;
private:
/// The implementation of this helper interface. /// The implementation of this helper interface.
std::unique_ptr<AccessibleStateSetHelperImpl> mpHelperImpl; std::unique_ptr<AccessibleStateSetHelperImpl> mpHelperImpl;
}; };
......
...@@ -172,7 +172,6 @@ private: ...@@ -172,7 +172,6 @@ private:
} }
}; };
protected:
XNamedVec mXNamedVec; XNamedVec mXNamedVec;
typename XNamedVec::iterator cachePos; typename XNamedVec::iterator cachePos;
public: public:
......
...@@ -176,7 +176,6 @@ public: ...@@ -176,7 +176,6 @@ public:
class VBAHELPER_DLLPUBLIC ShapeHelper class VBAHELPER_DLLPUBLIC ShapeHelper
{ {
protected:
css::uno::Reference< css::drawing::XShape > xShape; css::uno::Reference< css::drawing::XShape > xShape;
public: public:
/// @throws css::script::BasicErrorException /// @throws css::script::BasicErrorException
......
...@@ -56,7 +56,6 @@ class VBAHELPER_DLLPUBLIC ScVbaShapeRange : public ScVbaShapeRange_BASE ...@@ -56,7 +56,6 @@ class VBAHELPER_DLLPUBLIC ScVbaShapeRange : public ScVbaShapeRange_BASE
private: private:
css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage; css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage;
css::uno::Reference< css::drawing::XShapes > m_xShapes; css::uno::Reference< css::drawing::XShapes > m_xShapes;
protected:
css::uno::Reference< css::frame::XModel > m_xModel; css::uno::Reference< css::frame::XModel > m_xModel;
virtual OUString getServiceImplName() override; virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override; virtual css::uno::Sequence<OUString> getServiceNames() override;
......
...@@ -58,7 +58,6 @@ private: ...@@ -58,7 +58,6 @@ private:
css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage; css::uno::Reference< css::drawing::XDrawPage > m_xDrawPage;
sal_Int32 m_nNewShapeCount; sal_Int32 m_nNewShapeCount;
void initBaseCollection(); void initBaseCollection();
protected:
css::uno::Reference< css::frame::XModel > m_xModel; css::uno::Reference< css::frame::XModel > m_xModel;
virtual OUString getServiceImplName() override; virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override; virtual css::uno::Sequence<OUString> getServiceNames() override;
......
...@@ -62,11 +62,10 @@ namespace utl ...@@ -62,11 +62,10 @@ namespace utl
public: public:
static void ensureObservation(); static void ensureObservation();
protected: private:
OObserverImpl(); OObserverImpl();
virtual ~OObserverImpl() override; virtual ~OObserverImpl() override;
private:
// XTerminateListener // XTerminateListener
virtual void SAL_CALL queryTermination( const EventObject& Event ) override; virtual void SAL_CALL queryTermination( const EventObject& Event ) override;
virtual void SAL_CALL notifyTermination( const EventObject& Event ) override; virtual void SAL_CALL notifyTermination( const EventObject& Event ) override;
......
...@@ -41,14 +41,11 @@ namespace DOM ...@@ -41,14 +41,11 @@ namespace DOM
class CAttr class CAttr
: public CAttr_Base : public CAttr_Base
{ {
private:
friend class CDocument; friend class CDocument;
private:
xmlAttrPtr m_aAttrPtr; xmlAttrPtr m_aAttrPtr;
::std::unique_ptr< stringpair_t > m_pNamespace; ::std::unique_ptr< stringpair_t > m_pNamespace;
protected:
CAttr(CDocument const& rDocument, ::osl::Mutex const& rMutex, CAttr(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlAttrPtr const pAttr); xmlAttrPtr const pAttr);
......
...@@ -36,7 +36,6 @@ namespace DOM ...@@ -36,7 +36,6 @@ namespace DOM
{ {
friend class CDocument; friend class CDocument;
protected:
CCDATASection(CDocument const& rDocument, ::osl::Mutex const& rMutex, CCDATASection(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNodePtr const pNode); xmlNodePtr const pNode);
......
...@@ -34,10 +34,8 @@ namespace DOM ...@@ -34,10 +34,8 @@ namespace DOM
class CComment class CComment
: public CComment_Base : public CComment_Base
{ {
private:
friend class CDocument; friend class CDocument;
protected:
CComment(CDocument const& rDocument, ::osl::Mutex const& rMutex, CComment(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNodePtr const pNode); xmlNodePtr const pNode);
......
...@@ -34,10 +34,8 @@ namespace DOM ...@@ -34,10 +34,8 @@ namespace DOM
class CDocumentFragment class CDocumentFragment
: public CDocumentFragment_Base : public CDocumentFragment_Base
{ {
private:
friend class CDocument; friend class CDocument;
protected:
CDocumentFragment( CDocumentFragment(
CDocument const& rDocument, ::osl::Mutex const& rMutex, CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNodePtr const pNode); xmlNodePtr const pNode);
......
...@@ -43,10 +43,8 @@ namespace DOM ...@@ -43,10 +43,8 @@ namespace DOM
private: private:
friend class CDocument; friend class CDocument;
private:
xmlDtdPtr m_aDtdPtr; xmlDtdPtr m_aDtdPtr;
protected:
CDocumentType(CDocument const& rDocument, ::osl::Mutex const& rMutex, CDocumentType(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlDtdPtr const pDtd); xmlDtdPtr const pDtd);
......
...@@ -41,10 +41,8 @@ namespace DOM ...@@ -41,10 +41,8 @@ namespace DOM
private: private:
friend class CDocument; friend class CDocument;
private:
xmlEntityPtr m_aEntityPtr; xmlEntityPtr m_aEntityPtr;
protected:
CEntity(CDocument const& rDocument, ::osl::Mutex const& rMutex, CEntity(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlEntityPtr const pEntity); xmlEntityPtr const pEntity);
......
...@@ -39,7 +39,6 @@ namespace DOM ...@@ -39,7 +39,6 @@ namespace DOM
private: private:
friend class CDocument; friend class CDocument;
protected:
CEntityReference( CEntityReference(
CDocument const& rDocument, ::osl::Mutex const& rMutex, CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNodePtr const pNode); xmlNodePtr const pNode);
......
...@@ -38,7 +38,6 @@ namespace DOM ...@@ -38,7 +38,6 @@ namespace DOM
private: private:
friend class CDocument; friend class CDocument;
protected:
CNotation(CDocument const& rDocument, ::osl::Mutex const& rMutex, CNotation(CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNotationPtr const pNotation); xmlNotationPtr const pNotation);
......
...@@ -39,7 +39,6 @@ namespace DOM ...@@ -39,7 +39,6 @@ namespace DOM
private: private:
friend class CDocument; friend class CDocument;
protected:
CProcessingInstruction( CProcessingInstruction(
CDocument const& rDocument, ::osl::Mutex const& rMutex, CDocument const& rDocument, ::osl::Mutex const& rMutex,
xmlNodePtr const pNode); xmlNodePtr const pNode);
......
...@@ -35,7 +35,6 @@ typedef ::cppu::ImplInheritanceHelper< CUIEvent, css::xml::dom::events::XMouseEv ...@@ -35,7 +35,6 @@ typedef ::cppu::ImplInheritanceHelper< CUIEvent, css::xml::dom::events::XMouseEv
class CMouseEvent class CMouseEvent
: public CMouseEvent_Base : public CMouseEvent_Base
{ {
protected:
sal_Int32 m_screenX; sal_Int32 m_screenX;
sal_Int32 m_screenY; sal_Int32 m_screenY;
sal_Int32 m_clientX; sal_Int32 m_clientX;
......
...@@ -40,7 +40,6 @@ typedef ::cppu::ImplInheritanceHelper< CEvent, css::xml::dom::events::XMutationE ...@@ -40,7 +40,6 @@ typedef ::cppu::ImplInheritanceHelper< CEvent, css::xml::dom::events::XMutationE
class CMutationEvent class CMutationEvent
: public CMutationEvent_Base : public CMutationEvent_Base
{ {
protected:
css::uno::Reference< css::xml::dom::XNode > m_relatedNode; css::uno::Reference< css::xml::dom::XNode > m_relatedNode;
OUString m_prevValue; OUString m_prevValue;
OUString m_newValue; OUString m_newValue;
......
...@@ -33,7 +33,6 @@ private: ...@@ -33,7 +33,6 @@ private:
css::uno::Reference< css::beans::XPropertySet > m_xPropertySet; css::uno::Reference< css::beans::XPropertySet > m_xPropertySet;
sal_Int32 m_nLineDashStyle; sal_Int32 m_nLineDashStyle;
double m_nLineWeight; double m_nLineWeight;
protected:
virtual OUString getServiceImplName() override; virtual OUString getServiceImplName() override;
virtual css::uno::Sequence<OUString> getServiceNames() override; virtual css::uno::Sequence<OUString> getServiceNames() override;
static sal_Int32 convertLineStartEndNameToArrowheadStyle( const OUString& sLineName ); static sal_Int32 convertLineStartEndNameToArrowheadStyle( const OUString& sLineName );
......
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