uiregionsw.cxx (4d7c9de0) uiregionsw.cxx (dec99bbd)
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

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

129 }
130 }
131}
132
133void lcl_FillSubRegionList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAvailNames )
134{
135 lcl_FillList( rSh, rSubRegions, pAvailNames, 0 );
136 IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess();
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

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

129 }
130 }
131}
132
133void lcl_FillSubRegionList( SwWrtShell& rSh, ComboBox& rSubRegions, ComboBox* pAvailNames )
134{
135 lcl_FillList( rSh, rSubRegions, pAvailNames, 0 );
136 IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess();
137 for( IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getMarksBegin();
138 ppMark != pMarkAccess->getMarksEnd();
137 for( IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getBookmarksBegin();
138 ppMark != pMarkAccess->getBookmarksBegin();
139 ppMark++)
140 {
141 const ::sw::mark::IMark* pBkmk = ppMark->get();
142 if( pBkmk->IsExpanded() )
143 rSubRegions.InsertEntry( pBkmk->GetName() );
144 }
145}
146

--- 2318 unchanged lines hidden ---
139 ppMark++)
140 {
141 const ::sw::mark::IMark* pBkmk = ppMark->get();
142 if( pBkmk->IsExpanded() )
143 rSubRegions.InsertEntry( pBkmk->GetName() );
144 }
145}
146

--- 2318 unchanged lines hidden ---