[Libreoffice-commits] core.git: sd/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Tue Mar 15 15:17:18 UTC 2016


 sd/source/ui/inc/DrawViewShell.hxx |   20 --------------------
 sd/source/ui/inc/ViewShell.hxx     |   21 ---------------------
 2 files changed, 41 deletions(-)

New commits:
commit 5d03194b056bc7f5b5f16c03a06a7d6697980c19
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Tue Mar 15 13:32:11 2016 +0100

    DrawViewShell: Remove unused code
    
    Change-Id: I288f8793a649b8c672821a39c6d9f1238a104b7e
    Reviewed-on: https://gerrit.libreoffice.org/23275
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
    Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 1fb1219..7450a3a 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -100,26 +100,6 @@ public:
     void PrePaint() override;
     virtual void Paint(const Rectangle& rRect, ::sd::Window* pWin) override;
 
-    /** Set the position and size of the area which contains the GUI
-        elements like rulers, sliders, and buttons as well as the document
-        view.  Both size and position are expected to be in pixel
-        coordinates.  The positions and sizes of the mentioned GUI elements
-        are updated as well.
-
-        <p> This method is implemented by first setting copying the given
-        values to internal variables and then calling the
-        <type>ArrangeGUIElements</type> method which performs the actual
-        work of sizeing and arranging the UI elements accordingly.</p>
-        @param rPos
-            The position of the enclosing window relative to the document
-            window.  This is only interesting if a Draw/Impress document
-            view is embedded as OLE object into another document view.  For
-            normal documents this position is (0,0).
-        @param rSize
-            The new size in pixel.
-    */
-    //  virtual void    AdjustPosSizePixel(const Point &rPos, const Size &rSize);
-
     /** Arrange and resize the GUI elements like rulers, sliders, and
         buttons as well as the actual document view according to the size of
         the enclosing window and current sizes of buttons, rulers, and
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 730d682..21ccfde 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -329,27 +329,6 @@ public:
     */
     virtual void Resize();
 
-    /** Set the position and size of the area which contains the GUI
-        elements like rulers, sliders, and buttons as well as the document
-        view.  Both size and position are expected to be in pixel
-        coordinates.  The positions and sizes of the mentioned GUI elements
-        are updated as well.
-
-        <p> This method is implemented by first setting copying the given
-        values to internal variables and then calling the
-        <type>ArrangeGUIElements</type> method which performs the actual
-        work of sizeing and arranging the UI elements accordingly.</p>
-        @param rPos
-            The position of the enclosing window relative to the document
-            window.  This is only interesting if a Draw/Impress document
-            view is embedded as OLE object into another document view.  For
-            normal documents this position is (0,0).
-        @param rSize
-            The new size in pixel.
-    */
-    // This is to be replaced by Resize.
-    //  virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
-
     /** Set position and size of the GUI elements that are controlled by
         the view shell like rulers and scroll bars as well as the actual
         document view according to the position and size that were given


More information about the Libreoffice-commits mailing list