summaryrefslogtreecommitdiffstats
path: root/sw/source/core/unocore/unosect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unosect.cxx')
-rw-r--r--sw/source/core/unocore/unosect.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index bd137b174b85..1d2bc1b828f9 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -1489,7 +1489,7 @@ throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
if (m_pImpl->m_bIsDescriptor)
{
- m_pImpl->m_pProps->m_sCondition = OUString();
+ (m_pImpl->m_pProps->m_sCondition).clear();
}
else
{
@@ -1505,9 +1505,9 @@ throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
if (m_pImpl->m_bIsDescriptor)
{
m_pImpl->m_pProps->m_bDDE = false;
- m_pImpl->m_pProps->m_sLinkFileName = OUString();
- m_pImpl->m_pProps->m_sSectionRegion = OUString();
- m_pImpl->m_pProps->m_sSectionFilter = OUString();
+ (m_pImpl->m_pProps->m_sLinkFileName).clear();
+ (m_pImpl->m_pProps->m_sSectionRegion).clear();
+ (m_pImpl->m_pProps->m_sSectionFilter).clear();
}
else
{