diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-11 13:46:39 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-04-11 13:46:39 +0000 |
commit | cc67edc5ca0716918fea2d7b0082a2bc230180bd (patch) | |
tree | 0dea1b2b2d2829c4282dce2cd8dc44fc5aa76b37 /sot | |
parent | 7deb2d990ea0d2dcdad63f08822bdfeb5786d93b (diff) |
INTEGRATION: CWS changefileheader (1.49.20); FILE MERGED
2008/04/01 15:41:34 thb 1.49.20.3: #i85898# Stripping all external header guards
2008/04/01 12:41:27 thb 1.49.20.2: #i85898# Stripping all external header guards
2008/03/31 12:49:58 rt 1.49.20.1: #i87441# Change license header to LPGL v3.
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/storage.cxx | 63 |
1 files changed, 18 insertions, 45 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx index bc0623076db4..f4adbbba8fc4 100644 --- a/sot/source/sdstor/storage.cxx +++ b/sot/source/sdstor/storage.cxx @@ -1,56 +1,40 @@ /************************************************************************* * - * OpenOffice.org - a multi-platform office productivity suite + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * $RCSfile: storage.cxx,v $ + * Copyright 2008 by Sun Microsystems, Inc. * - * $Revision: 1.49 $ + * OpenOffice.org - a multi-platform office productivity suite * - * last change: $Author: ihi $ $Date: 2007-11-26 13:48:34 $ + * $RCSfile: storage.cxx,v $ + * $Revision: 1.50 $ * - * The Contents of this file are made available subject to - * the terms of GNU Lesser General Public License Version 2.1. + * This file is part of OpenOffice.org. * + * OpenOffice.org is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 3 + * only, as published by the Free Software Foundation. * - * GNU Lesser General Public License Version 2.1 - * ============================================= - * Copyright 2005 by Sun Microsystems, Inc. - * 901 San Antonio Road, Palo Alto, CA 94303, USA + * OpenOffice.org is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License version 3 for more details + * (a copy is included in the LICENSE file that accompanied this code). * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License version 2.1, as published by the Free Software Foundation. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * You should have received a copy of the GNU Lesser General Public License + * version 3 along with OpenOffice.org. If not, see + * <http://www.openoffice.org/license.html> + * for a copy of the LGPLv3 License. * ************************************************************************/ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sot.hxx" - -#ifndef _COM_SUN_STAR_UNO_SEQUENCE_HXX_ #include <com/sun/star/uno/Sequence.hxx> -#endif -#ifndef _COM_SUN_STAR_LANG_XSINGLESERVICEFACTORY_HPP_ #include <com/sun/star/lang/XSingleServiceFactory.hpp> -#endif -#ifndef _COM_SUN_STAR_EMBED_XSTORAGE_HPP_ #include <com/sun/star/embed/XStorage.hpp> -#endif -#ifndef _COM_SUN_STAR_EMBED_ELEMENTMODES_HPP_ #include <com/sun/star/embed/ElementModes.hpp> -#endif -#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_ #include <com/sun/star/beans/XPropertySet.hpp> -#endif #include <rtl/digest.h> #include <osl/file.hxx> @@ -59,16 +43,11 @@ #include <sot/storage.hxx> #include <sot/formats.hxx> #include <sot/exchange.hxx> - -#ifndef _UNTOOLS_UCBSTREAMHELPER_HXX #include <unotools/ucbstreamhelper.hxx> -#endif #ifndef _TOOLS_FSYS_HXX #include <tools/fsys.hxx> #endif -#ifndef _CACHESTR_HXX //autogen #include <tools/cachestr.hxx> -#endif #include <tools/debug.hxx> #include <tools/urlobj.hxx> #include <unotools/localfilehelper.hxx> @@ -526,15 +505,9 @@ SotStorage::SotStorage() } #define ERASEMASK ( STREAM_TRUNC | STREAM_WRITE | STREAM_SHARE_DENYALL ) -#ifndef _COM_SUN_STAR_UNO_REFERENCE_H_ #include <com/sun/star/uno/Reference.h> -#endif -#ifndef _COM_SUN_STAR_UCB_XCOMMANDENVIRONMENT_HPP_ #include <com/sun/star/ucb/XCommandEnvironment.hpp> -#endif -#ifndef _UCBHELPER_CONTENT_HXX #include <ucbhelper/content.hxx> -#endif SotStorage::SotStorage( const ::ucbhelper::Content& rContent, const String & rName, StreamMode nMode, StorageMode nStorageMode ) INIT_SotStorage() |