summaryrefslogtreecommitdiff
path: root/basic/source
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2015-08-18 11:59:06 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-08-18 11:40:26 +0000
commitba5fd0cc77d7d53004f46e4ca867a22d56c5baa7 (patch)
tree817b6c073776f268355f7a54e50cf5023fab87ab /basic/source
parentc77e74747b289990d45fb9378323daf63c9f7a2f (diff)
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>
Diffstat (limited to 'basic/source')
-rw-r--r--basic/source/classes/image.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/basic/source/classes/image.cxx b/basic/source/classes/image.cxx
index fa4feace5879..bc6fa3a54919 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();