Firebird: fix TODO use xClob instead of xBlob for REMARKS

TODO added with:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=e6ae90b0723ed0cbf8c9c7dab65d235d0b78431a
author	Andrzej J.R. Hunt <andrzej@ahunt.org>	2013-08-10 12:58:32 +0100
committer	Andrzej J.R. Hunt <andrzej@ahunt.org>	2013-08-11 16:05:11 +0100
commit	e6ae90b0723ed0cbf8c9c7dab65d235d0b78431a (patch)
tree	b61ed29963dea3d6fd1c276ab6cc05a143e2058b
parent	d12ddee812480595745b656113475468bddc4b1a (diff)
Reduce verbosity of getTables. (firebird-sdbc)

Change-Id: I14c46ab9d36bf40791004941684308011af81b61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90494
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
index 32e3970..ec68508 100644
--- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx
@@ -1407,20 +1407,11 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
        }
        // 5. REMARKS
        {
            uno::Reference< XBlob > xBlob   = xRow->getBlob(4);
            OUString sDescription;

            if (xBlob.is())
            uno::Reference< XClob > xClob = xRow->getClob(4);
            if (xClob.is())
            {
                // TODO: we should actually be using CLOB here instead.
                // However we haven't implemented CLOB yet, so use BLOB.
                sal_Int32 aBlobLength = static_cast<sal_Int32>(xBlob->length());
                sDescription = OUString(reinterpret_cast<char*>(xBlob->getBytes(1, aBlobLength).getArray()),
                                        aBlobLength,
                                        RTL_TEXTENCODING_UTF8);
                aCurrentRow[5] = new ORowSetValueDecorator(xClob->getSubString(0, xClob->length()));
            }

            aCurrentRow[5] = new ORowSetValueDecorator(sDescription);
        }

        aResults.push_back(aCurrentRow);