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 /accessibility | |
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 'accessibility')
-rw-r--r-- | accessibility/source/standard/vclxaccessiblecombobox.cxx | 2 | ||||
-rw-r--r-- | accessibility/source/standard/vclxaccessiblestatusbar.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx index 5468b2e865cd..8c8fcf36d72e 100644 --- a/accessibility/source/standard/vclxaccessiblecombobox.cxx +++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx @@ -80,7 +80,7 @@ Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void) Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); aNames.realloc( nLength + 1 ); - aNames[nLength] = OUString( "com.sun.star.accessibility.AccessibleComboBox" ); + aNames[nLength] = "com.sun.star.accessibility.AccessibleComboBox"; return aNames; } diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx index a5c3da98c2cf..e120fc00b60c 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx @@ -292,7 +292,7 @@ OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeExceptio Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException) { Sequence< OUString > aNames(1); - aNames[0] = OUString( "com.sun.star.awt.AccessibleStatusBar" ); + aNames[0] = "com.sun.star.awt.AccessibleStatusBar"; return aNames; } |