[Libreoffice-commits] .: Branch 'libreoffice-3-4' - idl/source xmloff/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Apr 15 05:18:23 PDT 2011
idl/source/objects/slot.cxx | 4 ++--
xmloff/source/text/txtfldi.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 576bb89905c8dd60dbc43f62da69186766c27417
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Apr 15 14:16:37 2011 +0200
FALSE/TRUE in strings should not be converted to sal_False/sal_True.
diff --git a/idl/source/objects/slot.cxx b/idl/source/objects/slot.cxx
index 06c161c..ecd66c2 100644
--- a/idl/source/objects/slot.cxx
+++ b/idl/source/objects/slot.cxx
@@ -1577,9 +1577,9 @@ void SvMetaSlot::WriteHelpId( SvIdlDataBase & rBase, SvStream & rOutStm,
void WriteBool( sal_Bool bSet, SvStream& rStream )
{
if ( bSet )
- rStream << "sal_True" << ',';
+ rStream << "TRUE" << ',';
else
- rStream << "sal_False" << ',';
+ rStream << "FALSE" << ',';
}
void SvMetaSlot::WriteCSV( SvIdlDataBase& rBase, SvStream& rStrm )
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 9812273..536984b 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -210,7 +210,7 @@ const sal_Char sAPI_is_fixed_language[] = "IsFixedLanguage";
const sal_Char sAPI_is_visible[] = "IsVisible";
const sal_Char sAPI_TextRange[] = "TextRange";
-const sal_Char sAPI_true[] = "sal_True";
+const sal_Char sAPI_true[] = "TRUE";
TYPEINIT1( XMLTextFieldImportContext, SvXMLImportContext);
More information about the Libreoffice-commits
mailing list