[Libreoffice-commits] core.git: sfx2/source
Jan Holesovsky
kendy at collabora.com
Thu Jan 18 14:19:31 UTC 2018
sfx2/source/dialog/mgetempl.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 73c0abb8e001e3f48bbd0d04f11482972fe82fe4
Author: Jan Holesovsky <kendy at collabora.com>
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 <ci at libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
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 )
More information about the Libreoffice-commits
mailing list