Hi Mikhail,
I'm sorry I encountered some problem. The implementation of the wrapper
was OK in the compilation phase, but when I tried to initialize an
instance of it, I got the link error as in the log. I'm not sure if the
problem lies in the implementation, or it is because I did not
initialize it in the right way. Could you help me with this please?
Thanks and Best Regards,
Felix.
Mikhail Voitenko 写道:
Hi Felix,
In this case a wrapper is just an implementation that implements the
same set of interfaces as the original object, and redirects most of
the calls to the original object. It just slightly changes the
behavior by aborting the filter selection interception.
There is no necessity to register the wrapper as a service in this
case. The object will be just created with C++ "new" operator and
after that it's lifetime will be controlled by refcounting as it
happens for all the UNO-objects. In other words the factory for the
object is the source code itself in this case, because of this the
XInitialization interface is also not necessary here ( XInitialization
is used only on object initialization and should not be used further
). Theoretically XServiceInfo should be implemented, since it is a
wrapper for the service.
And since in this case the source code has access to the C++
interface, it can use C++ API in addition to the UNO API ( in this
case we will use the constructor to provide the original interaction
handler ). But only while the object is accessible as C++ object.
Since the InteractionHandler wrapper is inserted into the
MediaDescriptor ( in other words it is transported using UNO API ),
the source code that will retrieve it from there will be able to use
UNO API only.
Best Regards,
Mikhail.
Zhang Xiaofei wrote:
Hi Mikhail,
Thanks you very much for your instructions. Sorry I'm not very
familiar with this wrapper concept, so I may need your help on these
questions:
- Does a wrapper of an interface basically has the same intention to
an implementation of an service, only the latter implements multiple
interfaces?
- How can a implemented wrapper be used in further programming? Since
there's not registration as a component I guess we should just make
an instance of the class and call its member functions?
Thanks and Best Regards,
Felix.
Mikhail Voitenko 写道:
Hi Felix,
thank you for the stacks. The problem here is that after the user
has decided to do no recovery the filter detection process actually
should be stopped. Unfortunately it seems that the current design
does not allow to do it, and the shown filter selection dialog is
just a part of the filter detection process that goes further.
We could use a workaround, implement a wrapper around interaction
handler, that would prevent showing of the filter selection dialog.
We could probably prevent appearing of any dialog during the further
detection, but I would prefer to avoid possibility of non wished
quite actions. Even if they are not possible now, they could be
implemented in future.
So the wrapper will implement the task::XInteractionHandler
interface. The constructor will get the original interaction handler
and in case XInteractionHandler::handle() call is called the
implementation will call the original handler except the case that
the "document::NoSuchFilterRequest" is provided.
You can find an example of similar wrapper implementation in
sfx2/source/doc/docfile.cxx:SfxMediumHandler_Impl. I think it makes
sense that the class is implemented in "comphelper" since the
problem should be solved not only for writer, but also for other
applications.
Best Regards,
Mikhail.
Zhang Xiaofei wrote:
Hi Mikhail,
I'm glad to know the previous issue is solved. :-)
The problem of i63661 is still reproducible here, I recorded the
stacks respectively to all the three boxes are shown, (while the
third one may be not so useful,) the previous two are almost the
same except for the 16th line:
===================================
+swd680mi.dll!SwFilterDetect::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
& lDescriptor={...}) Line 317 + 0x22 C++
(stack1_promptdialog)
-swd680mi.dll!SwFilterDetect::detect(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
& lDescriptor={...}) Line 326 + 0x22 C++
(stack2_notifydialog)
-----------------------------------
Some tracing shows that bRepairAllowed has the right value 0, sorry
I didn't got enough time to finish the tracing, maybe the problem
lies around line 426 of
G:\OOo\SRC680_m225\sw\source\ui\uno\swdetect.cxx. I'll have to
continue it next Monday. Could you give me some hints on this, please?
Thanks and Best Regards,
Felix.
Mikhail Voitenko 写道:
Hi Felix,
Thank you for checking the scenario. I have marked the issue as
non reproducible and have sent it to QA.
A new task could the the issue i63661. Please test whether the
problem is still reproducible. If it is, please get the call stack
at the place where the dialog regarding document repair is shown,
just break in the debugger while the dialog is visible. There are
two places, where the recovery might be activated, so we need to
detect which one is affected.
Best Regards,
Mikhail.
diff -urNpw @sw/source/ui/uno/swdetect.cxx sw/source/ui/uno/swdetect.cxx
--- @sw/source/ui/uno/swdetect.cxx 2007-11-26 17:21:04.000000000 +0800
+++ sw/source/ui/uno/swdetect.cxx 2007-11-26 17:28:14.000000000 +0800
@@ -101,6 +101,7 @@
#include <sfx2/brokenpackageint.hxx>
#include <svx/impgrf.hxx>
#include <svtools/FilterConfigItem.hxx>
+#include <comphelper/InteractionHandlerWrapper.hxx>
#ifndef INCLUDED_SVTOOLS_MODULEOPTIONS_HXX
#include <svtools/moduleoptions.hxx>
@@ -199,7 +200,10 @@ SwFilterDetect::~SwFilterDetect()
nIndexOfTemplateFlag = nProperty;
}
else if( lDescriptor[nProperty].Name ==
OUString(RTL_CONSTASCII_USTRINGPARAM("InteractionHandler")) )
+ {
lDescriptor[nProperty].Value >>= xInteraction;
+ OInteractionHandlerWrapper* pHandler = new
OInteractionHandlerWrapper( xInteraction );
+ }
else if( lDescriptor[nProperty].Name ==
OUString(RTL_CONSTASCII_USTRINGPARAM("RapairPackage")) )
lDescriptor[nProperty].Value >>= bRepairPackage;
else if( lDescriptor[nProperty].Name ==
OUString(RTL_CONSTASCII_USTRINGPARAM("DocumentTitle")) )
diff -urNpw @comphelper/inc/comphelper/InteractionHandlerWrapper.hxx
comphelper/inc/comphelper/InteractionHandlerWrapper.hxx
--- @comphelper/inc/comphelper/InteractionHandlerWrapper.hxx 1970-01-01
08:00:00.000000000 +0800
+++ comphelper/inc/comphelper/InteractionHandlerWrapper.hxx 2007-11-26
17:03:42.000000000 +0800
@@ -0,0 +1,108 @@
+/*************************************************************************
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* $RCSfile: accessiblewrapper.hxx,v $
+*
+* $Revision: 1.10 $
+*
+* last change: $Author: hr $ $Date: 2006/06/19 22:41:57 $
+*
+* The Contents of this file are made available subject to
+* the terms of GNU Lesser General Public License Version 2.1.
+*
+*
+* GNU Lesser General Public License Version 2.1
+* =============================================
+* Copyright 2005 by Sun Microsystems, Inc.
+* 901 San Antonio Road, Palo Alto, CA 94303, USA
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License version 2.1, as published by the Free Software Foundation.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this library; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+* MA 02111-1307 USA
+*
+************************************************************************/
+
+#ifndef _COMPHELPER_INTERACTIONHANDLERWRAPPER_HXX_
+#define _COMPHELPER_INTERACTIONHANDLERWRAPPER_HXX_
+
+#ifndef _COM_SUN_STAR_TASK_XINTERACTIONHANDLER_
+#include <com/sun/star/task/XInteractionHandler.hpp>
+#endif
+#ifndef _COM_SUN_STAR_TASK_XINTERACITONREQUEST_
+#include <com/sun/star/task/XInteractionRequest.hpp>
+#endif
+#ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_
+#include <com/sun/star/lang/XInitialization.hpp>
+#endif
+#ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#endif
+#ifndef _COM_SUN_STAR_FRAME_DOUBLEINITIALIZATIONEXCEPTION_
+#include <com/sun/star/frame/DoubleInitializationException.hpp>
+#endif
+
+#ifndef _CPPUHELPER_IMPLBASE3_HXX_
+#include <cppuhelper/implbase3.hxx>
+#endif
+#ifndef INCLUDED_COMPHELPERDLLAPI_H
+#include "comphelper/comphelperdllapi.h"
+#endif
+
+class OInteractionHandlerWrapper : public ::cppu::WeakImplHelper3
+ < ::com::sun::star::task::XInteractionHandler
+ , ::com::sun::star::lang::XInitialization
+ , ::com::sun::star::lang::XServiceInfo >
+{
+ com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler
> m_xInter;
+
+public:
+ OInteractionHandlerWrapper( com::sun::star::uno::Reference<
com::sun::star::task::XInteractionHandler > xInteraction );
+ ~OInteractionHandlerWrapper();
+
+ static ::rtl::OUString SAL_CALL impl_staticGetImplementationName();
+ static ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
impl_staticGetSupportedServiceNames();
+
+
+
//____________________________________________________________________________________________________
+ // XInteractionHandler
+
//____________________________________________________________________________________________________
+
+ virtual void SAL_CALL handle( const com::sun::star::uno::Reference<
com::sun::star::task::XInteractionRequest >& xRequest)
+ throw( com::sun::star::uno::RuntimeException );
+
+
//____________________________________________________________________________________________________
+ // XInitialization
+
//____________________________________________________________________________________________________
+
+ virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Any >& aArguments )
+ throw ( ::com::sun::star::uno::Exception,
+ ::com::sun::star::uno::RuntimeException,
+ ::com::sun::star::frame::DoubleInitializationException ) ;
+
+
//____________________________________________________________________________________________________
+ // XServiceInfo
+
//____________________________________________________________________________________________________
+
+ virtual ::rtl::OUString SAL_CALL getImplementationName()
+ throw ( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::sal_Bool SAL_CALL supportsService( const ::rtl::OUString&
ServiceName )
+ throw ( ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL
getSupportedServiceNames()
+ throw ( ::com::sun::star::uno::RuntimeException );
+
+};
+
+#endif
\ No newline at end of file
diff -urNpw @comphelper/source/misc/InteractionHandlerWrapper.cxx
comphelper/source/misc/InteractionHandlerWrapper.cxx
--- @comphelper/source/misc/InteractionHandlerWrapper.cxx 1970-01-01
08:00:00.000000000 +0800
+++ comphelper/source/misc/InteractionHandlerWrapper.cxx 2007-11-26
17:03:18.000000000 +0800
@@ -0,0 +1,123 @@
+/*************************************************************************
+*
+* OpenOffice.org - a multi-platform office productivity suite
+*
+* $RCSfile: accessiblewrapper.hxx,v $
+*
+* $Revision: 1.10 $
+*
+* last change: $Author: hr $ $Date: 2006/06/19 22:41:57 $
+*
+* The Contents of this file are made available subject to
+* the terms of GNU Lesser General Public License Version 2.1.
+*
+*
+* GNU Lesser General Public License Version 2.1
+* =============================================
+* Copyright 2005 by Sun Microsystems, Inc.
+* 901 San Antonio Road, Palo Alto, CA 94303, USA
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License version 2.1, as published by the Free Software Foundation.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this library; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+* MA 02111-1307 USA
+*
+************************************************************************/
+
+#include "precompiled_comphelper.hxx"
+
+#ifndef _COMPHELPER_INTERACTIONHANDLERWRAPPER_HXX_
+#include "comphelper/InteractionHandlerWrapper.hxx"
+#endif
+
+#ifndef _COM_SUN_STAR_DOCUMENT_NOSUCHFILTERREQUEST_
+#include <com/sun/star/document/NoSuchFilterRequest.hpp>
+#endif
+
+//.........................................................................
+
+//.........................................................................
+
+using namespace ::com::sun::star;
+
+//----------------------------------------------------------------------------------------------------
+OInteractionHandlerWrapper::OInteractionHandlerWrapper( uno::Reference<
task::XInteractionHandler > xInteraction )
+ :m_xInter( xInteraction )
+{
+}
+
+//----------------------------------------------------------------------------------------------------
+uno::Sequence< ::rtl::OUString > SAL_CALL
OInteractionHandlerWrapper::impl_staticGetSupportedServiceNames()
+{
+ uno::Sequence< ::rtl::OUString > aRet(1);
+ aRet[0] =
::rtl::OUString::createFromAscii("com.sun.star.task.InteractionHandlerWrapper");
+ return aRet;
+}
+
+::rtl::OUString SAL_CALL
OInteractionHandlerWrapper::impl_staticGetImplementationName()
+{
+ return
::rtl::OUString::createFromAscii("com.sun.star.comp.task.InteractionHandlerWrapper");
+}
+
+//----------------------------------------------------------------------------------------------------
+// XInteractionHandler
+//----------------------------------------------------------------------------------------------------
+void SAL_CALL OInteractionHandlerWrapper::handle( const ::uno::Reference<
::task::XInteractionRequest >& xRequest)
+{
+ if( !m_xInter.is() )
+ return;
+
+ ::uno::Any aRequest = xRequest->getRequest();
+ ::document::NoSuchFilterRequest aNoSuchFilterRequest;
+ if ( aRequest >>= aNoSuchFilterRequest )
+ return;
+ else
+ m_xInter->handle( xRequest );
+}
+
+//----------------------------------------------------------------------------------------------------
+// XInitialization
+//----------------------------------------------------------------------------------------------------
+void SAL_CALL OInteractionHandlerWrapper::initialize( const uno::Sequence<
uno::Any >& aArguments )
+ throw ( uno::Exception,
+ uno::RuntimeException,
+ frame::DoubleInitializationException )
+{
+}
+
+//----------------------------------------------------------------------------------------------------
+// XServiceInfo
+//----------------------------------------------------------------------------------------------------
+
+::rtl::OUString SAL_CALL OInteractionHandlerWrapper::getImplementationName()
+ throw ( uno::RuntimeException )
+{
+ return impl_staticGetImplementationName();
+}
+
+::sal_Bool SAL_CALL OInteractionHandlerWrapper::supportsService( const
::rtl::OUString& ServiceName )
+ throw ( uno::RuntimeException )
+{
+ uno::Sequence< ::rtl::OUString > aSeq =
impl_staticGetSupportedServiceNames();
+
+ for ( sal_Int32 nInd = 0; nInd < aSeq.getLength(); nInd++ )
+ if ( ServiceName.compareTo( aSeq[nInd] ) == 0 )
+ return sal_True;
+
+ return sal_False;
+}
+
+uno::Sequence< ::rtl::OUString > SAL_CALL
OInteractionHandlerWrapper::getSupportedServiceNames()
+ throw ( uno::RuntimeException )
+{
+ return impl_staticGetSupportedServiceNames();
+}
\ No newline at end of file
diff -urNpw @comphelper/source/misc/makefile.mk
comphelper/source/misc/makefile.mk
--- @comphelper/source/misc/makefile.mk 2007-07-06 18:25:04.000000000 +0800
+++ comphelper/source/misc/makefile.mk 2007-11-26 15:21:54.000000000 +0800
@@ -83,7 +83,8 @@ SLOFILES= \
$(SLO)$/officeresourcebundle.obj \
$(SLO)$/SelectionMultiplex.obj \
$(SLO)$/namedvaluecollection.obj \
- $(SLO)$/logging.obj
+ $(SLO)$/logging.obj \
+ $(SLO)$/InteractionHandlerWrapper.obj
# --- Targets ----------------------------------
build -- version: 1.157
=============
Building project sw
=============
/cygdrive/g/OOo/SRC680_m225/sw/inc
-------------
/cygdrive/g/OOo/SRC680_m225/sw/sdi
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/inc
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/SwNumberTree
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/access
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/attr
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/bastyp
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/crsr
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/doc
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/docnode
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/draw
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/edit
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/except
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/fields
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/frmedt
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/graphic
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/layout
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/objectpositioning
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/ole
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/para
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/sw3io
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/swg
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/table
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/text
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/tox
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/txtnode
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/undo
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/unocore
--- EXCEPTIONSNOOPTFILES ---
`../../../wntmsci10.pro/slo/unoportenum.obj' is up to date
--- EXCEPTIONSNOOPTFILES OVER ---
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core/view
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/core
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/ascii
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/basflt
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/html
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/rtf
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/writer
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/ww1
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/ww8
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter/xml
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/filter
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/app
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/cctrl
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/chrdlg
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/config
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/dbui
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/dialog
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/dochdl
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/docvw
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/envelp
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/fldui
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/fmtui
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/frmdlg
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/globdoc
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/index
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/lingu
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/misc
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/ribbar
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/shells
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/smartmenu
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/table
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/uiview
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/uno
------------------------------
Making: ../../../wntmsci10.pro/slo/swdetect.obj
guw.exe /cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/bin/cl.exe -Zm500 -Zc:forScope
-GR -c -nologo -Gs -Gy -Ob1 -Oxs -Oy- -Gd -I.
-I../../../wntmsci10.pro/inc/unoidl -I../inc -I../../../inc/pch -I../../../inc
-I../../../WIN/inc -I../../../wntmsci10.pro/inc -I.
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/stl
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/external
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc
-I/cygdrive/g/OOo/SRC680_m225/solenv/wntmsci10/inc
-I/cygdrive/g/OOo/SRC680_m225/solenv/inc -I/cygdrive/g/OOo/SRC680_m225/res
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/stl
-I/cygdrive/d/OOEnv/J2SDK1~1.2_0/include/win32
-I/cygdrive/d/OOEnv/J2SDK1~1.2_0/include -I/cygdrive/d/OOEnv/PSDK/include
-I/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/include
-I/cygdrive/d/OOEnv/DXSDK2~1/include -I/cygdrive/d/OOEnv/DXSDK2~1/include
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/offuh -I.
-I../../../res -I. -Wall -wd4061 -wd4063 -wd4127 -wd4191 -wd4217 -wd4250
-wd4251 -wd4275 -wd4290 -wd4292 -wd4294 -wd4344 -wd4347 -wd4355 -wd4503
-wd4511 -wd4512 -wd4514 -wd4611 -wd4619 -wd4625 -wd4626 -wd4640 -wd4675
-wd4686 -wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -DWNT -DWNT -DNT351 -DMSC
-DM1310 -DINTEL -D_X86_=1 -DFULL_DESK -DSTLPORT_VERSION=400 -DWINVER=0x400
-D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci -DSUPD=680 -DPRODUCT -DNDEBUG
-DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA
-DSRC680=SRC680 -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHAREDLIB
-D_DLL_ -DWIN32 -D_MT -D_DLL -DWIN32 -D_MT -D_DLL -GX -DEXCEPTIONS_ON
-Fo../../../wntmsci10.pro/slo/swdetect.obj
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/uno/swdetect.cxx
guw.exe /cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/bin/cl.exe @/tmp/mkF2vVid
swdetect.cxx
g:\OOo\SRC680_m225\sw\source\ui\uno\swdetect.cxx(125) : warning C4100:
'xFactory' : unreferenced formal parameter
g:\OOo\SRC680_m225\sw\source\ui\uno\swdetect.cxx(205) : warning C4189:
'pHandler' : local variable is initialized but not referenced
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
dmake: Executing shell macro: $(MAKEDEPEND) @$(mktmp -f - -p$(SLO)
$(MKDEPFLAGS) $(CDEFS) $(CDEFSSLO) $(CDEFSMT) $i ) >> $@
cat /tmp/mkN74Thp >> ../../../wntmsci10.pro/misc/all_unoidl.dpslo
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/utlui
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/web
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui/wrtsh
-------------
/cygdrive/g/OOo/SRC680_m225/sw/source/ui
-------------
/cygdrive/g/OOo/SRC680_m225/sw/util
------------------------------
Making: ../wntmsci10.pro/bin/swd680mi.dll
guw.exe rc -DWIN32 -I. -I../wntmsci10.pro/inc/sw -I../inc -I../inc/pch
-I../inc -I../WIN/inc -I../wntmsci10.pro/inc -I.
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/stl
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/external
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc
-I/cygdrive/g/OOo/SRC680_m225/solenv/wntmsci10/inc
-I/cygdrive/g/OOo/SRC680_m225/solenv/inc -I/cygdrive/g/OOo/SRC680_m225/res
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/stl
-I/cygdrive/d/OOEnv/J2SDK1~1.2_0/include/win32
-I/cygdrive/d/OOEnv/J2SDK1~1.2_0/include -I/cygdrive/d/OOEnv/PSDK/include
-I/cygdrive/c/PROGRA~1/MICROS~1.NET/Vc7/include
-I/cygdrive/d/OOEnv/DXSDK2~1/include -I/cygdrive/d/OOEnv/DXSDK2~1/include
-I/cygdrive/g/OOo/SRC680_m225/solver/680/wntmsci10.pro/inc/offuh -I. -I../res
-I. ../wntmsci10.pro/misc/swd680mi_def.rc
g:\OOo\SRC680_m225\solenv\inc/shlinfo.rc(38) : warning RC4005: 'VERVARIANT' :
redefinition
cat ../wntmsci10.pro/misc/swd680mi_def.res > ../wntmsci10.pro/misc/swd680mi.res
guw.exe link /COMMENT:"sw_680__" /MACHINE:IX86 @/tmp/mk7ChnSJ 2>&1 |
/usr/bin/grep.exe -v "LNK4197:"
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
/MAP /OPT:NOREF -NODEFAULTLIB -RELEASE -DEBUG:full /SUBSYSTEM:CONSOLE /DLL
-out:../wntmsci10.pro/bin/swd680mi.dll -map:../wntmsci10.pro/misc/swd680mi.map
-def:../wntmsci10.pro/misc/swd680mi.def -implib:../wntmsci10.pro/lib/swdimp.lib
..\wntmsci10.pro\slo\swd_dflt_version.obj ..\wntmsci10.pro\slo\swdetect.obj
..\wntmsci10.pro\slo\swdet2.obj ..\wntmsci10.pro\slo\detreg.obj sfx.lib
svtool.lib isvl.lib ivcl.lib sot.lib itools.lib iucbhelper.lib iutl.lib
icomphelp.lib icppuhelper.lib icppu.lib isal.lib msvcrt.lib uwinapi.lib
kernel32.lib user32.lib oldnames.lib stlport_vc71.lib
..\wntmsci10.pro\misc\swd680mi.res
Creating library ../wntmsci10.pro/lib/swdimp.lib and object
../wntmsci10.pro/lib/swdimp.exp
swdetect.obj : error LNK2019: unresolved external symbol "public: __thiscall
OInteractionHandlerWrapper::OInteractionHandlerWrapper(class
com::sun::star::uno::Reference<class
com::sun::star::task::XInteractionHandler>)"
(??0OInteractionHandlerWrapper@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL
PROTECTED]@com@@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@Z) referenced in
function "public: virtual class rtl::OUString __cdecl
SwFilterDetect::detect(class com::sun::star::uno::Sequence<struct
com::sun::star::beans::PropertyValue> &)" ([EMAIL PROTECTED]@@[EMAIL
PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@@[EMAIL
PROTECTED]@[EMAIL PROTECTED]@@@Z)
../wntmsci10.pro/bin/swd680mi.dll : fatal error LNK1120: 1 unresolved externals
dmake: Error code 2, while making '../wntmsci10.pro/bin/swd680mi.dll'
---* tg_merge.mk *---
ERROR: Error 65280 occurred while making /cygdrive/g/OOo/SRC680_m225/sw/util
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]