diff options
Diffstat (limited to 'sw/source/core/docnode/section.cxx')
-rw-r--r-- | sw/source/core/docnode/section.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx index 74fd835a7fc0..fd849ccf7d24 100644 --- a/sw/source/core/docnode/section.cxx +++ b/sw/source/core/docnode/section.cxx @@ -581,17 +581,13 @@ OUString SwSection::GetLinkFileName() const return m_Data.GetLinkFileName(); } -void SwSection::SetLinkFileName(const OUString& rNew, OUString const*const pPassWd) +void SwSection::SetLinkFileName(const OUString& rNew) { if (m_RefLink.Is()) { m_RefLink->SetLinkSourceName( rNew ); } m_Data.SetLinkFileName(rNew); - if( pPassWd ) - { - SetLinkFilePassword( *pPassWd ); - } } // If it was a Linked Section, we need to make all Child Links visible |