diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-08 13:38:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-08 21:01:31 +0000 |
commit | bcf8f878899be13002b2c40f9f2b9363f20fec3a (patch) | |
tree | 43434367f951d7ae97d7b7d3dd9490b4fdd2eead /idl/source | |
parent | d704c2b95e811798b900ac18974f7983ffca4090 (diff) |
remove IMAGEROTATION and IMAGEREFLECTION SfxSlotMode enums...
unused since...
commit 7affe26a1291eef8c77e890228061f13e987bff1
Author: Maxim Monastirsky <momonasmon@gmail.com>
Date: Mon Feb 22 18:47:15 2016 +0200
Kill sfx2 menu support
Change-Id: I902957b8379be7c314f5357750aeba5a2fcc0a00
Reviewed-on: https://gerrit.libreoffice.org/28749
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'idl/source')
-rw-r--r-- | idl/source/objects/slot.cxx | 18 | ||||
-rw-r--r-- | idl/source/prj/command.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/globals.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/parser.cxx | 2 |
4 files changed, 0 insertions, 24 deletions
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx index c17926a0e44f..a4df0c89dbb1 100644 --- a/idl/source/objects/slot.cxx +++ b/idl/source/objects/slot.cxx @@ -221,18 +221,6 @@ bool SvMetaSlot::GetContainer() const return static_cast<SvMetaSlot *>(GetRef())->GetContainer(); } -bool SvMetaSlot::GetImageRotation() const -{ - if( aImageRotation.IsSet() || !GetRef() ) return aImageRotation; - return static_cast<SvMetaSlot *>(GetRef())->GetImageRotation(); -} - -bool SvMetaSlot::GetImageReflection() const -{ - if( aImageReflection.IsSet() || !GetRef() ) return aImageReflection; - return static_cast<SvMetaSlot *>(GetRef())->GetImageReflection(); -} - void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm ) { @@ -292,8 +280,6 @@ void SvMetaSlot::ReadAttributesSvIdl( SvIdlDataBase & rBase, bOk |= aFastCall.ReadSvIdl( SvHash_FastCall(), rInStm ); bOk |= aContainer.ReadSvIdl( SvHash_Container(), rInStm ); - bOk |= aImageRotation.ReadSvIdl( SvHash_ImageRotation(), rInStm ); - bOk |= aImageReflection.ReadSvIdl( SvHash_ImageReflection(), rInStm ); if( !bOk ) { @@ -774,10 +760,6 @@ void SvMetaSlot::WriteSlot( const OString& rShellName, sal_uInt16 nCount, rOutStm.WriteOString( MakeSlotName( SvHash_Container() ) ).WriteChar( '|' ); if ( GetReadOnlyDoc() ) rOutStm.WriteOString( MakeSlotName( SvHash_ReadOnlyDoc() ) ).WriteChar( '|' ); - if( GetImageRotation() ) - rOutStm.WriteOString( MakeSlotName( SvHash_ImageRotation() ) ).WriteChar( '|' ); - if( GetImageReflection() ) - rOutStm.WriteOString( MakeSlotName( SvHash_ImageReflection() ) ).WriteChar( '|' ); rOutStm.WriteCharPtr( "SfxSlotMode::NONE" ); rOutStm.WriteChar( ',' ) << endl; diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index a939ee5a2be9..54e23ab53b32 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -83,8 +83,6 @@ char const * SyntaxStrings[] = { "\t\tFastCall", "\t\tGet, Set", "\t\tGroupId = Identifier", -"\t\tImageRotation", -"\t\tImageReflection", "\t\tPseudoPrefix = Identifier", "\t\tPseudoSlots", "\t\tReadOnlyDoc*", diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx index dc24d94736c9..483c41dd4191 100644 --- a/idl/source/prj/globals.cxx +++ b/idl/source/prj/globals.cxx @@ -90,8 +90,6 @@ SvGlobalHashNames::SvGlobalHashNames() A_ENTRY(FastCall) A_ENTRY(SbxObject) A_ENTRY(Container) - A_ENTRY(ImageRotation) - A_ENTRY(ImageReflection) A_ENTRY(ReadOnlyDoc) A_ENTRY(struct) A_ENTRY(SlotType) diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx index 849bf4c8c1ee..43bc649dfec6 100644 --- a/idl/source/prj/parser.cxx +++ b/idl/source/prj/parser.cxx @@ -424,8 +424,6 @@ void SvIdlParser::ReadSlotAttribute( SvMetaSlot& rSlot ) bOk |= ReadIfBoolAttribute(rSlot.aFastCall, SvHash_FastCall() ); bOk |= ReadIfBoolAttribute(rSlot.aContainer, SvHash_Container() ); - bOk |= ReadIfBoolAttribute(rSlot.aImageRotation, SvHash_ImageRotation() ); - bOk |= ReadIfBoolAttribute(rSlot.aImageReflection, SvHash_ImageReflection() ); if( bOk ) return; |