--- binfilter/inc/bf_sfx2/urlframe.hxx.old	2005-09-09 14:44:44.000000000 +0200
+++ binfilter/inc/bf_sfx2/urlframe.hxx	2005-12-12 13:15:31.000000000 +0100
@@ -63,6 +63,8 @@
 class SfxURLFrame : public SfxFrame
 {
 //STRIP001 	SfxURLFrameWindow_Impl*	pWindow;
+// this variable is only necessary to avoid a warning, see the method GetWindow
+Window *pFakeWindow;
 //STRIP001 	SfxURLFrame_Impl*		pImp;
 //STRIP001 	SfxFrameSetViewShell*	pFrameSet;
 
@@ -85,7 +87,9 @@
 										SfxReleasableFrame* pRel,
 										SfxFrame* pParent );
 
-							virtual Window&     	GetWindow() const{DBG_BF_ASSERT(0, "STRIP"); Window aWindow(NULL,0); return aWindow;} //STRIP001 virtual Window&     	GetWindow() const;
+// the variable pFakeWindow is used to avoid
+// warning: reference to local variable ‘aFakeWindow’ returned
+							virtual Window&     	GetWindow() const{DBG_BF_ASSERT(0, "STRIP"); return *pFakeWindow;} //STRIP001 virtual Window&     	GetWindow() const;
 //STRIP001 	DockingWindow*			GetDockingWindow() const;
 //STRIP001 	const INetURLObject&	GetURL() const
 //STRIP001 							{ return GetDescriptor()->GetActualURL(); }
