sc: OUString cleanup
Change-Id: I2fcd14adaa20d2692beb12ffd0b40b1a47538fbc
This commit is contained in:
@@ -699,17 +699,17 @@ XMLTableStylesContext::XMLTableStylesContext( SvXMLImport& rImport,
|
|||||||
sal_uInt16 nPrfx ,
|
sal_uInt16 nPrfx ,
|
||||||
const OUString& rLName ,
|
const OUString& rLName ,
|
||||||
const uno::Reference< XAttributeList > & xAttrList,
|
const uno::Reference< XAttributeList > & xAttrList,
|
||||||
const bool bTempAutoStyles ) :
|
const bool bTempAutoStyles )
|
||||||
SvXMLStylesContext( rImport, nPrfx, rLName, xAttrList ),
|
: SvXMLStylesContext( rImport, nPrfx, rLName, xAttrList )
|
||||||
sCellStyleServiceName( OUString( "com.sun.star.style.CellStyle" )),
|
, sCellStyleServiceName("com.sun.star.style.CellStyle")
|
||||||
sColumnStyleServiceName( OUString( XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME )),
|
, sColumnStyleServiceName(XML_STYLE_FAMILY_TABLE_COLUMN_STYLES_NAME)
|
||||||
sRowStyleServiceName( OUString( XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME )),
|
, sRowStyleServiceName(XML_STYLE_FAMILY_TABLE_ROW_STYLES_NAME)
|
||||||
sTableStyleServiceName( OUString( XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME )),
|
, sTableStyleServiceName(XML_STYLE_FAMILY_TABLE_TABLE_STYLES_NAME)
|
||||||
nNumberFormatIndex(-1),
|
, nNumberFormatIndex(-1)
|
||||||
nConditionalFormatIndex(-1),
|
, nConditionalFormatIndex(-1)
|
||||||
nCellStyleIndex(-1),
|
, nCellStyleIndex(-1)
|
||||||
nMasterPageNameIndex(-1),
|
, nMasterPageNameIndex(-1)
|
||||||
bAutoStyles(bTempAutoStyles)
|
, bAutoStyles(bTempAutoStyles)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -791,8 +791,7 @@ uno::Reference < XNameContainer >
|
|||||||
if( xTableStyles.is() )
|
if( xTableStyles.is() )
|
||||||
xStyles.set(xTableStyles);
|
xStyles.set(xTableStyles);
|
||||||
else
|
else
|
||||||
sName =
|
sName = "TableStyles";
|
||||||
OUString( OUString( "TableStyles" ));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XML_STYLE_FAMILY_TABLE_CELL:
|
case XML_STYLE_FAMILY_TABLE_CELL:
|
||||||
@@ -800,8 +799,7 @@ uno::Reference < XNameContainer >
|
|||||||
if( xCellStyles.is() )
|
if( xCellStyles.is() )
|
||||||
xStyles.set(xCellStyles);
|
xStyles.set(xCellStyles);
|
||||||
else
|
else
|
||||||
sName =
|
sName = "CellStyles";
|
||||||
OUString( OUString( "CellStyles" ));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XML_STYLE_FAMILY_TABLE_COLUMN:
|
case XML_STYLE_FAMILY_TABLE_COLUMN:
|
||||||
@@ -809,8 +807,7 @@ uno::Reference < XNameContainer >
|
|||||||
if( xColumnStyles.is() )
|
if( xColumnStyles.is() )
|
||||||
xStyles.set(xColumnStyles);
|
xStyles.set(xColumnStyles);
|
||||||
else
|
else
|
||||||
sName =
|
sName = "ColumnStyles";
|
||||||
OUString( OUString( "ColumnStyles" ));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XML_STYLE_FAMILY_TABLE_ROW:
|
case XML_STYLE_FAMILY_TABLE_ROW:
|
||||||
@@ -818,8 +815,7 @@ uno::Reference < XNameContainer >
|
|||||||
if( xRowStyles.is() )
|
if( xRowStyles.is() )
|
||||||
xStyles.set(xRowStyles);
|
xStyles.set(xRowStyles);
|
||||||
else
|
else
|
||||||
sName =
|
sName = "RowStyles";
|
||||||
OUString( OUString( "RowStyles" ));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user