summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/shapeuno.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-04 21:58:22 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-05 11:10:18 -0400
commit204c898d7b69731a6a013bb02842400d4a828783 (patch)
tree08ebee26aec3d3c5de4091a4e43f3f3ddbf318ed /sc/source/ui/unoobj/shapeuno.cxx
parent194785f8b06182ba8caed8448fc61dd82a24dbcb (diff)
Use the UNO field type values instead of the internal ones.
Change-Id: I43c374f549bbcddaa1a1bd63c1eb346130208b60
Diffstat (limited to 'sc/source/ui/unoobj/shapeuno.cxx')
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index f5e53ceeee1f..bb0c5ab1c3a6 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -1131,7 +1131,7 @@ void SAL_CALL ScShapeObj::insertTextContent( const uno::Reference<text::XTextRan
// To insert it into drawing text, a SvxUnoTextField is needed instead.
// The ScCellFieldObj object is left in non-inserted state.
- SvxUnoTextField* pDrawField = new SvxUnoTextField( ID_URLFIELD );
+ SvxUnoTextField* pDrawField = new SvxUnoTextField( text::textfield::Type::URL );
xEffContent.set(pDrawField);
lcl_CopyOneProperty( *pDrawField, *pCellField, SC_UNONAME_URL );
lcl_CopyOneProperty( *pDrawField, *pCellField, SC_UNONAME_REPR );