diff options
author | Jan Holesovsky <kendy@collabora.com> | 2018-01-18 09:06:33 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-01-18 15:19:01 +0100 |
commit | 73c0abb8e001e3f48bbd0d04f11482972fe82fe4 (patch) | |
tree | fd4e15fb27856aa49464b08b5e81e94f34adc094 | |
parent | b479e9625475e87546b7945732a0e66a2a9dbb1f (diff) |
No need for an 'if' when the body is empty.
Change-Id: I69e3f2145f95424e7c524127492fd7f8a03ed3ca
Reviewed-on: https://gerrit.libreoffice.org/48091
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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 ) |