summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--reportdesign/inc/UndoActions.hxx2
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx8
-rw-r--r--reportdesign/source/core/sdr/UndoActions.cxx4
-rw-r--r--sc/source/ui/vba/vbaassistant.cxx2
-rw-r--r--sc/source/ui/vba/vbaassistant.hxx2
-rw-r--r--sc/source/ui/vba/vbamenu.cxx2
-rw-r--r--sc/source/ui/vba/vbamenu.hxx2
-rw-r--r--sc/source/ui/vba/vbamenubar.cxx2
-rw-r--r--sc/source/ui/vba/vbamenubar.hxx2
-rw-r--r--sc/source/ui/vba/vbamenuitem.cxx2
-rw-r--r--sc/source/ui/vba/vbamenuitem.hxx2
-rw-r--r--sc/source/ui/vba/vbapane.cxx8
-rw-r--r--sc/source/ui/vba/vbapane.hxx8
-rw-r--r--sc/source/ui/vba/vbarange.cxx10
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx22
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.hxx2
-rw-r--r--starmath/source/mathmlexport.cxx10
-rw-r--r--starmath/source/mathmlexport.hxx2
-rw-r--r--starmath/source/mathmlimport.cxx4
-rw-r--r--starmath/source/mathmlimport.hxx2
20 files changed, 49 insertions, 49 deletions
diff --git a/reportdesign/inc/UndoActions.hxx b/reportdesign/inc/UndoActions.hxx
index 14d33bd1d149..72dd6193146f 100644
--- a/reportdesign/inc/UndoActions.hxx
+++ b/reportdesign/inc/UndoActions.hxx
@@ -187,7 +187,7 @@ namespace rptui
public:
OUndoContainerAction(SdrModel& rMod
,Action _eAction
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > _xContainer
+ ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& rContainer
,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElem
,sal_uInt16 _nCommentId);
virtual ~OUndoContainerAction();
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 2261a8298637..767100816e6c 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -2298,7 +2298,7 @@ class OStylesHelper:
protected:
virtual ~OStylesHelper(){}
public:
- OStylesHelper(const uno::Type _aType = cppu::UnoType<container::XElementAccess>::get());
+ OStylesHelper(const uno::Type& rType = cppu::UnoType<container::XElementAccess>::get());
// XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const uno::Any& aElement ) throw(lang::IllegalArgumentException, container::ElementExistException,lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -2320,9 +2320,9 @@ public:
virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
-OStylesHelper::OStylesHelper(const uno::Type _aType)
-: cppu::BaseMutex()
-,m_aType(_aType)
+OStylesHelper::OStylesHelper(const uno::Type& rType)
+ : cppu::BaseMutex()
+ , m_aType(rType)
{
}
;
diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx
index 7331e88abd18..a676dbc70c39 100644
--- a/reportdesign/source/core/sdr/UndoActions.cxx
+++ b/reportdesign/source/core/sdr/UndoActions.cxx
@@ -105,12 +105,12 @@ void OCommentUndoAction::Redo()
OUndoContainerAction::OUndoContainerAction(SdrModel& _rMod
,Action _eAction
- ,const uno::Reference< container::XIndexContainer > _xContainer
+ ,const uno::Reference< container::XIndexContainer >& rContainer
,const Reference< XInterface > & xElem
,sal_uInt16 _nCommentId)
:OCommentUndoAction(_rMod,_nCommentId)
,m_xElement(xElem)
- ,m_xContainer(_xContainer)
+ ,m_xContainer(rContainer)
,m_eAction( _eAction )
{
// normalize
diff --git a/sc/source/ui/vba/vbaassistant.cxx b/sc/source/ui/vba/vbaassistant.cxx
index efd90a35f2b6..28a114ec4002 100644
--- a/sc/source/ui/vba/vbaassistant.cxx
+++ b/sc/source/ui/vba/vbaassistant.cxx
@@ -28,7 +28,7 @@ using namespace ooo::vba;
using namespace ooo::vba::office::MsoAnimationType;
-ScVbaAssistant::ScVbaAssistant( const uno::Reference< XHelperInterface > xParent, const uno::Reference< uno::XComponentContext > xContext ): ScVbaAssistantImpl_BASE( xParent, xContext ),
+ScVbaAssistant::ScVbaAssistant( const uno::Reference< XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext ): ScVbaAssistantImpl_BASE(rParent, rContext),
m_sName( "Clippit" )
{
m_bIsVisible = false;
diff --git a/sc/source/ui/vba/vbaassistant.hxx b/sc/source/ui/vba/vbaassistant.hxx
index e10ab6a3fbff..3ccbc2d7d202 100644
--- a/sc/source/ui/vba/vbaassistant.hxx
+++ b/sc/source/ui/vba/vbaassistant.hxx
@@ -39,7 +39,7 @@ private:
OUString m_sName;
sal_Int32 m_nAnimation;
public:
- ScVbaAssistant( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext );
+ ScVbaAssistant( const css::uno::Reference< ov::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext );
virtual ~ScVbaAssistant();
// XAssistant
virtual sal_Bool SAL_CALL getOn() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/source/ui/vba/vbamenu.cxx b/sc/source/ui/vba/vbamenu.cxx
index 328d43ee0ec6..f0088b8af289 100644
--- a/sc/source/ui/vba/vbamenu.cxx
+++ b/sc/source/ui/vba/vbamenu.cxx
@@ -13,7 +13,7 @@
using namespace com::sun::star;
using namespace ooo::vba;
-ScVbaMenu::ScVbaMenu( const uno::Reference< ov::XHelperInterface > xParent, const uno::Reference< uno::XComponentContext > xContext, const uno::Reference< XCommandBarControl >& xCommandBarControl ) throw( uno::RuntimeException ) : Menu_BASE( xParent, xContext ), m_xCommandBarControl( xCommandBarControl )
+ScVbaMenu::ScVbaMenu( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) throw( uno::RuntimeException ) : Menu_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl )
{
}
diff --git a/sc/source/ui/vba/vbamenu.hxx b/sc/source/ui/vba/vbamenu.hxx
index 9357364c90ea..bbc557b466be 100644
--- a/sc/source/ui/vba/vbamenu.hxx
+++ b/sc/source/ui/vba/vbamenu.hxx
@@ -21,7 +21,7 @@ private:
css::uno::Reference< ov::XCommandBarControl > m_xCommandBarControl;
public:
- ScVbaMenu( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< ov::XCommandBarControl >& xCommandBarControl ) throw( css::uno::RuntimeException );
+ ScVbaMenu( const css::uno::Reference< ov::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< ov::XCommandBarControl >& rCommandBarControl ) throw( css::uno::RuntimeException );
virtual OUString SAL_CALL getCaption() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setCaption( const OUString& _caption ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/source/ui/vba/vbamenubar.cxx b/sc/source/ui/vba/vbamenubar.cxx
index 682fd117d9ef..e400ab3a31e9 100644
--- a/sc/source/ui/vba/vbamenubar.cxx
+++ b/sc/source/ui/vba/vbamenubar.cxx
@@ -13,7 +13,7 @@
using namespace com::sun::star;
using namespace ooo::vba;
-ScVbaMenuBar::ScVbaMenuBar( const uno::Reference< ov::XHelperInterface > xParent, const uno::Reference< uno::XComponentContext > xContext, const uno::Reference< XCommandBar >& xCommandBar ) throw( uno::RuntimeException ) : MenuBar_BASE( xParent, xContext ), m_xCommandBar( xCommandBar )
+ScVbaMenuBar::ScVbaMenuBar( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBar >& rCommandBar ) throw( uno::RuntimeException ) : MenuBar_BASE(rParent, rContext), m_xCommandBar(rCommandBar)
{
}
diff --git a/sc/source/ui/vba/vbamenubar.hxx b/sc/source/ui/vba/vbamenubar.hxx
index d7dd5a27470b..919da5f21dd0 100644
--- a/sc/source/ui/vba/vbamenubar.hxx
+++ b/sc/source/ui/vba/vbamenubar.hxx
@@ -21,7 +21,7 @@ private:
css::uno::Reference< ov::XCommandBar > m_xCommandBar;
public:
- ScVbaMenuBar( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< ov::XCommandBar >& xCommandBar ) throw( css::uno::RuntimeException );
+ ScVbaMenuBar( const css::uno::Reference< ov::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< ov::XCommandBar >& rCommandBar ) throw( css::uno::RuntimeException );
virtual css::uno::Any SAL_CALL Menus( const css::uno::Any& aIndex ) throw (css::script::BasicErrorException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/source/ui/vba/vbamenuitem.cxx b/sc/source/ui/vba/vbamenuitem.cxx
index b05e8982540d..48321652ca3f 100644
--- a/sc/source/ui/vba/vbamenuitem.cxx
+++ b/sc/source/ui/vba/vbamenuitem.cxx
@@ -11,7 +11,7 @@
using namespace com::sun::star;
using namespace ooo::vba;
-ScVbaMenuItem::ScVbaMenuItem( const uno::Reference< ov::XHelperInterface > xParent, const uno::Reference< uno::XComponentContext > xContext, const uno::Reference< XCommandBarControl >& xCommandBarControl ) throw( uno::RuntimeException ) : MenuItem_BASE( xParent, xContext ), m_xCommandBarControl( xCommandBarControl )
+ScVbaMenuItem::ScVbaMenuItem( const uno::Reference< ov::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< XCommandBarControl >& rCommandBarControl ) throw( uno::RuntimeException ) : MenuItem_BASE( rParent, rContext ), m_xCommandBarControl( rCommandBarControl )
{
}
diff --git a/sc/source/ui/vba/vbamenuitem.hxx b/sc/source/ui/vba/vbamenuitem.hxx
index 1561ce057d4f..3bb9a1dd2755 100644
--- a/sc/source/ui/vba/vbamenuitem.hxx
+++ b/sc/source/ui/vba/vbamenuitem.hxx
@@ -21,7 +21,7 @@ private:
css::uno::Reference< ov::XCommandBarControl > m_xCommandBarControl;
public:
- ScVbaMenuItem( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext > xContext, const css::uno::Reference< ov::XCommandBarControl >& xCommandBarControl ) throw( css::uno::RuntimeException );
+ ScVbaMenuItem( const css::uno::Reference< ov::XHelperInterface >& rParent, const css::uno::Reference< css::uno::XComponentContext >& rContext, const css::uno::Reference< ov::XCommandBarControl >& rCommandBarControl ) throw( css::uno::RuntimeException );
virtual OUString SAL_CALL getCaption() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setCaption( const OUString& _caption ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/source/ui/vba/vbapane.cxx b/sc/source/ui/vba/vbapane.cxx
index bd02fcb8b60e..db9c0e9739b3 100644
--- a/sc/source/ui/vba/vbapane.cxx
+++ b/sc/source/ui/vba/vbapane.cxx
@@ -29,10 +29,10 @@ using namespace ooo::vba;
ScVbaPane::ScVbaPane(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext >& xContext,
- const uno::Reference< frame::XModel >& xModel,
- const uno::Reference< sheet::XViewPane > xViewPane ) throw (uno::RuntimeException) :
- m_xModel( xModel, uno::UNO_SET_THROW ),
- m_xViewPane( xViewPane, uno::UNO_SET_THROW ),
+ const uno::Reference< frame::XModel >& rModel,
+ const uno::Reference< sheet::XViewPane >& rViewPane ) throw (uno::RuntimeException) :
+ m_xModel(rModel, uno::UNO_SET_THROW),
+ m_xViewPane(rViewPane, uno::UNO_SET_THROW),
m_xParent(xParent),
m_xContext(xContext)
{
diff --git a/sc/source/ui/vba/vbapane.hxx b/sc/source/ui/vba/vbapane.hxx
index 64551991be71..104e74a4cf8c 100644
--- a/sc/source/ui/vba/vbapane.hxx
+++ b/sc/source/ui/vba/vbapane.hxx
@@ -30,10 +30,10 @@ class ScVbaPane : public ScVbaPane_BASE
{
public:
ScVbaPane(
- const css::uno::Reference< ov::XHelperInterface >& xParent,
- const css::uno::Reference< css::uno::XComponentContext >& xContext,
- const css::uno::Reference< css::frame::XModel >& xModel,
- const css::uno::Reference< css::sheet::XViewPane > xViewPane ) throw (css::uno::RuntimeException);
+ const css::uno::Reference< ov::XHelperInterface >& rParent,
+ const css::uno::Reference< css::uno::XComponentContext >& rContext,
+ const css::uno::Reference< css::frame::XModel >& rModel,
+ const css::uno::Reference< css::sheet::XViewPane >& rViewPane ) throw (css::uno::RuntimeException);
css::uno::Reference< css::sheet::XViewPane > getViewPane() const { return m_xViewPane; }
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 64897586a5e2..992dce44e17b 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -213,10 +213,10 @@ static double lcl_Round2DecPlaces( double nVal )
return nVal;
}
-static uno::Any lcl_makeRange( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Any aAny, bool bIsRows, bool bIsColumns )
+static uno::Any lcl_makeRange( const uno::Reference< XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Any& rAny, bool bIsRows, bool bIsColumns )
{
- uno::Reference< table::XCellRange > xCellRange( aAny, uno::UNO_QUERY_THROW );
- return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( xParent, xContext, xCellRange, bIsRows, bIsColumns ) ) );
+ uno::Reference< table::XCellRange > xCellRange(rAny, uno::UNO_QUERY_THROW);
+ return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( rParent, rContext, xCellRange, bIsRows, bIsColumns ) ) );
}
static uno::Reference< excel::XRange > lcl_makeXRangeFromSheetCellRanges( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< sheet::XSheetCellRanges >& xLocSheetCellRanges, ScDocShell* pDoc )
@@ -1102,9 +1102,9 @@ public:
if ( !m_xCellRange.is() )
throw uno::RuntimeException();
}
- RangeHelper( const uno::Any aCellRange ) throw (uno::RuntimeException)
+ RangeHelper( const uno::Any& rCellRange ) throw (uno::RuntimeException)
{
- m_xCellRange.set( aCellRange, uno::UNO_QUERY_THROW );
+ m_xCellRange.set(rCellRange, uno::UNO_QUERY_THROW);
}
uno::Reference< sheet::XSheetCellRange > getSheetCellRange() throw (uno::RuntimeException)
{
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index ac27e7717dd8..614a2b18e730 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -271,16 +271,16 @@ void ClientBox::selectEntry( const long nPos )
guard.clear();
}
-void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry )
+void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry& rEntry )
{
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
- if ( pEntry->m_bActive )
+ if ( rEntry->m_bActive )
SetTextColor( rStyleSettings.GetHighlightTextColor() );
else
SetTextColor( rStyleSettings.GetFieldTextColor() );
- if ( pEntry->m_bActive )
+ if ( rEntry->m_bActive )
{
SetLineColor();
SetFillColor( rStyleSettings.GetHighlightColor() );
@@ -311,25 +311,25 @@ void ClientBox::DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry )
long nMaxTitleWidth = rRect.GetWidth() - ICON_OFFSET;
nMaxTitleWidth -= ( 2 * SMALL_ICON_SIZE ) + ( 4 * SPACE_BETWEEN );
- long aTitleWidth = GetTextWidth( pEntry->m_pClientInfo->mName ) + (aTextHeight / 3);
+ long aTitleWidth = GetTextWidth( rEntry->m_pClientInfo->mName ) + (aTextHeight / 3);
aPos = rRect.TopLeft() + Point( ICON_OFFSET, TOP_OFFSET );
if ( aTitleWidth > nMaxTitleWidth )
{
aTitleWidth = nMaxTitleWidth - (aTextHeight / 3);
- OUString aShortTitle = GetEllipsisString( pEntry->m_pClientInfo->mName,
+ OUString aShortTitle = GetEllipsisString( rEntry->m_pClientInfo->mName,
aTitleWidth );
DrawText( aPos, aShortTitle );
aTitleWidth += (aTextHeight / 3);
}
else
- DrawText( aPos, pEntry->m_pClientInfo->mName );
+ DrawText( aPos, rEntry->m_pClientInfo->mName );
SetFont( aStdFont );
aPos.Y() += aTextHeight;
- if ( pEntry->m_bActive )
+ if ( rEntry->m_bActive )
{
OUString sPinText(SD_RESSTR(STR_ENTER_PIN));
DrawText( m_sPinTextRect,
@@ -635,18 +635,18 @@ long ClientBox::addEntry( ::boost::shared_ptr<ClientInfo> pClientInfo )
{
long nPos = 0;
- TClientBoxEntry pEntry( new ClientBoxEntry( pClientInfo ) );
+ TClientBoxEntry xEntry( new ClientBoxEntry( pClientInfo ) );
::osl::ClearableMutexGuard guard(m_entriesMutex);
if ( m_vEntries.empty() )
{
- m_vEntries.push_back( pEntry );
+ m_vEntries.push_back( xEntry );
}
else
{
-// if ( !FindEntryPos( pEntry, 0, m_vEntries.size()-1, nPos ) )
+// if ( !FindEntryPos( xEntry, 0, m_vEntries.size()-1, nPos ) )
// {
- m_vEntries.insert( m_vEntries.begin()+nPos, pEntry );
+ m_vEntries.insert( m_vEntries.begin()+nPos, xEntry );
// }
// else if ( !m_bInCheckMode )
// {
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.hxx b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
index c11a15b29c5e..1dc481ebd79a 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.hxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.hxx
@@ -123,7 +123,7 @@ class ClientBox:
void CalcActiveHeight( const long nPos );
long GetTotalHeight() const;
void SetupScrollBar();
- void DrawRow( const Rectangle& rRect, const TClientBoxEntry pEntry );
+ void DrawRow(const Rectangle& rRect, const TClientBoxEntry& rEntry);
bool HandleTabKey( bool bReverse );
bool HandleCursorKey( sal_uInt16 nKeyCode );
void DeleteRemoved();
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 45bdcfcadf5a..39614c26c3b9 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -362,12 +362,12 @@ bool SmXMLExportWrapper::WriteThroughComponent(
}
SmXMLExport::SmXMLExport(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext,
OUString const & implementationName, SvXMLExportFlags nExportFlags)
-: SvXMLExport(util::MeasureUnit::INCH, xContext, implementationName, XML_MATH,
- nExportFlags)
-, pTree(0) ,
- bSuccess(false)
+ : SvXMLExport(util::MeasureUnit::INCH, rContext, implementationName, XML_MATH,
+ nExportFlags)
+ , pTree(0)
+ , bSuccess(false)
{
}
diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx
index a5e0360c8d58..d453640657b6 100644
--- a/starmath/source/mathmlexport.hxx
+++ b/starmath/source/mathmlexport.hxx
@@ -105,7 +105,7 @@ protected:
public:
SmXMLExport(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext,
OUString const & implementationName, SvXMLExportFlags nExportFlags);
virtual ~SmXMLExport() {};
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index 5713d1c7ed7f..f2bd15df9daf 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -396,9 +396,9 @@ sal_uLong SmXMLImportWrapper::ReadThroughComponent(
SmXMLImport::SmXMLImport(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext,
OUString const & implementationName, SvXMLImportFlags nImportFlags)
-: SvXMLImport( xContext, implementationName, nImportFlags ),
+: SvXMLImport(rContext, implementationName, nImportFlags),
pPresLayoutElemTokenMap(0),
pPresLayoutAttrTokenMap(0),
pFencedAttrTokenMap(0),
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index c46742b899f9..f8d7f0ad11c8 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -88,7 +88,7 @@ class SmXMLImport : public SvXMLImport
public:
SmXMLImport(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext,
OUString const & implementationName, SvXMLImportFlags nImportFlags);
virtual ~SmXMLImport() throw ();