From d06779dd50a61b941dbfe9bb2a2f4070aaa09ce5 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 19 Jan 2012 16:31:19 -0500 Subject: No class derives from SdrPageView. No sense using protected visibility. --- svx/inc/svx/svdpagv.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'svx/inc') diff --git a/svx/inc/svx/svdpagv.hxx b/svx/inc/svx/svdpagv.hxx index 4b06de3ab306..ab75435ef665 100644 --- a/svx/inc/svx/svdpagv.hxx +++ b/svx/inc/svx/svdpagv.hxx @@ -73,7 +73,7 @@ typedef ::std::vector< SdrPageWindow* > SdrPageWindowVector; class SVX_DLLPUBLIC SdrPageView { -protected: +private: SdrView& mrView; SdrPage* mpPage; Point aPgOrg; // Nullpunkt der Page @@ -105,7 +105,7 @@ protected: SdrPageWindow* mpPreparedPageWindow; // interface to SdrPageWindow -protected: +private: void ClearPageWindows(); void AppendPageWindow(SdrPageWindow& rNew); SdrPageWindow* RemovePageWindow(SdrPageWindow& rOld); @@ -124,13 +124,12 @@ public: const SdrPageWindow* FindPatchedPageWindow( const OutputDevice& rOutDev ) const; void PaintOutlinerView(OutputDevice* pOut, const Rectangle& rRect) const; + private: SVX_DLLPRIVATE SdrPageWindow& CreateNewPageWindowEntry(SdrPaintWindow& rPaintWindow); -protected: void ImpInvalidateHelpLineArea(sal_uInt16 nNum) const; -protected: void SetLayer(const String& rName, SetOfByte& rBS, sal_Bool bJa); sal_Bool IsLayer(const String& rName, const SetOfByte& rBS) const; -- cgit