summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:29:36 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:10:44 +0200
commit59b072e22b0610abc7ffdbc75873ef5cbba58de7 (patch)
tree663c2d01a983508f9b22ec87fae29b16ab5a1683 /filter
parentbaa411b59c3840a4dddf5447a0b4583eb5edea74 (diff)
yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/eschesdo.cxx2
-rw-r--r--filter/source/pdf/pdfexport.cxx2
-rw-r--r--filter/source/placeware/exporter.cxx2
-rw-r--r--filter/source/t602/t602filter.cxx2
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx15
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx2
6 files changed, 11 insertions, 14 deletions
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index a453cacf00e2..8388e52c2b78 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -1096,7 +1096,7 @@ basegfx::B2DRange getUnrotatedGroupBoundRange(const Reference< XShape >& rxShape
if(mXPropSet.is())
{
- const Any aAny = mXPropSet->getPropertyValue(OUString("Transformation"));
+ const Any aAny = mXPropSet->getPropertyValue("Transformation");
if(aAny.hasValue())
{
diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx
index f9ba4cb05eb8..0e82712b275b 100644
--- a/filter/source/pdf/pdfexport.cxx
+++ b/filter/source/pdf/pdfexport.cxx
@@ -900,7 +900,7 @@ bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >&
sal_Int32 nTotalPageCount = aRangeEnum.size();
if ( bSecondPassForImpressNotes )
nTotalPageCount *= 2;
- mxStatusIndicator->start( OUString( ResId( PDF_PROGRESS_BAR, *pResMgr ) ), nTotalPageCount );
+ mxStatusIndicator->start( ResId( PDF_PROGRESS_BAR, *pResMgr ), nTotalPageCount );
}
}
diff --git a/filter/source/placeware/exporter.cxx b/filter/source/placeware/exporter.cxx
index 0ac63a4f869d..de4d56244133 100644
--- a/filter/source/placeware/exporter.cxx
+++ b/filter/source/placeware/exporter.cxx
@@ -301,7 +301,7 @@ bool PlaceWareExporter::doExport( Reference< XComponent > xDoc, Reference < XOut
if(xStatusIndicator.is())
{
- xStatusIndicator->start(OUString( "PlaceWare:" ),xDrawPages->getCount());
+ xStatusIndicator->start( "PlaceWare:", xDrawPages->getCount());
}
Reference< XDrawPage > xDrawPage;
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index c689a2c1a633..79ce86731a37 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -522,7 +522,7 @@ void T602ImportFilter::inschrdef(unsigned char ch)
pst.waspar = false;
if (mxHandler.is())
- mxHandler->characters(OUString(xch));
+ mxHandler->characters(xch);
}
void T602ImportFilter::wrtfnt()
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index f0eb7e4d1109..4290eaa5204a 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -77,7 +77,7 @@ bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::Property
utl::MediaDescriptor::PROP_STATUSINDICATOR(), Reference< XStatusIndicator >()));
if (xStatusIndicator.is()){
- xStatusIndicator->start(OUString( "Loading :" ),nProgressRange);
+ xStatusIndicator->start( "Loading :",nProgressRange);
}
OUString sXMLImportService ( udImport );
@@ -102,8 +102,7 @@ bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< css::beans::Property
Reference< XPropertySet > xInfoSet(
GenericPropertySet_CreateInstance( new PropertySetInfo( aImportInfoMap ) ) );
- xInfoSet->setPropertyValue(
- OUString( "BaseURI" ), makeAny( aBaseURI ));
+ xInfoSet->setPropertyValue( "BaseURI", makeAny( aBaseURI ));
aAnys[0] <<= xInfoSet;
@@ -199,7 +198,7 @@ bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< css::beans::Property
utl::MediaDescriptor::PROP_STATUSINDICATOR(), Reference< XStatusIndicator >()));
if (xStatusIndicator.is())
- xStatusIndicator->start(OUString( "Saving :" ),nProgressRange);
+ xStatusIndicator->start( "Saving :",nProgressRange);
// Set up converter bridge.
Reference< css::xml::XExportFilter > xConverter(mxContext->getServiceManager()->createInstanceWithContext( udConvertClass, mxContext ), UNO_QUERY);
@@ -258,13 +257,11 @@ bool SAL_CALL XmlFilterAdaptor::exportImpl( const Sequence< css::beans::Property
Reference< XPropertySet > xInfoSet(
GenericPropertySet_CreateInstance( new PropertySetInfo( aImportInfoMap ) ) );
- xInfoSet->setPropertyValue(
- OUString( "UsePrettyPrinting" ), makeAny( bPrettyPrint ));
+ xInfoSet->setPropertyValue("UsePrettyPrinting", makeAny( bPrettyPrint ));
xInfoSet->setPropertyValue(
- OUString( "ExportTextNumberElement" ),
+ "ExportTextNumberElement",
makeAny( bExportTextNumberElementForListItems ));
- xInfoSet->setPropertyValue(
- OUString( "BaseURI" ), makeAny( aBaseURI ));
+ xInfoSet->setPropertyValue("BaseURI", makeAny( aBaseURI ));
aAnys[1] <<= xInfoSet;
Reference< XExporter > xExporter( mxContext->getServiceManager()->createInstanceWithArgumentsAndContext(
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index 403debb29597..dc478cef6336 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -255,7 +255,7 @@ namespace XSLT
css::uno::Reference<XStringSubstitution>
subs(css::util::PathSubstitution::create(m_xContext));
- OUString aWorkingDir(subs->getSubstituteVariableValue(OUString( "$(progurl)")));
+ OUString aWorkingDir(subs->getSubstituteVariableValue( "$(progurl)" ));
INetURLObject aObj(aWorkingDir);
aObj.setFinalSlash();
bool bWasAbsolute;