diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/grid/gridcolumn.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 2b34b9d856cf..9dfd49532a3a 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -873,7 +873,7 @@ void SAL_CALL ControlModelContainerBase::getGroup( sal_Int32 _nGroup, Sequence< { OSL_TRACE( "ControlModelContainerBase::getGroup: invalid argument and I am not allowed to throw an exception!" ); _rGroup.realloc( 0 ); - _rName = OUString(); + _rName.clear(); } else { diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx index e654f56671d8..9cc65f54f8bc 100644 --- a/toolkit/source/controls/grid/gridcolumn.cxx +++ b/toolkit/source/controls/grid/gridcolumn.cxx @@ -229,7 +229,8 @@ namespace toolkit { ::osl::MutexGuard aGuard( m_aMutex ); m_aIdentifier.clear(); - m_sTitle = m_sHelpText = OUString(); + m_sTitle.clear(); + m_sHelpText.clear(); } |