summaryrefslogtreecommitdiff
path: root/writerperfect/source/draw/VisioImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/draw/VisioImportFilter.cxx')
-rw-r--r--writerperfect/source/draw/VisioImportFilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/draw/VisioImportFilter.cxx b/writerperfect/source/draw/VisioImportFilter.cxx
index a566947f3fbb..1b803ca65d13 100644
--- a/writerperfect/source/draw/VisioImportFilter.cxx
+++ b/writerperfect/source/draw/VisioImportFilter.cxx
@@ -142,7 +142,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";