comphelper/inc/comphelper/embeddedobjectcontainer.hxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
New commits: commit 36ded0bc8eef88d8c19773696ec2c002895d2e96 Author: Matthias Seidel <msei...@apache.org> AuthorDate: Thu May 2 16:19:37 2019 +0000 Commit: Matthias Seidel <msei...@apache.org> CommitDate: Thu May 2 16:19:37 2019 +0000 Fixed typos diff --git a/comphelper/inc/comphelper/embeddedobjectcontainer.hxx b/comphelper/inc/comphelper/embeddedobjectcontainer.hxx index f2682af7856b..a7d1755419db 100644 --- a/comphelper/inc/comphelper/embeddedobjectcontainer.hxx +++ b/comphelper/inc/comphelper/embeddedobjectcontainer.hxx @@ -20,6 +20,7 @@ *************************************************************/ + #ifndef _COMPHELPER_OBJECTCONTAINER_HXX_ #define _COMPHELPER_OBJECTCONTAINER_HXX_ @@ -132,7 +133,7 @@ sal_Bool RemoveEmbeddedObject( const ::rtl::OUString& rName, sal_Bool 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( const ::com::sun::star::uno::Reference // 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( const ::com::sun::star::uno::Reference /** 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits