summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-03 09:54:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-03 09:54:32 +0000
commite057b44e97769763c7284ac784081706c8d76b92 (patch)
tree80788cdcc5ab20e3ecf1c68f4322dbce5dc4cf9a
parent3831d7f9074e146181f8e82a41f79242e76674d4 (diff)
WaE: ptr_vector ctor takes a size to reserve, not a pointer
-rw-r--r--sc/source/core/data/documen2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 925a65d3676c..b4e0b2b69779 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -170,7 +170,7 @@ ScDocument::ScDocument( ScDocumentMode eMode,
nUnoObjectId( 0 ),
nRangeOverflowType( 0 ),
aCurTextWidthCalcPos(MAXCOL,0,0),
- aTableOpList( NULL ),
+ aTableOpList( 0 ),
nFormulaCodeInTree(0),
nXMLImportedFormulaCount( 0 ),
nInterpretLevel(0),