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 /xmlhelp/source/treeview/tvfactory.cxx | |
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 'xmlhelp/source/treeview/tvfactory.cxx')
-rw-r--r-- | xmlhelp/source/treeview/tvfactory.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx index 1bcf74ecaefd..6f6a5cbd9e57 100644 --- a/xmlhelp/source/treeview/tvfactory.cxx +++ b/xmlhelp/source/treeview/tvfactory.cxx @@ -175,7 +175,7 @@ TVFactory::getAvailableServiceNames( ) throw( RuntimeException ) { Sequence< OUString > seq( 1 ); - seq[0] = OUString( "com.sun.star.ucb.HierarchyDataReadAccess" ); + seq[0] = "com.sun.star.ucb.HierarchyDataReadAccess"; return seq; } @@ -191,8 +191,8 @@ Sequence< OUString > SAL_CALL TVFactory::getSupportedServiceNames_static() { Sequence< OUString > seq( 2 ); - seq[0] = OUString( "com.sun.star.help.TreeView" ); - seq[1] = OUString( "com.sun.star.ucb.HiearchyDataSource" ); + seq[0] = "com.sun.star.help.TreeView"; + seq[1] = "com.sun.star.ucb.HiearchyDataSource"; return seq; } |