summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-06 17:16:41 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:31:55 +0200
commit60c8df432619e4aaf90e92e18f096a43acb3a30f (patch)
tree86d0d6dc6a7a6d1313c8e2427d0ddccc400513eb /sw
parent18c7992d7ff66e796f18eeeb44b62a78f74f820a (diff)
remove static strings
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/vbaborders.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/ui/vba/vbaborders.cxx b/sw/source/ui/vba/vbaborders.cxx
index c310ee23b61a..b8eeb818aa60 100644
--- a/sw/source/ui/vba/vbaborders.cxx
+++ b/sw/source/ui/vba/vbaborders.cxx
@@ -38,8 +38,6 @@ typedef InheritedHelperInterfaceImpl1<word::XBorder > SwVbaBorder_Base;
// borders, the enumeration will match the order in this list
static const sal_Int16 supportedIndexTable[] = { word::WdBorderType::wdBorderBottom, word::WdBorderType::wdBorderDiagonalDown, word::WdBorderType::wdBorderDiagonalUp, word::WdBorderType::wdBorderHorizontal, word::WdBorderType::wdBorderLeft, word::WdBorderType::wdBorderRight, word::WdBorderType::wdBorderTop, word::WdBorderType::wdBorderVertical };
-const static OUString sTableBorder("TableBorder");
-
// Equiv widths in in 1/100 mm
const static sal_Int32 OOLineHairline = 2;
@@ -52,7 +50,7 @@ private:
bool setBorderLine( table::BorderLine& rBorderLine )
{
table::TableBorder aTableBorder;
- m_xProps->getPropertyValue( sTableBorder ) >>= aTableBorder;
+ m_xProps->getPropertyValue( "TableBorder" ) >>= aTableBorder;
switch ( m_LineType )
{
@@ -89,14 +87,14 @@ private:
default:
return false;
}
- m_xProps->setPropertyValue( sTableBorder, uno::makeAny(aTableBorder) );
+ m_xProps->setPropertyValue( "TableBorder", uno::makeAny(aTableBorder) );
return true;
}
bool getBorderLine( table::BorderLine& rBorderLine )
{
table::TableBorder aTableBorder;
- m_xProps->getPropertyValue( sTableBorder ) >>= aTableBorder;
+ m_xProps->getPropertyValue( "TableBorder" ) >>= aTableBorder;
switch ( m_LineType )
{
case word::WdBorderType::wdBorderLeft: