summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formcontroller.cxx
diff options
context:
space:
mode:
authorThomas Benisch <tbe@openoffice.org>2001-12-07 10:12:31 +0000
committerThomas Benisch <tbe@openoffice.org>2001-12-07 10:12:31 +0000
commitaafc70a29a6ab4878b11110f217287b980fd3e51 (patch)
tree599408a901f465722a685ea59aea14d6972fc675 /extensions/source/propctrlr/formcontroller.cxx
parentacadbe93e62083ef38a5145609c8874e138d28e7 (diff)
#92755# Assign Standard Values for Basic Controls in Designmode
Diffstat (limited to 'extensions/source/propctrlr/formcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/formcontroller.cxx20
1 files changed, 18 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcontroller.cxx b/extensions/source/propctrlr/formcontroller.cxx
index 8fcf26f49387..6ceb12342563 100644
--- a/extensions/source/propctrlr/formcontroller.cxx
+++ b/extensions/source/propctrlr/formcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: formcontroller.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: tbe $ $Date: 2001-11-09 13:35:20 $
+ * last change: $Author: tbe $ $Date: 2001-12-07 11:12:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1853,6 +1853,16 @@ namespace pcr
{
if ( m_xIntrospecteeAsProperty.is() )
{
+ Reference< XServiceInfo > xInfo(m_xIntrospecteeAsProperty, UNO_QUERY);
+ if ( xInfo.is() )
+ {
+ if ( xInfo->supportsService( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.awt.UnoControlFormattedFieldModel" ) ) ) )
+ {
+ delete pProperty;
+ continue;
+ }
+ }
+
Reference< XPropertySetInfo > xPropInfo = m_xIntrospecteeAsProperty->getPropertySetInfo();
if ( xPropInfo.is() )
{
@@ -2650,9 +2660,15 @@ namespace pcr
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.46 2001/11/09 13:35:20 tbe
+ * #92755# Assign Standard Values for Basic Controls in Designmode
+ *
* Revision 1.45 2001/10/30 15:17:57 fs
* connectRowSet: better error message upon failure
*
+ * Revision 1.44.4.2 2001/12/07 10:50:01 tbe
+ * #92755# Assign Standard Values for Basic Controls in Designmode
+ *
* Revision 1.44.4.1 2001/11/08 17:42:26 tbe
* #92755# Assign Standard Values for Basic Controls in Designmode
*