summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-04-13 22:22:38 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-13 23:35:50 -0400
commit86eeb0bb473522cb852fb3b9a84ed4f4e04b3261 (patch)
treed3e3bd6ebea718d4b2e7b80ebce1f452c7b12e39 /sc/source/ui/pagedlg
parente95eb1b22126db5b73fba1ff9a80dbce524ab1c7 (diff)
Put enum definition under class scope to avoid name clash.
There is a class named EditLine in editeng which clashed with one of the enum values.
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index eb8ea2b625bc..9154152dbb45 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -348,7 +348,7 @@ void ScEditWindow::LoseFocus()
break;
}
pAcc = new ScAccessibleEditObject(GetAccessibleParentWindow()->GetAccessible(), pEdView, this,
- rtl::OUString(sName), rtl::OUString(sDescription), EditControl);
+ rtl::OUString(sName), rtl::OUString(sDescription), ScAccessibleEditObject::EditControl);
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAccessible = pAcc;
xAcc = xAccessible;
return pAcc;