summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleCell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleCell.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCell.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCell.cxx b/sc/source/ui/Accessibility/AccessibleCell.cxx
index e50345fc7b29..eb10c6004350 100644
--- a/sc/source/ui/Accessibility/AccessibleCell.cxx
+++ b/sc/source/ui/Accessibility/AccessibleCell.cxx
@@ -112,9 +112,9 @@ void SAL_CALL ScAccessibleCell::disposing()
if (mpViewShell)
{
mpViewShell->RemoveAccessibilityObject(*this);
- mpViewShell = NULL;
+ mpViewShell = nullptr;
}
- mpAccDoc = NULL;
+ mpAccDoc = nullptr;
ScAccessibleCellBase::disposing();
}
@@ -161,7 +161,7 @@ Rectangle ScAccessibleCell::GetBoundingBoxOnScreen() const
vcl::Window* pWindow = mpViewShell->GetWindowByPos(meSplitPos);
if (pWindow)
{
- Rectangle aRect = pWindow->GetWindowExtentsRelative(NULL);
+ Rectangle aRect = pWindow->GetWindowExtentsRelative(nullptr);
aCellRect.setX(aCellRect.getX() + aRect.getX());
aCellRect.setY(aCellRect.getY() + aRect.getY());
}
@@ -290,7 +290,7 @@ uno::Reference<XAccessibleRelationSet> SAL_CALL
{
SolarMutexGuard aGuard;
IsObjectValid();
- utl::AccessibleRelationSetHelper* pRelationSet = NULL;
+ utl::AccessibleRelationSetHelper* pRelationSet = nullptr;
if (mpAccDoc)
pRelationSet = mpAccDoc->GetRelationSet(&maCellAddress);
if (!pRelationSet)
@@ -326,7 +326,7 @@ uno::Sequence< OUString> SAL_CALL
bool ScAccessibleCell::IsDefunc(
const uno::Reference<XAccessibleStateSet>& rxParentStates)
{
- return ScAccessibleContextBase::IsDefunc() || (mpDoc == NULL) || (mpViewShell == NULL) || !getAccessibleParent().is() ||
+ return ScAccessibleContextBase::IsDefunc() || (mpDoc == nullptr) || (mpViewShell == nullptr) || !getAccessibleParent().is() ||
(rxParentStates.is() && rxParentStates->contains(AccessibleStateType::DEFUNC));
}
@@ -386,7 +386,7 @@ bool ScAccessibleCell::IsSelected()
ScDocument* ScAccessibleCell::GetDocument(ScTabViewShell* pViewShell)
{
- ScDocument* pDoc = NULL;
+ ScDocument* pDoc = nullptr;
if (pViewShell)
pDoc = pViewShell->GetViewData().GetDocument();
return pDoc;