summaryrefslogtreecommitdiff
path: root/sd/source/ui/toolpanel/TestPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/toolpanel/TestPanel.cxx')
-rwxr-xr-xsd/source/ui/toolpanel/TestPanel.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/toolpanel/TestPanel.cxx b/sd/source/ui/toolpanel/TestPanel.cxx
index f0b6951cefc4..044b40dcdb4f 100755
--- a/sd/source/ui/toolpanel/TestPanel.cxx
+++ b/sd/source/ui/toolpanel/TestPanel.cxx
@@ -37,6 +37,7 @@
namespace sd { namespace toolpanel {
+#ifdef SHOW_TEST_PANEL
/** This factory class is used to create instances of TestPanel. It can be
extended so that its constructor stores arguments that later are passed
to new TestPanel objects.
@@ -163,13 +164,11 @@ TestPanel::~TestPanel (void)
{
}
-
-
-
std::auto_ptr<ControlFactory> TestPanel::CreateControlFactory (void)
{
return std::auto_ptr<ControlFactory>(new TestPanelFactory());
}
+#endif
} } // end of namespace ::sd::toolpanel