diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 22:40:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-10 22:40:41 +0200 |
commit | f222de1de0f4be3ee01162aa3c62ca928dc8476f (patch) | |
tree | d8b28cbd2377fc444dd7db6ee5ad8c42c5c51422 /svx/source/items | |
parent | 17282387d650e843e0f5a28611d91597ccd09970 (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/source/items')
-rw-r--r-- | svx/source/items/pageitem.cxx | 2 |
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 : { |