summaryrefslogtreecommitdiff
path: root/forms/source/xforms
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-13 16:49:46 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-13 16:49:46 +0100
commita6569df130ac16327e4f52498e9925e16f56bf10 (patch)
tree0f3f9b83ccfd13aab3f749d5121f907199120877 /forms/source/xforms
parentdf0b31641237470028437efd959c355dc0f32953 (diff)
removetooltypes01: #i112600# remove tooltypes from slideshow and forms
Diffstat (limited to 'forms/source/xforms')
-rw-r--r--forms/source/xforms/datatypes.cxx2
-rw-r--r--forms/source/xforms/propertysetbase.hxx2
-rw-r--r--forms/source/xforms/xpathlib/xpathlib.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/xforms/datatypes.cxx b/forms/source/xforms/datatypes.cxx
index 212b5f721e67..d8540851569c 100644
--- a/forms/source/xforms/datatypes.cxx
+++ b/forms/source/xforms/datatypes.cxx
@@ -957,7 +957,7 @@ namespace xforms
fValue = (double)(sal_Int16)value.toInt32();
// TODO/eforms
// this does not care for values which do not fit into a sal_Int16, but simply
- // cuts them down. A better implementation here should probably return <FALSE/>
+ // cuts them down. A better implementation here should probably return <sal_False/>
// for those values.
// Else, we may have a situation where the UI claims an input to be valid
// (say "12345678"), while internally, and at submission time, this is cut to
diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx
index 9e11efe1ebb7..67b080febbaf 100644
--- a/forms/source/xforms/propertysetbase.hxx
+++ b/forms/source/xforms/propertysetbase.hxx
@@ -253,7 +253,7 @@ protected:
Usually used to initialize the cache with values which are different from default
constructed values. Say you have a boolean property whose initial state
- is <TRUE/>. Say you call <member>notifyAndCachePropertyValue</member> the first time: it will
+ is <sal_True/>. Say you call <member>notifyAndCachePropertyValue</member> the first time: it will
default construct the "old value" for this property as <FALSE/>, and thus <b>not</b> do
any notifications if the "current value" is also <FALSE/> - which might be wrong, since
the guessing of the "old value" differed from the real initial value which was <TRUE/>.
diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx
index 2fd6a93b614a..40b75bfda10b 100644
--- a/forms/source/xforms/xpathlib/xpathlib.cxx
+++ b/forms/source/xforms/xpathlib/xpathlib.cxx
@@ -327,7 +327,7 @@ static sal_Bool parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTim
sal_Int32 nMinute = aTimeString.getToken(0, ':', nIndex).toInt32();
sal_Int32 nSecond = aTimeString.getToken(0, ':', nIndex).toInt32();
- Date tmpDate((USHORT)nDay, (USHORT)nMonth, (USHORT)nYear);
+ Date tmpDate((sal_uInt16)nDay, (sal_uInt16)nMonth, (sal_uInt16)nYear);
Time tmpTime(nHour, nMinute, nSecond);
DateTime tmpDateTime(tmpDate, tmpTime);
if (aString.indexOf(aUTCString) < 0)