controlmenucontroller.hxx (f8e07b45) controlmenucontroller.hxx (5758ad8c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 74 unchanged lines hidden (view full) ---

83 virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException );
84
85 private:
86 virtual void impl_setPopupMenu();
87 virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL);
88
89 class UrlToDispatchMap : public ::std::hash_map< ::rtl::OUString,
90 com::sun::star::uno::Reference< com::sun::star::frame::XDispatch >,
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 74 unchanged lines hidden (view full) ---

83 virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException );
84
85 private:
86 virtual void impl_setPopupMenu();
87 virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL);
88
89 class UrlToDispatchMap : public ::std::hash_map< ::rtl::OUString,
90 com::sun::star::uno::Reference< com::sun::star::frame::XDispatch >,
91 OUStringHashCode,
91 rtl::OUStringHash,
92 ::std::equal_to< ::rtl::OUString > >
93 {
94 public:
95 inline void free()
96 {
97 UrlToDispatchMap().swap( *this );
98 }
99 };

--- 12 unchanged lines hidden ---
92 ::std::equal_to< ::rtl::OUString > >
93 {
94 public:
95 inline void free()
96 {
97 UrlToDispatchMap().swap( *this );
98 }
99 };

--- 12 unchanged lines hidden ---