summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools/fapihelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/ftools/fapihelper.cxx')
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index e2d0a2a0a3dd..0f17a3e2c541 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -320,7 +320,7 @@ bool ScfPropSetHelper::ReadValue( Any& rAny )
Any* pAny = GetNextAny();
if( pAny )
rAny = *pAny;
- return pAny != 0;
+ return pAny != nullptr;
}
bool ScfPropSetHelper::ReadValue( Color& rColor )
@@ -371,7 +371,7 @@ void ScfPropSetHelper::WriteToPropertySet( ScfPropertySet& rPropSet ) const
Any* ScfPropSetHelper::GetNextAny()
{
OSL_ENSURE( mnNextIdx < maNameOrder.size(), "ScfPropSetHelper::GetNextAny - sequence overflow" );
- Any* pAny = 0;
+ Any* pAny = nullptr;
if( mnNextIdx < maNameOrder.size() )
pAny = &maValueSeq[ maNameOrder[ mnNextIdx++ ] ];
return pAny;