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