summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2014-08-31 01:52:52 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2014-09-03 18:12:22 +0300
commite201506a4cc7e1cac2d04ef3169ef37e34de379a (patch)
tree216936000be6ca9c866b37dc192235ef1f0d7e25 /sc/source
parentf3cec45a2e240fcf4ab84e77d51e2b700492f830 (diff)
Show the right tab for SID_CHAR_DLG_EFFECT
Change-Id: I3a8b7a9e973d20f06d423ec55cf689478ca98e0a
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/drawfunc/drtxtob1.cxx2
-rw-r--r--sc/source/ui/view/editsh.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob1.cxx b/sc/source/ui/drawfunc/drtxtob1.cxx
index d364ef2f4d4e..6c12b0d6c646 100644
--- a/sc/source/ui/drawfunc/drtxtob1.cxx
+++ b/sc/source/ui/drawfunc/drtxtob1.cxx
@@ -53,7 +53,7 @@ bool ScDrawTextObjectBar::ExecuteCharDlg( const SfxItemSet& rArgs,
assert(pDlg && "Dialog create fail!");
if (nSlot == SID_CHAR_DLG_EFFECT)
{
- pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS);
+ pDlg->SetCurPageId("fonteffects");
}
bool bRet = ( pDlg->Execute() == RET_OK );
diff --git a/sc/source/ui/view/editsh.cxx b/sc/source/ui/view/editsh.cxx
index f0ffb70b76eb..5ab8b2bcea81 100644
--- a/sc/source/ui/view/editsh.cxx
+++ b/sc/source/ui/view/editsh.cxx
@@ -460,7 +460,7 @@ void ScEditShell::Execute( SfxRequest& rReq )
OSL_ENSURE(pDlg, "Dialog create fail!");
if (nSlot == SID_CHAR_DLG_EFFECT)
{
- pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS);
+ pDlg->SetCurPageId("fonteffects");
}
short nRet = pDlg->Execute();
// pDlg is needed below