diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:02:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:51 +0100 |
commit | e2d4ca69ab8dd90c2eaec0cede1e5aed4a092611 (patch) | |
tree | 489663f7615e4ef55276ec83fc1d32bc82061e10 /svl | |
parent | d1043892df97078546bf9c5ac697bcb65b457cc9 (diff) |
SfxItemSet::Set should return bool
Change-Id: Icb38319f1307e94ce5c6d43b999a08db1fc38d85
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/itemset.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 761d781b5a2e..c17af642d95c 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -863,7 +863,7 @@ void SfxItemSet::SetRanges( const sal_uInt16 *pNewRanges ) // ----------------------------------------------------------------------- -int SfxItemSet::Set +bool SfxItemSet::Set ( const SfxItemSet& rSet, /* das SfxItemSet, dessen SfxPoolItems "ubernommen werden sollen */ @@ -892,10 +892,10 @@ int SfxItemSet::Set [R"uckgabewert] - int sal_True + bool true es wurden SfxPoolItems "ubernommen - sal_False + false es wurden keine SfxPoolItems "ubernommen, da z.B. die Which-Bereiche der SfxItemSets keine Schnittmenge haben oder in der @@ -906,7 +906,7 @@ int SfxItemSet::Set { DBG_CHKTHIS(SfxItemSet, DbgCheckItemSet); - int bRet = sal_False; + bool bRet = false; if ( _nCount ) ClearItem(); if ( bDeep ) |