[Libreoffice-commits] core.git: cui/source
Stephan Bergmann
sbergman at redhat.com
Mon Aug 29 07:59:17 UTC 2016
cui/source/tabpages/swpossizetabpage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c98cb7af5773f9e0e18f2896388954ae148e3cee
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Aug 29 09:54:48 2016 +0200
Typo
...(ever since c5bcf0e5e7a467b41c955a5f13affbccd23004eb "convert sw pos/size
page to .ui"), leading to out-of-bounds reads, but which should be harmless, as
all they could do is add bad StringIds inot aFrames, but the only use of those
IDs in SvxSwFramePosString::GetString (svx/source/dialog/swframeposstrings.cxx)
guards against bad IDs.
Change-Id: I7a50230c12bcf8a197f787201442c503fe5974e7
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index 053495c..fabedc8 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -653,7 +653,7 @@ void SvxSwPosSizeTabPage::setOptimalFrmWidth()
{ aHFrameMap, SAL_N_ELEMENTS(aHFrameMap) },
{ aHFlyHtmlMap, SAL_N_ELEMENTS(aHFlyHtmlMap) },
{ aVFrameMap, SAL_N_ELEMENTS(aVFrameMap) },
- { aVFlyHtmlMap, SAL_N_ELEMENTS(aVFrameMap) },
+ { aVFlyHtmlMap, SAL_N_ELEMENTS(aVFlyHtmlMap) },
{ aHParaMap, SAL_N_ELEMENTS(aHParaMap) },
{ aHParaHtmlMap, SAL_N_ELEMENTS(aHParaHtmlMap) },
{ aHParaHtmlAbsMap, SAL_N_ELEMENTS(aHParaHtmlAbsMap) },
More information about the Libreoffice-commits
mailing list