From 248420e46ac257a49506ea59f69235b65c76e12e Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <janneke@gnu.org>
Date: Mon, 14 Jul 2008 15:34:22 +0200
Subject: [PATCH] Make some getters const.

---
 toolkit/inc/layout/layout.hxx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/toolkit/inc/layout/layout.hxx b/toolkit/inc/layout/layout.hxx
index 0d23eb3..37e77a4 100644
--- a/toolkit/inc/layout/layout.hxx
+++ b/toolkit/inc/layout/layout.hxx
@@ -107,7 +107,7 @@ public:
     explicit Window( WindowImpl *pImpl );
     virtual ~Window();
 
-    PeerHandle GetPeer();
+    PeerHandle GetPeer() const;
     Context *getContext();
 
     void Enable( bool bEnable = true );
@@ -120,10 +120,10 @@ public:
     void SetParent( Window *pParent );
     void SetParent( ::Window *pParent );
 
-    css::uno::Reference<css::awt::XWindow> GetRef();
-    VCLXWindow* GetVCLXWindow();
-    ::Window* GetWindow();
-    ::Window* GetParent();
+    css::uno::Reference<css::awt::XWindow> GetRef() const;
+    VCLXWindow* GetVCLXWindow() const;
+    ::Window* GetWindow() const;
+    ::Window* GetParent() const;
 
     WinBits GetStyle();
     void SetStyle( WinBits nStyle );
-- 
1.5.6.3.317.g5d44c9.dirty


