[SCM] LibreOffice packaging repository branch, debian-experimental-3.6, updated. libreoffice_3.5.4-7-136-ged8de78
The following commit has been merged in the debian-experimental-3.6 branch:
commit 900a2570c902cf7068e0f288cdf5f1ef73ebe383
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date: Wed Aug 8 09:43:11 2012 +0200
add workaround for fdo#51324
diff --git a/changelog b/changelog
index b1a3b1f..45ba6c5 100644
--- a/changelog
+++ b/changelog
@@ -34,7 +34,7 @@ libreoffice (1:3.6.0-1) UNRELEASED; urgency=low
* debian/uno-libs3.symbols: update
[Björn Michaelsen]
- * force disable HAVE_CXX0X for ABI incompatibilty
+ * backport patch to evade fdo#51324 (LP: #1017125)
-- Rene Engelhard <rene@debian.org> Thu, 03 May 2012 13:44:05 +0200
diff --git a/patches/fdo-51324-lp-1017125-rhbz-806236-rhbz-823272-erase-o.diff b/patches/fdo-51324-lp-1017125-rhbz-806236-rhbz-823272-erase-o.diff
new file mode 100644
index 0000000..ed64425
--- /dev/null
+++ b/patches/fdo-51324-lp-1017125-rhbz-806236-rhbz-823272-erase-o.diff
@@ -0,0 +1,33 @@
+From a0ff39aef11e6e390f01b395c0f7063f6179b98e Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Tue, 7 Aug 2012 11:36:47 +0200
+Subject: [PATCH] fdo#51324 lp#1017125 rhbz#806236 rhbz#823272: erase on
+ invalid iterators
+
+* the iterators returned by equal_range are invalidated by modification
+ (which deleting them clearly is)
+* possibly only a partial fix as there is more abuse of equal_range in that
+ file
+
+Change-Id: Ie9ba01e91cb449a32d77a69590bda2125f0924e1
+---
+ sd/source/ui/toolpanel/TaskPaneFocusManager.cxx | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
+index 6be7076..4f9698a 100644
+--- a/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
++++ b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
+@@ -226,8 +226,7 @@ void FocusManager::RemoveLinks (::Window* pWindow)
+ pWindow->RemoveEventListener (LINK (this, FocusManager, WindowEventListener));
+
+ // Remove the links from the given window.
+- ::std::pair<LinkMap::iterator,LinkMap::iterator> aCandidates(mpLinks->equal_range(pWindow));
+- mpLinks->erase(aCandidates.first, aCandidates.second);
++ mpLinks->erase(pWindow);
+
+ // Remove links to the given window.
+ bool bLinkRemoved;
+--
+1.7.9.5
+
diff --git a/patches/series b/patches/series
index d0bc27c..eee1f77 100644
--- a/patches/series
+++ b/patches/series
@@ -29,3 +29,4 @@ build-dont-run-checks.diff
disable-broken-sdext_pdfimport-cppunit-test-for-now.diff
trying-to-force-CXX0X-off-for-ABI-incompatibility.diff
dont-let-autoextension-interfere-with-kfiledialog.diff
+fdo-51324-lp-1017125-rhbz-806236-rhbz-823272-erase-o.diff
--
LibreOffice packaging repository
Reply to: