summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:28 +0200
commit008904a75bae7a42af8fce5f2bced4d029af3094 (patch)
treee961b17f35984274d53e96eaa8a164674168edcb /svx/source/table
parente81a7fd0ee95c2afbc373b26ec34d6084ee07cff (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I4791f064f223487ce57e68f8e0b1e3d74e66e868
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/cell.cxx4
-rw-r--r--svx/source/table/tablecolumn.cxx8
-rw-r--r--svx/source/table/tablerow.cxx8
3 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 356f45d7d58a..8a8af8c9f00e 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -73,7 +73,7 @@ static const SvxItemPropertySet* ImplGetSvxCellPropertySet()
static const SfxItemPropertyMapEntry aSvxCellPropertyMap[] =
{
FILL_PROPERTIES
-// { "HasLevels", OWN_ATTR_HASLEVELS, ::getBooleanCppuType(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
+// { "HasLevels", OWN_ATTR_HASLEVELS, cppu::UnoType<bool>::get(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
{ OUString("Style"), OWN_ATTR_STYLE, cppu::UnoType< ::com::sun::star::style::XStyle >::get(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ OUString(UNO_NAME_TEXT_WRITINGMODE), SDRATTR_TEXTDIRECTION, cppu::UnoType<com::sun::star::text::WritingMode>::get(), 0, 0},
{ OUString(UNO_NAME_TEXT_HORZADJUST), SDRATTR_TEXT_HORZADJUST, cppu::UnoType<com::sun::star::drawing::TextHorizontalAdjust>::get(), 0, 0}, \
@@ -82,7 +82,7 @@ static const SvxItemPropertySet* ImplGetSvxCellPropertySet()
{ OUString(UNO_NAME_TEXT_RIGHTDIST), SDRATTR_TEXT_RIGHTDIST, ::cppu::UnoType<sal_Int32>::get(), 0, SFX_METRIC_ITEM}, \
{ OUString(UNO_NAME_TEXT_UPPERDIST), SDRATTR_TEXT_UPPERDIST, ::cppu::UnoType<sal_Int32>::get(), 0, SFX_METRIC_ITEM}, \
{ OUString(UNO_NAME_TEXT_VERTADJUST), SDRATTR_TEXT_VERTADJUST, cppu::UnoType<com::sun::star::drawing::TextVerticalAdjust>::get(), 0, 0},\
- { OUString(UNO_NAME_TEXT_WORDWRAP), SDRATTR_TEXT_WORDWRAP, ::getBooleanCppuType(), 0, 0}, \
+ { OUString(UNO_NAME_TEXT_WORDWRAP), SDRATTR_TEXT_WORDWRAP, cppu::UnoType<bool>::get(), 0, 0}, \
{ OUString("TableBorder"), OWN_ATTR_TABLEBORDER, cppu::UnoType<TableBorder>::get(), 0, 0 }, \
{ OUString("TopBorder"), SDRATTR_TABLE_BORDER, cppu::UnoType<BorderLine>::get(), 0, TOP_BORDER }, \
diff --git a/svx/source/table/tablecolumn.cxx b/svx/source/table/tablecolumn.cxx
index 1b0aa1706596..9e558bdb9719 100644
--- a/svx/source/table/tablecolumn.cxx
+++ b/svx/source/table/tablecolumn.cxx
@@ -264,17 +264,17 @@ rtl::Reference< FastPropertySetInfo > TableColumn::getStaticPropertySetInfo()
aProperties[1].Name = "OptimalWidth";
aProperties[1].Handle = Property_OptimalWidth;
- aProperties[1].Type = ::getBooleanCppuType();
+ aProperties[1].Type = cppu::UnoType<bool>::get();
aProperties[1].Attributes = 0;
aProperties[2].Name = "IsVisible";
aProperties[2].Handle = Property_IsVisible;
- aProperties[2].Type = ::getBooleanCppuType();
+ aProperties[2].Type = cppu::UnoType<bool>::get();
aProperties[2].Attributes = 0;
aProperties[3].Name = "IsStartOfNewPage";
aProperties[3].Handle = Property_IsStartOfNewPage;
- aProperties[3].Type = ::getBooleanCppuType();
+ aProperties[3].Type = cppu::UnoType<bool>::get();
aProperties[3].Attributes = 0;
aProperties[4].Name = "Size";
@@ -284,7 +284,7 @@ rtl::Reference< FastPropertySetInfo > TableColumn::getStaticPropertySetInfo()
aProperties[5].Name = "OptimalSize";
aProperties[5].Handle = Property_OptimalWidth;
- aProperties[5].Type = ::getBooleanCppuType();
+ aProperties[5].Type = cppu::UnoType<bool>::get();
aProperties[5].Attributes = 0;
xInfo.set( new FastPropertySetInfo(aProperties) );
diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx
index ed1e93872d24..195a895781e5 100644
--- a/svx/source/table/tablerow.cxx
+++ b/svx/source/table/tablerow.cxx
@@ -334,17 +334,17 @@ rtl::Reference< FastPropertySetInfo > TableRow::getStaticPropertySetInfo()
aProperties[1].Name = "OptimalHeight";
aProperties[1].Handle = Property_OptimalHeight;
- aProperties[1].Type = ::getBooleanCppuType();
+ aProperties[1].Type = cppu::UnoType<bool>::get();
aProperties[1].Attributes = 0;
aProperties[2].Name = "IsVisible";
aProperties[2].Handle = Property_IsVisible;
- aProperties[2].Type = ::getBooleanCppuType();
+ aProperties[2].Type = cppu::UnoType<bool>::get();
aProperties[2].Attributes = 0;
aProperties[3].Name = "IsStartOfNewPage";
aProperties[3].Handle = Property_IsStartOfNewPage;
- aProperties[3].Type = ::getBooleanCppuType();
+ aProperties[3].Type = cppu::UnoType<bool>::get();
aProperties[3].Attributes = 0;
aProperties[4].Name = "Size";
@@ -354,7 +354,7 @@ rtl::Reference< FastPropertySetInfo > TableRow::getStaticPropertySetInfo()
aProperties[5].Name = "OptimalSize";
aProperties[5].Handle = Property_OptimalHeight;
- aProperties[5].Type = ::getBooleanCppuType();
+ aProperties[5].Type = cppu::UnoType<bool>::get();
aProperties[5].Attributes = 0;
xInfo.set( new FastPropertySetInfo(aProperties) );