From d7c4d44671b0aa6c01974df474fd28e23367c69e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 25 Apr 2012 11:41:26 -0400 Subject: Switch to using ScEditFieldObj for the header/footer field items. Luckily this works just fine for the very simple field items. More work ahead to fully support all types we currently allow in headers and footers. --- sc/inc/fielduno.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/inc/fielduno.hxx') diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx index 7c1929d6a4a3..bbd7405a43e6 100644 --- a/sc/inc/fielduno.hxx +++ b/sc/inc/fielduno.hxx @@ -55,7 +55,6 @@ class SvxEditSource; class SvxFieldItem; class SvxFieldData; class ScEditFieldObj; -class ScHeaderFieldObj; class ScHeaderFooterContentObj; class ScDocShell; class EditTextObject; @@ -148,7 +147,7 @@ private: /// mutex to lock the InterfaceContainerHelper osl::Mutex aMutex; - ScHeaderFieldObj* GetObjectByIndex_Impl(sal_Int32 Index) const; + ScEditFieldObj* GetObjectByIndex_Impl(sal_Int32 Index) const; public: ScHeaderFieldsObj(ScHeaderFooterTextData& rData); @@ -355,6 +354,7 @@ private: SvxFieldData* getData(); void setPropertyValueURL(const rtl::OUString& rName, const com::sun::star::uno::Any& rVal); + com::sun::star::uno::Any getPropertyValueURL(const rtl::OUString& rName); public: static const com::sun::star::uno::Sequence& getUnoTunnelId(); @@ -370,7 +370,7 @@ public: SvxFieldItem CreateFieldItem(); void InitDoc( const com::sun::star::uno::Reference& rContent, - SvxEditSource* pEditSrc, FieldType eType, const ESelection& rSel); + SvxEditSource* pEditSrc, const ESelection& rSel); // XTextField virtual ::rtl::OUString SAL_CALL getPresentation( sal_Bool bShowCommand ) -- cgit