rpms/openoffice.org/F-12 workspace.extmgr01.patch, NONE, 1.1 openoffice.org.spec, 1.2047, 1.2048

David Tardon dtardon at fedoraproject.org
Fri Jan 1 07:23:02 UTC 2010


Author: dtardon

Update of /cvs/extras/rpms/openoffice.org/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3550

Modified Files:
	openoffice.org.spec 
Added Files:
	workspace.extmgr01.patch 
Log Message:
Resolves: rhbz#549890 add workspace.extmgr01.patch

workspace.extmgr01.patch:
 dp_gui_extensioncmdqueue.cxx |   29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

--- NEW FILE workspace.extmgr01.patch ---
guard against m_pDialog being NULL, as in CWS extmgr01

diff -r 1b9975e6bffc -r 56ff34d396f1 desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx	Wed Dec 30 09:47:31 2009 +0100
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx	Thu Dec 31 20:08:07 2009 +0100
@@ -310,13 +310,19 @@
 {
     m_nCurrentProgress = 0;
 
-    m_pDialog->showProgress( true );
+    if (m_pDialog)
+    {
+        m_pDialog->showProgress( true );
+    }
 }
 
 //------------------------------------------------------------------------------
 void ProgressCmdEnv::stopProgress()
 {
-    m_pDialog->showProgress( false );
+    if (m_pDialog)
+    {
+        m_pDialog->showProgress( false );
+    }
 }
 
 //------------------------------------------------------------------------------
@@ -327,8 +333,11 @@
     if (! m_bAborted)
     {
         m_nCurrentProgress = 0;
-        m_pDialog->updateProgress( rText, xAbortChannel );
-        m_pDialog->updateProgress( 5 );
+        if (m_pDialog)
+        {
+            m_pDialog->updateProgress( rText, xAbortChannel );
+            m_pDialog->updateProgress( 5 );
+        }
     }
 }
 
@@ -338,7 +347,10 @@
     if ( ! m_bAborted )
     {
         long nProgress = ((m_nCurrentProgress*5) % 100) + 5;
-        m_pDialog->updateProgress( nProgress );
+        if (m_pDialog)
+        {
+            m_pDialog->updateProgress( nProgress );
+        }
     }
 }
 
@@ -526,9 +538,12 @@
         }
         else
         {
-            vos::OGuard guard(Application::GetSolarMutex());
 
-            approve = m_pDialog->installExtensionWarn( instExc.New->getDisplayName() );
+            if (m_pDialog)
+            {
+                vos::OGuard guard(Application::GetSolarMutex());
+                approve = m_pDialog->installExtensionWarn( instExc.New->getDisplayName() );
+            }
             abort = !approve;
         }
 	}


Index: openoffice.org.spec
===================================================================
RCS file: /cvs/extras/rpms/openoffice.org/F-12/openoffice.org.spec,v
retrieving revision 1.2047
retrieving revision 1.2048
diff -u -p -r1.2047 -r1.2048
--- openoffice.org.spec	22 Dec 2009 14:07:35 -0000	1.2047
+++ openoffice.org.spec	1 Jan 2010 07:23:01 -0000	1.2048
@@ -1,6 +1,6 @@
 %define oootag OOO310
 %define ooomilestone 19
-%define rh_rpm_release 24
+%define rh_rpm_release 25
 
 # rhbz#465664 jar-repacking breaks help by reordering META-INF/MANIFEST.MF
 %define __jar_repack %{nil}
@@ -183,6 +183,7 @@ Patch106: workspace.fwk132.patch
 Patch107: openoffice.org-3.2.0.ooo47279.sd.objectsave.safe.patch
 Patch108: workspace.ooo32gsl03.patch
 Patch109: openoffice.org-3.2.0.ooo107834.sw.pseudoattribs.patch
+Patch110: workspace.extmgr01.patch
 
 %define python_py_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")
 %define instdir %{_libdir}
@@ -1752,6 +1753,7 @@ cat %{PATCH11} >> svtools/source/dialogs
 %patch107 -p0 -b .ooo47279.sd.objectsave.safe.patch
 %patch108 -p0 -b .workspace.ooo32gsl03.patch
 %patch109 -p0 -b .ooo107834.sw.pseudoattribs.patch
+%patch110 -p1 -b .workspace.extmgr01.patch
 
 %build
 echo build start time is `date`, diskspace: `df -h . | tail -n 1`
@@ -4285,6 +4287,9 @@ fi
     unopkg list --shared > /dev/null 2>&1 || :
 
 %changelog
+* Fri Jan 01 2010 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-19.25-UNBUILT
+- Resolves: rhbz#549890 add workspace.extmgr01.patch (dtardon)
+
 * Tue Dec 22 2009 Caolán McNamara <caolanm at redhat.com> - 1:3.1.1-19.24
 - Resolves: rhbz#545824 bustage in writer with emboldened fonts
 




More information about the fedora-extras-commits mailing list