Remove dead check for start of string

Change-Id: Ib8fcc3dc5d216d1cfae569f605a3f415f80770c4
This commit is contained in:
Matteo Casalin
2013-10-17 23:21:18 +02:00
parent 94f99a6bae
commit fc357b79e7

View File

@@ -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 );
}