diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-15 11:05:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:31 +0200 |
commit | 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch) | |
tree | 6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /desktop | |
parent | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff) |
remove unnecessary use of OUString constructor when assigning
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/appinit.cxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 065bb3d0caab..1d6c9f562d18 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -274,7 +274,7 @@ void Desktop::CreateTemporaryDirectory() if ( aResId.GetResMgr()->IsAvailable( aResId )) aMsg = OUString( aResId ); else - aMsg = OUString( "The path manager is not available.\n" ); + aMsg = "The path manager is not available.\n"; e.Message = aMsg + e.Message; throw; } diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index c291ac7318e3..b2131fd7c63b 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -67,7 +67,7 @@ namespace migration if ( !pNames ) { static Sequence< OUString > aNames(1); - aNames.getArray()[0] = OUString( "com.sun.star.migration.Wordbooks" ); + aNames.getArray()[0] = "com.sun.star.migration.Wordbooks"; pNames = &aNames; } } |