cui/source/tabpages/swpossizetabpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c98cb7af5773f9e0e18f2896388954ae148e3cee
Author: Stephan Bergmann <sberg...@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) },
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to