summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdouno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdouno.cxx')
-rw-r--r--svx/source/svdraw/svdouno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx
index 927a414da873..b7c43ed370c3 100644
--- a/svx/source/svdraw/svdouno.cxx
+++ b/svx/source/svdraw/svdouno.cxx
@@ -316,7 +316,7 @@ SdrUnoObj& SdrUnoObj::operator= (const SdrUnoObj& rObj)
OUString aStr;
if( aValue >>= aStr )
- aUnoControlTypeName = String(aStr);
+ aUnoControlTypeName = aStr;
}
uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);
@@ -516,7 +516,7 @@ void SdrUnoObj::SetUnoControlModel( const uno::Reference< awt::XControlModel >&
uno::Any aValue( xSet->getPropertyValue(String("DefaultControl", osl_getThreadTextEncoding())) );
OUString aStr;
if( aValue >>= aStr )
- aUnoControlTypeName = String(aStr);
+ aUnoControlTypeName = aStr;
}
uno::Reference< lang::XComponent > xComp(xUnoControlModel, uno::UNO_QUERY);