edtwin2.cxx (efeef26f) | edtwin2.cxx (ef785786) |
---|---|
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} 105 106 107void SwEditWin::RequestHelp(const HelpEvent &rEvt) 108{ 109 SwWrtShell &rSh = rView.GetWrtShell(); 110 sal_Bool bQuickBalloon = 0 != (rEvt.GetMode() & ( HELPMODE_QUICK | HELPMODE_BALLOON )); | 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} 105 106 107void SwEditWin::RequestHelp(const HelpEvent &rEvt) 108{ 109 SwWrtShell &rSh = rView.GetWrtShell(); 110 sal_Bool bQuickBalloon = 0 != (rEvt.GetMode() & ( HELPMODE_QUICK | HELPMODE_BALLOON )); |
111 if(bQuickBalloon && rSh.GetViewOptions()->IsPreventTips()) | 111 if(bQuickBalloon && !rSh.GetViewOptions()->IsShowContentTips()) |
112 return; 113 sal_Bool bWeiter = sal_True; 114 SET_CURR_SHELL(&rSh); 115 String sTxt; 116 Point aPos( PixelToLogic( ScreenToOutputPixel( rEvt.GetMousePosPixel() ) )); 117 sal_Bool bBalloon = static_cast< sal_Bool >(rEvt.GetMode() & HELPMODE_BALLOON); 118 119 SdrView *pSdrView = rSh.GetDrawView(); --- 469 unchanged lines hidden --- | 112 return; 113 sal_Bool bWeiter = sal_True; 114 SET_CURR_SHELL(&rSh); 115 String sTxt; 116 Point aPos( PixelToLogic( ScreenToOutputPixel( rEvt.GetMousePosPixel() ) )); 117 sal_Bool bBalloon = static_cast< sal_Bool >(rEvt.GetMode() & HELPMODE_BALLOON); 118 119 SdrView *pSdrView = rSh.GetDrawView(); --- 469 unchanged lines hidden --- |