summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-02-22 16:30:03 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-22 17:14:30 +0000
commit211a4d041933a85364c4693cc741fc3a601f821c (patch)
tree8f426d679c713e8e325e1a568970f213247ed352
parent708a937a2bcd7ab70e55466ab263b9b94b5cd638 (diff)
Compare strings with proper length
Change-Id: If88f79a7f63edb254ad5356e9a0fccc5573af106 Reviewed-on: https://gerrit.libreoffice.org/2338 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--reportdesign/source/ui/inspection/GeometryHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index cfb5cbae01e2..923bf49c88f9 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -1430,7 +1430,7 @@ inspection::InteractiveSelectionResult SAL_CALL GeometryHandler::onInteractivePr
}
else if ( PropertyName.equalsAsciiL(PROPERTY_FORMULA.ascii, PROPERTY_FORMULA.length)
|| PropertyName.equalsAsciiL(PROPERTY_INITIALFORMULA.ascii, PROPERTY_INITIALFORMULA.length)
- || PropertyName.equalsAsciiL(PROPERTY_DATAFIELD.ascii, PROPERTY_INITIALFORMULA.length)
+ || PropertyName.equalsAsciiL(PROPERTY_DATAFIELD.ascii, PROPERTY_DATAFIELD.length)
|| PropertyName.equalsAsciiL(PROPERTY_CONDITIONALPRINTEXPRESSION.ascii, PROPERTY_CONDITIONALPRINTEXPRESSION.length))
{
::osl::ClearableMutexGuard aGuard( m_aMutex );