summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/registry/configuration/dp_configuration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/registry/configuration/dp_configuration.cxx')
-rw-r--r--desktop/source/deployment/registry/configuration/dp_configuration.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index e49253aa0765..f0a113bf4cb1 100644
--- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx
+++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
@@ -650,8 +650,8 @@ OUString replaceOrigin(
}
pAdd = origin.getStr();
nAdd = origin.getLength();
- pBytes += SAL_N_ELEMENTS("origin%");
- nBytes -= SAL_N_ELEMENTS("origin%");
+ pBytes += RTL_CONSTASCII_LENGTH("origin%");
+ nBytes -= RTL_CONSTASCII_LENGTH("origin%");
use_filtered = true;
}
if ((write_pos + nAdd) > filtered.getLength())