summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/commentsbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/commentsbuffer.cxx')
-rw-r--r--sc/source/filter/oox/commentsbuffer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx
index 3bbf751f2f84..39d57a0b4988 100644
--- a/sc/source/filter/oox/commentsbuffer.cxx
+++ b/sc/source/filter/oox/commentsbuffer.cxx
@@ -195,8 +195,7 @@ void Comment::finalizeImport()
// position and formatting
pNoteShape->convertFormatting( xAnnoShape );
// visibility
- const ::oox::vml::ClientData* pClientData = pNoteShape->getClientData();
- xAnno->setIsVisible( pClientData && pClientData->mbVisible );
+ bVisible = pNoteShape->getTypeModel().mbVisible;
}
}
break;