Kaydet (Commit) c7c62c71 authored tarafından Caolán McNamara's avatar Caolán McNamara

oops, out-by-one idiocy

üst c9e6df76
...@@ -650,8 +650,8 @@ OUString replaceOrigin( ...@@ -650,8 +650,8 @@ OUString replaceOrigin(
} }
pAdd = origin.getStr(); pAdd = origin.getStr();
nAdd = origin.getLength(); nAdd = origin.getLength();
pBytes += SAL_N_ELEMENTS("origin%"); pBytes += RTL_CONSTASCII_LENGTH("origin%");
nBytes -= SAL_N_ELEMENTS("origin%"); nBytes -= RTL_CONSTASCII_LENGTH("origin%");
use_filtered = true; use_filtered = true;
} }
if ((write_pos + nAdd) > filtered.getLength()) if ((write_pos + nAdd) > filtered.getLength())
......
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