correct getSupportedServiceNames - one of the names was a double
This commit is contained in:
parent
fa4fdaaeb7
commit
a8028e98cb
@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: Hidden.cxx,v $
|
||||
*
|
||||
* $Revision: 1.2 $
|
||||
* $Revision: 1.3 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2000-11-23 08:48:15 $
|
||||
* last change: $Author: fs $ $Date: 2001-01-04 16:28:08 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@ -177,10 +177,9 @@ void OHiddenModel::fillProperties(
|
||||
StringSequence SAL_CALL OHiddenModel::getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException)
|
||||
{
|
||||
StringSequence aSupported = OControlModel::getSupportedServiceNames();
|
||||
aSupported.realloc(aSupported.getLength() + 2);
|
||||
aSupported.realloc(aSupported.getLength() + 1);
|
||||
|
||||
::rtl::OUString* pArray = aSupported.getArray();
|
||||
pArray[aSupported.getLength()-2] = ::rtl::OUString::createFromAscii("com.sun.star.form.FormComponent");
|
||||
pArray[aSupported.getLength()-1] = FRM_SUN_COMPONENT_HIDDENCONTROL;
|
||||
return aSupported;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user