[Libreoffice-commits] core.git: 2 commits - sc/source svx/source
Julien Nabet
serval2412 at yahoo.fr
Sun Feb 22 12:56:35 PST 2015
sc/source/ui/navipi/navipi.cxx | 2 +-
svx/source/svdraw/svdmrkv1.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4cc958ec34c390e9b8c0ac9b000a8448f0c4bfc4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Feb 22 21:55:16 2015 +0100
Simplify erase iterator management
Change-Id: I3822566e01d3c8f5e880264f4dba495d6e467e02
diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx
index 06580da..473b86d 100644
--- a/svx/source/svdraw/svdmrkv1.cxx
+++ b/svx/source/svdraw/svdmrkv1.cxx
@@ -355,7 +355,7 @@ void SdrMarkView::UndirtyMrkPnt() const
{
sal_uInt16 nId=*it;
if (pGPL->FindGluePoint(nId)==SDRGLUEPOINT_NOTFOUND) {
- pPts->erase(it++);
+ it = pPts->erase(it);
bChg=true;
}
else
commit c0d31015ae5da39440d98b8e568a66eb1b97c6c1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Feb 22 17:27:48 2015 +0100
Typo: widht->width
Change-Id: Iaa803ee9082c434b86295561cb205e7d4b7169b8
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 5acbf26..3b25f7f 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -772,7 +772,7 @@ void ScNavigatorDlg::DoResize()
}
// even if the content is not visible, adapt the size,
- // so the widht fit
+ // so the width fit
Point aEntryPos = aLbEntries.GetPosPixel();
Point aListPos = aLbDocuments.GetPosPixel();
More information about the Libreoffice-commits
mailing list