correct wrong comments
Change-Id: I6682248873bcd6302b1d8d041bbc2e19a8e0ba7b Reviewed-on: https://gerrit.libreoffice.org/17831 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
committed by
Caolán McNamara
parent
c77e74747b
commit
ba5fd0cc77
@@ -278,7 +278,6 @@ bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
|
|||||||
{
|
{
|
||||||
// nested user defined types
|
// nested user defined types
|
||||||
// declared before use, so it is ok to reference it by name on load
|
// declared before use, so it is ok to reference it by name on load
|
||||||
// nested types not structuraly compatible with arrays at the moment
|
|
||||||
OUString aNestedTypeName = r.ReadUniOrByteString(eCharSet);
|
OUString aNestedTypeName = r.ReadUniOrByteString(eCharSet);
|
||||||
SbxObject* pNestedTypeObj = static_cast< SbxObject* >( rTypes->Find( aNestedTypeName, SbxCLASS_OBJECT ) );
|
SbxObject* pNestedTypeObj = static_cast< SbxObject* >( rTypes->Find( aNestedTypeName, SbxCLASS_OBJECT ) );
|
||||||
if (pNestedTypeObj)
|
if (pNestedTypeObj)
|
||||||
@@ -290,7 +289,6 @@ bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// an array
|
// an array
|
||||||
// not compatible with nested user defined types at the moment
|
|
||||||
SbxDimArray* pArray = new SbxDimArray();
|
SbxDimArray* pArray = new SbxDimArray();
|
||||||
|
|
||||||
sal_Int16 isFixedSize;
|
sal_Int16 isFixedSize;
|
||||||
@@ -486,14 +484,12 @@ bool SbiImage::Save( SvStream& r, sal_uInt32 nVer )
|
|||||||
{
|
{
|
||||||
// nested user defined types
|
// nested user defined types
|
||||||
// declared before use, so it is ok to reference it by name on load
|
// declared before use, so it is ok to reference it by name on load
|
||||||
// not compatible with arrays at the moment
|
|
||||||
SbxObject* pNestedType = static_cast< SbxObject* > ( pElemObject );
|
SbxObject* pNestedType = static_cast< SbxObject* > ( pElemObject );
|
||||||
r.WriteUniOrByteString( pNestedType->GetClassName(), eCharSet );
|
r.WriteUniOrByteString( pNestedType->GetClassName(), eCharSet );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// an array
|
// an array
|
||||||
// not compatible with nested user defined types at the moment
|
|
||||||
SbxDimArray* pArray = static_cast< SbxDimArray* > ( pElemObject );
|
SbxDimArray* pArray = static_cast< SbxDimArray* > ( pElemObject );
|
||||||
|
|
||||||
bool bFixedSize = pArray->hasFixedSize();
|
bool bFixedSize = pArray->hasFixedSize();
|
||||||
|
Reference in New Issue
Block a user