diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-01-16 09:04:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-01-16 11:39:03 +0100 |
commit | e1e308bc4564f596bde5cd4c96b75d3b8c672e95 (patch) | |
tree | a3aafe7b01d1e14f27a9a47afcf95bf08b47c818 /cppuhelper/source/component_context.cxx | |
parent | fb8f3fac70ecfcc2b8612dbf71308cbea39ca789 (diff) |
Remove support for UNO_AC* bootstrap variables
...they had effectively never been used.
Change-Id: I514f2b844661e144cef758eb3ce7c4607ffad635
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index c168aa2a32b7..18e150c528ca 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -59,7 +59,6 @@ #define SMGR_SINGLETON "/singletons/com.sun.star.lang.theServiceManager" #define TDMGR_SINGLETON "/singletons/com.sun.star.reflection.theTypeDescriptionManager" #define AC_SINGLETON "/singletons/com.sun.star.security.theAccessController" -#define AC_POLICY "/singletons/com.sun.star.security.thePolicy" #define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) ) @@ -694,7 +693,7 @@ void ComponentContext::disposing() ::fprintf( stderr, "> disposing context %p\n", this ); #endif - Reference< lang::XComponent > xTDMgr, xAC, xPolicy; // to be disposed separately + Reference< lang::XComponent > xTDMgr, xAC; // to be disposed separately // dispose all context objects t_map::const_iterator iPos( m_map.begin() ); @@ -731,10 +730,6 @@ void ComponentContext::disposing() { xAC = xComp; } - else if ( iPos->first == AC_POLICY ) - { - xPolicy = xComp; - } else // dispose immediately { xComp->dispose(); @@ -748,8 +743,6 @@ void ComponentContext::disposing() m_xSMgr.clear(); // dispose ac try_dispose( xAC ); - // dispose policy - try_dispose( xPolicy ); // dispose tdmgr; revokes callback from cppu runtime try_dispose( xTDMgr ); |