summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2001-05-22 12:37:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2001-05-22 12:37:21 +0000
commit41717a8f6e2e18a2c1f0d49a604b5d2ba21a0eb1 (patch)
tree599e5a263f29600b61221c7b3eba58ecb00405aa /svx
parentdf04e29a96261baa97481a4d1435c8f5877ecb25 (diff)
#65293# introduce a new intermediate base class between FmXFormShell and WeakComponentImplBase (SUN PRO 5 problem)
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmshimp.cxx23
-rw-r--r--svx/source/inc/fmshimp.hxx18
2 files changed, 35 insertions, 6 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 1ceb9a19504a..438dc371aaea 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmshimp.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: th $ $Date: 2001-05-11 15:59:45 $
+ * last change: $Author: vg $ $Date: 2001-05-22 13:37:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -602,6 +602,25 @@ Reference< XForm> FmXFormShell::DetermineCurForm(const SdrMarkList& rMarkList, s
//========================================================================
+// class FmXFormShell_Base_Disambiguation
+//========================================================================
+FmXFormShell_Base_Disambiguation::FmXFormShell_Base_Disambiguation( ::osl::Mutex& _rMutex )
+ :FmXFormShell_BD_BASE( _rMutex )
+{
+}
+
+void SAL_CALL FmXFormShell_Base_Disambiguation::disposing()
+{
+ WeakComponentImplHelperBase::disposing();
+ // Note:
+ // This is a HACK.
+ // Normally it should be sufficient to call the "disposing" of our direct
+ // base class, but SUN PRO 5 does not like this and claims there is a conflict
+ // with the XEventListener::disposing(EventObject) of our various listener
+ // base classes.
+}
+
+//========================================================================
// class FmXFormShell
//========================================================================
DBG_NAME(FmXFormShell);
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index 983f039a62dc..0fa03c227294 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fmshimp.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: th $ $Date: 2001-05-11 11:18:01 $
+ * last change: $Author: vg $ $Date: 2001-05-22 13:36:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -277,9 +277,19 @@ typedef ::cppu::WeakComponentImplHelper6< ::com::sun::star::sdbc::XRowSetListe
::com::sun::star::util::XModifyListener,
::com::sun::star::container::XContainerListener,
::com::sun::star::view::XSelectionChangeListener,
- ::com::sun::star::form::XFormControllerListener> FmXFormShell_BASE;
+ ::com::sun::star::form::XFormControllerListener> FmXFormShell_BD_BASE;
-typedef ::utl::ConfigItem FmXFormShell_CFGBASE;
+//========================================================================
+class FmXFormShell_Base_Disambiguation : public FmXFormShell_BD_BASE
+{
+protected:
+ FmXFormShell_Base_Disambiguation( ::osl::Mutex& _rMutex );
+ virtual void SAL_CALL disposing();
+};
+
+//========================================================================
+typedef FmXFormShell_Base_Disambiguation FmXFormShell_BASE;
+typedef ::utl::ConfigItem FmXFormShell_CFGBASE;
class FmXFormShell :public FmXFormShell_BASE
,public FmXFormShell_CFGBASE