Kaydet (Commit) e201506a authored tarafından Maxim Monastirsky's avatar Maxim Monastirsky

Show the right tab for SID_CHAR_DLG_EFFECT

Change-Id: I3a8b7a9e973d20f06d423ec55cf689478ca98e0a
üst f3cec45a
...@@ -53,7 +53,7 @@ bool ScDrawTextObjectBar::ExecuteCharDlg( const SfxItemSet& rArgs, ...@@ -53,7 +53,7 @@ bool ScDrawTextObjectBar::ExecuteCharDlg( const SfxItemSet& rArgs,
assert(pDlg && "Dialog create fail!"); assert(pDlg && "Dialog create fail!");
if (nSlot == SID_CHAR_DLG_EFFECT) if (nSlot == SID_CHAR_DLG_EFFECT)
{ {
pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS); pDlg->SetCurPageId("fonteffects");
} }
bool bRet = ( pDlg->Execute() == RET_OK ); bool bRet = ( pDlg->Execute() == RET_OK );
......
...@@ -460,7 +460,7 @@ void ScEditShell::Execute( SfxRequest& rReq ) ...@@ -460,7 +460,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
OSL_ENSURE(pDlg, "Dialog create fail!"); OSL_ENSURE(pDlg, "Dialog create fail!");
if (nSlot == SID_CHAR_DLG_EFFECT) if (nSlot == SID_CHAR_DLG_EFFECT)
{ {
pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS); pDlg->SetCurPageId("fonteffects");
} }
short nRet = pDlg->Execute(); short nRet = pDlg->Execute();
// pDlg is needed below // pDlg is needed below
......
...@@ -77,7 +77,7 @@ void FuChar::DoExecute( SfxRequest& rReq ) ...@@ -77,7 +77,7 @@ void FuChar::DoExecute( SfxRequest& rReq )
{ {
if (rReq.GetSlot() == SID_CHAR_DLG_EFFECT) if (rReq.GetSlot() == SID_CHAR_DLG_EFFECT)
{ {
pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS); pDlg->SetCurPageId("RID_SVXPAGE_CHAR_EFFECTS");
} }
nResult = pDlg->Execute(); nResult = pDlg->Execute();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment