ooofilt.cxx (ff3f4ebc) | ooofilt.cxx (599cc5b4) |
---|---|
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 --- 1211 unchanged lines hidden (view full) --- 1220 //---------------------------------------------- 1221 1222 HRESULT RegisterPersistentHandler(const CLSID& FilterGuid, const CLSID& PersistentGuid) 1223 { 1224 std::string ClsidEntry_Persist = CLSID_GUID_ENTRY; 1225 SubstitutePlaceholder(ClsidEntry_Persist, GUID_PLACEHOLDER, ClsidToString(PersistentGuid)); 1226 1227 | 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 --- 1211 unchanged lines hidden (view full) --- 1220 //---------------------------------------------- 1221 1222 HRESULT RegisterPersistentHandler(const CLSID& FilterGuid, const CLSID& PersistentGuid) 1223 { 1224 std::string ClsidEntry_Persist = CLSID_GUID_ENTRY; 1225 SubstitutePlaceholder(ClsidEntry_Persist, GUID_PLACEHOLDER, ClsidToString(PersistentGuid)); 1226 1227 |
1228 if (!SetRegistryKey(HKEY_CLASSES_ROOT, ClsidEntry_Persist.c_str(), "", "Apache OpenOffice Persistent Handler")) | 1228 if (!SetRegistryKey(HKEY_CLASSES_ROOT, ClsidEntry_Persist.c_str(), "", "OpenOffice Persistent Handler")) |
1229 return E_FAIL; 1230 1231 // Add missing entry 1232 std::string ClsidEntry_Persist_Entry = CLSID_PERSIST_ENTRY; 1233 SubstitutePlaceholder(ClsidEntry_Persist_Entry, 1234 GUID_PLACEHOLDER, 1235 ClsidToString(PersistentGuid)); 1236 --- 251 unchanged lines hidden --- | 1229 return E_FAIL; 1230 1231 // Add missing entry 1232 std::string ClsidEntry_Persist_Entry = CLSID_PERSIST_ENTRY; 1233 SubstitutePlaceholder(ClsidEntry_Persist_Entry, 1234 GUID_PLACEHOLDER, 1235 ClsidToString(PersistentGuid)); 1236 --- 251 unchanged lines hidden --- |