loplugin:passstuffbyref in unotest
Change-Id: Icfd516f9fab9c6af6898b1880e51f747f4e25793
This commit is contained in:
@@ -43,9 +43,9 @@ public:
|
|||||||
BootstrapFixtureBase();
|
BootstrapFixtureBase();
|
||||||
virtual ~BootstrapFixtureBase();
|
virtual ~BootstrapFixtureBase();
|
||||||
|
|
||||||
css::uno::Reference<css::uno::XComponentContext>
|
const css::uno::Reference<css::uno::XComponentContext>&
|
||||||
getComponentContext() { return m_xContext; }
|
getComponentContext() { return m_xContext; }
|
||||||
css::uno::Reference<css::lang::XMultiServiceFactory>
|
const css::uno::Reference<css::lang::XMultiServiceFactory>&
|
||||||
getMultiServiceFactory() { return m_xSFactory; }
|
getMultiServiceFactory() { return m_xSFactory; }
|
||||||
|
|
||||||
virtual void setUp() override;
|
virtual void setUp() override;
|
||||||
|
@@ -27,8 +27,8 @@ private:
|
|||||||
public:
|
public:
|
||||||
Directories();
|
Directories();
|
||||||
|
|
||||||
OUString getSrcRootURL() { return m_aSrcRootURL; }
|
const OUString& getSrcRootURL() { return m_aSrcRootURL; }
|
||||||
OUString getSrcRootPath() { return m_aSrcRootPath; }
|
const OUString& getSrcRootPath() { return m_aSrcRootPath; }
|
||||||
|
|
||||||
// return a URL to a given c-str path from the source directory
|
// return a URL to a given c-str path from the source directory
|
||||||
OUString getURLFromSrc( const char *pPath );
|
OUString getURLFromSrc( const char *pPath );
|
||||||
|
@@ -46,7 +46,7 @@ public:
|
|||||||
|
|
||||||
void tearDown();
|
void tearDown();
|
||||||
|
|
||||||
css::uno::Reference< css::uno::XComponentContext >
|
const css::uno::Reference< css::uno::XComponentContext >&
|
||||||
getComponentContext() const { return context_;}
|
getComponentContext() const { return context_;}
|
||||||
|
|
||||||
// Must not be called before setUp or after tearDown:
|
// Must not be called before setUp or after tearDown:
|
||||||
|
Reference in New Issue
Block a user