[Libreoffice-commits] core.git: officecfg/registry svx/Library_svx.mk svx/source

Jan Holesovsky kendy at collabora.com
Sun Nov 23 17:18:58 PST 2014


 officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu |   46 --
 svx/Library_svx.mk                                           |    3 
 svx/source/sidebar/PanelFactory.cxx                          |   40 --
 svx/source/sidebar/debug/ColorPanel.cxx                      |  203 -----------
 svx/source/sidebar/debug/ColorPanel.hxx                      |   56 ---
 svx/source/sidebar/debug/ContextPanel.cxx                    |   52 --
 svx/source/sidebar/debug/ContextPanel.hxx                    |   52 --
 svx/source/sidebar/debug/NotYetImplementedPanel.cxx          |   47 --
 svx/source/sidebar/debug/NotYetImplementedPanel.hxx          |   46 --
 9 files changed, 10 insertions(+), 535 deletions(-)

New commits:
commit 8028b428d35f124aaaf02491b95d08a5713e8b34
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Sun Nov 23 23:12:05 2014 +0100

    Kill unused (debugging) sidebars.
    
    Change-Id: I7d0af9d7c65e2d9d45b32870af495b2cd3eef749
    Reviewed-on: https://gerrit.libreoffice.org/13084
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index 0b3cf4d..e8c42d5 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -227,29 +227,6 @@
         </prop>
       </node>
 
-      <node oor:name="ContextPanel" oor:op="replace">
-        <prop oor:name="Title" oor:type="xs:string">
-          <value xml:lang="en-US">Current Context (only for debugging)</value>
-        </prop>
-        <prop oor:name="Id" oor:type="xs:string">
-          <value>Context</value>
-        </prop>
-        <prop oor:name="DeckId" oor:type="xs:string">
-          <value>PropertyDeck</value>
-        </prop>
-        <prop oor:name="ContextList">
-          <value oor:separator=";">
-            none, none, visible ;
-          </value>
-        </prop>
-        <prop oor:name="ImplementationURL" oor:type="xs:string">
-          <value>private:resource/toolpanel/SvxPanelFactory/Debug_ContextPanel</value>
-        </prop>
-        <prop oor:name="OrderIndex" oor:type="xs:int">
-          <value>10</value>
-        </prop>
-      </node>
-
       <node oor:name="PagePropertyPanel" oor:op="replace">
         <prop oor:name="Title" oor:type="xs:string">
           <value xml:lang="en-US">Page</value>
@@ -278,29 +255,6 @@
         </prop>
       </node>
 
-      <node oor:name="ColorPanel" oor:op="replace">
-        <prop oor:name="Title" oor:type="xs:string">
-          <value xml:lang="en-US">Colors (only for debugging)</value>
-        </prop>
-        <prop oor:name="Id" oor:type="xs:string">
-          <value>ColorPanel</value>
-        </prop>
-        <prop oor:name="DeckId" oor:type="xs:string">
-          <value>PropertyDeck</value>
-        </prop>
-        <prop oor:name="ContextList">
-          <value oor:separator=";">
-            none, any, visible ;
-          </value>
-        </prop>
-        <prop oor:name="ImplementationURL" oor:type="xs:string">
-          <value>private:resource/toolpanel/SvxPanelFactory/Debug_ColorPanel</value>
-        </prop>
-        <prop oor:name="OrderIndex" oor:type="xs:int">
-          <value>110</value>
-        </prop>
-      </node>
-
       <node oor:name="AreaPropertyPanel" oor:op="replace">
         <prop oor:name="Title" oor:type="xs:string">
           <value xml:lang="en-US">Area</value>
diff --git a/svx/Library_svx.mk b/svx/Library_svx.mk
index d21f5cf..f1c0c2b 100644
--- a/svx/Library_svx.mk
+++ b/svx/Library_svx.mk
@@ -175,9 +175,6 @@ $(eval $(call gb_Library_add_exception_objects,svx,\
     svx/source/sidebar/PanelLayout \
     svx/source/sidebar/SelectionAnalyzer \
     svx/source/sidebar/SelectionChangeHandler \
-    svx/source/sidebar/debug/ColorPanel \
-    svx/source/sidebar/debug/ContextPanel \
-    svx/source/sidebar/debug/NotYetImplementedPanel \
     svx/source/sidebar/text/TextCharacterSpacingControl \
     svx/source/sidebar/text/TextCharacterSpacingPopup \
     svx/source/sidebar/text/TextUnderlineControl \
diff --git a/svx/source/sidebar/PanelFactory.cxx b/svx/source/sidebar/PanelFactory.cxx
index e6f265a..f419422 100644
--- a/svx/source/sidebar/PanelFactory.cxx
+++ b/svx/source/sidebar/PanelFactory.cxx
@@ -25,9 +25,6 @@
 #include "possize/PosSizePropertyPanel.hxx"
 #include "insert/InsertPropertyPanel.hxx"
 #include "GalleryControl.hxx"
-#include "debug/ColorPanel.hxx"
-#include "debug/ContextPanel.hxx"
-#include "debug/NotYetImplementedPanel.hxx"
 #include "EmptyPanel.hxx"
 #include <sfx2/sidebar/SidebarPanelBase.hxx>
 #include <sfx2/sidebar/Tools.hxx>
@@ -129,66 +126,49 @@ Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
     vcl::Window* pControl = NULL;
     ui::LayoutSize aLayoutSize (-1,-1,-1);
 
-#define DoesResourceEndWith(s) rsResourceURL.endsWithAsciiL(s,strlen(s))
-    if (DoesResourceEndWith("/TextPropertyPanel"))
+    if (rsResourceURL.endsWith("/TextPropertyPanel"))
     {
         pControl = TextPropertyPanel::Create(pParentWindow, xFrame, pBindings, aContext);
     }
-    else if (DoesResourceEndWith("/ParaPropertyPanel"))
+    else if (rsResourceURL.endsWith("/ParaPropertyPanel"))
     {
         pControl = ParaPropertyPanel::Create(pParentWindow, xFrame, pBindings, xSidebar);
     }
-    else if (DoesResourceEndWith("/AreaPropertyPanel"))
+    else if (rsResourceURL.endsWith("/AreaPropertyPanel"))
     {
         pControl = AreaPropertyPanel::Create(pParentWindow, xFrame, pBindings);
     }
-    else if (DoesResourceEndWith("/GraphicPropertyPanel"))
+    else if (rsResourceURL.endsWith("/GraphicPropertyPanel"))
     {
         pControl = GraphicPropertyPanel::Create(pParentWindow, xFrame, pBindings);
     }
-    else if (DoesResourceEndWith("/LinePropertyPanel"))
+    else if (rsResourceURL.endsWith("/LinePropertyPanel"))
     {
         pControl = LinePropertyPanel::Create(pParentWindow, xFrame, pBindings);
     }
-    else if (DoesResourceEndWith("/PosSizePropertyPanel"))
+    else if (rsResourceURL.endsWith("/PosSizePropertyPanel"))
     {
         pControl = PosSizePropertyPanel::Create(pParentWindow, xFrame, pBindings, xSidebar);
     }
-    else if (DoesResourceEndWith("/InsertPropertyPanel"))
+    else if (rsResourceURL.endsWith("/InsertPropertyPanel"))
     {
         pControl = new InsertPropertyPanel(pParentWindow, xFrame);
     }
-    else if (DoesResourceEndWith("/GalleryPanel"))
+    else if (rsResourceURL.endsWith("/GalleryPanel"))
     {
         pControl = new GalleryControl(pBindings, pParentWindow);
         aLayoutSize = ui::LayoutSize(300,-1,400);
     }
-    else if (DoesResourceEndWith("/StyleListPanel"))
+    else if (rsResourceURL.endsWith("/StyleListPanel"))
     {
         pControl = new SfxTemplatePanelControl(pBindings, pParentWindow);
         aLayoutSize = ui::LayoutSize(0,-1,-1);
     }
-    else if (DoesResourceEndWith("/Debug_ColorPanel"))
-    {
-        pControl = new ColorPanel(pParentWindow);
-        aLayoutSize = ui::LayoutSize(300,-1,400);
-    }
-    else if (DoesResourceEndWith("/Debug_ContextPanel"))
-    {
-        pControl = new ContextPanel(pParentWindow);
-        aLayoutSize = ui::LayoutSize(45,45,45);
-    }
-    else if (DoesResourceEndWith("/Debug_NotYetImplementedPanel"))
-    {
-        pControl = new NotYetImplementedPanel(pParentWindow);
-        aLayoutSize = ui::LayoutSize(20,25,25);
-    }
-    else if (DoesResourceEndWith("/EmptyPanel"))
+    else if (rsResourceURL.endsWith("/EmptyPanel"))
     {
         pControl = new EmptyPanel(pParentWindow);
         aLayoutSize = ui::LayoutSize(20,-1, 50);
     }
-#undef DoesResourceEndWith
 
     if (pControl != NULL)
     {
diff --git a/svx/source/sidebar/debug/ColorPanel.cxx b/svx/source/sidebar/debug/ColorPanel.cxx
deleted file mode 100644
index 11ac135..0000000
--- a/svx/source/sidebar/debug/ColorPanel.cxx
+++ /dev/null
@@ -1,203 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "ColorPanel.hxx"
-
-#include <vcl/image.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/settings.hxx>
-
-namespace svx { namespace sidebar {
-
-ColorPanel::ColorPanel (vcl::Window* pParent)
-    : ValueSet(pParent, WB_ITEMBORDER)
-{
-    WinBits aStyle =
-        WB_ITEMBORDER
-        | WB_DOUBLEBORDER
-        | WB_NAMEFIELD
-        | WB_FLATVALUESET
-        | WB_TABSTOP
-        | WB_VSCROLL;
-
-    SetStyle(GetStyle() | aStyle);
-    SetExtraSpacing(2);
-
-    Fill ();
-    Show();
-}
-
-
-
-
-ColorPanel::~ColorPanel (void)
-{
-}
-
-void ColorPanel::Resize (void)
-{
-    vcl::Window::Resize();
-    Size aWindowSize = GetOutputSizePixel();
-    SetPosSizePixel(Point(0,0), aWindowSize);
-    if (IsVisible() && aWindowSize.Width() > 0)
-    {
-        // Calculate the number of rows and columns.
-        if (GetItemCount() > 0)
-        {
-            Image aImage = GetItemImage(GetItemId(0));
-            Size aItemSize = CalcItemSizePixel (
-                aImage.GetSizePixel());
-            int nColumnCount = aWindowSize.Width() / 30;
-            if (nColumnCount < 1)
-                nColumnCount = 1;
-            else if (nColumnCount > 4)
-                nColumnCount = 4;
-
-            sal_uInt16 nRowCount = (sal_uInt16)CalculateRowCount(aItemSize, nColumnCount);
-
-            SetColCount((sal_uInt16)nColumnCount);
-            SetLineCount(nRowCount);
-        }
-    }
-
-}
-
-
-
-
-int ColorPanel::CalculateRowCount (const Size&, int nColumnCount)
-{
-    int nRowCount = 0;
-
-    if (GetItemCount()>0 && nColumnCount>0)
-    {
-        nRowCount = GetOutputSizePixel().Height() / 30;
-        if (nRowCount < 1)
-            nRowCount = 1;
-    }
-
-    return nRowCount;
-}
-
-
-
-
-void ColorPanel::DataChanged (const DataChangedEvent& /*rEvent*/)
-{
-    Fill();
-}
-
-
-
-
-void ColorPanel::Fill (void)
-{
-    const StyleSettings& rSettings (
-        Application::GetSettings().GetStyleSettings());
-    Clear();
-    SetItemWidth (30);
-    SetItemHeight (30);
-    sal_uInt16 i = 0;
-    InsertItem (++i, rSettings.GetFaceColor());
-    SetItemText (i, OUString("FaceColor"));
-    InsertItem (++i, rSettings.GetCheckedColor());
-    SetItemText (i, OUString("CheckedColor"));
-    InsertItem (++i, rSettings.GetLightColor());
-    SetItemText (i, OUString("LightColor"));
-    InsertItem (++i, rSettings.GetLightBorderColor());
-    SetItemText (i, OUString("LightBorderColor"));
-    InsertItem (++i, rSettings.GetShadowColor());
-    SetItemText (i, OUString("ShadowColor"));
-    InsertItem (++i, rSettings.GetDarkShadowColor());
-    SetItemText (i, OUString("DarkShadowColor"));
-    InsertItem (++i, rSettings.GetButtonTextColor());
-    SetItemText (i, OUString("ButtonTextColor"));
-    InsertItem (++i, rSettings.GetRadioCheckTextColor());
-    SetItemText (i, OUString("RadioCheckTextColor"));
-    InsertItem (++i, rSettings.GetGroupTextColor());
-    SetItemText (i, OUString("GroupTextColor"));
-    InsertItem (++i, rSettings.GetLabelTextColor());
-    SetItemText (i, OUString("LabelTextColor"));
-    InsertItem (++i, rSettings.GetInfoTextColor());
-    SetItemText (i, OUString("InfoTextColor"));
-    InsertItem (++i, rSettings.GetWindowColor());
-    SetItemText (i, OUString("WindowColor"));
-    InsertItem (++i, rSettings.GetWindowTextColor());
-    SetItemText (i, OUString("WindowTextColor"));
-    InsertItem (++i, rSettings.GetDialogColor());
-    SetItemText (i, OUString("DialogColor"));
-    InsertItem (++i, rSettings.GetDialogTextColor());
-    SetItemText (i, OUString("DialogTextColor"));
-    InsertItem (++i, rSettings.GetWorkspaceColor());
-    SetItemText (i, OUString("WorkspaceColor"));
-    InsertItem (++i, rSettings.GetFieldColor());
-    SetItemText (i, OUString("FieldColor"));
-    InsertItem (++i, rSettings.GetFieldTextColor());
-    SetItemText (i, OUString("FieldTextColor"));
-    InsertItem (++i, rSettings.GetActiveColor());
-    SetItemText (i, OUString("ActiveColor"));
-    InsertItem (++i, rSettings.GetActiveColor2());
-    SetItemText (i, OUString("ActiveColor2"));
-    InsertItem (++i, rSettings.GetActiveTextColor());
-    SetItemText (i, OUString("ActiveTextColor"));
-    InsertItem (++i, rSettings.GetActiveBorderColor());
-    SetItemText (i, OUString("ActiveBorderColor"));
-    InsertItem (++i, rSettings.GetDeactiveColor());
-    SetItemText (i, OUString("DeactiveColor"));
-    InsertItem (++i, rSettings.GetDeactiveColor2());
-    SetItemText (i, OUString("DeactiveColor2"));
-    InsertItem (++i, rSettings.GetDeactiveTextColor());
-    SetItemText (i, OUString("DeactiveTextColor"));
-    InsertItem (++i, rSettings.GetDeactiveBorderColor());
-    SetItemText (i, OUString("DeactiveBorderColor"));
-    InsertItem (++i, rSettings.GetHighlightColor());
-    SetItemText (i, OUString("HighlightColor"));
-    InsertItem (++i, rSettings.GetHighlightTextColor());
-    SetItemText (i, OUString("HighlightTextColor"));
-    InsertItem (++i, rSettings.GetDisableColor());
-    SetItemText (i, OUString("DisableColor"));
-    InsertItem (++i, rSettings.GetHelpColor());
-    SetItemText (i, OUString("HelpColor"));
-    InsertItem (++i, rSettings.GetHelpTextColor());
-    SetItemText (i, OUString("HelpTextColor"));
-    InsertItem (++i, rSettings.GetMenuColor());
-    SetItemText (i, OUString("MenuColor"));
-    InsertItem (++i, rSettings.GetMenuBarColor());
-    SetItemText (i, OUString("MenuBarColor"));
-    InsertItem (++i, rSettings.GetMenuBorderColor());
-    SetItemText (i, OUString("MenuBorderColor"));
-    InsertItem (++i, rSettings.GetMenuTextColor());
-    SetItemText (i, OUString("MenuTextColor"));
-    InsertItem (++i, rSettings.GetMenuHighlightColor());
-    SetItemText (i, OUString("MenuHighlightColor"));
-    InsertItem (++i, rSettings.GetMenuHighlightTextColor());
-    SetItemText (i, OUString("MenuHighlightTextColor"));
-    InsertItem (++i, rSettings.GetLinkColor());
-    SetItemText (i, OUString("LinkColor"));
-    InsertItem (++i, rSettings.GetVisitedLinkColor());
-    SetItemText (i, OUString("VisitedLinkColor"));
-    InsertItem (++i, rSettings.GetHighlightLinkColor());
-    SetItemText (i, OUString("HighlightLinkColor"));
-    InsertItem (++i, rSettings.GetFontColor());
-    SetItemText (i, OUString("FontColor"));
-}
-
-} } // end of namespace ::svx::sidebar
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ColorPanel.hxx b/svx/source/sidebar/debug/ColorPanel.hxx
deleted file mode 100644
index bac417d..0000000
--- a/svx/source/sidebar/debug/ColorPanel.hxx
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_COLORPANEL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_COLORPANEL_HXX
-
-#include <svtools/valueset.hxx>
-#include <vcl/window.hxx>
-
-
-namespace svx { namespace sidebar {
-
-
-/** This demo panel shows the colors that are available from the
-    StyleSettings.
-*/
-class ColorPanel
-    : public ValueSet
-{
-public:
-    ColorPanel (vcl::Window* pParent);
-    virtual ~ColorPanel (void);
-
-    // From vcl::Window
-    virtual void Resize (void) SAL_OVERRIDE;
-    virtual void DataChanged (const DataChangedEvent& rEvent) SAL_OVERRIDE;
-
-private:
-    /** Depending on the given number of columns and the item size
-        calculate the number of rows that are necessary to display all
-        items.
-    */
-    int CalculateRowCount (const Size& rItemSize, int nColumnCount);
-    void Fill (void);
-};
-
-} } // end of namespace ::svx::sidebar
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ContextPanel.cxx b/svx/source/sidebar/debug/ContextPanel.cxx
deleted file mode 100644
index ca87b67..0000000
--- a/svx/source/sidebar/debug/ContextPanel.cxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "ContextPanel.hxx"
-
-namespace svx { namespace sidebar {
-
-ContextPanel::ContextPanel (vcl::Window* pParent)
-    : Window(pParent, 0),
-      maApplicationName(this, 0),
-      maContextName(this, 0)
-{
-    maApplicationName.setPosSizePixel(5,5, 250,15);
-    maContextName.setPosSizePixel(5,25, 250,15);
-
-    maApplicationName.Show();
-    maContextName.Show();
-    Show();
-}
-
-
-
-
-ContextPanel::~ContextPanel (void)
-{
-}
-
-void ContextPanel::HandleContextChange (const sfx2::sidebar::EnumContext aContext)
-{
-    maApplicationName.SetText(aContext.GetApplicationName());
-    maContextName.SetText(aContext.GetContextName());
-}
-
-} } // end of namespace ::svx::sidebar
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/ContextPanel.hxx b/svx/source/sidebar/debug/ContextPanel.hxx
deleted file mode 100644
index e55026c..0000000
--- a/svx/source/sidebar/debug/ContextPanel.hxx
+++ /dev/null
@@ -1,52 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_CONTEXTPANEL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_CONTEXTPANEL_HXX
-
-#include <sfx2/sidebar/IContextChangeReceiver.hxx>
-#include <vcl/window.hxx>
-#include <vcl/fixed.hxx>
-
-
-namespace svx { namespace sidebar {
-
-
-/** Display the current context.
-*/
-class ContextPanel
-    : public vcl::Window,
-      public sfx2::sidebar::IContextChangeReceiver
-{
-public:
-    ContextPanel (vcl::Window* pParent);
-    virtual ~ContextPanel (void);
-
-    // From IContextChangeReceiverInterface
-    virtual void HandleContextChange (const ::sfx2::sidebar::EnumContext aContext) SAL_OVERRIDE;
-
-private:
-    FixedText maApplicationName;
-    FixedText maContextName;
-};
-
-} } // end of namespace ::svx::sidebar
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/NotYetImplementedPanel.cxx b/svx/source/sidebar/debug/NotYetImplementedPanel.cxx
deleted file mode 100644
index e91d193..0000000
--- a/svx/source/sidebar/debug/NotYetImplementedPanel.cxx
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "NotYetImplementedPanel.hxx"
-
-namespace svx { namespace sidebar {
-
-NotYetImplementedPanel::NotYetImplementedPanel (vcl::Window* pParent)
-    : Window(pParent, 0),
-      maMessageControl(this, 0)
-{
-    maMessageControl.setPosSizePixel(5,5, 250,15);
-    maMessageControl.SetText(OUString("not yet implemented"));
-
-    maMessageControl.Show();
-    Show();
-}
-
-
-
-
-NotYetImplementedPanel::~NotYetImplementedPanel (void)
-{
-}
-
-
-
-
-} } // end of namespace ::svx::sidebar
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/sidebar/debug/NotYetImplementedPanel.hxx b/svx/source/sidebar/debug/NotYetImplementedPanel.hxx
deleted file mode 100644
index 11abe3a..0000000
--- a/svx/source/sidebar/debug/NotYetImplementedPanel.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_NOTYETIMPLEMENTEDPANEL_HXX
-#define INCLUDED_SVX_SOURCE_SIDEBAR_DEBUG_NOTYETIMPLEMENTEDPANEL_HXX
-
-#include <vcl/window.hxx>
-#include <vcl/fixed.hxx>
-
-
-namespace svx { namespace sidebar {
-
-
-/** Display a panel as placeholder for a not-yet-implemented panel.
-*/
-class NotYetImplementedPanel
-    : public vcl::Window
-{
-public:
-    NotYetImplementedPanel (vcl::Window* pParent);
-    virtual ~NotYetImplementedPanel (void);
-
-private:
-    FixedText maMessageControl;
-};
-
-} } // end of namespace ::svx::sidebar
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list