summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterPropHdl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-22 18:24:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 08:08:00 +0100
commitb7259532d83ea1263f6944974d71162c47203939 (patch)
tree19d6a840d86070831573a583dd45a2b828218323 /xmloff/source/style/PageMasterPropHdl.cxx
parentad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (diff)
Remove unnecessary bool2any
Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
Diffstat (limited to 'xmloff/source/style/PageMasterPropHdl.cxx')
-rw-r--r--xmloff/source/style/PageMasterPropHdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/PageMasterPropHdl.cxx b/xmloff/source/style/PageMasterPropHdl.cxx
index a171f0c274d5..715aab239b0e 100644
--- a/xmloff/source/style/PageMasterPropHdl.cxx
+++ b/xmloff/source/style/PageMasterPropHdl.cxx
@@ -331,7 +331,7 @@ bool XMLPMPropHdl_CenterHorizontal::importXML(
if (IsXMLToken( rStrImpValue, XML_BOTH) ||
IsXMLToken( rStrImpValue, XML_HORIZONTAL))
{
- rValue = ::cppu::bool2any(true);
+ rValue <<= true;
bRet = true;
}
@@ -372,7 +372,7 @@ bool XMLPMPropHdl_CenterVertical::importXML(
if (IsXMLToken(rStrImpValue, XML_BOTH) ||
IsXMLToken(rStrImpValue, XML_VERTICAL) )
{
- rValue = ::cppu::bool2any(true);
+ rValue <<= true;
bRet = true;
}