diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-04 23:45:24 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-05 11:10:18 -0400 |
commit | 146a73e243bb54085055271f08156e2cf5dbd3f2 (patch) | |
tree | 4da15a32959a77f0253fe22d484a96e318c8c60b /svx | |
parent | 8f555e3be27768a7a9a80b5ce4cba95ea1cd2880 (diff) |
Use UNO's field type values for the SvxFieldData class IDs too.
Change-Id: I Iae5abcd0936f176b0b8976b6ea50cfe3e18593b4
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx index df4ec36a50c4..8292c13b43b0 100644 --- a/svx/source/unodraw/unomod.cxx +++ b/svx/source/unodraw/unomod.cxx @@ -61,6 +61,8 @@ #include <svx/svdpage.hxx> #include <svx/unoshape.hxx> +#include <com/sun/star/text/textfield/Type.hpp> + //-//////////////////////////////////////////////////////////////////// using namespace ::rtl; @@ -411,7 +413,7 @@ uno::Reference< uno::XInterface > SAL_CALL SvxUnoDrawingModel::createInstance( c if( 0 == aServiceSpecifier.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.text.TextField.DateTime") ) ) { - return (::cppu::OWeakObject * )new SvxUnoTextField( ID_EXT_DATEFIELD ); + return (::cppu::OWeakObject * )new SvxUnoTextField(text::textfield::Type::EXTENDED_DATE); } uno::Reference< uno::XInterface > xRet; |