summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-11-03 12:32:03 +0100
committerAndras Timar <andras.timar@collabora.com>2016-11-03 17:37:07 +0100
commit219b16cffdd1661886fa1e00d3503c42b270a825 (patch)
treed60701a920451e45334a2392218d93c10c4dcd8c /svx
parent7512f1e1867672c06d987a94edb07f0a7ea0fc1e (diff)
svx: add missing ~CONVERT_TWIPS mask in SvxPageItem::PutValue()
With this, it's possible to use AttributePage.* keys in macros. (cherry picked from commit a30f969432a451ade87b93e3077836a849b8f11b) Change-Id: I3f0b1ea8fb6274e7c18511c2e80774205206a2ba
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/pageitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index c6de545ccba3..d553c252ce33 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -177,7 +177,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
bool SvxPageItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
{
- switch( nMemberId )
+ switch( nMemberId & ~CONVERT_TWIPS )
{
case MID_PAGE_NUMTYPE:
{