summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-04-14 07:25:24 +0200
committerJan Holesovsky <kendy@suse.cz>2011-04-14 07:25:24 +0200
commit6ccd6981635845e9fd9ba2aef2a3ce3e46171f9b (patch)
treef91d477028fe2ba21adeb96a5876de7ddeb09223
parent8240aa1f90379d36a27b08f9b01513e8caf00166 (diff)
FALSE/TRUE in strings should not be converted to sal_False/sal_True.
-rw-r--r--sw/source/core/doc/docfld.cxx4
-rw-r--r--sw/source/filter/html/htmlplug.cxx2
-rw-r--r--sw/source/ui/fldui/flddb.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 7dde8e14c3..4fcca81477 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -2288,9 +2288,9 @@ void SwDocUpdtFld::_MakeFldList( SwDoc& rDoc, int eGetMode )
}
String sTrue( String::CreateFromAscii(
- RTL_CONSTASCII_STRINGPARAM( "sal_True" ))),
+ RTL_CONSTASCII_STRINGPARAM( "TRUE" ))),
sFalse( String::CreateFromAscii(
- RTL_CONSTASCII_STRINGPARAM( "sal_False" )));
+ RTL_CONSTASCII_STRINGPARAM( "FALSE" )));
sal_Bool bIsDBMgr = 0 != rDoc.GetNewDBMgr();
sal_uInt16 nWhich, n;
diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
index c5a3080f6a..9a64e64c1e 100644
--- a/sw/source/filter/html/htmlplug.cxx
+++ b/sw/source/filter/html/htmlplug.cxx
@@ -78,7 +78,7 @@ using namespace com::sun::star;
namespace {
-static char const sHTML_O_Hidden_False[] = "sal_False";
+static char const sHTML_O_Hidden_False[] = "FALSE";
}
diff --git a/sw/source/ui/fldui/flddb.cxx b/sw/source/ui/fldui/flddb.cxx
index d95ab17e78..9c74cb36a8 100644
--- a/sw/source/ui/fldui/flddb.cxx
+++ b/sw/source/ui/fldui/flddb.cxx
@@ -385,7 +385,7 @@ IMPL_LINK( SwFldDBPage, TypeHdl, ListBox *, pBox )
aValueED.SetText(aEmptyStr);
if (bCond)
aConditionED.SetText( String::CreateFromAscii(
- RTL_CONSTASCII_STRINGPARAM( "sal_True" )));
+ RTL_CONSTASCII_STRINGPARAM( "TRUE" )));
else
aConditionED.SetText(aEmptyStr);
}