Remove dead check for start of string
Change-Id: Ib8fcc3dc5d216d1cfae569f605a3f415f80770c4
This commit is contained in:
@@ -489,9 +489,7 @@ StreamAndStorageNames lcl_GetStreamStorageNames( const OUString sUserData )
|
||||
}
|
||||
else
|
||||
{
|
||||
sal_Int32 nPathStart = aProt.getLength();
|
||||
if (sUserData.startsWith("./"))
|
||||
nPathStart += 2;
|
||||
const sal_Int32 nPathStart = aProt.getLength();
|
||||
aNames.sStorage = sUserData.copy( nPathStart, nPos-nPathStart );
|
||||
aNames.sStream = sUserData.copy( nPos+1 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user