summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-10 22:40:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-10 22:40:41 +0200
commitf222de1de0f4be3ee01162aa3c62ca928dc8476f (patch)
treed8b28cbd2377fc444dd7db6ee5ad8c42c5c51422 /svx
parent17282387d650e843e0f5a28611d91597ccd09970 (diff)
Remove unnecessary Bool2Any
(It feels better to use explicitly bool-typed css::uno::makeAny<bool>(x) rather than implicitly typed css::uno::makeAny(x) or css::uno::Any(x), in case x is not already of type bool.) Change-Id: I282b3764bb207aeae9f13cc981e68e8ef2b8ab93
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 b92e9469fea3..6468acac3189 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -152,7 +152,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
break;
case MID_PAGE_ORIENTATION:
//Landscape= sal_True
- rVal = Bool2Any(bLandscape);
+ rVal = css::uno::makeAny<bool>(bLandscape);
break;
case MID_PAGE_LAYOUT :
{