diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-04 18:28:50 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-04 20:12:49 +0100 |
commit | dfcfb0d91d23a4d1669157464bd563037766f6ec (patch) | |
tree | c8a3149ee8458e99a4a666bd1cf76787fe201f3f /sc | |
parent | a0d2c3c59fbe9324395152e544890fe298b60432 (diff) |
put the function in the anonymous namespace
Change-Id: I8ee07fb9d6d9144ec981c2fabc17b4005ecc87bb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/workbookhelper.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index c3c2fbb2c3ee..40896b9d1a5d 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -357,6 +357,9 @@ Reference< XStyle > WorkbookGlobals::getStyleObject( const OUString& rStyleName, OSL_ENSURE( xStyle.is(), "WorkbookGlobals::getStyleObject - cannot access style object" ); return xStyle; } + +namespace { + ScRangeData* lcl_addNewByNameAndTokens( ScDocument& rDoc, ScRangeName* pNames, const OUString& rName, const Sequence<FormulaToken>& rTokens, sal_Int16 nIndex, sal_Int32 nUnoType ) { bool bDone = false; @@ -378,8 +381,6 @@ ScRangeData* lcl_addNewByNameAndTokens( ScDocument& rDoc, ScRangeName* pNames, c return pNew; } -namespace { - rtl::OUString findUnusedName( const ScRangeName* pRangeName, const rtl::OUString& rSuggestedName ) { rtl::OUString aNewName = rSuggestedName; |