summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/workbookhelper.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-10-06 17:57:07 +0200
committerDavid Tardon <dtardon@redhat.com>2012-10-06 17:57:31 +0200
commit0e7e65d0480f63000b46b8009becf749e8a1d765 (patch)
treea89b118e2eda8d9cd04630409ceb2a4a8601e8f2 /sc/source/filter/oox/workbookhelper.cxx
parent5e47d8ca9a4282d2c7b6e1e561d7f2eb46166bd7 (diff)
get rid of CREATE_OUSTRING
Change-Id: I67cd3213c7c92a4a782906a7250c176efeb01633
Diffstat (limited to 'sc/source/filter/oox/workbookhelper.cxx')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index d0394987e561..b9dabe67289f 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -511,10 +511,10 @@ Reference< XStyle > WorkbookGlobals::createStyleObject( OUString& orStyleName, b
void WorkbookGlobals::initialize( bool bWorkbookFile )
{
- maCellStyles = CREATE_OUSTRING( "CellStyles" );
- maPageStyles = CREATE_OUSTRING( "PageStyles" );
- maCellStyleServ = CREATE_OUSTRING( "com.sun.star.style.CellStyle" );
- maPageStyleServ = CREATE_OUSTRING( "com.sun.star.style.PageStyle" );
+ maCellStyles = "CellStyles";
+ maPageStyles = "PageStyles";
+ maCellStyleServ = "com.sun.star.style.CellStyle";
+ maPageStyleServ = "com.sun.star.style.PageStyle";
mnCurrSheet = -1;
mbWorkbook = bWorkbookFile;
meTextEnc = osl_getThreadTextEncoding();
@@ -562,7 +562,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
xLockable->addActionLock();
//! TODO: localize progress bar text
- mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), CREATE_OUSTRING( "Loading..." ) ) );
+ mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), "Loading..." ) );
mxFmlaParser.reset( new FormulaParser( *this ) );
//prevent unnecessary broadcasts and "half way listeners" as
@@ -572,7 +572,7 @@ void WorkbookGlobals::initialize( bool bWorkbookFile )
else if( mrBaseFilter.isExportFilter() )
{
//! TODO: localize progress bar text
- mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), CREATE_OUSTRING( "Saving..." ) ) );
+ mxProgressBar.reset( new SegmentProgressBar( mrBaseFilter.getStatusIndicator(), "Saving..." ) );
}
// filter specific
switch( getFilterType() )
@@ -692,7 +692,7 @@ void WorkbookHelper::finalizeWorkbookImport()
number 1). Otherwise hidden sheets (e.g. for scenarios) which have
'Default' page style will break automatic page numbering for following
sheets. Automatic numbering is set by passing the value 0. */
- PropertySet aDefPageStyle( getStyleObject( CREATE_OUSTRING( "Default" ), true ) );
+ PropertySet aDefPageStyle( getStyleObject( "Default", true ) );
aDefPageStyle.setProperty< sal_Int16 >( PROP_FirstPageNumber, 0 );
/* Import the VBA project (after finalizing workbook settings which