diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-05 17:05:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-05 17:05:34 +0200 |
commit | 6858d559fe1d2a0b7163ad0c04be4f123c68bf21 (patch) | |
tree | 96c65ef6d80992fbe35264528177db519f51d1b6 /jvmfwk/source | |
parent | 1b4c832fd87a53f926ad0c0c9dc287af2dffbdcd (diff) |
Values read from the Windows registry shouldn't be assert'ed
Change-Id: I1a6cc78025790fa22e91ae91dda5644bdc384ca3
Diffstat (limited to 'jvmfwk/source')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 9c026de7c116..8bbcf60a7cea 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -83,7 +83,7 @@ bool isAccessibilitySupportDesired() || strcmp((char*) arData, "0") == 0) retVal = false; else - assert(0); + SAL_WARN("jfw", "bad registry value " << arData); } else if (dwType == REG_DWORD) { @@ -92,7 +92,8 @@ bool isAccessibilitySupportDesired() else if (arData[0] == 0) retVal = false; else - assert(0); + SAL_WARN( + "jfw", "bad registry value " << unsigned(arData[0])); } } } |