summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionImportContext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:43:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:43:33 +0200
commita0c46d2f20989bab56a7bc95409d0043a3f323c7 (patch)
tree3058ac0d31b01b4d4d2fb4ab79649a6490b7cd3a /xmloff/source/text/XMLSectionImportContext.cxx
parent2b1d22e1ff6ea5ef7a53783617a45309d7426f07 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: Ic3764caeeb2cdec397071706845bf8517c848917
Diffstat (limited to 'xmloff/source/text/XMLSectionImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index ea8ed959435a..2574fce93dc5 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -170,7 +170,7 @@ void XMLSectionImportContext::StartElement(
if (! bIsIndexHeader)
{
Any aAny;
- aAny.setValue( &bIsVisible, ::getBooleanCppuType() );
+ aAny.setValue( &bIsVisible, cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sIsVisible, aAny );
// #97450# hidden sections must be hidden on reload
@@ -179,7 +179,7 @@ void XMLSectionImportContext::StartElement(
if( bIsCurrentlyVisibleOK )
{
aAny.setValue( &bIsCurrentlyVisible,
- ::getBooleanCppuType() );
+ cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sIsCurrentlyVisible, aAny);
}
@@ -201,7 +201,7 @@ void XMLSectionImportContext::StartElement(
// protection
Any aAny;
- aAny.setValue( &bProtect, ::getBooleanCppuType() );
+ aAny.setValue( &bProtect, cppu::UnoType<bool>::get() );
xPropSet->setPropertyValue( sIsProtected, aAny );
// insert marker, <paragraph>, marker; then insert