From 5e0b52c1893ffe04a68333026afa7a557c48d534 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 17 May 2012 14:51:04 +0100 Subject: some more ConstAsciiString behind OSL_ENSURE Change-Id: Ic93ec84ce62234364d233a9188a65439e88a79fe --- xmloff/source/forms/elementimport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/forms') diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 58859149aafe..8d29aaa0852e 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -993,8 +993,8 @@ namespace xmloff { // we have exactly 2 properties where this type class is allowed: OSL_ENSURE( - (0 == _rPropValue.Name.compareToAscii(PROPERTY_EFFECTIVE_VALUE)) - || (0 == _rPropValue.Name.compareToAscii(PROPERTY_EFFECTIVE_DEFAULT)), + (0 == _rPropValue.Name.equalsAsciiL(PROPERTY_EFFECTIVE_VALUE.ascii, PROPERTY_EFFECTIVE_VALUE.length)) + || (0 == _rPropValue.Name.equalsAsciiL(PROPERTY_EFFECTIVE_DEFAULT.ascii, PROPERTY_EFFECTIVE_DEFAULT.length)), "OControlImport::implTranslateValueProperty: invalid property type/name combination!"); // Both properties are allowed to have a double or a string value, -- cgit /libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/external/librevenge
AgeCommit message (Expand)Author
2015-06-05use $(DISABLE_DYNLOADING) consistentlyDavid Tardon
2015-04-22zlib is not needed anymoreDavid Tardon
2015-02-27For Clang -fsanitize=vptr use -fvisibility-ms-compat, not -fvisibility=hiddenStephan Bergmann
2014-12-30Build external libs statically in the DISABLE_DYNLOADING caseTor Lillqvist
2014-12-24upload librevenge 0.0.2David Tardon
2014-11-10external: fortunately boost no longer requires config_host.mkMichael Stahl
2014-08-29Simplify some $ENABLE_DEBUG expressionsStephan Bergmann
2014-08-29Pass --enable-debug down to some externalsStephan Bergmann
2014-08-04fdo#82035 fix loader pathsDavid Tardon