From 5d61ddec64a8014b41d1c0919ead8d5e986ebb68 Mon Sep 17 00:00:00 2001
From: Vladimir Glazounov <vg@openoffice.org>
Date: Tue, 19 Aug 2008 08:36:08 +0000
Subject: INTEGRATION: CWS dba31a (1.3.34); FILE MERGED 2008/07/04 20:11:47 fs
 1.3.34.2: #i66628# impl_getCurrentControlModel_throw: also care for grid
 control/columns 2008/07/03 08:41:56 fs 1.3.34.1: #i66628#
 +RefreshCurrentControl

---
 forms/source/runtime/formoperations.hxx | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'forms/source')

diff --git a/forms/source/runtime/formoperations.hxx b/forms/source/runtime/formoperations.hxx
index 771348c76e01..211d0be60fd4 100644
--- a/forms/source/runtime/formoperations.hxx
+++ b/forms/source/runtime/formoperations.hxx
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: formoperations.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -241,6 +241,17 @@ namespace frm
         ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
                     impl_getCurrentBoundField_nothrow( ) const;
 
+        /** returns the control model of the current control
+
+            If the current control is a grid control, then the returned model is the
+            model of the current <em>column</em> in the grid.
+
+            @precond
+                m_xController.is()
+        */
+        ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >
+                    impl_getCurrentControlModel_throw() const;
+
         /// determines if we have a valid cursor
         inline  bool    impl_hasCursor_nothrow() const { return m_xCursorProperties.is(); }
 
-- 
cgit