summaryrefslogtreecommitdiff
path: root/sfx2/source/notebookbar
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/notebookbar')
-rw-r--r--sfx2/source/notebookbar/NotebookbarTabControl.cxx4
-rw-r--r--sfx2/source/notebookbar/PriorityMergedHBox.cxx3
2 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/notebookbar/NotebookbarTabControl.cxx b/sfx2/source/notebookbar/NotebookbarTabControl.cxx
index de3eaf04ad6b..5aaacf1cb549 100644
--- a/sfx2/source/notebookbar/NotebookbarTabControl.cxx
+++ b/sfx2/source/notebookbar/NotebookbarTabControl.cxx
@@ -119,6 +119,8 @@ public:
}
};
+namespace {
+
class ShortcutsToolBox : public sfx2::sidebar::SidebarToolBox
{
public:
@@ -144,6 +146,8 @@ public:
}
};
+}
+
NotebookbarTabControl::NotebookbarTabControl( Window* pParent )
: NotebookbarTabControlBase( pParent )
, m_bInitialized( false )
diff --git a/sfx2/source/notebookbar/PriorityMergedHBox.cxx b/sfx2/source/notebookbar/PriorityMergedHBox.cxx
index 328241ae67d8..0ef63410f80c 100644
--- a/sfx2/source/notebookbar/PriorityMergedHBox.cxx
+++ b/sfx2/source/notebookbar/PriorityMergedHBox.cxx
@@ -30,6 +30,8 @@
* PriorityMergedHBox is a VclHBox which hides its own children if there is no sufficient space.
*/
+namespace
+{
class PriorityMergedHBox : public PriorityHBox
{
private:
@@ -69,6 +71,7 @@ public:
PriorityHBox::dispose();
}
};
+}
IMPL_LINK(PriorityMergedHBox, PBClickHdl, Button*, /*pButton*/, void)
{