sdmod1.cxx (7a32b0c8) sdmod1.cxx (3091fa8a)
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

--- 732 unchanged lines hidden (view full) ---

741
742 bMakeLayoutVisible = true;
743 }
744 }
745 pOpt->SetStartWithTemplate(bStartWithTemplate);
746 }
747 }
748 }
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

--- 732 unchanged lines hidden (view full) ---

741
742 bMakeLayoutVisible = true;
743 }
744 }
745 pOpt->SetStartWithTemplate(bStartWithTemplate);
746 }
747 }
748 }
749
750 if (bMakeLayoutVisible && pViewFrame!=NULL)
751 {
752 // Make the layout menu visible in the tool pane.
753 ::sd::ViewShellBase* pBase = ::sd::ViewShellBase::GetViewShellBase(pViewFrame);
754 if (pBase != NULL)
755 {
756 FrameworkHelper::Instance(*pBase)->RequestSidebarPanel(
757 FrameworkHelper::msLayoutTaskPanelURL);
758 }
759 }
760 }
761
762 return pFrame;
763}
764
765SfxFrame* SdModule::CreateEmptyDocument( DocumentType eDocType, const Reference< XFrame >& i_rFrame )
766{
767 SfxFrame* pFrame = 0;

--- 294 unchanged lines hidden ---
749 }
750
751 return pFrame;
752}
753
754SfxFrame* SdModule::CreateEmptyDocument( DocumentType eDocType, const Reference< XFrame >& i_rFrame )
755{
756 SfxFrame* pFrame = 0;

--- 294 unchanged lines hidden ---