summaryrefslogtreecommitdiff
path: root/basctl/source/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/accessibility')
-rw-r--r--basctl/source/accessibility/accessibledialogcontrolshape.cxx7
-rw-r--r--basctl/source/accessibility/accessibledialogwindow.cxx15
2 files changed, 16 insertions, 6 deletions
diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
index ccfd4af7247b..4b58550e92d0 100644
--- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx
+++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx
@@ -33,6 +33,9 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <vcl/svapp.hxx>
+namespace basctl
+{
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -45,7 +48,7 @@ using namespace ::comphelper;
// class AccessibleDialogControlShape
// -----------------------------------------------------------------------------
-AccessibleDialogControlShape::AccessibleDialogControlShape (basctl::DialogWindow* pDialogWindow, DlgEdObj* pDlgEdObj)
+AccessibleDialogControlShape::AccessibleDialogControlShape (DialogWindow* pDialogWindow, DlgEdObj* pDlgEdObj)
:AccessibleExtendedComponentHelper_BASE( new VCLExternalSolarLock() )
,m_pDialogWindow( pDialogWindow )
,m_pDlgEdObj( pDlgEdObj )
@@ -607,4 +610,6 @@ Reference< awt::XFont > AccessibleDialogControlShape::getFont( ) throw (Runtime
// -----------------------------------------------------------------------------
+} // namespace basctl
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx
index a36c5b2b221e..c9b19717bf3e 100644
--- a/basctl/source/accessibility/accessibledialogwindow.cxx
+++ b/basctl/source/accessibility/accessibledialogwindow.cxx
@@ -36,6 +36,9 @@
#include <toolkit/helper/convert.hxx>
#include <vcl/svapp.hxx>
+namespace basctl
+{
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -538,26 +541,26 @@ void AccessibleDialogWindow::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
else if (DlgEdHint const* pDlgEdHint = dynamic_cast<DlgEdHint const*>(&rHint))
{
- switch ( pDlgEdHint->GetKind() )
+ switch (pDlgEdHint->GetKind())
{
- case DLGED_HINT_WINDOWSCROLLED:
+ case DlgEdHint::WINDOWSCROLLED:
{
UpdateChildren();
UpdateBounds();
}
break;
- case DLGED_HINT_LAYERCHANGED:
+ case DlgEdHint::LAYERCHANGED:
{
if (DlgEdObj* pDlgEdObj = pDlgEdHint->GetObject())
UpdateChild( ChildDescriptor( pDlgEdObj ) );
}
break;
- case DLGED_HINT_OBJORDERCHANGED:
+ case DlgEdHint::OBJORDERCHANGED:
{
SortChildren();
}
break;
- case DLGED_HINT_SELECTIONCHANGED:
+ case DlgEdHint::SELECTIONCHANGED:
{
UpdateFocused();
UpdateSelected();
@@ -1093,4 +1096,6 @@ void AccessibleDialogWindow::deselectAccessibleChild( sal_Int32 nChildIndex ) th
// -----------------------------------------------------------------------------
+} // namespace basctl
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */