User:Eric Bachard
From OOo4Kids
Port sur nouvelle architecture Linux
Contents |
Différences entre OOo4Kids et OpenOffice.org
Origine, distribution et buts
- qu'est ce qu'OOo4Kids ?
FAQ : OOo4Kids utilise le même code source qu'OpenOffice.org, mais le modifie, en respectant la licence associée à OpenOffice.org. C'est donc un logiciel dérivé, appelé aussi fork du logiciel OpenOffice.org. Ce fork est aussi dit "amical" car la compatibilité entre licences est garantie (tous deux utilisent la licence LGPL v3).
- OOo4Kids est une marque déposée par EducOOo (Association loi 1901) alors qu'OpenOffice.org est une marque déposée par Sun MicroSystems.
- OOo4Kids est dédié aux machines légères, peu puissantes, et souvent anciennes
- OOo4Kids est dédié aux 7-12 ans, en situation d'utilisation en mileu scolaire, alors qu'OpenOffice.org couvre tous les domaines possibles d'utilisation d'une suite bureautique.
- OOo4Kids n'est pour l'instant pas financé. OpenOffice.org est financé de façon importante par Sun Microsystems, IBM, Novell, Red Had, RedFlag2000 ..
Cahier des charges d'OOo4Kids
- Contrat social
OOo4Kids est détenu par une association de type loi 1901, sans but lucratif, mais ayant un contrat social.
OOo4Kids a donc les objectifs suivants :
- Mettre à disposition une suite bureautique pour les 7-12ans, libre et distribuée gratuitement
- Créer, en collaboration avec les enseignants, une suite bureautique adaptée au besoins des cycles 2 et 3 (école primaire) et secondaire (collège)
- Présenter et expliquer le code source associé aux modifications apportées, dans le but d'initier les futurs développeurs potentiels à s'approprier le code source d'OpenOffice.org
Développement
- Code source de base : OOO320_m11 pour la version 1.x , et DEV300_mxxx pour les version 2.x ou supérieures
FAQ : quel est le code de base utilisé par OOo4Kids ?
- Outils utiliéss par OpenOffice.org : subversion (branche 3.2.0) et mercurial ( branche DEV300 )
- Outils utilisés par OOo4Kids : subversion (version 1.x ), puis git (pour la version 2.x et supérieures)
FAQ : quels outils sont utilisés pour gérer les sources d'OOo4Kids ? FAQ : quels outils sont utilisés pour gérer les sources d'OpenOffice.org ?
- Compilable sur : Windows XP (mini), Mac OS X (10.4 mini) Intel et PowerPC, Linux : toutes architctures ( .deb, .rpm, .pet, .tar.gz ) + outils de développement associés
FAQ : sur quels OS fonctionne OOo4Kids ? OOo4Kids fonctionne-t-il sur Mac Intel ? sur Mac PowerPC ? Sous Linux ?
FAQ : peut-on consulter les sources d'OOo4Kids en ligne ?
- Sites
FAQ : OOo4Kids sui-t-il un process d'Assurance Qualité ?
Archives et fonctionnalités
- OOo4Kids n'utilise pas Java (ni à l'exécution, ni à la compilation)
- OOo4Kids n'utilise pas Base
- Basic et les macros ne sont (pour l'instant) pas pris en charge par OOo4Kids
- Archives : téléchargeables sur http://download.ooo4kids.org
- Taille des archives : les archives d'OOo4Kids sont général entre 35% et 40% moins grosses que celles d'openOffice.org
- Pas d'enregistrement avec OOo4Kids
FAQ : Dois-je installer Java pour faire fonctionner OOo4Kids ?
Non, OOo4Kids n'utilise pas Java
FAQ : que dois je utiliser pour utiliser OOo4Kids ?
Sous Windows XP (mini) : rien, l'installeur est inclus dans l'archive téléchargée.
Sous Mac OS X 10.4 : l'archive téléchargée sur http://wiki.ooo4Kids.org contient tout et suffit.
Quelle archive télécharger sur Mac OS X ?
Il existe deux types de processeurs : PowerPC et Intel. Le nom du processeur utilisé est précisé dans le nom de l'archive, et on doit télécharger l'archive qui correspond à l'architcture utilisée ( Intel pour processeurs Intel, PowerPC pour PPC).
Apparence
- Palettes de couleurs
- Start Center simplifié : nouvelles icones, forme des boutons non apparente par défaut.
FIXME : copies d'écran
- Start Center: dans OOo4Kids, lorsque le curseur de la souris survole une des applications, un ballon d'aide (qui peut être désactivé dans les préférences) apparaît.
FIXME
FIXME CLEANLY : general I/O error
General I/O error
Current patch : identify the exact error, and reset the errcode (all places) to nError = SVSTREAM_OK (== 0 )
+#ifdef OOo4Kids + // FIXME + // I don't have figured out yet why SfxObjectShell::ResetError(), + // itself calling SvStream::ResetError(), means nError should become SVStreamOK == 0, + // does not really reset nError. + // Instead, nError == 2147942472 value (equals 0x80070048 in hexa) is returned, what + // causes a "General Error" without a real error (loading and saving the doc) + // to avoid hidding other error values, we only protected the well known one + if (nError == 0x80070048 ) // see tools/inc/tools/errcode.hxx for the value computation + nError = SVSTREAM_OK; +#endif
Due to something around ERRCTX_SFX_SAVEASDOC
2813 SfxErrorContext aEc( ERRCTX_SFX_SAVEASDOC, m_pData->m_pObjectShell->GetTitle() );
Symbols in vcl/sfx2/sw/xmloff
Breakpoint :
(gdb) info b Num Type Disp Enb Address What 5 breakpoint keep y 0x011273e8 in SfxBaseModel::impl_store(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned char) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:2649
breakpoint already hit 2 times
Trace :
(gdb) b 'SfxBaseModel::storeAsURL'
Breakpoint 4 at 0x1129101: file /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx, line 1640.
(gdb) c
Continuing.
2009-08-27 08:51:50.344 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffe498, rArgs=@0xbfffe74c) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) p *this
$1 = {
<BaseMutex> = {
m_aMutex = {
mutex = 0x69dd9780
}
},
<WeakImplHelper29<com::sun::star::container::XChild,com::sun::star::document::XDocumentInfoSupplier,com::sun::star::document::XDocumentPropertiesSupplier,com::sun::star::rdf::XDocumentMetadataAccess,com::sun::star::document::XEventBroadcaster,com::sun::star::lang::XEventListener,com::sun::star::document::XEventsSupplier,com::sun::star::document::XEmbeddedScripts,com::sun::star::document::XScriptInvocationContext,com::sun::star::frame::XModel2,com::sun::star::util::XModifiable2,com::sun::star::view::XPrintable,com::sun::star::view::XPrintJobBroadcaster,com::sun::star::frame::XStorable2,com::sun::star::frame::XLoadable,com::sun::star::script::XStarBasicAccess,com::sun::star::document::XViewDataSupplier,com::sun::star::util::XCloseable,com::sun::star::datatransfer::XTransferable,com::sun::star::document::XDocumentSubStorageSupplier,com::sun::star::document::XStorageBasedDocument,com::sun::star::script::provider::XScriptProviderSupplier,com::sun::star::ui::XUIConfigurationManagerSupplier,com::sun::star::embed::XVisualObject,com::sun::star::lang::XUnoTunnel,com::sun::star::frame::XModule,com::sun::star::frame::XTitle,com::sun::star::frame::XTitleChangeBroadcaster,com::sun::star::frame::XUntitledNumbers>> = {
<OWeakObject> = {
<XWeak> = {
<XInterface> = {
_vptr$XInterface = 0x307b0ce0
}, <No data fields>},
members of OWeakObject:
m_refCount = 11,
m_pWeakConnectionPoint = 0x292f5cc0,
m_pReserved = 0x2e2e2e
},
<XTypeProvider> = {
<XInterface> = {
_vptr$XInterface = 0x307b0eac
}, <No data fields>},
<XChild> = {
<XInterface> = {
_vptr$XInterface = 0x307b0ec8
}, <No data fields>},
<XDocumentInfoSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b0ee4
}, <No data fields>},
<XDocumentPropertiesSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b0efc
}, <No data fields>},
<XDocumentMetadataAccess> = {
<XURI> = {
<XResource> = {
<XNode> = {
<XInterface> = {
_vptr$XInterface = 0x307b0f14
}, <No data fields>}, <No data fields>}, <No data fields>},
<XRepositorySupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b0f64
}, <No data fields>}, <No data fields>},
<XEventBroadcaster> = {
<XInterface> = {
_vptr$XInterface = 0x307b0f7c
}, <No data fields>},
<XEventListener> = {
<XInterface> = {
_vptr$XInterface = 0x307b0f98
}, <No data fields>},
<XEventsSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b0fb0
}, <No data fields>},
<XEmbeddedScripts> = {
<XInterface> = {
_vptr$XInterface = 0x307b0fc8
}, <No data fields>},
<XScriptInvocationContext> = {
<XInterface> = {
_vptr$XInterface = 0x307b0fe8
}, <No data fields>},
<XModel2> = {
<XModel> = {
<XComponent> = {
<XInterface> = {
_vptr$XInterface = 0x307b1000
}, <No data fields>}, <No data fields>}, <No data fields>},
<XModifiable2> = {
<XModifiable> = {
<XModifyBroadcaster> = {
<XInterface> = {
_vptr$XInterface = 0x307b105c
}, <No data fields>}, <No data fields>}, <No data fields>},
<XPrintable> = {
<XInterface> = {
_vptr$XInterface = 0x307b108c
}, <No data fields>},
<XPrintJobBroadcaster> = {
<XInterface> = {
_vptr$XInterface = 0x307b10ac
}, <No data fields>},
<XStorable2> = {
<XStorable> = {
<XInterface> = {
_vptr$XInterface = 0x307b10c8
}, <No data fields>}, <No data fields>},
<XLoadable> = {
<XInterface> = {
_vptr$XInterface = 0x307b10f8
}, <No data fields>},
<XStarBasicAccess> = {
<XInterface> = {
_vptr$XInterface = 0x307b1114
}, <No data fields>},
<XViewDataSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b1138
}, <No data fields>},
<XCloseable> = {
<XCloseBroadcaster> = {
<XInterface> = {
_vptr$XInterface = 0x307b1154
}, <No data fields>}, <No data fields>},
<XTransferable> = {
<XInterface> = {
_vptr$XInterface = 0x307b1174
}, <No data fields>},
<XDocumentSubStorageSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b1194
}, <No data fields>},
<XStorageBasedDocument> = {
<XInterface> = {
_vptr$XInterface = 0x307b11b0
}, <No data fields>},
<XScriptProviderSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b11dc
}, <No data fields>},
<XUIConfigurationManagerSupplier> = {
<XInterface> = {
_vptr$XInterface = 0x307b11f4
}, <No data fields>},
<XVisualObject> = {
<XInterface> = {
_vptr$XInterface = 0x307b120c
}, <No data fields>},
<XUnoTunnel> = {
<XInterface> = {
_vptr$XInterface = 0x307b1230
}, <No data fields>},
<XModule> = {
<XInterface> = {
_vptr$XInterface = 0x307b1248
}, <No data fields>},
<XTitle> = {
<XInterface> = {
_vptr$XInterface = 0x307b1264
}, <No data fields>},
<XTitleChangeBroadcaster> = {
<XInterface> = {
_vptr$XInterface = 0x307b1280
}, <No data fields>},
<XUntitledNumbers> = {
<XInterface> = {
_vptr$XInterface = 0x307b129c
}, <No data fields>}, <No data fields>},
<SfxListener> = {
_vptr$SfxListener = 0x307b12c0,
aBCs = {
pData = 0x6909d038,
nFree = 0,
nA = 1
}
},
members of SfxBaseModel:
m_pData = 0x67e38200,
m_bSupportEmbeddedScripts = true
}
(gdb) l
1635
1636 void SAL_CALL SfxBaseModel::storeAsURL( const ::rtl::OUString& rURL ,
1637 const uno::Sequence< beans::PropertyValue >& rArgs )
1638 throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
1639 {
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
1641
1642 // object already disposed?
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
1644 if ( impl_isDisposed() )
(gdb) o impl_isDisposed()
Ambiguous command "o impl_isDisposed() ": obscure, op, ope, open, output, ov, overlay, ovly.
(gdb) p impl_isDisposed()
$2 = 0 '\0'
(gdb) n
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
(gdb)
1644 if ( impl_isDisposed() )
(gdb) p impl_isDisposed()
$3 = 0 '\0'
(gdb) n
1647 if ( m_pData->m_pObjectShell.Is() )
(gdb) p m_pData->m_pObjectShell.Is()
$4 = 1 '\001'
(gdb) n
1649 m_pData->m_pObjectShell->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "storeAsURL" ) ) );
(gdb) n
1650 SfxSaveGuard aSaveGuard(this, m_pData, sal_False);
(gdb)
1652 impl_store( rURL, rArgs, sal_False );
(gdb)
2009-08-27 08:53:35.991 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 08:53:39.836 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 08:53:42.174 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 08:54:14.564 soffice[13311] Apple Remote will become active - Using remote controls
1654 uno::Sequence< beans::PropertyValue > aSequence ;
(gdb) n
1655 TransformItems( SID_OPENDOC, *m_pData->m_pObjectShell->GetMedium()->GetItemSet(), aSequence );
(gdb)
1656 attachResource( rURL, aSequence );
(gdb)
1657 }
(gdb)
1658 }
(gdb)
SfxStoringHelper::GUIStoreModel (this=0xbfffe734, xModel=@0x67b30a34, aSlotName=@0xbfffea78, aArgsSequence=@0xbfffe74c, bPreselectPassword=0 '\0', aSuggestedName=@0xbfffea74) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/guisaveas.cxx:1537
1537 return bDialogUsed;
(gdb)
1538 }
(gdb) c
Continuing.
2009-08-27 08:54:27.992 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 08:54:30.542 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a void
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffe498, rArgs=@0xbfffe74c) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) l
1635
1636 void SAL_CALL SfxBaseModel::storeAsURL( const ::rtl::OUString& rURL ,
1637 const uno::Sequence< beans::PropertyValue >& rArgs )
1638 throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
1639 {
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
1641
1642 // object already disposed?
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
1644 if ( impl_isDisposed() )
(gdb) n
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
(gdb) l
1638 throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException)
1639 {
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
1641
1642 // object already disposed?
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
1644 if ( impl_isDisposed() )
1645 throw lang::DisposedException();
1646
1647 if ( m_pData->m_pObjectShell.Is() )
(gdb) p impl_isDisposed()
$5 = 0 '\0'
(gdb) n
1644 if ( impl_isDisposed() )
(gdb)
1647 if ( m_pData->m_pObjectShell.Is() )
(gdb)
1649 m_pData->m_pObjectShell->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "storeAsURL" ) ) );
(gdb)
1650 SfxSaveGuard aSaveGuard(this, m_pData, sal_False);
(gdb)
1652 impl_store( rURL, rArgs, sal_False );
(gdb) p m_pData
$6 = (IMPL_SfxBaseModel_DataContainer *) 0x292f4850
(gdb) p *m_pData
$7 = {
<IModifiableDocument> = {
_vptr$IModifiableDocument = 0x13e0268
},
members of IMPL_SfxBaseModel_DataContainer:
static g_nInstanceCounter = 9,
m_pObjectShell = {
pObj = 0x290b0560
},
m_sURL = {
pData = 0x23f53c
},
m_sRuntimeUID = {
pData = 0x25264590
},
m_aPreusedFilterName = {
pData = 0x23f53c
},
m_aInterfaceContainer = {
m_pMap = 0x29d8c100,
rMutex = @0x27de0d5c
},
m_xParent = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_xCurrent = {
<BaseReference> = {
_pInterface = 0x24f13d7c
}, <No data fields>},
m_xDocumentInfo = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_xDocumentProperties = {
<BaseReference> = {
_pInterface = 0x2cdf1710
}, <No data fields>},
m_xStarBasicAccess = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_xEvents = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_seqArguments = {
_pSequence = 0x69081d50,
static s_pType = 0x1259a610
},
m_seqControllers = {
_pSequence = 0x24ed998c,
static s_pType = 0x2c149090
},
m_contViewData = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_nControllerLockCount = 0,
m_bClosed = 0 '\0',
m_bClosing = 0 '\0',
m_bSaving = 1 '\001',
m_bSuicide = 0 '\0',
m_xPrintable = {
<BaseReference> = {
_pInterface = 0x69093d80
}, <No data fields>},
m_xScriptProvider = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>},
m_xUIConfigurationManager = {
<BaseReference> = {
_pInterface = 0x690a9338
}, <No data fields>},
m_pStorageModifyListen = {
m_pBody = 0x25228c40
},
m_sModuleIdentifier = {
pData = 0x23f53c
},
m_xTitleHelper = {
<BaseReference> = {
_pInterface = 0x690b6984
}, <No data fields>},
m_xNumberedControllers = {
<BaseReference> = {
_pInterface = 0x690619f4
}, <No data fields>},
m_xDocumentMetadata = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>}
}
(gdb) n
2009-08-27 08:57:00.742 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 08:57:02.413 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 08:57:03.941 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 08:57:07.948 soffice[13311] Apple Remote will become active - Using remote controls
1654 uno::Sequence< beans::PropertyValue > aSequence ;
(gdb) info b
Num Type Disp Enb Address What
4 breakpoint keep y 0x01129101 in SfxBaseModel::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
breakpoint already hit 2 times
(gdb) c
Continuing.
2009-08-27 08:57:31.616 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 08:57:34.324 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 08:57:36.740 soffice[13311] Apple Remote will resign active - Releasing remote controls
^C
Program received signal SIGINT, Interrupt.
0x90009cd7 in mach_msg_trap ()
(gdb) info b
Num Type Disp Enb Address What
4 breakpoint keep y 0x01129101 in SfxBaseModel::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
breakpoint already hit 2 times
(gdb) c
Continuing.
Thread: 1 :current component is a void
2009-08-27 08:59:54.596 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:00:04.505 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffe0c8, rArgs=@0xbfffe37c) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) n
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
(gdb)
1644 if ( impl_isDisposed() )
(gdb)
1647 if ( m_pData->m_pObjectShell.Is() )
(gdb)
1649 m_pData->m_pObjectShell->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "storeAsURL" ) ) );
(gdb)
1650 SfxSaveGuard aSaveGuard(this, m_pData, sal_False);
(gdb)
1652 impl_store( rURL, rArgs, sal_False );
(gdb) c
Continuing.
2009-08-27 09:00:27.245 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 09:00:29.092 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:00:42.719 soffice[13311] Apple Remote will resign active - Releasing remote controls
^C
Program received signal SIGINT, Interrupt.
0x90009cd7 in mach_msg_trap ()
(gdb) bt
#0 0x90009cd7 in mach_msg_trap ()
#1 0x90009c38 in mach_msg ()
#2 0x9082d253 in CFRunLoopRunSpecific ()
#3 0x9082ca6e in CFRunLoopRunInMode ()
#4 0x92def878 in RunCurrentEventLoopInMode ()
#5 0x92deef82 in ReceiveNextEventCommon ()
#6 0x92deedd9 in BlockUntilNextEventMatchingListInMode ()
#7 0x93295485 in _DPSNextEvent ()
#8 0x93295076 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#9 0x0ad23d50 in AquaSalInstance::Yield (this=0x12544fc0, bWait=true, bHandleAllCurrentEvents=false) at /Users/ericb/Desktop/DEV300_m56/vcl/aqua/source/app/salinst.cxx:749
#10 0x0aa9237b in Application::Yield (bAllEvents=false) at /Users/ericb/Desktop/DEV300_m56/vcl/source/app/svapp.cxx:502
#11 0x0aa923d2 in Application::Execute () at /Users/ericb/Desktop/DEV300_m56/vcl/source/app/svapp.cxx:461
#12 0x0008aa13 in dyld_stub_objc_exception_try_enter ()
#13 0x0aa9884a in ImplSVMain () at /Users/ericb/Desktop/DEV300_m56/vcl/source/app/svmain.cxx:186
#14 0x0ad22ffd in AquaSalInstance::handleAppDefinedEvent (pEvent=0x1253be20) at /Users/ericb/Desktop/DEV300_m56/vcl/aqua/source/app/salinst.cxx:578
#15 0x0ad25a4b in -[VCL_NSApplication sendEvent:] (self=0x12529310, _cmd=0x90ac44c4, pEvent=0x1253be20) at vclnsapp.mm:64
#16 0x9328ee1e in -[NSApplication run] ()
#17 0x93282d4f in NSApplicationMain ()
#18 0x0ad20da3 in ImplSVMainHook (pbInit=0xbffff69f "") at /Users/ericb/Desktop/DEV300_m56/vcl/aqua/source/app/salinst.cxx:233
#19 0x0aa989c7 in SVMain () at /Users/ericb/Desktop/DEV300_m56/vcl/source/app/svmain.cxx:224
#20 0x000b66ec in soffice_main ()
#21 0x00002b76 in main ()
(gdb) c
Continuing.
2009-08-27 09:00:57.964 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffe0c8, rArgs=@0xbfffe37c) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) c
Continuing.
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 09:01:08.818 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:01:09.652 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :BitmapEx: forced mask to monochrome
Thread: 1 :BitmapEx: forced mask to monochrome
Thread: 1 :current component is a void
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :BitmapEx: forced mask to monochrome
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 09:01:41.360 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:02:34.764 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:02:36.695 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:02:48.282 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:02:49.330 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:03:51.125 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a void
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffe498, rArgs=@0xbfffe74c) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) n
1643 ::vos::OGuard aGuard( Application::GetSolarMutex() );
(gdb)
1644 if ( impl_isDisposed() )
(gdb)
1647 if ( m_pData->m_pObjectShell.Is() )
(gdb)
1649 m_pData->m_pObjectShell->AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "storeAsURL" ) ) );
(gdb)
1650 SfxSaveGuard aSaveGuard(this, m_pData, sal_False);
(gdb)
1652 impl_store( rURL, rArgs, sal_False );
(gdb) j 1653
Continuing at 0x1129290.
2009-08-27 09:04:33.875 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:04:37.188 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:04:39.609 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:04:41.844 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:04:44.522 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:04:57.028 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:04:58.072 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:07:16.613 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 4, SfxBaseModel::storeAsURL (this=0x27de0cd0, rURL=@0xbfffdf48, rArgs=@0xbfffe1fc) at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:1640
1640 RTL_LOGFILE_PRODUCT_CONTEXT( aPerfLog, "PERFORMANCE - SfxBaseModel::storeAsURL" );
(gdb) c
Continuing.
2009-08-27 09:07:29.529 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2009-08-27 09:07:30.413 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a void
2009-08-27 09:07:32.110 soffice[13311] Apple Remote will resign active - Releasing remote controls
^C
Program received signal SIGINT, Interrupt.
0x90009cd7 in mach_msg_trap ()
(gdb) d
Delete all breakpoints? (y or n) y
(gdb) b 'SfxBaseModel::impl_store'
Breakpoint 5 at 0x11273e8: file /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx, line 2649.
(gdb) c
Continuing.
2009-08-27 09:07:41.682 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 5, SfxBaseModel::impl_store (this=0x27de0cd0, sURL=@0xbfffe498, seqArguments=@0xbfffe74c, bSaveTo=0 '\0') at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:2649
2649 if( !sURL.getLength() )
(gdb) p !sURL.getLength()
$8 = false
(gdb) n
2654 sal_Bool bSaved = sal_False;
(gdb)
2655 if ( !bSaveTo && m_pData->m_pObjectShell && sURL.getLength()
(gdb)
2723 if ( !bSaved && m_pData->m_pObjectShell )
(gdb)
2726 m_pData->m_pObjectShell ) );
(gdb)
2728 SfxAllItemSet *aParams = new SfxAllItemSet( SFX_APP()->GetPool() );
(gdb)
2729 aParams->Put( SfxStringItem( SID_FILE_NAME, String(sURL) ) );
(gdb)
2730 if ( bSaveTo )
(gdb)
2733 TransformParameters( SID_SAVEASDOC, seqArguments, *aParams );
(gdb)
2735 SFX_ITEMSET_ARG( aParams, pCopyStreamItem, SfxBoolItem, SID_COPY_STREAM_IF_POSSIBLE, sal_False );
(gdb)
2737 if ( pCopyStreamItem && pCopyStreamItem->GetValue() && !bSaveTo )
(gdb)
2751 m_pData->m_pObjectShell->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED;
(gdb)
2752 uno::Reference<document::XDocumentProperties> xOldDocProps;
(gdb)
2753 uno::Reference<document::XDocumentInfo> xOldDocInfo;
(gdb)
2754 if ( bCopyTo )
(gdb)
2781 sal_Bool bRet = m_pData->m_pObjectShell->APISaveAs_Impl( sURL, aParams );
(gdb)
2009-08-27 09:08:32.178 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2783 if ( bCopyTo )
(gdb) n
2790 uno::Reference < task::XInteractionHandler > xHandler;
(gdb)
2791 SFX_ITEMSET_ARG( aParams, pItem, SfxUnoAnyItem, SID_INTERACTIONHANDLER, sal_False);
(gdb)
2792 if ( pItem )
(gdb)
2793 pItem->GetValue() >>= xHandler;
(gdb)
2795 DELETEZ( aParams );
(gdb)
2797 sal_uInt32 nErrCode = m_pData->m_pObjectShell->GetErrorCode();
(gdb)
2798 if ( !bRet && !nErrCode )
(gdb)
2803 m_pData->m_pObjectShell->ResetError();
(gdb)
2805 if ( bRet )
(gdb)
2807 if ( nErrCode )
(gdb)
2810 if ( xHandler.is() )
(gdb)
2813 SfxErrorContext aEc( ERRCTX_SFX_SAVEASDOC, m_pData->m_pObjectShell->GetTitle() );
(gdb)
2815 ::com::sun::star::uno::Any aInteraction;
(gdb)
2816 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > lContinuations(1);
(gdb)
2817 ::framework::ContinuationApprove* pApprove = new ::framework::ContinuationApprove();
(gdb)
2818 lContinuations[0] = ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation >(static_cast< ::com::sun::star::task::XInteractionContinuation* >(pApprove), uno::UNO_QUERY);
(gdb) n
2820 ::com::sun::star::task::ErrorCodeRequest aErrorCode;
(gdb)
2821 aErrorCode.ErrCode = nErrCode;
(gdb)
2822 aInteraction <<= aErrorCode;
(gdb) p aErrorCode
$9 = {
<Exception> = {
Message = {
pData = 0x23f53c
},
Context = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>}
},
members of ErrorCodeRequest:
ErrCode = -2147024824
}
(gdb) n
2824 ::framework::InteractionRequest* pRequest = new ::framework::InteractionRequest(aInteraction,lContinuations);
(gdb)
2825 ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest > xRequest(static_cast< ::com::sun::star::task::XInteractionRequest* >(pRequest), uno::UNO_QUERY);
(gdb)
2827 xHandler->handle(xRequest);
(gdb)
0x251a5a74 in component_getFactory ()
(gdb)
Cannot find bounds of current function
(gdb)
Cannot find bounds of current function
(gdb)
Cannot find bounds of current function
(gdb) c
Continuing.
2009-08-27 09:09:36.456 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:09:36.510 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:09:37.828 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:09:39.926 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:44:53.144 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
2009-08-27 09:44:53.209 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a void
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a 15SwXTextDocument
Breakpoint 5, SfxBaseModel::impl_store (this=0x27de0cd0, sURL=@0xbfffe498, seqArguments=@0xbfffe74c, bSaveTo=0 '\0') at /Users/ericb/Desktop/DEV300_m56/sfx2/source/doc/sfxbasemodel.cxx:2649
2649 if( !sURL.getLength() )
(gdb) n
2654 sal_Bool bSaved = sal_False;
(gdb)
2655 if ( !bSaveTo && m_pData->m_pObjectShell && sURL.getLength()
(gdb)
2723 if ( !bSaved && m_pData->m_pObjectShell )
(gdb)
2726 m_pData->m_pObjectShell ) );
(gdb)
2728 SfxAllItemSet *aParams = new SfxAllItemSet( SFX_APP()->GetPool() );
(gdb)
2729 aParams->Put( SfxStringItem( SID_FILE_NAME, String(sURL) ) );
(gdb)
2730 if ( bSaveTo )
(gdb)
2733 TransformParameters( SID_SAVEASDOC, seqArguments, *aParams );
(gdb)
2735 SFX_ITEMSET_ARG( aParams, pCopyStreamItem, SfxBoolItem, SID_COPY_STREAM_IF_POSSIBLE, sal_False );
(gdb) p aParams
$10 = (SfxAllItemSet *) 0x67e14740
(gdb) p *aParams
$11 = {
<SfxItemSet> = {
_vptr$SfxItemSet = 0x7055e8,
_pPool = 0x1257e680,
_pParent = 0x0,
_aItems = 0x693ecae0,
_pWhichRanges = 0x2a945f20,
_nCount = 4
},
members of SfxAllItemSet:
aDefault = {
<SfxPoolItem> = {
_vptr$SfxPoolItem = 0x705728,
nRefCount = 0,
nWhich = 0,
nKind = 0
}, <No data fields>},
nFree = 2
}
(gdb) n
2737 if ( pCopyStreamItem && pCopyStreamItem->GetValue() && !bSaveTo )
(gdb)
2751 m_pData->m_pObjectShell->GetCreateMode() == SFX_CREATE_MODE_EMBEDDED;
(gdb)
2752 uno::Reference<document::XDocumentProperties> xOldDocProps;
(gdb)
2753 uno::Reference<document::XDocumentInfo> xOldDocInfo;
(gdb)
2754 if ( bCopyTo )
(gdb)
2781 sal_Bool bRet = m_pData->m_pObjectShell->APISaveAs_Impl( sURL, aParams );
(gdb) p *aParams
$12 = {
<SfxItemSet> = {
_vptr$SfxItemSet = 0x7055e8,
_pPool = 0x1257e680,
_pParent = 0x0,
_aItems = 0x693ecae0,
_pWhichRanges = 0x2a945f20,
_nCount = 4
},
members of SfxAllItemSet:
aDefault = {
<SfxPoolItem> = {
_vptr$SfxPoolItem = 0x705728,
nRefCount = 0,
nWhich = 0,
nKind = 0
}, <No data fields>},
nFree = 2
}
(gdb) n
2009-08-27 09:46:10.338 soffice[13311] Apple Remote will resign active - Releasing remote controls
Thread: 1 :BitmapEx: forced mask to monochrome
2783 if ( bCopyTo )
(gdb) n
2790 uno::Reference < task::XInteractionHandler > xHandler;
(gdb)
2791 SFX_ITEMSET_ARG( aParams, pItem, SfxUnoAnyItem, SID_INTERACTIONHANDLER, sal_False);
(gdb)
2792 if ( pItem )
(gdb)
2793 pItem->GetValue() >>= xHandler;
(gdb)
2795 DELETEZ( aParams );
(gdb)
2797 sal_uInt32 nErrCode = m_pData->m_pObjectShell->GetErrorCode();
(gdb)
2798 if ( !bRet && !nErrCode )
(gdb) p nErrCode
$13 = 2147942472
(gdb) p m_pData->m_pObjectShell
$14 = {
pObj = 0x2a3d2930
}
(gdb) p m_pData->m_pObjectShell->pObj
$15 = (SfxObjectShell *) 0x2a3d2930
(gdb) p *m_pData->m_pObjectShell->pObj
$16 = {
<SfxShell> = {
<SfxBroadcaster> = {
_vptr$SfxBroadcaster = 0x307aa150,
aListeners = {
pData = 0x6907b8c0,
nFree = 0,
nA = 8
}
},
members of SfxShell:
pImp = 0x29094370,
pPool = 0x28e37b10,
pUndoMgr = 0x0
},
<SotObject> = {
<SvRefBase> = {
_vptr$SvRefBase = 0x307aa35c,
nRefCount = 5
},
members of SotObject:
_vptr$SotObject = 0x307aa320,
pAggList = 0x0,
nStrongLockCount = 0,
nOwnerLockCount = 1,
bOwner = 1 '\001',
bSVObject = 0 '\0',
bInClose = 0 '\0'
},
<IEmbeddedHelper> = {
_vptr$IEmbeddedHelper = 0x307aa2ac
},
<IXmlIdRegistrySupplier> = {
_vptr$IXmlIdRegistrySupplier = 0x307aa2c4
},
members of SfxObjectShell:
pImp = 0x2af5e980,
pMedium = 0x2ad1fb50,
pStyleSheetPool = 0x0,
eCreateMode = SFX_CREATE_MODE_STANDARD,
nViewNo = 0,
bHasName = 1 '\001',
bIsTmp = 1 '\001',
static pInterface = 0x1257ddf0,
static pSfxFormalArgs_Impl = 0x13cc700
}
(gdb) p *m_pData->m_pObjectShell->pObj->pImp
$17 = {
<IMacroDocumentAccess> = {
_vptr$IMacroDocumentAccess = 0x13d1cc8
},
members of SfxObjectShell_Impl:
mpObjectContainer = 0x69d94a60,
pAccMgr = 0x0,
pCfgMgr = 0x0,
pBasicManager = 0x69df93b0,
rDocShell = @0x2a3d2930,
xBasicLibraries = {
<BaseReference> = {
_pInterface = 0x27e283f8
}, <No data fields>},
xDialogLibraries = {
<BaseReference> = {
_pInterface = 0x68e48d74
}, <No data fields>},
aMacroMode = {
m_pData = {
px = 0x2a300770,
pn = {
pi_ = 0x2a3cae40
}
}
},
pProgress = 0x0,
aTitle = {
mpData = 0x27e27ed4
},
aTempName = {
mpData = 0x23f53c
},
nTime = {
<Date> = {
nDate = 20090827
},
<Time> = {
nTime = 9461000
}, <No data fields>},
nVisualDocumentNumber = 1,
nDocumentSignatureState = 0,
nScriptingSignatureState = 0,
bTemplateConfig = 0 '\0',
bInList = 1 '\001',
bClosing = 0 '\0',
bSetInPlaceObj = 0 '\0',
bIsSaving = 0 '\0',
bPasswd = 0 '\0',
bIsTmp = 0 '\0',
bIsNamedVisible = 1 '\001',
bIsTemplate = 0 '\0',
bIsAbortingImport = 0 '\0',
bImportDone = 0 '\0',
bInPrepareClose = 0 '\0',
bPreparedForClose = 0 '\0',
bWaitingForPicklist = 1 '\001',
bModuleSearched = 0 '\0',
bIsHelpObjSh = 0 '\0',
bForbidCaching = 0 '\0',
bForbidReload = 0 '\0',
bSupportsEventMacros = 1 '\001',
bLoadingWindows = 0 '\0',
bBasicInitialized = 1 '\001',
bIsPrintJobCancelable = 1 '\001',
bOwnsStorage = 1 '\001',
bNoBaseURL = 0 '\0',
bInitialized = 1 '\001',
bSignatureErrorIsShown = 0 '\0',
bModelInitialized = 0 '\0',
bPreserveVersions = 1 '\001',
m_bMacroSignBroken = 0 '\0',
m_bNoBasicCapabilities = 0 '\0',
bQueryLoadTemplate = 1 '\001',
bLoadReadonly = 0 '\0',
bUseUserData = 1 '\001',
bSaveVersionOnClose = 0 '\0',
m_bSharedXMLFlag = 0 '\0',
m_bAllowShareControlFileClean = 1 '\001',
aNewName = {
mpData = 0x23f53c
},
aBitSet = {
<BitSet> = {
nBlocks = 1,
nCount = 1,
pBitmap = 0x2a19b2d0
}, <No data fields>},
lErr = 2147942472,
nEventId = 0,
bDoNotTouchDocInfo = 0 '\0',
pReloadTimer = 0x0,
pMarkData = 0x0,
nLoadedFlags = 3,
nFlagsInProgress = 0,
aMark = {
mpData = 0x23f53c
},
aViewSize = {
<Pair> = {
nA = 0,
nB = 0
}, <No data fields>},
bInFrame = 0 '\0',
bModalMode = 0 '\0',
bRunningMacro = 0 '\0',
bReloadAvailable = 0 '\0',
nAutoLoadLocks = 0,
pModule = 0x0,
pFrame = 0x0,
pTbxConfig = 0x0,
pEventConfig = 0x0,
eFlags = 251658240,
pCloser = 0x0,
aBaseURL = {
mpData = 0x23f53c
},
bReadOnlyUI = 0 '\0',
xHeaderAttributes = {
pObj = 0x0
},
bHiddenLockedByAPI = 0 '\0',
bInCloseEvent = 0 '\0',
xModel = {
<BaseReference> = {
_pInterface = 0x27de0d0c
}, <No data fields>},
nStyleFilter = 3,
bDisposing = 0 '\0',
m_bEnableSetModified = 1 '\001',
m_bIsModified = 0 '\0',
m_aVisArea = {
nLeft = 0,
nTop = 0,
nRight = 14222,
nBottom = 7529
},
m_nMapUnit = MAP_TWIP,
m_bCreateTempStor = 0 '\0',
m_xDocStorage = {
<BaseReference> = {
_pInterface = 0x69076b08
}, <No data fields>},
m_xDocInfoListener = {
<BaseReference> = {
_pInterface = 0x69063bec
}, <No data fields>},
m_bIsInit = 1 '\001',
m_aSharedFileURL = {
pData = 0x23f53c
},
m_xLogRing = {
<BaseReference> = {
_pInterface = 0x0
}, <No data fields>}
}
(gdb) n
2803 m_pData->m_pObjectShell->ResetError();
(gdb)
2805 if ( bRet )
(gdb) p nErrCode
$18 = 2147942472
(gdb) n
2807 if ( nErrCode )
(gdb) l
2802 }
2803 m_pData->m_pObjectShell->ResetError();
2804
2805 if ( bRet )
2806 {
2807 if ( nErrCode )
2808 {
2809 // must be a warning - use Interactionhandler if possible or abandone
2810 if ( xHandler.is() )
2811 {
(gdb) n
2810 if ( xHandler.is() )
(gdb)
2813 SfxErrorContext aEc( ERRCTX_SFX_SAVEASDOC, m_pData->m_pObjectShell->GetTitle() );
(gdb)
2815 ::com::sun::star::uno::Any aInteraction;
(gdb)
2816 ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > lContinuations(1);
(gdb)
2817 ::framework::ContinuationApprove* pApprove = new ::framework::ContinuationApprove();
(gdb)
2818 lContinuations[0] = ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation >(static_cast< ::com::sun::star::task::XInteractionContinuation* >(pApprove), uno::UNO_QUERY);
(gdb)
2820 ::com::sun::star::task::ErrorCodeRequest aErrorCode;
(gdb)
2821 aErrorCode.ErrCode = nErrCode;
(gdb) p nErrCode
$19 = 2147942472
(gdb) n
2822 aInteraction <<= aErrorCode;
(gdb)
2824 ::framework::InteractionRequest* pRequest = new ::framework::InteractionRequest(aInteraction,lContinuations);
(gdb)
2825 ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest > xRequest(static_cast< ::com::sun::star::task::XInteractionRequest* >(pRequest), uno::UNO_QUERY);
(gdb)
2827 xHandler->handle(xRequest);
(gdb)
0x251a5a74 in component_getFactory ()
(gdb)
Cannot find bounds of current function
(gdb) c
Continuing.
2009-08-27 09:50:30.034 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:50:30.128 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:50:33.227 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:50:33.327 soffice[13311] Apple Remote will become active - Using remote controls
2009-08-27 09:50:37.550 soffice[13311] Apple Remote will resign active - Releasing remote controls
2009-08-27 09:52:56.645 soffice[13311] Apple Remote will become active - Using remote controls
Thread: 1 :current component is a 15SwXTextDocument
Thread: 1 :current component is a void
retaining 0x125e08a0 (old count 1) windowtype=16ImplBorderWindow clienttyp=10WorkWindow title=VCL ImplGetDefaultWindow
frame still alive: NSWindow 0x125e08a0 windowtype=16ImplBorderWindow clienttyp=10WorkWindow title=VCL ImplGetDefaultWindow

