summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaparagraphformat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaparagraphformat.cxx')
-rw-r--r--sw/source/ui/vba/vbaparagraphformat.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/vba/vbaparagraphformat.cxx b/sw/source/ui/vba/vbaparagraphformat.cxx
index 1fcd264b129a..8a2391f4c4d9 100644
--- a/sw/source/ui/vba/vbaparagraphformat.cxx
+++ b/sw/source/ui/vba/vbaparagraphformat.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
@@ -93,7 +93,7 @@ void SAL_CALL SwVbaParagraphFormat::setKeepTogether( const uno::Any& _keeptogeth
if( _keeptogether >>= bKeep )
{
mxParaProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ParaKeepTogether") ), uno::makeAny( bKeep ) );
- }
+ }
else
{
DebugHelper::exception( SbERR_BAD_PARAMETER, rtl::OUString() );
@@ -113,7 +113,7 @@ void SAL_CALL SwVbaParagraphFormat::setKeepWithNext( const uno::Any& _keepwithne
if( _keepwithnext >>= bKeep )
{
mxParaProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ParaSplit") ), uno::makeAny( bKeep ) );
- }
+ }
else
{
DebugHelper::exception( SbERR_BAD_PARAMETER, rtl::OUString() );
@@ -133,7 +133,7 @@ void SAL_CALL SwVbaParagraphFormat::setHyphenation( const uno::Any& _hyphenation
if( _hyphenation >>= bHypn )
{
mxParaProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ParaIsHyphenation") ), uno::makeAny( bHypn ) );
- }
+ }
else
{
DebugHelper::exception( SbERR_BAD_PARAMETER, rtl::OUString() );
@@ -181,7 +181,7 @@ void SAL_CALL SwVbaParagraphFormat::setNoLineNumber( const uno::Any& _nolinenumb
if( _nolinenumber >>= noLineNum )
{
mxParaProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ParaLineNumberCount") ), uno::makeAny( noLineNum ) );
- }
+ }
else
{
DebugHelper::exception( SbERR_BAD_PARAMETER, rtl::OUString() );
@@ -240,7 +240,7 @@ void SAL_CALL SwVbaParagraphFormat::setPageBreakBefore( const uno::Any& _breakbe
aBreakType = style::BreakType_PAGE_AFTER;
}
mxParaProps->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("BreakType") ), uno::makeAny( aBreakType ) );
- }
+ }
else
{
DebugHelper::exception( SbERR_BAD_PARAMETER, rtl::OUString() );
@@ -344,7 +344,7 @@ style::LineSpacing SwVbaParagraphFormat::getOOoLineSpacing( float _lineSpace, sa
style::LineSpacing aLineSpacing;
if( mode != style::LineSpacingMode::MINIMUM && mode != style::LineSpacingMode::FIX )
{
- // special behaviour of word: if the space is set to these values, the rule and
+ // special behaviour of word: if the space is set to these values, the rule and
// the height are changed accordingly
if( _lineSpace == CHARACTER_INDENT_FACTOR )
{
@@ -557,14 +557,14 @@ sal_Int32 SwVbaParagraphFormat::getMSWordAlignment( sal_Int32 _alignment )
return wdAlignment;
}
-rtl::OUString&
+rtl::OUString&
SwVbaParagraphFormat::getServiceImplName()
{
static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("SwVbaParagraphFormat") );
return sImplName;
}
-uno::Sequence< rtl::OUString >
+uno::Sequence< rtl::OUString >
SwVbaParagraphFormat::getServiceNames()
{
static uno::Sequence< rtl::OUString > aServiceNames;