cui/source/options/optaboutconfig.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 15e29b817ca95686fc0d1f4453457e281f3148fa Author: Takeshi Abe <t...@fixedpoint.jp> Date: Sat May 16 07:19:32 2015 +0900 perform a boundary check Change-Id: I54ec8841c0f162ee33bcf1de2507465b9c49cb71 Reviewed-on: https://gerrit.libreoffice.org/15744 Tested-by: Jenkins <c...@libreoffice.org> Tested-by: David Tardon <dtar...@redhat.com> Reviewed-by: David Tardon <dtar...@redhat.com> diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 8c3d633..9b4481b 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -700,7 +700,8 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, StandardHdl_Impl ) static_cast< SvLBoxString* >( entry.GetItem(2) )->GetText().equals( sPropertyName ); } ); - it->ReplaceItem( new SvLBoxString( &(*it), 0, sDialogValue ), 4 ); + if (it != m_prefBoxEntries.end()) + it->ReplaceItem( new SvLBoxString( &(*it), 0, sDialogValue ), 4 ); } catch( uno::Exception& ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits