sw/source/uibase/shells/annotsh.cxx | 2 +- sw/source/uibase/shells/drwtxtex.cxx | 2 +- sw/source/uibase/shells/textsh1.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit d8d18c3cc707d38d98463ed43ae08e1d6bc6e56f Author: Maxim Monastirsky <momonas...@gmail.com> Date: Sun Jun 22 13:07:29 2014 +0300 sw: Fix SID_CHAR_DLG_EFFECT behavior A regression from commit f41e7c70. The wrong tab is opened (used in the sidebar underline popup). The correct id is "fonteffects" not "fonteffect". Change-Id: Ic06fb3f93a033bcfe24b97eb124ceea082b4087f diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 86bcdfc..458de83 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -489,7 +489,7 @@ void SwAnnotationShell::Exec( SfxRequest &rReq ) OSL_ENSURE(pDlg, "Dialogdiet fail!"); if (nSlot == SID_CHAR_DLG_EFFECT) { - pDlg->SetCurPageId("fonteffect"); + pDlg->SetCurPageId("fonteffects"); } sal_uInt16 nRet = pDlg->Execute(); if(RET_OK == nRet ) diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx index e2f5990..ed67441 100644 --- a/sw/source/uibase/shells/drwtxtex.cxx +++ b/sw/source/uibase/shells/drwtxtex.cxx @@ -328,7 +328,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq ) OSL_ENSURE(pDlg, "Dialogdiet fail!"); if (nSlot == SID_CHAR_DLG_EFFECT) { - pDlg->SetCurPageId("fonteffect"); + pDlg->SetCurPageId("fonteffects"); } sal_uInt16 nRet = pDlg->Execute(); if(RET_OK == nRet ) diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index e2144e7..c9d6244 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -180,7 +180,7 @@ void sw_CharDialog( SwWrtShell &rWrtSh, bool bUseDialog, sal_uInt16 nSlot,const } if (pDlg && nSlot == SID_CHAR_DLG_EFFECT) { - pDlg->SetCurPageId("fonteffect"); + pDlg->SetCurPageId("fonteffects"); } else if (pDlg && nSlot == SID_ATTR_CHAR_FONT) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits