summaryrefslogtreecommitdiffstats
path: root/forms/source/component/Grid.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-25 17:05:07 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-25 17:05:07 +0000
commit5c44484b924a3aa8a7b39a0f31413a307d57906b (patch)
treeb500553af781549a310da857036097f1c152ec17 /forms/source/component/Grid.cxx
parentMWS_SRX644: migrate branch mws_srx644 -> HEAD (diff)
downloadcore-5c44484b924a3aa8a7b39a0f31413a307d57906b.tar.gz
core-5c44484b924a3aa8a7b39a0f31413a307d57906b.zip
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'forms/source/component/Grid.cxx')
-rw-r--r--forms/source/component/Grid.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx
index c13202c1f95e..37567227051f 100644
--- a/forms/source/component/Grid.cxx
+++ b/forms/source/component/Grid.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: Grid.cxx,v $
*
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
- * last change: $Author: fs $ $Date: 2002-12-02 09:56:31 $
+ * last change: $Author: hr $ $Date: 2003-03-25 18:01:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -289,9 +289,10 @@ void OGridControlModel::cloneColumns( const OGridControlModel* _pOriginalContain
StringSequence OGridControlModel::getSupportedServiceNames() throw(RuntimeException)
{
StringSequence aSupported = OControlModel::getSupportedServiceNames();
- aSupported.realloc(aSupported.getLength() + 1);
+ aSupported.realloc(aSupported.getLength() + 2);
::rtl::OUString*pArray = aSupported.getArray();
+ pArray[aSupported.getLength()-2] = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.awt.UnoControlModel"));
pArray[aSupported.getLength()-1] = FRM_SUN_COMPONENT_GRIDCONTROL;
return aSupported;
}