diff options
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 7a6c14f7c935..384a6c7da817 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -32,6 +32,8 @@ #include <comphelper/processfactory.hxx> +#include <config_features.h> + #include <editeng/editdata.hxx> #include <editeng/eeitem.hxx> #include <editeng/flditem.hxx> @@ -1166,7 +1168,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) Invalidate(SID_DRAWTBX_INSERT); } break; - +#if HAVE_FEATURE_GLTF case SID_INSERT_3DMODEL: { SetCurrentFunction( FuInsert3DModel::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); @@ -1177,6 +1179,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) Invalidate(SID_DRAWTBX_INSERT); } break; +#endif case SID_COPYOBJECTS: { |