summaryrefslogtreecommitdiff
path: root/forms/source/component/ComboBox.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-08-28 13:31:10 +0000
committerFrank Schönheit <fs@openoffice.org>2001-08-28 13:31:10 +0000
commit9ee19f4af89a6b5981503febd144a5e3684b151d (patch)
tree8aa5bca920a6b8693ae85a6816577bbad1727ed5 /forms/source/component/ComboBox.hxx
parent62c5fa997391a7112df183360ed7afdd41060855 (diff)
#74241# don't implement the XSQLErrorBroadcaster directly - use OErrorBroadcaster as base class
Diffstat (limited to 'forms/source/component/ComboBox.hxx')
-rw-r--r--forms/source/component/ComboBox.hxx20
1 files changed, 8 insertions, 12 deletions
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index 1205e25ec91a..c54905e6ff03 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ComboBox.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: fs $ $Date: 2001-01-25 11:17:59 $
+ * last change: $Author: fs $ $Date: 2001-08-28 14:31:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -96,6 +96,9 @@
#ifndef _COM_SUN_STAR_FORM_XCHANGEBROADCASTER_HPP_
#include <com/sun/star/form/XChangeBroadcaster.hpp>
#endif
+#ifndef FORMS_ERRORBROADCASTER_HXX
+#include "errorbroadcaster.hxx"
+#endif
//.........................................................................
namespace frm
@@ -106,10 +109,9 @@ namespace frm
//==================================================================
class OComboBoxModel
:public OBoundControlModel
- ,public ::com::sun::star::sdb::XSQLErrorBroadcaster
+ ,public OErrorBroadcaster
,public ::comphelper::OAggregationArrayUsageHelper< OComboBoxModel >
{
- ::cppu::OInterfaceContainerHelper m_aErrorListeners;
::com::sun::star::uno::Any m_aBoundColumn; // obsolet
::rtl::OUString m_aListSource; //
::rtl::OUString m_aDefaultText; // DefaultText
@@ -123,9 +125,9 @@ class OComboBoxModel
::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter> m_xFormatter;
::com::sun::star::form::ListSourceType m_eListSourceType; // type der list source
- sal_Int32 m_nFormatKey;
::com::sun::star::util::Date m_aNullDate;
- sal_Int32 m_nFieldType;
+ sal_Int32 m_nFormatKey;
+ sal_Int16 m_nFieldType;
sal_Int16 m_nKeyType;
sal_Bool m_bEmptyIsNull; // LeerString wird als NULL interpretiert
@@ -182,10 +184,6 @@ public:
// XReset
virtual void _reset();
- // XSQLErrorBroadcaster
- virtual void SAL_CALL addSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removeSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException);
-
// OAggregationArrayUsageHelper
virtual void fillProperties(
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps,
@@ -195,8 +193,6 @@ public:
protected:
void loadData();
-
- void onError(::com::sun::star::sdbc::SQLException& _rException, const ::rtl::OUString& _rContextDescription);
};
//==================================================================