summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-07 01:07:51 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-08 05:34:20 +0100
commit56f3dbffdf5b3264c1c71201733e3ff6bb5e48cb (patch)
treee00509b726c470c3e97de33feb8545c5bca12041 /sd/source
parent27f7770e3e9be60b0caef8469666474151a753fb (diff)
Simplify a bit
Change-Id: I618b0f8bcb2e8032ee12367c73e1136685f66b3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176183 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
-rw-r--r--sd/source/filter/eppt/pptx-animations.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 7f1e2be5133b..79588352cfb2 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -1096,7 +1096,7 @@ bool AnimationExporter::exportAnimProperty( SvStream& rStrm, const sal_uInt16 nP
bool bRet = false;
if ( rAny.hasValue() )
{
- switch( rAny.getValueType().getTypeClass() )
+ switch( rAny.getValueTypeClass() )
{
case css::uno::TypeClass_UNSIGNED_SHORT :
case css::uno::TypeClass_SHORT :
diff --git a/sd/source/filter/eppt/pptx-animations.cxx b/sd/source/filter/eppt/pptx-animations.cxx
index 4120b3d7a73a..0029cc96c659 100644
--- a/sd/source/filter/eppt/pptx-animations.cxx
+++ b/sd/source/filter/eppt/pptx-animations.cxx
@@ -108,7 +108,7 @@ void WriteAnimationProperty(const FSHelperPtr& pFS, const Any& rAny, sal_Int32 n
sal_Int32 nRgb = {}; // spurious -Werror=maybe-uninitialized
double fDouble = {}; // spurious -Werror=maybe-uninitialized
- TypeClass aClass = rAny.getValueType().getTypeClass();
+ TypeClass aClass = rAny.getValueTypeClass();
bool bWriteToken
= nToken
&& (aClass == TypeClass_LONG || aClass == TypeClass_DOUBLE || aClass == TypeClass_STRING);
@@ -116,7 +116,7 @@ void WriteAnimationProperty(const FSHelperPtr& pFS, const Any& rAny, sal_Int32 n
if (bWriteToken)
pFS->startElementNS(XML_p, nToken);
- switch (rAny.getValueType().getTypeClass())
+ switch (rAny.getValueTypeClass())
{
case TypeClass_LONG:
if (!(rAny >>= nRgb))