[PATCH 1/2] Remove unused code

Christina Rossmanith ChrRossmanith at web.de
Wed Mar 14 11:50:29 PDT 2012


---
 sdext/source/presenter/PresenterWindowManager.cxx |   11 -----------
 sdext/source/presenter/PresenterWindowManager.hxx |    2 --
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx
index 5dceffc..d25358f 100644
--- a/sdext/source/presenter/PresenterWindowManager.cxx
+++ b/sdext/source/presenter/PresenterWindowManager.cxx
@@ -1168,17 +1168,6 @@ void PresenterWindowManager::Invalidate (void)
 {
     mpPresenterController->GetPaintManager()->Invalidate(mxParentWindow);
 }
-
-Reference<awt::XWindow> PresenterWindowManager::GetParentWindow (void) const
-{
-    return mxParentWindow;
-}
-
-Reference<rendering::XCanvas> PresenterWindowManager::GetParentCanvas (void) const
-{
-    return mxParentCanvas;
-}
-
 void PresenterWindowManager::Update (void)
 {
     mxClipPolygon = NULL;
diff --git a/sdext/source/presenter/PresenterWindowManager.hxx b/sdext/source/presenter/PresenterWindowManager.hxx
index 3051c38..d2a5ae2 100644
--- a/sdext/source/presenter/PresenterWindowManager.hxx
+++ b/sdext/source/presenter/PresenterWindowManager.hxx
@@ -97,8 +97,6 @@ public:
         const double nWidth,
         const double nHeight);
     void SetPaneBorderPainter (const ::rtl::Reference<PresenterPaneBorderPainter>& rPainter);
-    css::uno::Reference<css::awt::XWindow> GetParentWindow (void) const;
-    css::uno::Reference<css::rendering::XCanvas> GetParentCanvas (void) const;
     void Update (void);
     void Layout (void);
 
-- 
1.7.4.1


--------------050804070200080805000902
Content-Type: text/x-patch;
 name="0002-Remove-unused-code-sdext.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0002-Remove-unused-code-sdext.patch"



More information about the LibreOffice mailing list