diff options
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 4 | ||||
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 6056cafd4c63..6adb91987455 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1430,7 +1430,7 @@ uno::Reference< io::XInputStream > EmbeddedObjectContainer::GetGraphicReplacemen return xInStream; } -bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed::XStorage >& _xStorage,bool _bClearModifedFlag) +bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed::XStorage >& _xStorage,bool _bClearModifiedFlag) { bool bError = false; const uno::Sequence < OUString > aNames = GetObjectNames(); @@ -1461,7 +1461,7 @@ bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed:: break; } } - if ( _bClearModifedFlag ) + if ( _bClearModifiedFlag ) { // if this method is used as part of SaveCompleted the object must stay unmodified after execution try diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index 130a6a1ad031..c477a6fbe8c2 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -176,10 +176,10 @@ public: /** call setPersistentEntry for each embedded object in the container * * \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. + * \param _bClearModifiedFlag If <TRUE/> then the modified flag will be set to <FALSE/> otherwise nothing happen. * \return <FALSE/> if no error occurred, otherwise <TRUE/>. */ - bool SetPersistentEntries(const css::uno::Reference< css::embed::XStorage >& _xStorage,bool _bClearModifedFlag = true); + bool SetPersistentEntries(const css::uno::Reference< css::embed::XStorage >& _xStorage,bool _bClearModifiedFlag = true); bool getUserAllowsLinkUpdate() const; void setUserAllowsLinkUpdate(bool bNew); |