Kaydet (Commit) 834f7118 authored tarafından Matteo Casalin's avatar Matteo Casalin

Fix selection handling in SwTable::IsTblComplexForChart

Change-Id: I5f35a705316db164474c64ea99ee4e4eada57d49
üst 0019a535
......@@ -53,7 +53,7 @@ bool SwTable::IsTblComplexForChart( const OUString& rSelection ) const
{
// Remove brackets at the beginning and from the end
OUString sBox( rSelection );
if( '<' == sBox[0] ) sBox = sBox.copy( 0, 1 );
if( '<' == sBox[0] ) sBox = sBox.copy( 1 );
if( '>' == sBox[ sBox.getLength()-1 ] ) sBox = sBox.copy( 0, sBox.getLength()-1 );
sal_Int32 nSeparator = sBox.indexOf( ':' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment