summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ShapeFactory.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/chart2/source/view/main/ShapeFactory.cxx b/chart2/source/view/main/ShapeFactory.cxx
index 73948f12f343..738a52a3cabb 100644
--- a/chart2/source/view/main/ShapeFactory.cxx
+++ b/chart2/source/view/main/ShapeFactory.cxx
@@ -2454,14 +2454,12 @@ uno::Reference< drawing::XShape >
}
else
{
- uno::Sequence< uno::Reference< text::XTextCursor > > aCursorList( xFormattedString.getLength() );
sal_Int32 nN = 0;
for( nN=0; nN<xFormattedString.getLength();nN++ )
{
xTextCursor->gotoEnd(false);
xText->insertString( xTextRange, xFormattedString[nN]->getString(), false );
xTextCursor->gotoEnd(true);
- aCursorList[nN] = xText->createTextCursorByRange( uno::Reference< text::XTextRange >(xTextCursor,uno::UNO_QUERY) );
}
awt::Size aOldRefSize;
bool bHasRefPageSize =