summaryrefslogtreecommitdiff
path: root/sc/source/core/data/sheetevents.cxx
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2010-07-12 11:17:00 +0200
committerDaniel Rentz <dr@openoffice.org>2010-07-12 11:17:00 +0200
commit365321d410148c44f5310bdbd21c79edc7551597 (patch)
treed4b41a791af9019640eae0055c2fbc6883f7f148 /sc/source/core/data/sheetevents.cxx
parentd51b5501b66fd73252a4788ba0e2e215156c5488 (diff)
mib17: #i112634# API changes
Diffstat (limited to 'sc/source/core/data/sheetevents.cxx')
-rwxr-xr-xsc/source/core/data/sheetevents.cxx6
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;
}