summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 16:04:20 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 16:04:20 +0000
commit9aee63b68795eca69bb746f5582b2919184dfde3 (patch)
tree16ae8079f904c7ee04b00dcab95455884f8fd32e /sc
parent630f77c640b459eaa8dc5777ba33b96d22fbd75a (diff)
INTEGRATION: CWS pchfix04 (1.34.104); FILE MERGED
2007/02/05 08:35:39 os 1.34.104.1: #i73604# usage of ITEMID_* removed
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun4.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index 317dd88f09b2..e33988b47992 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: viewfun4.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: kz $ $Date: 2006-07-21 15:23:40 $
+ * last change: $Author: kz $ $Date: 2007-05-10 17:04:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -46,7 +46,6 @@
#include <svx/eeitem.hxx>
#endif
-#define ITEMID_FIELD EE_FEATURE_FIELD
#include <svx/editobj.hxx>
#include <svx/editstat.hxx>
#include <svx/editview.hxx>
@@ -676,7 +675,7 @@ void ScViewFunc::InsertBookmark( const String& rDescription, const String& rURL,
SvxURLField aField( rURL, rDescription, SVXURLFORMAT_APPDEFAULT );
if (pTarget)
aField.SetTargetFrame(*pTarget);
- aEngine.QuickInsertField( SvxFieldItem( aField ), aInsSel );
+ aEngine.QuickInsertField( SvxFieldItem( aField, EE_FEATURE_FIELD ), aInsSel );
EditTextObject* pData = aEngine.CreateTextObject();
EnterData( nPosX, nPosY, nTab, pData );