summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbafont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbafont.cxx')
-rw-r--r--sw/source/ui/vba/vbafont.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/ui/vba/vbafont.cxx b/sw/source/ui/vba/vbafont.cxx
index 76803fa216e2..91fa3d605659 100644
--- a/sw/source/ui/vba/vbafont.cxx
+++ b/sw/source/ui/vba/vbafont.cxx
@@ -25,8 +25,8 @@ static MapPair UnderLineTable[] = {
{ word::WdUnderline::wdUnderlineDouble, com::sun::star::awt::FontUnderline::DOUBLE },
{ word::WdUnderline::wdUnderlineDotted, com::sun::star::awt::FontUnderline::DOTTED },
{ word::WdUnderline::wdUnderlineThick, com::sun::star::awt::FontUnderline::BOLDDASH },
- { word::WdUnderline::wdUnderlineDash, com::sun::star::awt::FontUnderline::DASH },
- { word::WdUnderline::wdUnderlineDotDash, com::sun::star::awt::FontUnderline::DASHDOT },
+ { word::WdUnderline::wdUnderlineDash, com::sun::star::awt::FontUnderline::DASH },
+ { word::WdUnderline::wdUnderlineDotDash, com::sun::star::awt::FontUnderline::DASHDOT },
{ word::WdUnderline::wdUnderlineDotDotDash, com::sun::star::awt::FontUnderline::DASHDOTDOT },
{ word::WdUnderline::wdUnderlineWavy, com::sun::star::awt::FontUnderline::WAVE },
{ word::WdUnderline::wdUnderlineDottedHeavy, com::sun::star::awt::FontUnderline::BOLDDOTTED },
@@ -65,7 +65,7 @@ public:
static UnderLineMapper& instance()
{
static UnderLineMapper theMapper;
- return theMapper;
+ return theMapper;
}
sal_Int32 getOOOFromMSO( sal_Int32 nMSOConst ) throw( lang::IllegalArgumentException )
@@ -88,7 +88,7 @@ SwVbaFont::SwVbaFont( const uno::Reference< XHelperInterface >& xParent, const u
{
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getUnderline() throw (uno::RuntimeException)
{
sal_Int32 nOOVal = 0;
@@ -96,7 +96,7 @@ SwVbaFont::getUnderline() throw (uno::RuntimeException)
return uno::makeAny( UnderLineMapper::instance().getMSOFromOOO( nOOVal ) );
}
-void SAL_CALL
+void SAL_CALL
SwVbaFont::setUnderline( const uno::Any& _underline ) throw (uno::RuntimeException)
{
sal_Int32 nMSOVal = 0;
@@ -121,7 +121,7 @@ SwVbaFont::setColorIndex( const uno::Any& _colorindex ) throw( uno::RuntimeExcep
sal_Int32 nIndex = 0;
_colorindex >>= nIndex;
return setColor( OORGBToXLRGB(mxPalette->getByIndex( nIndex )) );
-}
+}
uno::Any SAL_CALL
SwVbaFont::getColorIndex() throw ( uno::RuntimeException )
@@ -142,8 +142,8 @@ SwVbaFont::getColorIndex() throw ( uno::RuntimeException )
}
}
return uno::makeAny( nIndex );
-}
-uno::Any SAL_CALL
+}
+uno::Any SAL_CALL
SwVbaFont::getSubscript() throw ( uno::RuntimeException )
{
sal_Bool bRes = sal_False;
@@ -153,7 +153,7 @@ SwVbaFont::getSubscript() throw ( uno::RuntimeException )
return aLongAnyFalse;
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getSuperscript() throw ( uno::RuntimeException )
{
sal_Bool bRes = sal_False;
@@ -163,7 +163,7 @@ SwVbaFont::getSuperscript() throw ( uno::RuntimeException )
return aLongAnyFalse;
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getBold() throw (uno::RuntimeException)
{
sal_Bool bRes = sal_False;
@@ -173,7 +173,7 @@ SwVbaFont::getBold() throw (uno::RuntimeException)
return aLongAnyFalse;
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getItalic() throw (uno::RuntimeException)
{
sal_Bool bRes = sal_False;
@@ -183,7 +183,7 @@ SwVbaFont::getItalic() throw (uno::RuntimeException)
return aLongAnyFalse;
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getStrikethrough() throw (css::uno::RuntimeException)
{
sal_Bool bRes = sal_False;
@@ -193,7 +193,7 @@ SwVbaFont::getStrikethrough() throw (css::uno::RuntimeException)
return aLongAnyFalse;
}
-uno::Any SAL_CALL
+uno::Any SAL_CALL
SwVbaFont::getShadow() throw (uno::RuntimeException)
{
sal_Bool bRes = sal_False;