diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-04 09:37:09 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-03-04 10:00:33 +0100 |
commit | 328adfb538032d903dfae32397367259d9c4a605 (patch) | |
tree | fc1d6034738553893fbf59119c7551680668231f /writerperfect/source/writer/MSWorksImportFilter.cxx | |
parent | 474c8b8b631c116e3b80a17e9d0a910bb25df6c4 (diff) |
Save some getLength calls
Change-Id: I4103a338e487ee29da6ac056215c4fa0a244fa65
Diffstat (limited to 'writerperfect/source/writer/MSWorksImportFilter.cxx')
-rw-r--r-- | writerperfect/source/writer/MSWorksImportFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx index f441539d93c1..6c37a36e11fa 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.cxx +++ b/writerperfect/source/writer/MSWorksImportFilter.cxx @@ -151,7 +151,7 @@ throw( com::sun::star::uno::RuntimeException ) if (!sTypeName.isEmpty()) { - if ( location == Descriptor.getLength() ) + if ( location == nLength ) { Descriptor.realloc(nLength+1); Descriptor[location].Name = "TypeName"; |