[Libreoffice-commits] core.git: embeddedobj/source
Stephan Bergmann
sbergman at redhat.com
Mon Apr 14 02:20:10 PDT 2014
embeddedobj/source/msole/olepersist.cxx | 1
embeddedobj/source/msole/olepersist.hxx | 42 ++++++++++++++++++++++++++++++++
embeddedobj/source/msole/ownview.cxx | 8 ------
3 files changed, 44 insertions(+), 7 deletions(-)
New commits:
commit 82d1b40444e65d41bf4807a453cc48bc28cf9c8d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Apr 14 11:19:42 2014 +0200
Clean up function declarations
Change-Id: Ia33a39c9c8fe25c48c81c53270ca9ce5ef90221c
diff --git a/embeddedobj/source/msole/olepersist.cxx b/embeddedobj/source/msole/olepersist.cxx
index 19044c4..f403bb4 100644
--- a/embeddedobj/source/msole/olepersist.cxx
+++ b/embeddedobj/source/msole/olepersist.cxx
@@ -18,6 +18,7 @@
*/
#include <oleembobj.hxx>
+#include <olepersist.hxx>
#include <com/sun/star/embed/EmbedStates.hpp>
#include <com/sun/star/embed/EmbedVerbs.hpp>
#include <com/sun/star/embed/EntryInitModes.hpp>
diff --git a/embeddedobj/source/msole/olepersist.hxx b/embeddedobj/source/msole/olepersist.hxx
new file mode 100644
index 0000000..c23bf94
--- /dev/null
+++ b/embeddedobj/source/msole/olepersist.hxx
@@ -0,0 +1,42 @@
+/* -*- 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 INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_OLEPERSIST_HXX
+#define INCLUDED_EMBEDDEDOBJ_SOURCE_MSOLE_OLEPERSIST_HXX
+
+#include <sal/config.h>
+
+#include <com/sun/star/io/IOException.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/RuntimeException.hpp>
+#include <rtl/ustring.hxx>
+
+namespace com { namespace sun { namespace star {
+ namespace io { class XInputStream; }
+ namespace lang { class XMultiServiceFactory; }
+} } }
+
+OUString GetNewFilledTempFile_Impl(
+ css::uno::Reference<css::io::XInputStream > const & xInStream,
+ css::uno::Reference<css::lang::XMultiServiceFactory> const & xFactory)
+ throw (css::io::IOException, css::uno::RuntimeException);
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/embeddedobj/source/msole/ownview.cxx b/embeddedobj/source/msole/ownview.cxx
index 8f2657a..d1515e2 100644
--- a/embeddedobj/source/msole/ownview.cxx
+++ b/embeddedobj/source/msole/ownview.cxx
@@ -42,20 +42,14 @@
#include <comphelper/storagehelper.hxx>
#include <comphelper/mimeconfighelper.hxx>
+#include "olepersist.hxx"
#include "ownview.hxx"
using namespace ::com::sun::star;
using namespace ::comphelper;
-OUString GetNewTempFileURL_Impl( const uno::Reference< lang::XMultiServiceFactory >& xFactory ) throw( io::IOException );
-OUString GetNewFilledTempFile_Impl( const uno::Reference< io::XInputStream >& xInStream, const uno::Reference< lang::XMultiServiceFactory >& xFactory ) throw( io::IOException );
sal_Bool KillFile_Impl( const OUString& aURL, const uno::Reference< lang::XMultiServiceFactory >& xFactory );
-uno::Reference< io::XStream > TryToGetAcceptableFormat_Impl( const uno::Reference< io::XStream >& xStream, const uno::Reference< lang::XMultiServiceFactory >& xFactory ) throw ( uno::Exception );
-
-
-// Dummy interaction handler
-
class DummyHandler_Impl : public ::cppu::WeakImplHelper1< task::XInteractionHandler >
{
More information about the Libreoffice-commits
mailing list