syschild.cxx (bde8a4bd) | syschild.cxx (cc13e73e) |
---|---|
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 --- 228 unchanged lines hidden (view full) --- 237 238sal_IntPtr SystemChildWindow::GetParentWindowHandle( sal_Bool bUseJava ) 239{ 240 sal_IntPtr nRet = 0; 241 242 (void)bUseJava; 243#if defined WNT 244 nRet = reinterpret_cast< sal_IntPtr >( GetSystemData()->hWnd ); | 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 --- 228 unchanged lines hidden (view full) --- 237 238sal_IntPtr SystemChildWindow::GetParentWindowHandle( sal_Bool bUseJava ) 239{ 240 sal_IntPtr nRet = 0; 241 242 (void)bUseJava; 243#if defined WNT 244 nRet = reinterpret_cast< sal_IntPtr >( GetSystemData()->hWnd ); |
245#elif defined OS2 246 nRet = reinterpret_cast< sal_IntPtr >( (long)GetSystemData()->hWnd ); |
|
245#elif defined QUARTZ 246 // FIXME: this is wrong 247 nRet = reinterpret_cast< sal_IntPtr >( GetSystemData()->mpNSView ); 248#elif defined UNX 249 if( !bUseJava ) 250 { 251 nRet = (sal_IntPtr) GetSystemData()->aWindow; 252 } --- 86 unchanged lines hidden --- | 247#elif defined QUARTZ 248 // FIXME: this is wrong 249 nRet = reinterpret_cast< sal_IntPtr >( GetSystemData()->mpNSView ); 250#elif defined UNX 251 if( !bUseJava ) 252 { 253 nRet = (sal_IntPtr) GetSystemData()->aWindow; 254 } --- 86 unchanged lines hidden --- |