summaryrefslogtreecommitdiff
path: root/starmath/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-27 19:07:35 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-28 01:55:00 +0900
commit660e4481a4ab00b1077dbc5e26568b7f6f05b2ba (patch)
tree7c68b7efb5305d692662e7bdae76607cc7b95e67 /starmath/source
parenta3b0be108677c60653eb79187a45bbd447d5e21b (diff)
Avoid temporary rtl::OUString
in scripting / sdext / starmath / stoc / svtools / svx
Diffstat (limited to 'starmath/source')
-rw-r--r--starmath/source/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 0e1ba83559c1..c6759b9bfc27 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -1033,7 +1033,7 @@ void SAL_CALL SmModel::render(
uno::Reference< awt::XDevice > xRenderDevice;
for (sal_Int32 i = 0, nCount = rxOptions.getLength(); i < nCount; ++i)
{
- if( rxOptions[i].Name == OUString( RTL_CONSTASCII_USTRINGPARAM( "RenderDevice" ) ) )
+ if( rxOptions[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("RenderDevice")) )
rxOptions[i].Value >>= xRenderDevice;
}