To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108805





------- Additional comments from yujinli...@openoffice.org Mon Feb  1 07:26:44 
+0000 2010 -------
my code :

--- sw/source/ui/uno/unotxdoc.cxx       2010-02-01 14:43:59.502259551 +0800
+++ sw/source/ui/uno/unotxdoc.cxx.new   2010-02-01 14:39:04.897797116 +0800
@@ -140,7 +140,7 @@
 #include <svx/svdoutl.hxx>
 #include <svtools/languageoptions.hxx>
 #include <svx/svdview.hxx>
-
+#include <sfx2/docfile.hxx> //for GetMedium()
 //
 //<--
 using namespace ::com::sun::star;
@@ -2831,6 +2831,10 @@
         {
             lcl_DisposeView( m_pHiddenViewFrame, pDocShell );
             m_pHiddenViewFrame = 0;
+           SwDocShell *pRenderDocShell = pDoc->GetDocShell();
+           SfxItemSet *pSet = pRenderDocShell->GetMedium()->GetItemSet();
+           pSet->Put( SfxBoolItem( SID_HIDDEN, sal_False ) );
+
         }
     }
 }

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to