Kaydet (Commit) cec1323e authored tarafından Michael Meeks's avatar Michael Meeks

remove redundant mmeeks comments around the place for misc. code pointers.

Change-Id: I53cf0596b39b00b634724db701d784dd4ab12281
üst 323dbd38
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</node> </node>
<node oor:name="F3" oor:op="replace"> <node oor:name="F3" oor:op="replace">
<prop oor:name="ServiceName"> <prop oor:name="ServiceName">
<value>com.sun.star.drawing.framework.TaskPanelFactory</value> <!-- MMeeks --> <value>com.sun.star.drawing.framework.TaskPanelFactory</value>
</prop> </prop>
<node oor:name="ResourceList"> <node oor:name="ResourceList">
<node oor:name="R0a" oor:op="replace"> <node oor:name="R0a" oor:op="replace">
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
</prop> </prop>
</node> </node>
<node oor:name="R0c" oor:op="replace"> <node oor:name="R0c" oor:op="replace">
<prop oor:name="URL"> <!-- MMeeks renamed from UsedMasterPages --> <prop oor:name="URL">
<value>private:resource/toolpanel/DrawingFramework/MasterPages</value> <value>private:resource/toolpanel/DrawingFramework/MasterPages</value>
</prop> </prop>
</node> </node>
......
...@@ -194,7 +194,7 @@ void ToolPanelChildWindow::ActivateToolPanel( const OUString& i_rPanelURL ) ...@@ -194,7 +194,7 @@ void ToolPanelChildWindow::ActivateToolPanel( const OUString& i_rPanelURL )
if ( i_rPanelURL.indexOf( framework::FrameworkHelper::msTaskPanelURLPrefix ) == 0 ) if ( i_rPanelURL.indexOf( framework::FrameworkHelper::msTaskPanelURLPrefix ) == 0 )
{ {
// it's one of our standard panels known to the drawing framework // it's one of our standard panels known to the drawing framework
pFrameworkHelper->RequestSidebarPanel( i_rPanelURL ); // MMeeks pFrameworkHelper->RequestSidebarPanel( i_rPanelURL );
} }
else else
{ {
......
...@@ -198,7 +198,9 @@ const OUString FrameworkHelper::msViewTabBarURL( msToolBarURLPrefix + "ViewTabBa ...@@ -198,7 +198,9 @@ const OUString FrameworkHelper::msViewTabBarURL( msToolBarURLPrefix + "ViewTabBa
// Task panel URLs. // Task panel URLs.
const OUString FrameworkHelper::msTaskPanelURLPrefix("private:resource/toolpanel/DrawingFramework/"); // MMeeks - checkout uielementfactorymanager.cxx (WindowContentFactoryManager::RetrieveTypeNameFromResourceURL) to get somewhere here ... // cf. uielementfactorymanager.cxx (WindowContentFactoryManager::RetrieveTypeNameFromResourceURL) which
// requires the DrawingFramework/ sub-path to get it's lookup right.
const OUString FrameworkHelper::msTaskPanelURLPrefix("private:resource/toolpanel/DrawingFramework/");
// const OUString FrameworkHelper::msTaskPanelURLPrefix( "private:resource/toolpanel/" ); // const OUString FrameworkHelper::msTaskPanelURLPrefix( "private:resource/toolpanel/" );
const OUString FrameworkHelper::msMasterPagesTaskPanelURL( msTaskPanelURLPrefix + "MasterPages"); const OUString FrameworkHelper::msMasterPagesTaskPanelURL( msTaskPanelURLPrefix + "MasterPages");
......
...@@ -410,7 +410,7 @@ void ToolPanelViewShell_Impl::Setup() ...@@ -410,7 +410,7 @@ void ToolPanelViewShell_Impl::Setup()
else else
{ {
::boost::shared_ptr< FrameworkHelper > pFrameworkHelper( FrameworkHelper::Instance( GetAntiImpl().GetViewShellBase() ) ); ::boost::shared_ptr< FrameworkHelper > pFrameworkHelper( FrameworkHelper::Instance( GetAntiImpl().GetViewShellBase() ) );
pFrameworkHelper->RequestSidebarPanel( aInitialPanel.sPanelResourceURL ); // MMeeks pFrameworkHelper->RequestSidebarPanel( aInitialPanel.sPanelResourceURL );
} }
} }
...@@ -804,7 +804,7 @@ void ToolPanelViewShell_Impl::ActivePanelChanged( const ::boost::optional< size_ ...@@ -804,7 +804,7 @@ void ToolPanelViewShell_Impl::ActivePanelChanged( const ::boost::optional< size_
{ {
// activate the resource belonging to the new panel. This will automatically de-activate the previously active // activate the resource belonging to the new panel. This will automatically de-activate the previously active
// panel resource (since ResourceActivationMode_REPLACE is used) // panel resource (since ResourceActivationMode_REPLACE is used)
pFrameworkHelper->RequestSidebarPanel( sNewPanelURL ); // MMeeks pFrameworkHelper->RequestSidebarPanel( sNewPanelURL );
} }
else if ( !sOldPanelURL.isEmpty() ) else if ( !sOldPanelURL.isEmpty() )
{ {
......
...@@ -938,8 +938,6 @@ namespace sfx2 ...@@ -938,8 +938,6 @@ namespace sfx2
LINK( this, TaskPaneController_Impl, OnToolboxClicked ) LINK( this, TaskPaneController_Impl, OnToolboxClicked )
); );
m_rDockingWindow.SetEndDockingHdl( LINK( this, TaskPaneController_Impl, DockingChanged ) ); m_rDockingWindow.SetEndDockingHdl( LINK( this, TaskPaneController_Impl, DockingChanged ) );
// MMeeks - this is the big switch changing how the tabs look ...
// impl_setLayout(LAYOUT_TABS_RIGHT, true);
impl_setLayout(LAYOUT_DRAWERS, true); impl_setLayout(LAYOUT_DRAWERS, true);
m_rTaskPane.GetPanelDeck().AddListener( *this ); m_rTaskPane.GetPanelDeck().AddListener( *this );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment