diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 17:40:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-08 08:44:34 +0200 |
commit | 81f5c65f7556bf0c08ce8a0d7029a9cc72319025 (patch) | |
tree | 1661cf1181d2618f325261ffeffc7b00a1309162 /svtools/source/config | |
parent | 913b4e7d856ad6392588886a4124d05676e8968d (diff) |
remove unnecessary use of OUString constructor in SVTOOLS module
Change-Id: Iad58b125f16226cc6afa9d88d2c792065bbc244f
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/extcolorcfg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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); |