summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-02-22 16:30:03 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-02-26 12:17:22 +0100
commit62061df8964692c4fd14b4b5fd28b1490820c177 (patch)
tree1bf68f3a80d0bd02c83c9a1c5917238cb846318e /reportdesign
parentf48d1940554ec4bf49ba39eb5e5677d3cb639a97 (diff)
Compare strings with proper length
Change-Id: If88f79a7f63edb254ad5356e9a0fccc5573af106
Diffstat (limited to 'reportdesign')
-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 90d10bec1cfb..97b946b26580 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -1431,7 +1431,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 );