summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLCodeNameProvider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLCodeNameProvider.cxx')
-rw-r--r--sc/source/filter/xml/XMLCodeNameProvider.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/filter/xml/XMLCodeNameProvider.cxx b/sc/source/filter/xml/XMLCodeNameProvider.cxx
index 2f971e547abf..9cfe67d81d11 100644
--- a/sc/source/filter/xml/XMLCodeNameProvider.cxx
+++ b/sc/source/filter/xml/XMLCodeNameProvider.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,18 +62,18 @@ sal_Bool XMLCodeNameProvider::_getCodeName( const uno::Any& aAny, String& rCodeN
}
-XMLCodeNameProvider::XMLCodeNameProvider( ScDocument* pDoc ) :
- mpDoc( pDoc ),
+XMLCodeNameProvider::XMLCodeNameProvider( ScDocument* pDoc ) :
+ mpDoc( pDoc ),
msDocName( RTL_CONSTASCII_USTRINGPARAM("*doc*") ),
msCodeNameProp( RTL_CONSTASCII_USTRINGPARAM("CodeName") )
{
}
-XMLCodeNameProvider::~XMLCodeNameProvider()
+XMLCodeNameProvider::~XMLCodeNameProvider()
{
}
-::sal_Bool SAL_CALL XMLCodeNameProvider::hasByName( const OUString& aName )
+::sal_Bool SAL_CALL XMLCodeNameProvider::hasByName( const OUString& aName )
throw (uno::RuntimeException )
{
if( aName == msDocName )
@@ -95,7 +95,7 @@ XMLCodeNameProvider::~XMLCodeNameProvider()
}
uno::Any SAL_CALL XMLCodeNameProvider::getByName( const OUString& aName )
- throw (container::NoSuchElementException,
+ throw (container::NoSuchElementException,
lang::WrappedTargetException, uno::RuntimeException)
{
uno::Any aRet;
@@ -131,7 +131,7 @@ uno::Sequence< OUString > SAL_CALL XMLCodeNameProvider::getElementNames( )
throw (uno::RuntimeException)
{
SCTAB nCount = mpDoc->GetTableCount() + 1;
- uno::Sequence< rtl::OUString > aNames( nCount );
+ uno::Sequence< rtl::OUString > aNames( nCount );
sal_Int32 nRealCount = 0;
if( mpDoc->GetCodeName().Len() )
@@ -194,7 +194,7 @@ void XMLCodeNameProvider::set( const uno::Reference< container::XNameAccess>& xN
String sSheetName;
for( SCTAB i = 0; i < nCount; i++ )
{
- if( pDoc->GetName( i, sSheetName ) &&
+ if( pDoc->GetName( i, sSheetName ) &&
xNameAccess->hasByName( sSheetName ) )
{
aAny = xNameAccess->getByName( sSheetName );