summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appbas.cxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-05 00:27:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:12:59 +0000
commitd2e0d10d481f76e142635463bdccb6bc6706cc13 (patch)
treed48219085685d419f25745e769b7bac5e11d8837 /sfx2/source/appl/appbas.cxx
parent738aefb51aa034188a5342b4b04e15629038e087 (diff)
tdf#89329: use unique_ptr for pImpl in app
Change-Id: Ia4e53f6e2973c1dd439e22bd93329bfc6e21ba75 Reviewed-on: https://gerrit.libreoffice.org/25908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r--sfx2/source/appl/appbas.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 7aa28398cab5..b092a13fb1f8 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -89,8 +89,8 @@ using ::basic::BasicManagerRepository;
void SfxApplication::SaveBasicAndDialogContainer() const
{
- if ( pAppData_Impl->pBasicManager->isValid() )
- pAppData_Impl->pBasicManager->storeAllLibraries();
+ if ( pImpl->pBasicManager->isValid() )
+ pImpl->pBasicManager->storeAllLibraries();
}
BasicManager* SfxApplication::GetBasicManager()
@@ -111,9 +111,9 @@ XLibraryContainer * SfxApplication::GetDialogContainer()
#else
if (utl::ConfigManager::IsAvoidConfig())
return nullptr;
- if ( !pAppData_Impl->pBasicManager->isValid() )
+ if ( !pImpl->pBasicManager->isValid() )
GetBasicManager();
- return pAppData_Impl->pBasicManager->getLibraryContainer( SfxBasicManagerHolder::DIALOGS );
+ return pImpl->pBasicManager->getLibraryContainer( SfxBasicManagerHolder::DIALOGS );
#endif
}
@@ -125,9 +125,9 @@ XLibraryContainer * SfxApplication::GetBasicContainer()
#else
if (utl::ConfigManager::IsAvoidConfig())
return nullptr;
- if ( !pAppData_Impl->pBasicManager->isValid() )
+ if ( !pImpl->pBasicManager->isValid() )
GetBasicManager();
- return pAppData_Impl->pBasicManager->getLibraryContainer( SfxBasicManagerHolder::SCRIPTS );
+ return pImpl->pBasicManager->getLibraryContainer( SfxBasicManagerHolder::SCRIPTS );
#endif
}