summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unoobj.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-14 19:28:09 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-24 07:43:12 +0100
commit7fce875718687e12df4d7a8b997ca7baea548b91 (patch)
tree0668e4f9658ef87944458d2b3e87a956cebcbf7e /sd/source/ui/unoidl/unoobj.cxx
parent2ca32d2905aaf42ca3feaae04a55500c708fe8ad (diff)
Turn SD_MOD macro to a function
Change-Id: I1303e9d48e92ac00eee12af9ed299cdaad2ce009 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177072 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source/ui/unoidl/unoobj.cxx')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 39e81fdc2c49..49633f61bc30 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -307,7 +307,7 @@ uno::Sequence< uno::Type > SAL_CALL SdXShape::getTypes()
{
SdrObjKind nObjId = mpShape->getShapeKind();
uno::Sequence< uno::Type > aTypes;
- SdTypesCache& gImplTypesCache = SD_MOD()->gImplTypesCache;
+ SdTypesCache& gImplTypesCache = SdModule::get()->gImplTypesCache;
SdTypesCache::iterator aIter( gImplTypesCache.find( nObjId ) );
if( aIter == gImplTypesCache.end() )
{
@@ -382,7 +382,7 @@ css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL SdXShape::getProper
css::uno::Reference<css::beans::XPropertySetInfo> pInfo;
SdExtPropertySetInfoCache& rCache = (mpModel && mpModel->IsImpressDocument()) ?
- SD_MOD()->gImplImpressPropertySetInfoCache : SD_MOD()->gImplDrawPropertySetInfoCache;
+ SdModule::get()->gImplImpressPropertySetInfoCache : SdModule::get()->gImplDrawPropertySetInfoCache;
SdExtPropertySetInfoCache::iterator aIter( rCache.find( nObjId ) );
if( aIter == rCache.end() )