summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparaimphint.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-07-14 13:03:35 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-07-14 13:03:35 +0000
commit84eefbad7c086ee16bb099a237af405fd8e22df7 (patch)
tree82642b1fdcfbafa9a8643b8757d2a9cdac318443 /xmloff/source/text/txtparaimphint.hxx
parentcaeb15ea7d148549e128748368a6762fbb1729ea (diff)
#i10000# GetEventsContext and SetEventsContext
Diffstat (limited to 'xmloff/source/text/txtparaimphint.hxx')
-rw-r--r--xmloff/source/text/txtparaimphint.hxx28
1 files changed, 12 insertions, 16 deletions
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index 3cec2407bdcb..6cdb09e84e36 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtparaimphint.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2004-07-14 12:15:00 $
+ * last change: $Author: rt $ $Date: 2004-07-14 14:03:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -212,22 +212,18 @@ public:
const OUString& GetStyleName() const { return sStyleName; }
void SetVisitedStyleName( const OUString& s ) { sVisitedStyleName = s; }
const OUString& GetVisitedStyleName() const { return sVisitedStyleName; }
- XMLEventsImportContext* GetEventsContext() const;
- void SetEventsContext( XMLEventsImportContext* pCtxt );
+ XMLEventsImportContext* GetEventsContext() const
+ {
+ return pEvents;
+ }
+ void SetEventsContext( XMLEventsImportContext* pCtxt )
+ {
+ pEvents = pCtxt;
+ if (pEvents != NULL)
+ pEvents->AddRef();
+ }
};
-XMLEventsImportContext* XMLHyperlinkHint_Impl::GetEventsContext() const
-{
- return pEvents;
-}
-
-void XMLHyperlinkHint_Impl::SetEventsContext( XMLEventsImportContext* pCtxt )
-{
- pEvents = pCtxt;
- if (pEvents != NULL)
- pEvents->AddRef();
-}
-
class XMLIndexMarkHint_Impl : public XMLHint_Impl
{