tabvwshe.cxx (4d7c9de0) | tabvwshe.cxx (c5c7750d) |
---|---|
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 --- 232 unchanged lines hidden (view full) --- 241void ScTabViewShell::ExecSearch( SfxRequest& rReq ) 242{ 243 const SfxItemSet* pReqArgs = rReq.GetArgs(); 244 sal_uInt16 nSlot = rReq.GetSlot(); 245 const SfxPoolItem* pItem; 246 247 switch ( nSlot ) 248 { | 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 --- 232 unchanged lines hidden (view full) --- 241void ScTabViewShell::ExecSearch( SfxRequest& rReq ) 242{ 243 const SfxItemSet* pReqArgs = rReq.GetArgs(); 244 sal_uInt16 nSlot = rReq.GetSlot(); 245 const SfxPoolItem* pItem; 246 247 switch ( nSlot ) 248 { |
249 case FID_SEARCH_ON: 250 bSearchJustOpened = sal_True; 251 break; 252 |
|
249 case FID_SEARCH_NOW: 250 { 251 if ( pReqArgs && 252 SFX_ITEM_SET == pReqArgs->GetItemState(SID_SEARCH_ITEM, sal_False, &pItem) ) 253 { 254 DBG_ASSERT( pItem->ISA(SvxSearchItem), "falsches Item" ); 255 const SvxSearchItem* pSearchItem = (const SvxSearchItem*) pItem; 256 --- 123 unchanged lines hidden --- | 253 case FID_SEARCH_NOW: 254 { 255 if ( pReqArgs && 256 SFX_ITEM_SET == pReqArgs->GetItemState(SID_SEARCH_ITEM, sal_False, &pItem) ) 257 { 258 DBG_ASSERT( pItem->ISA(SvxSearchItem), "falsches Item" ); 259 const SvxSearchItem* pSearchItem = (const SvxSearchItem*) pItem; 260 --- 123 unchanged lines hidden --- |