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

Remove dead check for start of string

Change-Id: Ib8fcc3dc5d216d1cfae569f605a3f415f80770c4
üst 94f99a6b
...@@ -489,9 +489,7 @@ StreamAndStorageNames lcl_GetStreamStorageNames( const OUString sUserData ) ...@@ -489,9 +489,7 @@ StreamAndStorageNames lcl_GetStreamStorageNames( const OUString sUserData )
} }
else else
{ {
sal_Int32 nPathStart = aProt.getLength(); const sal_Int32 nPathStart = aProt.getLength();
if (sUserData.startsWith("./"))
nPathStart += 2;
aNames.sStorage = sUserData.copy( nPathStart, nPos-nPathStart ); aNames.sStorage = sUserData.copy( nPathStart, nPos-nPathStart );
aNames.sStream = sUserData.copy( nPos+1 ); aNames.sStream = sUserData.copy( nPos+1 );
} }
......
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