diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:27:50 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-01-13 16:27:50 +0100 |
commit | 006b8504d7c633a61b4953151e71b83fda8e204d (patch) | |
tree | 80bcda35b0c8e37304e4a08d952a4bba130a4c9b /svx/source/items/hlnkitem.cxx | |
parent | removetooltypes01: #i112600# remove tooltypes from drawinlayer (diff) | |
download | core-006b8504d7c633a61b4953151e71b83fda8e204d.tar.gz core-006b8504d7c633a61b4953151e71b83fda8e204d.zip |
removetooltypes01: #i112600# remove tooltypes from svx
Diffstat (limited to 'svx/source/items/hlnkitem.cxx')
-rw-r--r-- | svx/source/items/hlnkitem.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/items/hlnkitem.cxx b/svx/source/items/hlnkitem.cxx index 987f5aa6df08..8b4c36ab5eac 100644 --- a/svx/source/items/hlnkitem.cxx +++ b/svx/source/items/hlnkitem.cxx @@ -360,7 +360,7 @@ void SvxHyperlinkItem::SetMacroTable( const SvxMacroTableDtor& rTbl ) pMacroTable = new SvxMacroTableDtor ( rTbl ); } -BOOL SvxHyperlinkItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const +sal_Bool SvxHyperlinkItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const { // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); nMemberId &= ~CONVERT_TWIPS; @@ -382,13 +382,13 @@ BOOL SvxHyperlinkItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberI rVal <<= (sal_Int32) eType; break; default: - return FALSE; + return sal_False; } - return TRUE; + return sal_True; } -BOOL SvxHyperlinkItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId ) +sal_Bool SvxHyperlinkItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) { // sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS); nMemberId &= ~CONVERT_TWIPS; @@ -422,9 +422,9 @@ BOOL SvxHyperlinkItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE nMem eType = (SvxLinkInsertMode) (sal_uInt16) nVal; break; default: - return FALSE; + return sal_False; } - return TRUE; + return sal_True; } |