diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-17 22:03:14 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-17 23:48:28 +0100 |
commit | 374efa7253703b054e4603c66aeba862e4e98574 (patch) | |
tree | 9a5dfebe75f425cfae3c264862c6acdb913dcd05 /svx/source/unodraw/unomod.cxx | |
parent | ca25cdcb398f200ce5d53286eea02d49d8d1c5f4 (diff) |
Skeleton of drawinglayer object called OpenGLObject
- Shape name: com.sun.star.drawing.OpenGLObject
- Drawinglayer object: SdrOpenGLObject
- Uno object: SvxOpenGLObject
- View contact: ViewContactOfOpenGL
- Primitive: OpenGLPrimitive2D
Change-Id: I7fc0829d58cb4a8432d0e3007c90223707e5dd84
Diffstat (limited to 'svx/source/unodraw/unomod.cxx')
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index 9b5a3d6f45e9..6a86ce4122b0 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -493,6 +493,10 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance( c { nType = OBJ_TABLE; } + else if( aTypeName.startsWith( "OpenGLObject" ) ) + { + nType = OBJ_OPENGL; + } else { throw lang::ServiceNotRegisteredException(); |