summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brinkmann <hbrinkm@openoffice.org>2010-06-09 17:05:22 +0200
committerHenning Brinkmann <hbrinkm@openoffice.org>2010-06-09 17:05:22 +0200
commitda127380c572fe5500e80e146efc6ce67f26b7d0 (patch)
treea6115b902ee9ce4bdc2192e9175cc5bdb07f4bcb
parent895f273d0e30136f431f801dc1db93585a9061fe (diff)
tl78: Do not protect every section if document is protected.
-rw-r--r--sw/source/filter/ww8/ww8par.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 71250360d7..cef7060bc2 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -1817,7 +1817,7 @@ void SwWW8ImplReader::Read_HdFt(bool bIsTitle, int nSect,
bool wwSectionManager::SectionIsProtected(const wwSection &rSection) const
{
- return (mrReader.pWDop->fProtEnabled && !rSection.IsNotProtected());
+ return (!rSection.IsNotProtected());
}
void wwSectionManager::SetHdFt(wwSection &rSection, int nSect,