Kaydet (Commit) 3801c6ea authored tarafından Stephan Bergmann's avatar Stephan Bergmann

DBG_ASSERT -> SAL_WARN_IF (silence -Werror=unused-macros)

Change-Id: Iac61bcae89e9a96c7b9b97be3fa60378acc89bd9
üst a1554c12
...@@ -1387,7 +1387,9 @@ long SentenceEditWindow_Impl::PreNotify( NotifyEvent& rNEvt ) ...@@ -1387,7 +1387,9 @@ long SentenceEditWindow_Impl::PreNotify( NotifyEvent& rNEvt )
bool bIsErrorActive = (pErrorAttr && pErrorAttr->GetStart() == m_nErrorStart) || bool bIsErrorActive = (pErrorAttr && pErrorAttr->GetStart() == m_nErrorStart) ||
(pErrorAttrLeft && pErrorAttrLeft->GetStart() == m_nErrorStart); (pErrorAttrLeft && pErrorAttrLeft->GetStart() == m_nErrorStart);
DBG_ASSERT(nSelectionType != INVALID, "selection type not set!"); SAL_WARN_IF(
nSelectionType == INVALID, "cui.dialogs",
"selection type not set");
const KeyCode& rKeyCode = rKeyEvt.GetKeyCode(); const KeyCode& rKeyCode = rKeyEvt.GetKeyCode();
bool bDelete = rKeyCode.GetCode() == KEY_DELETE; bool bDelete = rKeyCode.GetCode() == KEY_DELETE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment