[Libreoffice-commits] core.git: sd/source
Maxim Monastirsky
momonasmon at gmail.com
Thu Jan 30 03:53:58 PST 2014
sd/source/ui/view/drviews2.cxx | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 6733fdab220c67bfa41321c5b21ae162746dd8d8
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date: Mon Jan 27 01:38:05 2014 +0200
Subscript/Superscript also don't depend on args
Change-Id: Ie96876ae402d5497bf5a03bca54f63305ebd9914
Reviewed-on: https://gerrit.libreoffice.org/7676
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index f3347dde..dcf2839 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -3027,7 +3027,6 @@ void DrawViewShell::ExecChar( SfxRequest &rReq )
}
break;
case SID_SET_SUB_SCRIPT:
- if( rReq.GetArgs() )
{
SvxEscapementItem aItem( EE_CHAR_ESCAPEMENT );
SvxEscapement eEsc = (SvxEscapement ) ( (const SvxEscapementItem&)
@@ -3040,7 +3039,6 @@ void DrawViewShell::ExecChar( SfxRequest &rReq )
}
break;
case SID_SET_SUPER_SCRIPT:
- if( rReq.GetArgs() )
{
SvxEscapementItem aItem( EE_CHAR_ESCAPEMENT );
SvxEscapement eEsc = (SvxEscapement ) ( (const SvxEscapementItem&)
@@ -3053,8 +3051,7 @@ void DrawViewShell::ExecChar( SfxRequest &rReq )
}
break;
case SID_SHRINK_FONT_SIZE:
- case SID_GROW_FONT_SIZE:
- //if (rReq.GetArgs())
+ case SID_GROW_FONT_SIZE:
{
const SvxFontListItem* pFonts = dynamic_cast<const SvxFontListItem*>(GetDocSh()->GetItem( SID_ATTR_CHAR_FONTLIST ) );
const FontList* pFontList = pFonts->GetFontList();
More information about the Libreoffice-commits
mailing list