summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorjan Iversen <jani@libreoffice.org>2017-09-19 15:36:12 +0200
committerjan Iversen <jani@libreoffice.org>2017-09-19 15:39:33 +0200
commitbb826321b590ea793d0a225489b45e0c2c6ac237 (patch)
tree55258619eea46922776c10a41e77e5a45581562c /basic
parentbc6aa1c4c3304baaaec4c9e14d47b983d186550b (diff)
iOS, solved code never reached (sbxvalue.cxx)
used #ifndef to avoid "code never reached" Change-Id: I3f3d6f9aa31a263b783528e2921133ed526146c9
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxvalue.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 0d5a1c432156..a754e1f13610 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -1358,8 +1358,10 @@ bool SbxValue::Compare( SbxOperator eOp, const SbxValue& rOp ) const
{
if ( bVBAInterop && eOp == SbxEQ && GetError() == ERRCODE_BASIC_CONVERSION )
{
+#ifndef IOS
ResetError();
bRes = false;
+#endif
}
}
}