summaryrefslogtreecommitdiff
path: root/sw/source/uibase/ribbar/workctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/ribbar/workctrl.cxx')
-rw-r--r--sw/source/uibase/ribbar/workctrl.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx
index f62059f661e5..6ca3ce946f71 100644
--- a/sw/source/uibase/ribbar/workctrl.cxx
+++ b/sw/source/uibase/ribbar/workctrl.cxx
@@ -443,6 +443,8 @@ void SwScrollNaviPopup::statusChanged( const css::frame::FeatureStateEvent& rEve
}
}
+namespace {
+
class SwZoomBox_Impl : public ComboBox
{
sal_uInt16 const nSlotId;
@@ -461,6 +463,8 @@ protected:
};
+}
+
SwZoomBox_Impl::SwZoomBox_Impl(vcl::Window* pParent, sal_uInt16 nSlot)
: ComboBox(pParent, WB_HIDE | WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL)
, nSlotId(nSlot)
@@ -605,6 +609,8 @@ VclPtr<vcl::Window> SwPreviewZoomControl::CreateItemWindow( vcl::Window *pParent
return pRet.get();
}
+namespace {
+
class SwJumpToSpecificBox_Impl : public NumericField
{
sal_uInt16 const nSlotId;
@@ -617,6 +623,8 @@ protected:
virtual bool EventNotify( NotifyEvent& rNEvt ) override;
};
+}
+
SwJumpToSpecificBox_Impl::SwJumpToSpecificBox_Impl(vcl::Window* pParent, sal_uInt16 nSlot)
: NumericField(pParent, WB_HIDE | WB_BORDER)
, nSlotId(nSlot)
@@ -659,6 +667,8 @@ VclPtr<vcl::Window> SwJumpToSpecificPageControl::CreateItemWindow( vcl::Window *
return pRet.get();
}
+namespace {
+
class NavElementBox_Impl;
class NavElementToolBoxControl : public svt::ToolboxController,
public lang::XServiceInfo
@@ -719,6 +729,8 @@ private:
void ReleaseFocus_Impl();
};
+}
+
NavElementBox_Impl::NavElementBox_Impl(
vcl::Window* _pParent,
const uno::Reference< frame::XFrame >& _xFrame,
@@ -961,6 +973,8 @@ lo_writer_NavElementToolBoxController_get_implementation(
return cppu::acquire( new NavElementToolBoxControl( rxContext ) );
}
+namespace {
+
class PrevNextScrollToolboxController : public svt::ToolboxController,
public css::lang::XServiceInfo
{
@@ -993,6 +1007,8 @@ private:
Type const meType;
};
+}
+
PrevNextScrollToolboxController::PrevNextScrollToolboxController( const css::uno::Reference< css::uno::XComponentContext > & rxContext, Type eType )
: svt::ToolboxController( rxContext,
css::uno::Reference< css::frame::XFrame >(),