diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 7f33ed417b2e29e5470724ea76967f64699a2662 (patch) | |
tree | abfa1432c5ffffe4c7502d4ddcaee918c584c69c /sw/source/core/fields/flddropdown.cxx | |
parent | 80731dbfcb48a2ffec30a4b2abe1ba8ada8f0169 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
Diffstat (limited to 'sw/source/core/fields/flddropdown.cxx')
-rw-r--r-- | sw/source/core/fields/flddropdown.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/fields/flddropdown.cxx b/sw/source/core/fields/flddropdown.cxx index 15b35c7999de..44e625edfccb 100644 --- a/sw/source/core/fields/flddropdown.cxx +++ b/sw/source/core/fields/flddropdown.cxx @@ -172,7 +172,7 @@ const String & SwDropDownField::GetToolTip() const return aToolTip; } -BOOL SwDropDownField::SetSelectedItem(const String & rItem) +sal_Bool SwDropDownField::SetSelectedItem(const String & rItem) { vector<String>::const_iterator aIt = std::find(aValues.begin(), aValues.end(), rItem); @@ -200,7 +200,7 @@ void SwDropDownField::SetToolTip(const String & rToolTip) aToolTip = rToolTip; } -BOOL SwDropDownField::QueryValue(::uno::Any &rVal, USHORT nWhich) const +sal_Bool SwDropDownField::QueryValue(::uno::Any &rVal, sal_uInt16 nWhich) const { nWhich &= ~CONVERT_TWIPS; switch( nWhich ) @@ -228,8 +228,8 @@ BOOL SwDropDownField::QueryValue(::uno::Any &rVal, USHORT nWhich) const return sal_True; } -BOOL SwDropDownField::PutValue(const uno::Any &rVal, - USHORT nWhich) +sal_Bool SwDropDownField::PutValue(const uno::Any &rVal, + sal_uInt16 nWhich) { switch( nWhich ) { |