FullScreenPane.cxx (79aad27f) | FullScreenPane.cxx (b862c97c) |
---|---|
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 --- 147 unchanged lines hidden (view full) --- 156 157void SAL_CALL FullScreenPane::setVisible (const sal_Bool bIsVisible) 158 throw (RuntimeException) 159{ 160 ThrowIfDisposed(); 161 162 if (mpWindow != NULL) 163 mpWindow->Show(bIsVisible); | 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 --- 147 unchanged lines hidden (view full) --- 156 157void SAL_CALL FullScreenPane::setVisible (const sal_Bool bIsVisible) 158 throw (RuntimeException) 159{ 160 ThrowIfDisposed(); 161 162 if (mpWindow != NULL) 163 mpWindow->Show(bIsVisible); |
164 if (mpWorkWindow != NULL) | 164 if( bool(mpWorkWindow)) |
165 mpWorkWindow->Show(bIsVisible); 166} 167 168 169 170 171Reference<accessibility::XAccessible> SAL_CALL FullScreenPane::getAccessible (void) 172 throw (RuntimeException) 173{ 174 ThrowIfDisposed(); 175 | 165 mpWorkWindow->Show(bIsVisible); 166} 167 168 169 170 171Reference<accessibility::XAccessible> SAL_CALL FullScreenPane::getAccessible (void) 172 throw (RuntimeException) 173{ 174 ThrowIfDisposed(); 175 |
176 if (mpWorkWindow != NULL) | 176 if( bool(mpWorkWindow)) |
177 return mpWorkWindow->GetAccessible(sal_False); 178 else 179 return NULL; 180} 181 182 183 184 --- 106 unchanged lines hidden --- | 177 return mpWorkWindow->GetAccessible(sal_False); 178 else 179 return NULL; 180} 181 182 183 184 --- 106 unchanged lines hidden --- |