diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-04 11:46:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-11 11:21:22 +0200 |
commit | 373f352ef2f39965b4ef830acfc1554f8e2e3abf (patch) | |
tree | eb0b7044d57a2e72a461e2ffd2ae370d4f52760e /forms/source/component/Grid.cxx | |
parent | 316be1b6f18963b39aab7729bf93fc9c86519e33 (diff) |
remove unnecessary use of OUString constructor in FORMS module
Change-Id: Ibbf477e99ba0c07a9138497496442b0f9296f5c3
Diffstat (limited to 'forms/source/component/Grid.cxx')
-rw-r--r-- | forms/source/component/Grid.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx index e1c8549642cb..c81675f77084 100644 --- a/forms/source/component/Grid.cxx +++ b/forms/source/component/Grid.cxx @@ -202,9 +202,8 @@ StringSequence OGridControlModel::getSupportedServiceNames() throw(RuntimeExcept StringSequence aSupported = OControlModel::getSupportedServiceNames(); aSupported.realloc(aSupported.getLength() + 2); - OUString*pArray = aSupported.getArray(); - pArray[aSupported.getLength()-2] = OUString("com.sun.star.awt.UnoControlModel"); - pArray[aSupported.getLength()-1] = FRM_SUN_COMPONENT_GRIDCONTROL; + aSupported[aSupported.getLength()-2] = "com.sun.star.awt.UnoControlModel"; + aSupported[aSupported.getLength()-1] = FRM_SUN_COMPONENT_GRIDCONTROL; return aSupported; } |