loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I121d77de11705a4314b875374bf9f499a8afff47
This commit is contained in:
parent
82dafd096a
commit
518d998e47
@ -329,7 +329,7 @@ sal_uInt16 FlashExporter::exportBackgrounds( const Reference< XDrawPage >& xDraw
|
|||||||
return nPage;
|
return nPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_uInt16 FlashExporter::exportBackgrounds( Reference< XDrawPage > xDrawPage, sal_uInt16 nPage, bool bExportObjects )
|
sal_uInt16 FlashExporter::exportBackgrounds( Reference< XDrawPage > const & xDrawPage, sal_uInt16 nPage, bool bExportObjects )
|
||||||
{
|
{
|
||||||
Reference< XPropertySet > xPropSet( xDrawPage, UNO_QUERY );
|
Reference< XPropertySet > xPropSet( xDrawPage, UNO_QUERY );
|
||||||
if( !xDrawPage.is() || !xPropSet.is() )
|
if( !xDrawPage.is() || !xPropSet.is() )
|
||||||
@ -392,7 +392,7 @@ sal_Int32 nPlaceDepth;
|
|||||||
// should be reused. The return value indicates which slide's background to use.
|
// should be reused. The return value indicates which slide's background to use.
|
||||||
// If the return value != nPage, then there is no background (if == -1) or the
|
// If the return value != nPage, then there is no background (if == -1) or the
|
||||||
// background has already been exported.
|
// background has already been exported.
|
||||||
sal_uInt16 FlashExporter::exportDrawPageBackground(sal_uInt16 nPage, Reference< XDrawPage >& xPage)
|
sal_uInt16 FlashExporter::exportDrawPageBackground(sal_uInt16 nPage, Reference< XDrawPage > const & xPage)
|
||||||
{
|
{
|
||||||
sal_uInt16 rBackgroundID;
|
sal_uInt16 rBackgroundID;
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ public:
|
|||||||
bool exportAll( const css::uno::Reference< css::lang::XComponent >& xDoc, css::uno::Reference< css::io::XOutputStream > &xOutputStream, css::uno::Reference< css::task::XStatusIndicator> &xStatusIndicator );
|
bool exportAll( const css::uno::Reference< css::lang::XComponent >& xDoc, css::uno::Reference< css::io::XOutputStream > &xOutputStream, css::uno::Reference< css::task::XStatusIndicator> &xStatusIndicator );
|
||||||
bool exportSlides( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream, sal_uInt16 nPage);
|
bool exportSlides( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream, sal_uInt16 nPage);
|
||||||
sal_uInt16 exportBackgrounds( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream, sal_uInt16 nPage, bool bExportObjects );
|
sal_uInt16 exportBackgrounds( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage, css::uno::Reference< css::io::XOutputStream > &xOutputStream, sal_uInt16 nPage, bool bExportObjects );
|
||||||
sal_uInt16 exportBackgrounds( css::uno::Reference< css::drawing::XDrawPage > xDrawPage, sal_uInt16 nPage, bool bExportObjects );
|
sal_uInt16 exportBackgrounds( css::uno::Reference< css::drawing::XDrawPage > const & xDrawPage, sal_uInt16 nPage, bool bExportObjects );
|
||||||
|
|
||||||
ChecksumCache gMasterCache;
|
ChecksumCache gMasterCache;
|
||||||
ChecksumCache gPrivateCache;
|
ChecksumCache gPrivateCache;
|
||||||
@ -150,7 +150,7 @@ private:
|
|||||||
|
|
||||||
::std::map<sal_uInt32, PageInfo> maPagesMap;
|
::std::map<sal_uInt32, PageInfo> maPagesMap;
|
||||||
|
|
||||||
sal_uInt16 exportDrawPageBackground(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage >& xPage);
|
sal_uInt16 exportDrawPageBackground(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage > const & xPage);
|
||||||
sal_uInt16 exportMasterPageObjects(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage >& xMasterPage);
|
sal_uInt16 exportMasterPageObjects(sal_uInt16 nPage, css::uno::Reference< css::drawing::XDrawPage >& xMasterPage);
|
||||||
|
|
||||||
void exportDrawPageContents( const css::uno::Reference< css::drawing::XDrawPage >& xPage, bool bStream, bool bMaster );
|
void exportDrawPageContents( const css::uno::Reference< css::drawing::XDrawPage >& xPage, bool bStream, bool bMaster );
|
||||||
|
@ -103,7 +103,7 @@ PageEntry::~PageEntry()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void encodeFile( osl::File& rSourceFile, Reference< XOutputStream >& xOutputStream ) throw( css::uno::Exception )
|
static void encodeFile( osl::File& rSourceFile, Reference< XOutputStream > const & xOutputStream ) throw( css::uno::Exception )
|
||||||
{
|
{
|
||||||
if( xOutputStream.is() )
|
if( xOutputStream.is() )
|
||||||
{
|
{
|
||||||
@ -281,7 +281,7 @@ static void createSlideFile( const Reference< XComponent >& xDoc, PlacewareZipFi
|
|||||||
|
|
||||||
//#define PLACEWARE_DEBUG 1
|
//#define PLACEWARE_DEBUG 1
|
||||||
|
|
||||||
bool PlaceWareExporter::doExport( const Reference< XComponent >& xDoc, Reference < XOutputStream > xOutputStream,
|
bool PlaceWareExporter::doExport( const Reference< XComponent >& xDoc, Reference < XOutputStream > const &xOutputStream,
|
||||||
const OUString& rURL, const Reference < XInterface >& /* xHandler */, Reference < XStatusIndicator >& xStatusIndicator )
|
const OUString& rURL, const Reference < XInterface >& /* xHandler */, Reference < XStatusIndicator >& xStatusIndicator )
|
||||||
{
|
{
|
||||||
bool bRet = false;
|
bool bRet = false;
|
||||||
|
@ -36,7 +36,7 @@ public:
|
|||||||
~PlaceWareExporter();
|
~PlaceWareExporter();
|
||||||
|
|
||||||
bool doExport( const css::uno::Reference< css::lang::XComponent >& xDoc,
|
bool doExport( const css::uno::Reference< css::lang::XComponent >& xDoc,
|
||||||
css::uno::Reference < css::io::XOutputStream > xOutputStream,
|
css::uno::Reference < css::io::XOutputStream > const & xOutputStream,
|
||||||
const OUString& rURL,
|
const OUString& rURL,
|
||||||
const css::uno::Reference < css::uno::XInterface >& xHandler,
|
const css::uno::Reference < css::uno::XInterface >& xHandler,
|
||||||
css::uno::Reference < css::task::XStatusIndicator >& rxStatusIndicator );
|
css::uno::Reference < css::task::XStatusIndicator >& rxStatusIndicator );
|
||||||
|
@ -140,7 +140,7 @@ T602ImportFilter::T602ImportFilter(const css::uno::Reference<css::lang::XMultiSe
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
T602ImportFilter::T602ImportFilter(css::uno::Reference<css::io::XInputStream> xInputStream)
|
T602ImportFilter::T602ImportFilter(css::uno::Reference<css::io::XInputStream> const & xInputStream)
|
||||||
: mxInputStream(xInputStream)
|
: mxInputStream(xInputStream)
|
||||||
, mpAttrList(nullptr)
|
, mpAttrList(nullptr)
|
||||||
, node(tnode::START)
|
, node(tnode::START)
|
||||||
|
@ -253,7 +253,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
explicit T602ImportFilter(const css::uno::Reference<css::lang::XMultiServiceFactory > &r );
|
explicit T602ImportFilter(const css::uno::Reference<css::lang::XMultiServiceFactory > &r );
|
||||||
explicit T602ImportFilter(css::uno::Reference<css::io::XInputStream> xInputStream);
|
explicit T602ImportFilter(css::uno::Reference<css::io::XInputStream> const & xInputStream);
|
||||||
virtual ~T602ImportFilter();
|
virtual ~T602ImportFilter();
|
||||||
|
|
||||||
// XFilter
|
// XFilter
|
||||||
|
@ -101,7 +101,7 @@ static Reference< XInterface > addFolder( Reference< XInterface >& xRootFolder,
|
|||||||
return xFolder;
|
return xFolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void addFile_( Reference< XInterface >& xRootFolder, Reference< XSingleServiceFactory >& xFactory, Reference< XInputStream >& xInput, const OUString& aName ) throw( Exception )
|
static void addFile_( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, Reference< XInputStream > const & xInput, const OUString& aName ) throw( Exception )
|
||||||
{
|
{
|
||||||
Reference< XActiveDataSink > xSink( xFactory->createInstance(), UNO_QUERY );
|
Reference< XActiveDataSink > xSink( xFactory->createInstance(), UNO_QUERY );
|
||||||
Reference< XUnoTunnel > xTunnel( xSink, UNO_QUERY );
|
Reference< XUnoTunnel > xTunnel( xSink, UNO_QUERY );
|
||||||
@ -113,7 +113,7 @@ static void addFile_( Reference< XInterface >& xRootFolder, Reference< XSingleSe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void XMLFilterJarHelper::addFile( Reference< XInterface > xRootFolder, Reference< XSingleServiceFactory > xFactory, const OUString& rSourceFile ) throw( Exception, std::exception )
|
void XMLFilterJarHelper::addFile( Reference< XInterface > const & xRootFolder, Reference< XSingleServiceFactory > const & xFactory, const OUString& rSourceFile ) throw( Exception, std::exception )
|
||||||
{
|
{
|
||||||
if( !rSourceFile.isEmpty() &&
|
if( !rSourceFile.isEmpty() &&
|
||||||
!rSourceFile.startsWith("http:") &&
|
!rSourceFile.startsWith("http:") &&
|
||||||
|
@ -38,7 +38,7 @@ public:
|
|||||||
void openPackage( const OUString& rPackageURL, XMLFilterVector& rFilters );
|
void openPackage( const OUString& rPackageURL, XMLFilterVector& rFilters );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void addFile( css::uno::Reference< css::uno::XInterface > xRootFolder, css::uno::Reference< css::lang::XSingleServiceFactory > xFactory, const OUString& rSourceFile ) throw( css::uno::Exception, std::exception );
|
void addFile( css::uno::Reference< css::uno::XInterface > const & xRootFolder, css::uno::Reference< css::lang::XSingleServiceFactory > const & xFactory, const OUString& rSourceFile ) throw( css::uno::Exception, std::exception );
|
||||||
|
|
||||||
bool copyFile( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, OUString& rURL, const OUString& rTargetURL );
|
bool copyFile( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, OUString& rURL, const OUString& rTargetURL );
|
||||||
bool copyFiles( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, filter_info_impl* pFilter );
|
bool copyFiles( const css::uno::Reference< css::container::XHierarchicalNameAccess >& xIfc, filter_info_impl* pFilter );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user