summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-05-22 12:14:36 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-05-22 12:33:22 +0100
commit39321c5ffa9b4196308575be6dd19f2b2924214f (patch)
tree55b71d0e0cac5d34a86fbe2785679f5097d20ef3 /sd
parent929a8f04af36b10825c80b5fffbf11c4e6f3dc01 (diff)
LOK: remove unused LOK_PARTMODE_EMBEDDEDOBJ
Change-Id: I8cbb5b7a134fb84bd2c363b06f06f7f40964521f
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx15
1 files changed, 1 insertions, 14 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 5190351cc714..be7f64f5d446 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2321,22 +2321,9 @@ void SdXImpressDocument::setPartMode( int nPartMode )
PageKind aPageKind( PK_STANDARD );
switch ( nPartMode )
{
- case LOK_PARTMODE_EMBEDDEDOBJ:
- // This will probably be handled higher up, i.e.
- // we probably shouldn't be handling this here.
- // (However we don't offer embedded object-only
- // rendering anywhere yet, so this may be a
- // completely incorrect comment.)
- assert( false );
- // And let's fall through in a normal build.
- case LOK_PARTMODE_DEFAULT:
- case LOK_PARTMODE_SLIDE:
- break;
- case LOK_PARTMODE_SLIDENOTES:
- aPageKind = PK_NOTES;
+ case LOK_PARTMODE_SLIDES:
break;
case LOK_PARTMODE_NOTES:
- // TODO: this shows combined slides + notes
aPageKind = PK_NOTES;
break;
}