diff options
Diffstat (limited to 'toolkit/source/controls/formattedcontrol.cxx')
-rw-r--r-- | toolkit/source/controls/formattedcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 52fc287b2dee..015b38e1f7b6 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -161,7 +161,7 @@ namespace toolkit OUString UnoControlFormattedFieldModel::getServiceName() { - return OUString::createFromAscii( szServiceName_UnoControlFormattedFieldModel ); + return "stardiv.vcl.controlmodel.FormattedField"; } @@ -371,7 +371,7 @@ namespace toolkit Any aReturn; switch (nPropId) { - case BASEPROPERTY_DEFAULTCONTROL: aReturn <<= OUString::createFromAscii( szServiceName_UnoControlFormattedField ); break; + case BASEPROPERTY_DEFAULTCONTROL: aReturn <<= OUString("stardiv.vcl.control.FormattedField"); break; case BASEPROPERTY_TREATASNUMBER: aReturn <<= true; break; |