From 81f5c65f7556bf0c08ce8a0d7029a9cc72319025 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 31 Oct 2013 17:40:05 +0200 Subject: remove unnecessary use of OUString constructor in SVTOOLS module Change-Id: Iad58b125f16226cc6afa9d88d2c792065bbc244f --- svtools/source/config/extcolorcfg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svtools/source/config') diff --git a/svtools/source/config/extcolorcfg.cxx b/svtools/source/config/extcolorcfg.cxx index 6456a9b8cc90..1e1612671565 100644 --- a/svtools/source/config/extcolorcfg.cxx +++ b/svtools/source/config/extcolorcfg.cxx @@ -295,7 +295,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme) { //detect current scheme name uno::Sequence < OUString > aCurrent(1); - aCurrent.getArray()[0] = OUString("ExtendedColorScheme/CurrentColorScheme"); + aCurrent.getArray()[0] = "ExtendedColorScheme/CurrentColorScheme"; uno::Sequence< uno::Any > aCurrentVal = GetProperties( aCurrent ); aCurrentVal.getConstArray()[0] >>= sScheme; } // if(!sScheme.getLength()) @@ -312,7 +312,7 @@ void ExtendedColorConfig_Impl::Load(const OUString& rScheme) } if ( m_sLoadedScheme.isEmpty() ) - m_sLoadedScheme = OUString("default"); + m_sLoadedScheme = "default"; if ( sScheme != "default" ) { @@ -461,7 +461,7 @@ void ExtendedColorConfig_Impl::CommitCurrentSchemeName() { //save current scheme name uno::Sequence < OUString > aCurrent(1); - aCurrent.getArray()[0] = OUString("ExtendedColorScheme/CurrentColorScheme"); + aCurrent.getArray()[0] = "ExtendedColorScheme/CurrentColorScheme"; uno::Sequence< uno::Any > aCurrentVal(1); aCurrentVal.getArray()[0] <<= m_sLoadedScheme; PutProperties(aCurrent, aCurrentVal); -- cgit