[Libreoffice-commits] core.git: basic/source
Laurent Godard
lgodard.libre at laposte.net
Tue Aug 18 04:40:50 PDT 2015
basic/source/classes/image.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit ba5fd0cc77d7d53004f46e4ca867a22d56c5baa7
Author: Laurent Godard <lgodard.libre at laposte.net>
Date: Tue Aug 18 11:59:06 2015 +0200
correct wrong comments
Change-Id: I6682248873bcd6302b1d8d041bbc2e19a8e0ba7b
Reviewed-on: https://gerrit.libreoffice.org/17831
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx
index fa4feac..bc6fa3a 100644
--- a/basic/source/classes/image.cxx
+++ b/basic/source/classes/image.cxx
@@ -278,7 +278,6 @@ bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
{
// nested user defined types
// 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);
SbxObject* pNestedTypeObj = static_cast< SbxObject* >( rTypes->Find( aNestedTypeName, SbxCLASS_OBJECT ) );
if (pNestedTypeObj)
@@ -290,7 +289,6 @@ bool SbiImage::Load( SvStream& r, sal_uInt32& nVersion )
else
{
// an array
- // not compatible with nested user defined types at the moment
SbxDimArray* pArray = new SbxDimArray();
sal_Int16 isFixedSize;
@@ -486,14 +484,12 @@ bool SbiImage::Save( SvStream& r, sal_uInt32 nVer )
{
// nested user defined types
// 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 );
r.WriteUniOrByteString( pNestedType->GetClassName(), eCharSet );
}
else
{
// an array
- // not compatible with nested user defined types at the moment
SbxDimArray* pArray = static_cast< SbxDimArray* > ( pElemObject );
bool bFixedSize = pArray->hasFixedSize();
More information about the Libreoffice-commits
mailing list