summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-10 11:48:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-10 11:48:04 +0100
commitbe8d620464b9627b6034238270440fcaff0965e0 (patch)
tree7a54cca606252965536cf47112874407c2dfd6fe /connectivity
parent14544da21eb35ab861f1fc8e0c7c564311eb6403 (diff)
loplugin:stringconstant
Change-Id: I0eb2b9986840b1bd5bc892da23c56205047bc120
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index f9adc0bdb0fc..2802be6e0c7b 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -323,7 +323,7 @@ sal_Int64 OPreparedStatement::toNumericWithoutDecimalPlace(const OUString& sSour
OUString sNumber(sSource);
// cut off leading 0 eventually ( eg. 0.567 -> .567)
- sSource.startsWith(OUString("0"), &sNumber);
+ sSource.startsWith("0", &sNumber);
sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.');