summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaparagraph.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index df6fec751ab9..74afa8da6210 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.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
@@ -43,7 +43,7 @@ SwVbaParagraph::~SwVbaParagraph()
{
}
-uno::Reference< word::XRange > SAL_CALL
+uno::Reference< word::XRange > SAL_CALL
SwVbaParagraph::getRange( ) throw ( uno::RuntimeException )
{
return uno::Reference< word::XRange >( new SwVbaRange( this, mxContext, mxTextDocument, mxTextRange->getStart(), mxTextRange->getEnd(), mxTextRange->getText(), sal_True ) );
@@ -63,14 +63,14 @@ SwVbaParagraph::setStyle( const uno::Any& style ) throw ( uno::RuntimeException
xRange->setStyle( style );
}
-rtl::OUString&
+rtl::OUString&
SwVbaParagraph::getServiceImplName()
{
static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("SwVbaParagraph") );
return sImplName;
}
-uno::Sequence< rtl::OUString >
+uno::Sequence< rtl::OUString >
SwVbaParagraph::getServiceNames()
{
static uno::Sequence< rtl::OUString > aServiceNames;
@@ -90,7 +90,7 @@ class ParagraphCollectionHelper : public ParagraphCollectionHelper_BASE
{
private:
uno::Reference< text::XTextDocument > mxTextDocument;
-
+
uno::Reference< container::XEnumeration > getEnumeration() throw (uno::RuntimeException)
{
uno::Reference< container::XEnumerationAccess > xParEnumAccess( mxTextDocument->getText(), uno::UNO_QUERY_THROW );
@@ -118,7 +118,7 @@ public:
}
}
return nCount;
- }
+ }
virtual uno::Any SAL_CALL getByIndex( ::sal_Int32 Index ) throw (lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException )
{
if( Index < getCount() )
@@ -133,7 +133,7 @@ public:
if( Index == nCount )
return uno::makeAny( xServiceInfo );
nCount++;
- }
+ }
}
}
throw lang::IndexOutOfBoundsException();
@@ -142,7 +142,7 @@ public:
virtual uno::Reference< container::XEnumeration > SAL_CALL createEnumeration( ) throw (uno::RuntimeException)
{
return getEnumeration();
- }
+ }
};
SwVbaParagraphs::SwVbaParagraphs( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext, const uno::Reference< text::XTextDocument >& xDocument ) throw (uno::RuntimeException) : SwVbaParagraphs_BASE( xParent, xContext, new ParagraphCollectionHelper( xDocument ) ), mxTextDocument( xDocument )
@@ -169,14 +169,14 @@ SwVbaParagraphs::createCollectionObject( const css::uno::Any& aSource )
return uno::makeAny( uno::Reference< word::XParagraph >( new SwVbaParagraph( this, mxContext, mxTextDocument, xTextRange ) ) );
}
-rtl::OUString&
+rtl::OUString&
SwVbaParagraphs::getServiceImplName()
{
static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("SwVbaParagraphs") );
return sImplName;
}
-css::uno::Sequence<rtl::OUString>
+css::uno::Sequence<rtl::OUString>
SwVbaParagraphs::getServiceNames()
{
static uno::Sequence< rtl::OUString > sNames;