diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2001-01-30 12:10:00 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2001-01-30 12:10:00 +0000 |
commit | 213383fcb19247dc44892455d9b4d7242750f9b1 (patch) | |
tree | 238cbcd354353f8fc077a52335ff4bb36c418456 /xmloff/source/text | |
parent | 643192e81efa7800eb0d9602061bcac04338e6fe (diff) |
- rename XEventSupplier to XEventsSupplier
(neccessary due to API change and a garbled typedef)
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 16 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextShapeStyleContext.cxx | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 4dfd0b1d7157..6bcb99c461f8 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTextFrameContext.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: mib $ $Date: 2001-01-26 11:18:11 $ + * last change: $Author: dvo $ $Date: 2001-01-30 13:10:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -84,8 +84,8 @@ #ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_ #include <com/sun/star/drawing/XShape.hpp> #endif -#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTSUPPLIER_HPP -#include <com/sun/star/document/XEventSupplier.hpp> +#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTSSUPPLIER_HPP +#include <com/sun/star/document/XEventsSupplier.hpp> #endif #ifndef _XMLOFF_XMLIMP_HXX @@ -136,7 +136,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::container; using namespace ::com::sun::star::drawing; -using ::com::sun::star::document::XEventSupplier; +using ::com::sun::star::document::XEventsSupplier; class XMLTextFrameDescContext_Impl : public SvXMLImportContext { @@ -765,12 +765,12 @@ SvXMLImportContext *XMLTextFrameContext::CreateChildContext( if (xPropSet.is()) { // is it an event supplier? - Reference<XEventSupplier> xEventSupplier(xPropSet, UNO_QUERY); - if (xEventSupplier.is()) + Reference<XEventsSupplier> xEventsSupplier(xPropSet, UNO_QUERY); + if (xEventsSupplier.is()) { // OK, we have the events, so create the context pContext = new XMLEventsImportContext(GetImport(), nPrefix, - rLocalName, xEventSupplier); + rLocalName, xEventsSupplier); } // else: no events, no event import } diff --git a/xmloff/source/text/XMLTextShapeStyleContext.cxx b/xmloff/source/text/XMLTextShapeStyleContext.cxx index c0117d4d71be..133946aca04a 100644 --- a/xmloff/source/text/XMLTextShapeStyleContext.cxx +++ b/xmloff/source/text/XMLTextShapeStyleContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTextShapeStyleContext.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: mib $ $Date: 2001-01-05 17:05:03 $ + * last change: $Author: dvo $ $Date: 2001-01-30 13:10:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,8 +62,8 @@ #ifndef _TOOLS_DEBUG_HXX #include <tools/debug.hxx> #endif -#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTSUPPLIER_HPP -#include <com/sun/star/document/XEventSupplier.hpp> +#ifndef _COM_SUN_STAR_DOCUMENT_XEVENTSSUPPLIER_HPP +#include <com/sun/star/document/XEventsSupplier.hpp> #endif #ifndef _XMLOFF_XMLNMSPE_HXX #include "xmlnmspe.hxx" @@ -274,8 +274,8 @@ void XMLTextShapeStyleContext::CreateAndInsert( sal_Bool bOverwrite ) if( xEventContext.Is() ) { // set event suppplier and release reference to context - Reference<XEventSupplier> xEventSupplier(xStyle, UNO_QUERY); - ((XMLEventsImportContext *)&xEventContext)->SetEvents(xEventSupplier); + Reference<XEventsSupplier> xEventsSupplier(xStyle, UNO_QUERY); + ((XMLEventsImportContext *)&xEventContext)->SetEvents(xEventsSupplier); xEventContext = 0; } } |