summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbafont.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 16:22:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:38:56 +0200
commitca734f7cfa55814a85d5940e5f64d7c53638f6a7 (patch)
tree6958c7a84693891a687f29eead25297da0470e46 /sw/source/ui/vba/vbafont.cxx
parentdc3b0983561f9166da9f3d48f8c64f9077193b0c (diff)
Just use Any ctor instead of makeAny in sw
Change-Id: I2c9023ba8d07314d23ae7a65e670e8748c5e9322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133766 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbafont.cxx')
-rw-r--r--sw/source/ui/vba/vbafont.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbafont.cxx b/sw/source/ui/vba/vbafont.cxx
index 79642b3109f4..6a6442544a0e 100644
--- a/sw/source/ui/vba/vbafont.cxx
+++ b/sw/source/ui/vba/vbafont.cxx
@@ -120,7 +120,7 @@ SwVbaFont::getUnderline()
{
sal_Int32 nOOVal = 0;
mxFont->getPropertyValue( UnderLineMapper::propName() ) >>= nOOVal;
- return uno::makeAny( UnderLineMapper::instance().getMSOFromOOO( nOOVal ) );
+ return uno::Any( UnderLineMapper::instance().getMSOFromOOO( nOOVal ) );
}
void SAL_CALL
@@ -131,7 +131,7 @@ SwVbaFont::setUnderline( const uno::Any& _underline )
if ( _underline >>= nMSOVal )
{
sal_Int32 nOOVal = UnderLineMapper::instance().getOOOFromMSO( nMSOVal );
- mxFont->setPropertyValue( UnderLineMapper::propName(), uno::makeAny( nOOVal ) );
+ mxFont->setPropertyValue( UnderLineMapper::propName(), uno::Any( nOOVal ) );
}
}
@@ -167,7 +167,7 @@ SwVbaFont::getColorIndex()
break;
}
}
- return uno::makeAny( nIndex );
+ return uno::Any( nIndex );
}
uno::Any SAL_CALL
SwVbaFont::getSubscript()