summaryrefslogtreecommitdiff
path: root/chart2/source/tools/PropertyHelper.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:05:22 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:30:12 +1000
commit73b70448be98b2617461d05b3ade04c35af9a535 (patch)
treedde345152f0b29c817feaf78432f2f421d4791d9 /chart2/source/tools/PropertyHelper.cxx
parent8a4dd50a2fbe8c31ce642fd33d54a0bded8f5734 (diff)
tdf#43157: convert chart2 tools source from OSL_ASSERT to assert
Change-Id: Ib55bb437ff7228d12fa2b6c37fb71242f3a136b4
Diffstat (limited to 'chart2/source/tools/PropertyHelper.cxx')
-rw-r--r--chart2/source/tools/PropertyHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/PropertyHelper.cxx b/chart2/source/tools/PropertyHelper.cxx
index 8741037b6014..5b613629032b 100644
--- a/chart2/source/tools/PropertyHelper.cxx
+++ b/chart2/source/tools/PropertyHelper.cxx
@@ -41,7 +41,7 @@ struct lcl_EqualsElement : public std::unary_function< OUString, bool >
explicit lcl_EqualsElement( const Any & rValue, const Reference< container::XNameAccess > & xAccess )
: m_aValue( rValue ), m_xAccess( xAccess )
{
- OSL_ASSERT( m_xAccess.is());
+ assert( m_xAccess.is());
}
bool operator() ( const OUString & rName )
@@ -155,7 +155,7 @@ OUString lcl_addNamedPropertyUniqueNameToTable(
aUniqueName = rPrefix + OUString::number( nIndex );
}
- OSL_ASSERT( !aUniqueName.isEmpty());
+ assert( !aUniqueName.isEmpty());
xNameContainer->insertByName( aUniqueName, rValue );
return aUniqueName;
}