summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-13 15:30:58 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 09:16:06 +0200
commit0db25f68ab897953d9ca76ae094cc80e0ad11d34 (patch)
tree49113132a27fe96ebdcab497c9a2c8de796e54c4 /sw/source/core/txtnode
parente50b5526e24ff552def8f08d393037d2c020dc29 (diff)
remove default value from SfxPoolItem::PutValue
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/fmtatr2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index dcd698e306c9..9bdc06a39d56 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -320,7 +320,7 @@ bool SwFormatINetFormat::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
}
return true;
}
-bool SwFormatINetFormat::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
+bool SwFormatINetFormat::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
{
bool bRet = true;
nMemberId &= ~CONVERT_TWIPS;
@@ -470,7 +470,7 @@ bool SwFormatRuby::QueryValue( uno::Any& rVal,
return bRet;
}
bool SwFormatRuby::PutValue( const uno::Any& rVal,
- sal_uInt8 nMemberId )
+ sal_uInt8 nMemberId )
{
bool bRet = true;
nMemberId &= ~CONVERT_TWIPS;