Author: mseidel Date: Thu May 2 16:19:37 2019 New Revision: 1858546 URL: http://svn.apache.org/viewvc?rev=1858546&view=rev Log: Fixed typos
Modified: openoffice/trunk/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx Modified: openoffice/trunk/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx?rev=1858546&r1=1858545&r2=1858546&view=diff ============================================================================== --- openoffice/trunk/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx (original) +++ openoffice/trunk/main/comphelper/inc/comphelper/embeddedobjectcontainer.hxx Thu May 2 16:19:37 2019 @@ -1,5 +1,5 @@ /************************************************************** - * + * * 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 @@ -7,19 +7,20 @@ * 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 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ + #ifndef _COMPHELPER_OBJECTCONTAINER_HXX_ #define _COMPHELPER_OBJECTCONTAINER_HXX_ @@ -127,12 +128,12 @@ public: // move an embedded object from one container to another one sal_Bool MoveEmbeddedObject( EmbeddedObjectContainer& rSrc, const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, ::rtl::OUString& ); - // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+ + // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+ sal_Bool RemoveEmbeddedObject( const ::rtl::OUString& rName, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True ); -sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True ); +sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose = sal_True, sal_Bool bKeepToTempStorage = sal_True ); // remove an embedded object from the container and from the storage; if object can't be closed //sal_Bool RemoveEmbeddedObject( const ::rtl::OUString& rName, sal_Bool bClose=sal_True ); - // sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose=sal_True ); + //sal_Bool RemoveEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, sal_Bool bClose=sal_True ); // close and remove an embedded object from the container without removing it from the storage sal_Bool CloseEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& ); @@ -149,7 +150,7 @@ sal_Bool RemoveEmbeddedObject // add a graphical representation for an object sal_Bool InsertGraphicStream( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const ::rtl::OUString& rObjectName, const ::rtl::OUString& rMediaType ); - // try to add a graphical representation for an object in optimized way ( might fail ) + // try to add a graphical representation for an object in optimized way (might fail) sal_Bool InsertGraphicStreamDirectly( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const ::rtl::OUString& rObjectName, const rtl::OUString& rMediaType ); // remove a graphical representation for an object @@ -173,8 +174,8 @@ sal_Bool RemoveEmbeddedObject /** call setPersistentEntry for each embedded object in the container * - * \param _xStorage The storeage where to store the objects. - * \param _bClearModifedFlag If <TRUE/> then the modifed flag will be set to <FALSE/> otherwise nothing happen. + * \param _xStorage The storage where to store the objects. + * \param _bClearModifedFlag If <TRUE/> then the modified flag will be set to <FALSE/> otherwise nothing happen. * \return <FALSE/> if no error occurred, otherwise <TRUE/>. */ sal_Bool SetPersistentEntries(const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& _xStorage,bool _bClearModifedFlag = true);