diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-02-08 09:06:10 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-08 14:57:16 +0000 |
commit | 9e310cc32923ceb4b18d97ce68d54a339b935f01 (patch) | |
tree | d79b44b80c15f6bdb3116db4c9b6955a9e6cb4c9 /svx/source/form/fmview.cxx | |
parent | 9c427991d9658a870ee0eb1bdc4cd3b393c93fd5 (diff) |
fdo#38838 Some removal/replacement of the String/UniString with OUString
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275
Reviewed-on: https://gerrit.libreoffice.org/1962
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'svx/source/form/fmview.cxx')
-rw-r--r-- | svx/source/form/fmview.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx index 047e9ab4c55c..abd632ba6838 100644 --- a/svx/source/form/fmview.cxx +++ b/svx/source/form/fmview.cxx @@ -424,12 +424,12 @@ SdrObject* FmFormView::CreateXFormsControl( const OXFormsDescriptor &_rDesc ) } //------------------------------------------------------------------------ -SdrObject* FmFormView::CreateFieldControl(const UniString& rFieldDesc) const +SdrObject* FmFormView::CreateFieldControl(const OUString& rFieldDesc) const { - ::rtl::OUString sDataSource = rFieldDesc.GetToken(0,sal_Unicode(11)); - ::rtl::OUString sObjectName = rFieldDesc.GetToken(1,sal_Unicode(11)); - sal_uInt16 nObjectType = (sal_uInt16)rFieldDesc.GetToken(2,sal_Unicode(11)).ToInt32(); - ::rtl::OUString sFieldName = rFieldDesc.GetToken(3,sal_Unicode(11)); + OUString sDataSource = rFieldDesc.getToken(0,sal_Unicode(11)); + OUString sObjectName = rFieldDesc.getToken(1,sal_Unicode(11)); + sal_uInt16 nObjectType = (sal_uInt16)rFieldDesc.getToken(2,sal_Unicode(11)).toInt32(); + OUString sFieldName = rFieldDesc.getToken(3,sal_Unicode(11)); if (sFieldName.isEmpty() || sObjectName.isEmpty() || sDataSource.isEmpty()) return NULL; |