diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-03 23:54:27 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-01-04 03:34:24 +0100 |
commit | 6e26f941e162da811fcc449f2f6cce083d21100c (patch) | |
tree | 48523dc89d19264179fa42c191ca8205459b471e /sc | |
parent | 107cb122e962df7fff51f746a65cee91b2c71d22 (diff) |
initialize it irectly in the constructor
Change-Id: If3ad494073d3fb491a0f8e981a28db5bbb917661
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 398a49c90996..5a5d73f66681 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -1002,8 +1002,8 @@ void ScXMLTableRowCellContext::PutFormulaCell( const ScAddress& rCellPos ) rtl::OUString aText = pOUFormula->first; rtl::OUString aFormulaNmsp = pOUFormula->second; - ::boost::scoped_ptr<ScExternalRefManager::ApiGuard> pExtRefGuard; - pExtRefGuard.reset(new ScExternalRefManager::ApiGuard(pDoc)); + ::boost::scoped_ptr<ScExternalRefManager::ApiGuard> pExtRefGuard ( + new ScExternalRefManager::ApiGuard(pDoc)); if ( !aText.isEmpty() ) |