summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/core/RDFaImportHelper.cxx4
-rw-r--r--xmloff/source/table/XMLTableExport.cxx6
-rw-r--r--xmloff/source/table/XMLTableImport.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx
index 8d724735ff54..e0cc65698a0a 100644
--- a/xmloff/source/core/RDFaImportHelper.cxx
+++ b/xmloff/source/core/RDFaImportHelper.cxx
@@ -406,7 +406,7 @@ RDFaImportHelper::AddRDFa(
SAL_WARN("xmloff.core", "AddRDFa: invalid arg: null textcontent");
return;
}
- if (!i_pRDFaAttributes.get())
+ if (!i_pRDFaAttributes)
{
SAL_WARN("xmloff.core", "AddRDFa: invalid arg: null RDFa attributes");
return;
@@ -424,7 +424,7 @@ RDFaImportHelper::ParseAndAddRDFa(
{
std::shared_ptr<ParsedRDFaAttributes> pAttributes(
ParseRDFa(i_rAbout, i_rProperty, i_rContent, i_rDatatype) );
- if (pAttributes.get())
+ if (pAttributes)
{
AddRDFa(i_xObject, pAttributes);
}
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index b2ffc284cfd2..8df080843e63 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -355,7 +355,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
OUString sDefaultCellStyle;
// table:style-name
- if( xTableInfo.get() )
+ if( xTableInfo )
{
Reference< XInterface > xKey( xCellRange, UNO_QUERY );
const OUString sStyleName( xTableInfo->maRowStyleMap[xKey] );
@@ -400,7 +400,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
if ( xColumnProperties.is() )
{
// table:style-name
- if( rTableInfo.get() )
+ if( rTableInfo )
{
Reference< XInterface > xKey( xColumnProperties, UNO_QUERY );
const OUString sStyleName( rTableInfo->maColumnStyleMap[xKey] );
@@ -426,7 +426,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
try
{
- if( rTableInfo.get() )
+ if( rTableInfo )
{
// table:style-name
Reference< XInterface > xKey( xCell, UNO_QUERY );
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx
index c9442ae769f2..0c29b44e0a7f 100644
--- a/xmloff/source/table/XMLTableImport.cxx
+++ b/xmloff/source/table/XMLTableImport.cxx
@@ -593,7 +593,7 @@ void XMLTableImportContext::EndElement()
{
for( const std::shared_ptr< MergeInfo >& xInfo : maMergeInfos )
{
- if( xInfo.get() ) try
+ if( xInfo ) try
{
Reference< XCellRange > xRange( mxTable->getCellRangeByPosition( xInfo->mnStartColumn, xInfo->mnStartRow, xInfo->mnEndColumn, xInfo->mnEndRow ) );
Reference< XMergeableCellRange > xCursor( mxTable->createCursorByRange( xRange ), UNO_QUERY_THROW );