ooo-build r14567 - in branches/ooo-build-3-0: . patches/dev300 patches/vba
- From: noelpwer svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r14567 - in branches/ooo-build-3-0: . patches/dev300 patches/vba
- Date: Fri, 21 Nov 2008 12:46:16 +0000 (UTC)
Author: noelpwer
Date: Fri Nov 21 12:46:16 2008
New Revision: 14567
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14567&view=rev
Log:
2008-11-21 Noel Power <noel power novell com>
* vba-fix-docmodule-import-crash.diff: fix for bnc#447560
* patches/dev300/apply:
Added:
branches/ooo-build-3-0/patches/vba/vba-fix-docmodule-import-crash.diff
Modified:
branches/ooo-build-3-0/ChangeLog
branches/ooo-build-3-0/patches/dev300/apply
Modified: branches/ooo-build-3-0/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/apply (original)
+++ branches/ooo-build-3-0/patches/dev300/apply Fri Nov 21 12:46:16 2008
@@ -1688,6 +1688,9 @@
vba-fix-commandbar-submenu.diff, n#434214, n#437157, Fong
# fix Range.Select ( customer problem ) to move focus to windos
vba-fix-range-select-focus.diff, n#444156
+
+vba-fix-docmodule-import-crash.diff, n#447560
+
[ VBAUntested ]
SectionOwner => noelpwer
vba-basic-null.diff i#85349, jjiao
Added: branches/ooo-build-3-0/patches/vba/vba-fix-docmodule-import-crash.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0/patches/vba/vba-fix-docmodule-import-crash.diff Fri Nov 21 12:46:16 2008
@@ -0,0 +1,22 @@
+diff --git svx/source/msfilter/svxmsbas.cxx svx/source/msfilter/svxmsbas.cxx
+index 3b2feb0..2826ed4 100644
+--- svx/source/msfilter/svxmsbas.cxx
++++ svx/source/msfilter/svxmsbas.cxx
+@@ -457,8 +457,15 @@ BOOL SvxImportMSVBasic::ImportCode_Impl( const String& rStorageName,
+ // get the api object for the codename
+ if ( xVBACodeNamedObjectAccess.is() )
+ {
+- sModuleInfo.ModuleObject.set( xVBACodeNamedObjectAccess->getByName( sModuleInfo.ModuleName ), uno::UNO_QUERY );
+- OSL_TRACE("** Straight up creation of Module");
++ try
++ {
++ sModuleInfo.ModuleObject.set( xVBACodeNamedObjectAccess->getByName( sModuleInfo.ModuleName ), uno::UNO_QUERY );
++ OSL_TRACE("** Straight up creation of Module");
++ }
++ catch(uno::Exception& e)
++ {
++ OSL_TRACE("Failed to get documument object for %s", rtl::OUStringToOString( sModuleInfo.ModuleName, RTL_TEXTENCODING_UTF8 ).getStr() );
++ }
+ }
+ }
+ aSourceAny <<= sModuleInfo;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]