diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-07-12 11:17:00 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-07-12 11:17:00 +0200 |
commit | 365321d410148c44f5310bdbd21c79edc7551597 (patch) | |
tree | d4b41a791af9019640eae0055c2fbc6883f7f148 /sc/source/core/data/sheetevents.cxx | |
parent | d51b5501b66fd73252a4788ba0e2e215156c5488 (diff) |
mib17: #i112634# API changes
Diffstat (limited to 'sc/source/core/data/sheetevents.cxx')
-rwxr-xr-x | sc/source/core/data/sheetevents.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/sheetevents.cxx b/sc/source/core/data/sheetevents.cxx index 6086eb84dcbb..e1875b5db15b 100755 --- a/sc/source/core/data/sheetevents.cxx +++ b/sc/source/core/data/sheetevents.cxx @@ -34,7 +34,7 @@ // INCLUDE --------------------------------------------------------------- #include "sheetevents.hxx" -#include <com/sun/star/script/vba/EventIdentifier.hpp> +#include <com/sun/star/script/vba/VBAEventId.hpp> #include <tools/debug.hxx> // ----------------------------------------------------------------------- @@ -64,7 +64,7 @@ rtl::OUString ScSheetEvents::GetEventName(sal_Int32 nEvent) // static sal_Int32 ScSheetEvents::GetVbaSheetEventId(sal_Int32 nEvent) { - using namespace ::com::sun::star::script::vba::EventIdentifier; + using namespace ::com::sun::star::script::vba::VBAEventId; if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) { DBG_ERRORFILE("invalid event number"); @@ -87,7 +87,7 @@ sal_Int32 ScSheetEvents::GetVbaSheetEventId(sal_Int32 nEvent) // static sal_Int32 ScSheetEvents::GetVbaDocumentEventId(sal_Int32 nEvent) { - using namespace ::com::sun::star::script::vba::EventIdentifier; + using namespace ::com::sun::star::script::vba::VBAEventId; sal_Int32 nSheetEventId = GetVbaSheetEventId(nEvent); return (nSheetEventId != NO_EVENT) ? (nSheetEventId + USERDEFINED_START) : NO_EVENT; } |