summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 14:17:19 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 14:17:19 +1000
commit83017d884d58a2fe0ccaf23271ab3e232118ec79 (patch)
tree030b4586ad750d10b837dd4cbd5bb20a5782586c /sc/source/ui/Accessibility
parent9d4d4d8434e5333ecb9464c76aea795dfbd6da2c (diff)
tdf#43157: convert sc module away from OSL_ASSERT to assert
Change-Id: Iead653868ea7e0d1ed4ba83ef1a46e1ae5874d13
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r--sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index cfcf74a6b74f..8a464250ac1e 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -605,7 +605,7 @@ void ScAccessibleSpreadsheet::Notify( SfxBroadcaster& rBC, const SfxHint& rHint
aEvent.EventId = AccessibleEventId::SELECTION_CHANGED;
aEvent.NewValue <<= xChild;
CommitChange(aEvent);
- OSL_ASSERT(m_mapSelectionSend.count(aNewCell) == 0 );
+ assert(m_mapSelectionSend.count(aNewCell) == 0 );
m_mapSelectionSend.insert(MAP_ADDR_XACC::value_type(aNewCell,xChild));
}
@@ -743,7 +743,7 @@ void ScAccessibleSpreadsheet::RemoveSelection(ScMarkData &refScMarkData)
}
void ScAccessibleSpreadsheet::CommitFocusCell(const ScAddress &aNewCell)
{
- OSL_ASSERT(!IsFormulaMode());
+ assert(!IsFormulaMode());
if(IsFormulaMode())
{
return ;