summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Axis.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:38:13 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:38:13 +1000
commitebe3547ea9381db2561fbb24cc27c202fff02db6 (patch)
treea0579e18930033e473b1b5bcbac883f1a353ce83 /chart2/source/model/main/Axis.cxx
parent42bc6835c5af87ab15cb54c3754f7f198a22a105 (diff)
tdf#43157: convert chart2 model source from OSL_ASSERT to assert
Change-Id: Id426cf71bfa63a202979e6bd3fa230cabeeb4dcc
Diffstat (limited to 'chart2/source/model/main/Axis.cxx')
-rw-r--r--chart2/source/model/main/Axis.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index 69ac5871f21e..689ece847e94 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -328,10 +328,10 @@ void lcl_CloneSubGrids(
}
(*pDestIt) = xSubGrid;
- OSL_ASSERT( pDestIt != pDestEnd );
+ assert( pDestIt != pDestEnd );
++pDestIt;
}
- OSL_ASSERT( pDestIt == pDestEnd );
+ assert( pDestIt == pDestEnd );
(void)(pDestEnd); // avoid warning
}