diff -urN sfx2orig/inc/topfrm.hxx sfx2/inc/topfrm.hxx
--- sfx2orig/inc/topfrm.hxx	2006-06-20 06:05:14.000000000 +0800
+++ sfx2/inc/topfrm.hxx	2006-10-17 19:24:30.625000000 +0800
@@ -87,13 +87,13 @@
 	String				GetWindowData();
 
     void                SetPresentationMode( BOOL bSet );
+    SystemWindow*       GetTopWindow_Impl() const;
 
 #if _SOLAR__PRIVATE
     SAL_DLLPRIVATE void LockResize_Impl( BOOL bLock );
     SAL_DLLPRIVATE void SetMenuBarOn_Impl( BOOL bOn );
     SAL_DLLPRIVATE BOOL IsMenuBarOn_Impl() const;
 	SAL_DLLPRIVATE BOOL InsertDocument_Impl( SfxObjectShell *pDoc, USHORT nViewId=0 );
-    SAL_DLLPRIVATE SystemWindow* GetTopWindow_Impl() const;
 	SAL_DLLPRIVATE void CheckMenuCloser_Impl( MenuBar* pMenubar );
 #endif
 };
@@ -126,14 +127,14 @@
     virtual void            SetZoomFactor( const Fraction &rZoomX, const Fraction &rZoomY );
 	SAL_DLLPRIVATE virtual BOOL SetBorderPixelImpl( const SfxViewShell *pSh, const SvBorder &rBorder );
 	virtual String			UpdateTitle();
+	SfxTopFrame*            GetTopFrame_Impl()
+                                { return (SfxTopFrame*) GetFrame(); }
 
 #if _SOLAR__PRIVATE
 	SAL_DLLPRIVATE void Exec_Impl(SfxRequest &);
 	SAL_DLLPRIVATE void GetState_Impl(SfxItemSet &);
 	SAL_DLLPRIVATE void INetExecute_Impl(SfxRequest &);
 	SAL_DLLPRIVATE void INetState_Impl(SfxItemSet &);
-    SAL_DLLPRIVATE SfxTopFrame* GetTopFrame_Impl()
-                            { return (SfxTopFrame*) GetFrame(); }
 #endif
 };
 
