summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmltabi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmltabi.cxx')
-rw-r--r--sc/source/filter/xml/xmltabi.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx
index 3d57c2e92ae1..6d3735ed35cf 100644
--- a/sc/source/filter/xml/xmltabi.cxx
+++ b/sc/source/filter/xml/xmltabi.cxx
@@ -217,7 +217,7 @@ SvXMLImportContextRef ScXMLTableContext::CreateChildContext( sal_uInt16 nPrefix,
{
const SvXMLTokenMap& rTokenMap(GetScImport().GetTableElemTokenMap());
sal_uInt16 nToken = rTokenMap.Get(nPrefix, rLName);
- if (pExternalRefInfo.get())
+ if (pExternalRefInfo)
{
return new SvXMLImportContext(GetImport(), nPrefix, rLName);
}
@@ -258,7 +258,7 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
sax_fastparser::FastAttributeList *pAttribList =
sax_fastparser::FastAttributeList::castToFastAttributeList( xAttrList );
- if (pExternalRefInfo.get())
+ if (pExternalRefInfo)
{
// We only care about the table-row and table-source elements for
// external cache data.
@@ -420,7 +420,7 @@ void SAL_CALL ScXMLTableContext::endFastElement(sal_Int32 /*nElement*/)
rImport.ProgressBarIncrement();
// store stream positions
- if (!pExternalRefInfo.get() && nStartOffset >= 0 /* && nEndOffset >= 0 */)
+ if (!pExternalRefInfo && nStartOffset >= 0 /* && nEndOffset >= 0 */)
{
ScSheetSaveData* pSheetData = ScModelObj::getImplementation(rImport.GetModel())->GetSheetSaveData();
SCTAB nTab = rTables.GetCurrentSheet();