diff options
Diffstat (limited to 'sw/source/ui/vba/vbaapplication.cxx')
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index c1da3cc3eb61..140da0b69711 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,7 +63,7 @@ using ::rtl::OUString; #define FILE_PATH_SEPERATOR "/" #else // windows #define FILE_PATH_SEPERATOR "\\" -#endif +#endif #define EXCELVERSION "11.0" @@ -95,7 +95,7 @@ SwVbaApplication::getActiveDocument() throw (uno::RuntimeException) return new SwVbaDocument( this, mxContext, getCurrentDocument() ); } -uno::Reference< word::XWindow > SAL_CALL +uno::Reference< word::XWindow > SAL_CALL SwVbaApplication::getActiveWindow() throw (uno::RuntimeException) { // #FIXME sofar can't determine Parent @@ -189,20 +189,20 @@ float SAL_CALL SwVbaApplication::CentimetersToPoints( float _Centimeters ) throw return VbaApplicationBase::CentimetersToPoints( _Centimeters ); } -uno::Reference< frame::XModel > +uno::Reference< frame::XModel > SwVbaApplication::getCurrentDocument() throw (css::uno::RuntimeException) { return getCurrentWordDoc( mxContext ); } -rtl::OUString& +rtl::OUString& SwVbaApplication::getServiceImplName() { static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("SwVbaApplication") ); return sImplName; } -uno::Sequence< rtl::OUString > +uno::Sequence< rtl::OUString > SwVbaApplication::getServiceNames() { static uno::Sequence< rtl::OUString > aServiceNames; |