summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window/gtkframe.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-10-09 14:21:04 +0000
committerKurt Zenker <kz@openoffice.org>2007-10-09 14:21:04 +0000
commit08006eb2bec850b69f8f1c228fbc06ed11b87061 (patch)
tree004fc62f462f8ee98fc9685b2684159eb7315eaa /vcl/unx/gtk/window/gtkframe.cxx
parent8ef800ed886efc663132c65824cc1d153b189e5a (diff)
INTEGRATION: CWS aquavcl03 (1.67.2); FILE MERGED
2007/10/02 09:11:55 pl 1.67.2.3: RESYNC: (1.68-1.69); FILE MERGED 2007/09/17 17:27:23 pl 1.67.2.2: RESYNC: (1.67-1.68); FILE MERGED 2007/09/06 15:42:39 pl 1.67.2.1: #i80230# make instance pointer of SalFrameProc a Window ptr explicitly
Diffstat (limited to 'vcl/unx/gtk/window/gtkframe.cxx')
-rw-r--r--vcl/unx/gtk/window/gtkframe.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index c39ab030c290..e86f79bcae73 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: gtkframe.cxx,v $
*
- * $Revision: 1.70 $
+ * $Revision: 1.71 $
*
- * last change: $Author: kz $ $Date: 2007-10-09 15:03:47 $
+ * last change: $Author: kz $ $Date: 2007-10-09 15:21:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -696,7 +696,7 @@ GtkSalFrame::GetAtkRole( GtkWindow* window )
{
role = aDefaultRole;
- Window *pWindow = static_cast <Window *> (pFrame->GetInstance());
+ Window *pWindow = pFrame->GetWindow();
if( pWindow )
{
// Determine the appropriate role for the GtkWindow
@@ -754,7 +754,7 @@ uno::Reference< accessibility::XAccessible >
GtkSalFrame::getAccessible( bool bCreate )
{
// Yes - this is a hack - but: this abstraction seems totally useless to me
- Window *pWindow = static_cast<Window *>(GetInstance());
+ Window *pWindow = GetWindow();
g_return_val_if_fail( pWindow != NULL, NULL );