[Libreoffice-commits] core.git: include/comphelper

Jan Holesovsky kendy at collabora.com
Fri Nov 4 23:12:38 UTC 2016


 include/comphelper/package/ZipPackageHelper.hxx |   57 ------------------------
 1 file changed, 57 deletions(-)

New commits:
commit 32bdc5097013e7efd9c85e1b8df697880e66e925
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Nov 4 19:52:14 2016 +0100

    We have exactly the same file as include/unotools/ZipPackageHelper.hxx.
    
    Change-Id: I2cc545c50a8ae936e73ff23a200f350809ab8335

diff --git a/include/comphelper/package/ZipPackageHelper.hxx b/include/comphelper/package/ZipPackageHelper.hxx
deleted file mode 100644
index 2cdd5db..0000000
--- a/include/comphelper/package/ZipPackageHelper.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- 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_COMPHELPER_PACKAGE_ZIPPACKAGEHELPER_HXX
-#define INCLUDED_COMPHELPER_PACKAGE_ZIPPACKAGEHELPER_HXX
-
-#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
-#include <com/sun/star/lang/XSingleServiceFactory.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-
-
-class ZipPackageHelper
-{
-public:
-    ZipPackageHelper( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
-        const OUString& sPackageURL);
-
-    void savePackage();
-
-    void addFile( const OUString& rSourceFile )
-        throw( css::uno::Exception, std::exception );
-
-    void addStream( css::uno::Reference< css::io::XInputStream > const & xInput,
-                    const OUString& aName ) throw( css::uno::Exception );
-
-    css::uno::Reference< css::uno::XInterface > addFolder( const OUString& rName )
-        throw( css::uno::Exception, std::exception );
-
-    void addFolderWithContent( const OUString& rDirURL );
-
-private:
-    css::uno::Reference< css::uno::XComponentContext > mxContext;
-    css::uno::Reference< css::container::XHierarchicalNameAccess > mxHNameAccess;
-    css::uno::Reference< css::lang::XSingleServiceFactory > mxFactory;
-    css::uno::Reference< css::uno::XInterface > mxRootFolder;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list