Kaydet (Commit) 12b2803f authored tarafından Noel Grandin's avatar Noel Grandin

drop unused PRESOBJ_IMAGE

Change-Id: I8fa011bea423e961a3ebe7cd8687e4bce7c4cd77
üst 87f3fd05
...@@ -111,6 +111,7 @@ for d in definitionSet: ...@@ -111,6 +111,7 @@ for d in definitionSet:
"include/svx/msdffdef.hxx", "include/svx/msdffdef.hxx",
"include/svtools/rtftoken.h", # RTF_TOKEN_IDS "include/svtools/rtftoken.h", # RTF_TOKEN_IDS
"starmath/source/mathtype.hxx", # MathType::MTOKENS "starmath/source/mathtype.hxx", # MathType::MTOKENS
"sd/source/filter/eppt/epptbase.hxx", # PPTExTextAttr
# unit test code # unit test code
"cppu/source/uno/check.cxx", "cppu/source/uno/check.cxx",
# general weird nonsense going on # general weird nonsense going on
...@@ -150,6 +151,9 @@ for d in definitionSet: ...@@ -150,6 +151,9 @@ for d in definitionSet:
"include/svx/sxekitm.hxx", # SdrEdgeKind (from UI) "include/svx/sxekitm.hxx", # SdrEdgeKind (from UI)
"include/svx/paraprev.hxx", # SvxPrevLineSpace (from UI) "include/svx/paraprev.hxx", # SvxPrevLineSpace (from UI)
"include/svx/ctredlin.hxx", # SvxRedlinDateMode (from UI) "include/svx/ctredlin.hxx", # SvxRedlinDateMode (from UI)
"sd/source/ui/inc/animobjs.hxx", # BitmapAdjustment (from UI)
"sd/source/ui/dlg/PhotoAlbumDialog.hxx", # SlideImageLayout (from UI)
"sd/inc/pres.hxx", # AutoLayout (from UI)
# represents constants from an external API # represents constants from an external API
"opencl/inc/opencl_device_selection.h", "opencl/inc/opencl_device_selection.h",
"vcl/inc/sft.hxx", "vcl/inc/sft.hxx",
......
...@@ -30,7 +30,6 @@ enum PresObjKind ...@@ -30,7 +30,6 @@ enum PresObjKind
PRESOBJ_CHART, PRESOBJ_CHART,
PRESOBJ_ORGCHART, PRESOBJ_ORGCHART,
PRESOBJ_TABLE, PRESOBJ_TABLE,
PRESOBJ_IMAGE,
PRESOBJ_PAGE, PRESOBJ_PAGE,
PRESOBJ_HANDOUT, PRESOBJ_HANDOUT,
PRESOBJ_NOTES, PRESOBJ_NOTES,
......
...@@ -189,7 +189,6 @@ SdrObject* SdPage::GetPresObj(PresObjKind eObjKind, int nIndex, bool bFuzzySearc ...@@ -189,7 +189,6 @@ SdrObject* SdPage::GetPresObj(PresObjKind eObjKind, int nIndex, bool bFuzzySearc
case PRESOBJ_ORGCHART: case PRESOBJ_ORGCHART:
case PRESOBJ_TABLE: case PRESOBJ_TABLE:
case PRESOBJ_CALC: case PRESOBJ_CALC:
case PRESOBJ_IMAGE:
case PRESOBJ_MEDIA: case PRESOBJ_MEDIA:
bFound = true; bFound = true;
break; break;
......
...@@ -1490,7 +1490,6 @@ Reference< drawing::XShape > SdGenericDrawPage::CreateShape(SdrObject *pObj) co ...@@ -1490,7 +1490,6 @@ Reference< drawing::XShape > SdGenericDrawPage::CreateShape(SdrObject *pObj) co
break; break;
// coverity[dead_error_begin] - following conditions exist to avoid compiler warning // coverity[dead_error_begin] - following conditions exist to avoid compiler warning
case PRESOBJ_NONE: case PRESOBJ_NONE:
case PRESOBJ_IMAGE:
case PRESOBJ_MAX: case PRESOBJ_MAX:
break; break;
} }
......
...@@ -550,7 +550,6 @@ void DrawView::DeleteMarked() ...@@ -550,7 +550,6 @@ void DrawView::DeleteMarked()
case PRESOBJ_ORGCHART: case PRESOBJ_ORGCHART:
case PRESOBJ_TABLE: case PRESOBJ_TABLE:
case PRESOBJ_CALC: case PRESOBJ_CALC:
case PRESOBJ_IMAGE:
case PRESOBJ_MEDIA: case PRESOBJ_MEDIA:
ePresObjKind = PRESOBJ_OUTLINE; ePresObjKind = PRESOBJ_OUTLINE;
break; break;
......
...@@ -33,7 +33,6 @@ static bool implIsMultiPresObj( PresObjKind eKind ) ...@@ -33,7 +33,6 @@ static bool implIsMultiPresObj( PresObjKind eKind )
case PRESOBJ_CHART: case PRESOBJ_CHART:
case PRESOBJ_ORGCHART: case PRESOBJ_ORGCHART:
case PRESOBJ_TABLE: case PRESOBJ_TABLE:
case PRESOBJ_IMAGE:
case PRESOBJ_MEDIA: case PRESOBJ_MEDIA:
return true; return true;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment