summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMichaël Lefèvre <lefevre00@yahoo.fr>2014-04-04 00:13:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 07:23:43 -0500
commit453ee351f32494b1f30b477069cc7a1834352377 (patch)
tree2e5fc2a57d2a2f3eb839e929cae42d7d61451e05 /unotools
parent4da62012fea1796c1fed5bb2d87a353d1be79ea5 (diff)
fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/bootstrap.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx
index c956caeec8fb..4c4548fe3e92 100644
--- a/unotools/source/config/bootstrap.cxx
+++ b/unotools/source/config/bootstrap.cxx
@@ -340,8 +340,9 @@ PathStatus getDerivedPath(
_rData.getFrom(_sBootstrapParameter, _rURL, sDerivedURL);
OSL_ENSURE(sDerivedURL == _rURL,"Could not set derived URL via Bootstrap default parameter");
- OSL_POSTCOND(RTL_BOOTSTRAP_DEFAULTS_BROKEN ||
- (_rData.getFrom(_sBootstrapParameter,sDerivedURL) && sDerivedURL==_rURL),"Use of default did not affect bootstrap value");
+ SAL_WARN_IF( !(RTL_BOOTSTRAP_DEFAULTS_BROKEN || (_rData.getFrom(_sBootstrapParameter,sDerivedURL) && sDerivedURL==_rURL)),
+ "unotools.config",
+ "Use of default did not affect bootstrap value");
}
else
{