summaryrefslogtreecommitdiff
path: root/include/oox/dump/dumperbase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/dump/dumperbase.hxx')
-rw-r--r--include/oox/dump/dumperbase.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index 44bca5476b2e..6b9144646069 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -447,7 +447,7 @@ public:
Base & operator =(Base &&) = default;
bool isValid() const { return implIsValid(); }
- static bool isValid( const std::shared_ptr< Base >& rxBase ) { return rxBase.get() && rxBase->isValid(); }
+ static bool isValid( const std::shared_ptr< Base >& rxBase ) { return rxBase && rxBase->isValid(); }
protected:
Base() {}
@@ -824,7 +824,7 @@ template< typename ListType >
void SharedConfigData::readNameList( TextInputStream& rStrm, const OUString& rListName )
{
NameListRef xList = createNameList< ListType >( rListName );
- if( xList.get() )
+ if( xList )
xList->readConfigBlock( rStrm );
}
@@ -912,7 +912,7 @@ template< typename Type >
OUString Config::getName( const NameListWrapper& rListWrp, Type nKey ) const
{
NameListRef xList = rListWrp.getNameList( *this );
- return xList.get() ? xList->getName( *this, nKey ) : OOX_DUMP_ERR_NOMAP;
+ return xList ? xList->getName( *this, nKey ) : OOX_DUMP_ERR_NOMAP;
}
template< typename Type >