Kaydet (Commit) 6a5a7fee authored tarafından Ocke Janssen's avatar Ocke Janssen

#i105086# fix for clob and blob

üst 48eb2030
...@@ -2217,7 +2217,7 @@ sal_Bool OBoundControlModel::approveDbColumnType(sal_Int32 _nColumnType) ...@@ -2217,7 +2217,7 @@ sal_Bool OBoundControlModel::approveDbColumnType(sal_Int32 _nColumnType)
|| (_nColumnType == DataType::LONGVARBINARY) || (_nColumnType == DataType::OTHER) || (_nColumnType == DataType::LONGVARBINARY) || (_nColumnType == DataType::OTHER)
|| (_nColumnType == DataType::OBJECT) || (_nColumnType == DataType::DISTINCT) || (_nColumnType == DataType::OBJECT) || (_nColumnType == DataType::DISTINCT)
|| (_nColumnType == DataType::STRUCT) || (_nColumnType == DataType::ARRAY) || (_nColumnType == DataType::STRUCT) || (_nColumnType == DataType::ARRAY)
|| (_nColumnType == DataType::BLOB) || (_nColumnType == DataType::CLOB) || (_nColumnType == DataType::BLOB) /*|| (_nColumnType == DataType::CLOB)*/
|| (_nColumnType == DataType::REF) || (_nColumnType == DataType::SQLNULL)) || (_nColumnType == DataType::REF) || (_nColumnType == DataType::SQLNULL))
return sal_False; return sal_False;
...@@ -2553,7 +2553,7 @@ void OBoundControlModel::reset() throw (RuntimeException) ...@@ -2553,7 +2553,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
|| ( nFieldType == DataType::LONGVARBINARY ) || ( nFieldType == DataType::LONGVARBINARY )
|| ( nFieldType == DataType::OBJECT ) || ( nFieldType == DataType::OBJECT )
|| ( nFieldType == DataType::BLOB ) || ( nFieldType == DataType::BLOB )
|| ( nFieldType == DataType::CLOB ) /*|| ( nFieldType == DataType::CLOB )*/
) )
m_xColumn->getBinaryStream(); m_xColumn->getBinaryStream();
else else
......
...@@ -115,6 +115,7 @@ namespace ...@@ -115,6 +115,7 @@ namespace
|| ( _nFieldType == DataType::OBJECT ) || ( _nFieldType == DataType::OBJECT )
|| ( _nFieldType == DataType::BLOB ) || ( _nFieldType == DataType::BLOB )
|| ( _nFieldType == DataType::LONGVARCHAR ) || ( _nFieldType == DataType::LONGVARCHAR )
|| ( _nFieldType == DataType::CLOB )
) )
return ImageStoreBinary; return ImageStoreBinary;
......
...@@ -31,61 +31,61 @@ ...@@ -31,61 +31,61 @@
#ifndef _FORMS_FORMCOMPONENT_HXX_ #ifndef _FORMS_FORMCOMPONENT_HXX_
#define _FORMS_FORMCOMPONENT_HXX_ #define _FORMS_FORMCOMPONENT_HXX_
#include "cloneable.hxx" #include "cloneable.hxx"
#include "ids.hxx" #include "ids.hxx"
#include "property.hrc" #include "property.hrc"
#include "property.hxx" #include "property.hxx"
#include "propertybaghelper.hxx" #include "propertybaghelper.hxx"
#include "resettable.hxx" #include "resettable.hxx"
#include "services.hxx" #include "services.hxx"
#include "windowstateguard.hxx" #include "windowstateguard.hxx"
/** === begin UNO includes === **/ /** === begin UNO includes === **/
#include <com/sun/star/awt/XControl.hpp> #include <com/sun/star/awt/XControl.hpp>
#include <com/sun/star/beans/XPropertyAccess.hpp> #include <com/sun/star/beans/XPropertyAccess.hpp>
#include <com/sun/star/beans/XPropertyContainer.hpp> #include <com/sun/star/beans/XPropertyContainer.hpp>
#include <com/sun/star/container/XChild.hpp> #include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/form/binding/XBindableValue.hpp> #include <com/sun/star/form/binding/XBindableValue.hpp>
#include <com/sun/star/form/FormComponentType.hpp> #include <com/sun/star/form/FormComponentType.hpp>
#include <com/sun/star/form/validation/XValidatableFormComponent.hpp> #include <com/sun/star/form/validation/XValidatableFormComponent.hpp>
#include <com/sun/star/form/validation/XValidityConstraintListener.hpp> #include <com/sun/star/form/validation/XValidityConstraintListener.hpp>
#include <com/sun/star/form/XBoundComponent.hpp> #include <com/sun/star/form/XBoundComponent.hpp>
#include <com/sun/star/form/XBoundControl.hpp> #include <com/sun/star/form/XBoundControl.hpp>
#include <com/sun/star/form/XFormComponent.hpp> #include <com/sun/star/form/XFormComponent.hpp>
#include <com/sun/star/form/XLoadListener.hpp> #include <com/sun/star/form/XLoadListener.hpp>
#include <com/sun/star/form/XReset.hpp> #include <com/sun/star/form/XReset.hpp>
#include <com/sun/star/io/XMarkableStream.hpp> #include <com/sun/star/io/XMarkableStream.hpp>
#include <com/sun/star/io/XPersistObject.hpp> #include <com/sun/star/io/XPersistObject.hpp>
#include <com/sun/star/lang/DisposedException.hpp> #include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/lang/XEventListener.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/sdb/XColumn.hpp> #include <com/sun/star/sdb/XColumn.hpp>
#include <com/sun/star/sdb/XColumnUpdate.hpp> #include <com/sun/star/sdb/XColumnUpdate.hpp>
#include <com/sun/star/sdb/XRowSetChangeListener.hpp> #include <com/sun/star/sdb/XRowSetChangeListener.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp> #include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp> #include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/uno/XAggregation.hpp> #include <com/sun/star/uno/XAggregation.hpp>
#include <com/sun/star/util/XCloneable.hpp> #include <com/sun/star/util/XCloneable.hpp>
#include <com/sun/star/util/XModifyListener.hpp> #include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/form/XLoadable.hpp> #include <com/sun/star/form/XLoadable.hpp>
/** === end UNO includes === **/ /** === end UNO includes === **/
#include <comphelper/componentcontext.hxx> #include <comphelper/componentcontext.hxx>
#include <comphelper/propagg.hxx> #include <comphelper/propagg.hxx>
#include <comphelper/propertybag.hxx> #include <comphelper/propertybag.hxx>
#include <comphelper/propmultiplex.hxx> #include <comphelper/propmultiplex.hxx>
#include <comphelper/sequence.hxx> #include <comphelper/sequence.hxx>
#include <comphelper/uno3.hxx> #include <comphelper/uno3.hxx>
#include <cppuhelper/component.hxx> #include <cppuhelper/component.hxx>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
#include <cppuhelper/implbase3.hxx> #include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase4.hxx> #include <cppuhelper/implbase4.hxx>
#include <cppuhelper/implbase7.hxx> #include <cppuhelper/implbase7.hxx>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <memory> #include <memory>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment