summaryrefslogtreecommitdiff
path: root/framework/source/helper
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper')
-rw-r--r--framework/source/helper/persistentwindowstate.cxx4
-rw-r--r--framework/source/helper/statusindicatorfactory.cxx2
-rw-r--r--framework/source/helper/vclstatusindicator.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx
index 1599447eef8c..ea253438079f 100644
--- a/framework/source/helper/persistentwindowstate.cxx
+++ b/framework/source/helper/persistentwindowstate.cxx
@@ -158,7 +158,7 @@ OUString PersistentWindowState::implst_identifyModule(const css::uno::Reference<
catch(const css::uno::RuntimeException&)
{ throw; }
catch(const css::uno::Exception&)
- { sModuleName = OUString(); }
+ { sModuleName.clear(); }
return sModuleName;
}
@@ -188,7 +188,7 @@ OUString PersistentWindowState::implst_getWindowStateFromConfig(const css::uno::
catch(const css::uno::RuntimeException&)
{ throw; }
catch(const css::uno::Exception&)
- { sWindowState = OUString(); }
+ { sWindowState.clear(); }
return sWindowState;
}
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx
index 5067a66217de..c0ed698825ec 100644
--- a/framework/source/helper/statusindicatorfactory.cxx
+++ b/framework/source/helper/statusindicatorfactory.cxx
@@ -157,7 +157,7 @@ void StatusIndicatorFactory::reset(const css::uno::Reference< css::task::XStatus
if (pItem != m_aStack.end())
{
pItem->m_nValue = 0;
- pItem->m_sText = OUString();
+ (pItem->m_sText).clear();
}
css::uno::Reference< css::task::XStatusIndicator > xActive = m_xActiveChild;
diff --git a/framework/source/helper/vclstatusindicator.cxx b/framework/source/helper/vclstatusindicator.cxx
index 856ad02b02fc..e02c4e747ca9 100644
--- a/framework/source/helper/vclstatusindicator.cxx
+++ b/framework/source/helper/vclstatusindicator.cxx
@@ -82,7 +82,7 @@ void SAL_CALL VCLStatusIndicator::end()
{
SolarMutexGuard aSolarGuard;
- m_sText = OUString();
+ m_sText.clear();
m_nRange = 0;
m_nValue = 0;