sfx2/source/dialog/mgetempl.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 73c0abb8e001e3f48bbd0d04f11482972fe82fe4 Author: Jan Holesovsky <[email protected]> Date: Thu Jan 18 09:06:33 2018 +0100 No need for an 'if' when the body is empty. Change-Id: I69e3f2145f95424e7c524127492fd7f8a03ed3ca Reviewed-on: https://gerrit.libreoffice.org/48091 Tested-by: Jenkins <[email protected]> Reviewed-by: Jan Holesovsky <[email protected]> diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 068f2ab6f9a5..1dc87a2c537d 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -348,9 +348,7 @@ IMPL_LINK_NOARG( SfxManageStyleSheetPage, EditStyleSelectHdl_Impl, ListBox&, voi IMPL_LINK_NOARG( SfxManageStyleSheetPage, EditStyleHdl_Impl, Button*, void ) { OUString aTemplName(m_pFollowLb->GetSelectedEntry()); - if (Execute_Impl( SID_STYLE_EDIT, aTemplName, OUString(),static_cast<sal_uInt16>(pStyle->GetFamily()) )) - { - } + Execute_Impl(SID_STYLE_EDIT, aTemplName, OUString(), static_cast<sal_uInt16>(pStyle->GetFamily())); } IMPL_LINK_NOARG( SfxManageStyleSheetPage, EditLinkStyleSelectHdl_Impl, ListBox&, void ) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
