summaryrefslogtreecommitdiffstats
path: root/toolkit/source/controls/unocontrols.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r--toolkit/source/controls/unocontrols.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index d9bc55f8cb45..2b0ac450293c 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -4408,9 +4408,8 @@ void UnoPatternFieldControl::ImplSetPeerProperty( const OUString& rPropName, con
if (xPF.is())
{
// same comment as in UnoControl::ImplSetPeerProperty - see there
- OUString sText( Text );
- ImplCheckLocalize( sText );
- xPF->setString( sText );
+ ImplCheckLocalize( Text );
+ xPF->setString( Text );
xPF->setMasks( EditMask, LiteralMask );
}
}