summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-19 13:57:45 +0200
committerNoel Grandin <noel@peralex.com>2013-03-20 07:32:52 +0200
commit23a16f5d3856d6eb61d599af9e47add4c456bfb2 (patch)
tree023648c6747837a37be5f9ec5fed1bae5d023ec4 /offapi
parentb4b0b400071a0fd12587334e3b9d615f35be671b (diff)
fdo#46808, convert graphic::PrimitiveFactory2D to new style
The service already existed, it just needed an IDL file Change-Id: I40fb28d94253c3c577655bb888ff0d0ee3ba3822
Diffstat (limited to 'offapi')
-rw-r--r--offapi/UnoApi_offapi.mk1
-rw-r--r--offapi/com/sun/star/graphic/PrimitiveFactory2D.idl37
2 files changed, 38 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk
index ed4a01f35061..0860f7d682d7 100644
--- a/offapi/UnoApi_offapi.mk
+++ b/offapi/UnoApi_offapi.mk
@@ -2622,6 +2622,7 @@ $(eval $(call gb_ZipUnoApi_add_idlfiles,offapi,offapi/com/sun/star/geometry,\
$(eval $(call gb_ZipUnoApi_add_idlfiles,offapi,offapi/com/sun/star/graphic,\
GraphicColorMode \
GraphicType \
+ PrimitiveFactory2D \
SvgTools \
XGraphic \
XGraphicObject \
diff --git a/offapi/com/sun/star/graphic/PrimitiveFactory2D.idl b/offapi/com/sun/star/graphic/PrimitiveFactory2D.idl
new file mode 100644
index 000000000000..21042cca4740
--- /dev/null
+++ b/offapi/com/sun/star/graphic/PrimitiveFactory2D.idl
@@ -0,0 +1,37 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+#ifndef __com_sun_star_graphic_PrimitiveFactory2D_idl__
+#define __com_sun_star_graphic_PrimitiveFactory2D_idl__
+
+#include <com/sun/star/graphic/XPrimitiveFactory2D.idl>
+
+module com { module sun { module star { module graphic {
+
+/**
+ @since LibreOffice 4.1
+ */
+service PrimitiveFactory2D : XPrimitiveFactory2D;
+
+}; }; }; };
+
+//////////////////////////////////////////////////////////////////////////////
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */