summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-12 19:47:14 +0300
committerTor Lillqvist <tml@iki.fi>2013-04-12 19:55:36 +0300
commitdb8786e34b1a451f0e6969681079f701627de6f9 (patch)
treec7bd2ddf228675812f0875b2a084788ee4e29103 /tools/source
parent9de73714775833f3ec7e7508d5fddcc8e4f19aed (diff)
The silly toolsdll.cxx was the same for unx and win
Change-Id: Ia83a37980446ee9a52e096e64a9ab77f106c8b37
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/misc/toolsdll.cxx33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/source/misc/toolsdll.cxx b/tools/source/misc/toolsdll.cxx
new file mode 100644
index 000000000000..414c7d23ca44
--- /dev/null
+++ b/tools/source/misc/toolsdll.cxx
@@ -0,0 +1,33 @@
+/* -*- 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 .
+ */
+
+#include <tools/shl.hxx>
+
+static void* aAppData[SHL_COUNT];
+
+/*
+ * Query data for other libraries
+ */
+
+void** GetAppData( sal_uInt16 nSharedLib )
+{
+ return &(aAppData[nSharedLib]);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */