substitutepathvars.hxx (f8e07b45) | substitutepathvars.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 --- 94 unchanged lines hidden (view full) --- 103{ 104 SubstitutePathNotify() {}; 105 106 const com::sun::star::uno::Sequence<rtl::OUString> aPropertyNames; 107}; 108 109class SubstituteVariables : public ::std::hash_map< ::rtl::OUString, 110 SubstituteRule, | 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 --- 94 unchanged lines hidden (view full) --- 103{ 104 SubstitutePathNotify() {}; 105 106 const com::sun::star::uno::Sequence<rtl::OUString> aPropertyNames; 107}; 108 109class SubstituteVariables : public ::std::hash_map< ::rtl::OUString, 110 SubstituteRule, |
111 OUStringHashCode, | 111 rtl::OUStringHash, |
112 ::std::equal_to< ::rtl::OUString > > 113{ 114 public: 115 inline void free() 116 { 117 SubstituteVariables().swap( *this ); 118 } 119}; --- 151 unchanged lines hidden (view full) --- 271 rtl::OUString impl_reSubstituteVariables( const ::rtl::OUString& aText ) 272 throw (::com::sun::star::uno::RuntimeException); 273 ::rtl::OUString impl_getSubstituteVariableValue( const ::rtl::OUString& variable ) 274 throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); 275 276 private: 277 class VarNameToIndexMap : public std::hash_map< ::rtl::OUString, 278 PreDefVariable, | 112 ::std::equal_to< ::rtl::OUString > > 113{ 114 public: 115 inline void free() 116 { 117 SubstituteVariables().swap( *this ); 118 } 119}; --- 151 unchanged lines hidden (view full) --- 271 rtl::OUString impl_reSubstituteVariables( const ::rtl::OUString& aText ) 272 throw (::com::sun::star::uno::RuntimeException); 273 ::rtl::OUString impl_getSubstituteVariableValue( const ::rtl::OUString& variable ) 274 throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); 275 276 private: 277 class VarNameToIndexMap : public std::hash_map< ::rtl::OUString, 278 PreDefVariable, |
279 OUStringHashCode, | 279 rtl::OUStringHash, |
280 ::std::equal_to< ::rtl::OUString > > 281 { 282 inline void free() 283 { 284 VarNameToIndexMap().swap( *this ); 285 } 286 }; 287 --- 16 unchanged lines hidden --- | 280 ::std::equal_to< ::rtl::OUString > > 281 { 282 inline void free() 283 { 284 VarNameToIndexMap().swap( *this ); 285 } 286 }; 287 --- 16 unchanged lines hidden --- |