From 01493185103cc3244676e676906421964cce0110 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Sun, 17 Jul 2016 16:49:18 +0200 Subject: [PATCH] Fixed #1592 --- CHANGELOG.md | 1 + src/main/java/net/sf/jabref/gui/openoffice/OOBibBase.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 292f3c65486..190b322dfc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - Fixed [#1264](https://github.com/JabRef/jabref/issues/1264): S with caron does not render correctly - LaTeX to Unicode converter now handles combining accents - Fixed [#1527](https://github.com/JabRef/jabref/issues/1527): 'Get BibTeX data from DOI' Removes Marking +- Fixed [#1592](https://github.com/JabRef/jabref/issues/1592): LibreOffice: wrong numbers in citation labels ### Removed diff --git a/src/main/java/net/sf/jabref/gui/openoffice/OOBibBase.java b/src/main/java/net/sf/jabref/gui/openoffice/OOBibBase.java index fc0c8a52ef3..019a4a54cba 100644 --- a/src/main/java/net/sf/jabref/gui/openoffice/OOBibBase.java +++ b/src/main/java/net/sf/jabref/gui/openoffice/OOBibBase.java @@ -523,7 +523,7 @@ private List refreshCiteMarkersInternal(List databases, OOB } else { num.add(j, lastNum + 1); if (numbers.containsKey(keys[j])) { - num.add(j, numbers.get(keys[j])); + num.set(j, numbers.get(keys[j])); } else { numbers.put(keys[j], num.get(j)); lastNum = num.get(j);