summaryrefslogtreecommitdiff
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
parentf3cec45a2e240fcf4ab84e77d51e2b700492f830 (diff)
Show the right tab for SID_CHAR_DLG_EFFECT
Change-Id: I3a8b7a9e973d20f06d423ec55cf689478ca98e0a
-rw-r--r--sc/source/ui/drawfunc/drtxtob1.cxx2
-rw-r--r--sc/source/ui/view/editsh.cxx2
-rw-r--r--sd/source/ui/func/fuchar.cxx2
3 files changed, 3 insertions, 3 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
diff --git a/sd/source/ui/func/fuchar.cxx b/sd/source/ui/func/fuchar.cxx
index 222634cb8164..8b929c373df7 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -77,7 +77,7 @@ void FuChar::DoExecute( SfxRequest& rReq )
{
if (rReq.GetSlot() == SID_CHAR_DLG_EFFECT)
{
- pDlg->SetCurPageId(RID_SVXPAGE_CHAR_EFFECTS);
+ pDlg->SetCurPageId("RID_SVXPAGE_CHAR_EFFECTS");
}
nResult = pDlg->Execute();