Kaydet (Commit) 90ac4671 authored tarafından Caolán McNamara's avatar Caolán McNamara

make IntlWrapper arg to GetPresentation non-implicit and non-optional

which requires explicitly adding null in

1) SdrItemBrowserControl::SetAttributes(const SfxItemSet* pSet, const SfxItemSet* p2ndSet)

where SdrItemBrowserControl is only used by SdrItemBrowser and the only use of that is
within DBG_UTIL in SdrPaintView

2) SwCursorShell::GetContentAtPos( const Point& rPt,
within a #ifdef DBG_UTIL block in

3) SvxSearchDialog::BuildAttrText_Impl( OUString& rStr,
                                             bool bSrchFlag ) const
where the other branch uses SvxResId

4) SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const
5) XFillStyleItem::dumpAsXml(xmlTextWriterPtr pWriter) const

looks very much like all uses (outside the dumpers) are intended
to be in the ui locale

results in that INetContentTypes::GetPresentation always called with UI Locale

Change-Id: I5a110c107838b4db3c355476426d6532f2b6ce52
Reviewed-on: https://gerrit.libreoffice.org/40538Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d62d07b3
......@@ -119,7 +119,7 @@ bool MediaItem::GetPresentation( SfxItemPresentation,
MapUnit,
MapUnit,
OUString& rText,
const IntlWrapper * ) const
const IntlWrapper& ) const
{
rText.clear();
return false;
......
......@@ -86,9 +86,9 @@ struct ComparisonData
const SortDescriptor& rSortOrder;
IntlWrapper aIntlWrapper;
ComparisonData( const SortDescriptor& _rSortOrder, const Reference< XComponentContext >& _rxContext )
:rSortOrder( _rSortOrder )
,aIntlWrapper( _rxContext, SvtSysLocale().GetLanguageTag() )
ComparisonData(const SortDescriptor& _rSortOrder)
: rSortOrder(_rSortOrder)
, aIntlWrapper(SvtSysLocale().GetUILanguageTag())
{
}
};
......@@ -695,8 +695,8 @@ void OEvoabResultSet::construct( const QueryData& _rData )
if ( m_pVersionHelper->hasContacts() && !_rData.aSortOrder.empty() )
{
ComparisonData aCompData( _rData.aSortOrder, comphelper::getComponentContext(getConnection()->getDriver().getMSFactory()) );
m_pVersionHelper->sortContacts( aCompData );
ComparisonData aCompData(_rData.aSortOrder);
m_pVersionHelper->sortContacts(aCompData);
}
}
m_nLength = m_pVersionHelper->getNumContacts();
......
......@@ -381,7 +381,7 @@ sal_uLong SvxEditDictionaryDialog::GetLBInsertPos(const OUString &rDicWord)
{
sal_uLong nPos = TREELIST_ENTRY_NOTFOUND;
IntlWrapper aIntlWrapper( Application::GetSettings().GetLanguageTag() );
IntlWrapper aIntlWrapper(SvtSysLocale().GetUILanguageTag());
const CollatorWrapper* pCollator = aIntlWrapper.getCollator();
sal_uLong j;
for( j = 0; j < pWordsLB->GetEntryCount(); j++ )
......
......@@ -337,7 +337,7 @@ bool SvxBulletItem::GetPresentation
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
rText = GetFullText();
......
......@@ -38,7 +38,7 @@ bool SvxCharHiddenItem::GetPresentation
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText,
const IntlWrapper * /*pIntl*/
const IntlWrapper & /*rIntl*/
) const
{
const char* pId = RID_SVXITEMS_CHARHIDDEN_FALSE;
......
......@@ -54,7 +54,7 @@ bool SvxHorJustifyItem::GetPresentation
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *) const
OUString& rText, const IntlWrapper&) const
{
rText = GetValueText( (sal_uInt16)GetValue() );
return true;
......@@ -203,7 +203,7 @@ bool SvxVerJustifyItem::GetPresentation
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText,
const IntlWrapper * ) const
const IntlWrapper& ) const
{
rText = GetValueText( GetValue() );
return true;
......@@ -334,7 +334,7 @@ bool SvxJustifyMethodItem::GetPresentation
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText,
const IntlWrapper * ) const
const IntlWrapper& ) const
{
rText = GetValueText( GetEnumValue() );
return true;
......
......@@ -55,7 +55,7 @@ bool SfxSpellCheckItem::GetPresentation
MapUnit ,
MapUnit ,
OUString& ,
const IntlWrapper*
const IntlWrapper&
) const
{
return true;
......@@ -115,7 +115,7 @@ bool SfxHyphenRegionItem::GetPresentation
MapUnit ,
MapUnit ,
OUString& rText,
const IntlWrapper*
const IntlWrapper&
) const
{
rText = rText +
......
......@@ -228,7 +228,7 @@ bool SvxLineSpacingItem::GetPresentation
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
#ifdef DBG_UTIL
......@@ -407,7 +407,7 @@ bool SvxAdjustItem::GetPresentation
SfxItemPresentation ePres,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
switch ( ePres )
......@@ -529,7 +529,7 @@ bool SvxWidowsItem::GetPresentation
SfxItemPresentation ePres,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
switch ( ePres )
......@@ -590,7 +590,7 @@ bool SvxOrphansItem::GetPresentation
SfxItemPresentation ePres,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
switch ( ePres )
......@@ -702,7 +702,7 @@ bool SvxHyphenZoneItem::GetPresentation
SfxItemPresentation ePres,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
OUString cpDelimTmp(cpDelim);
......@@ -1027,7 +1027,7 @@ bool SvxTabStopItem::GetPresentation
SfxItemPresentation ePres,
MapUnit eCoreUnit,
MapUnit ePresUnit,
OUString& rText, const IntlWrapper *pIntl
OUString& rText, const IntlWrapper& rIntl
) const
{
rText.clear();
......@@ -1041,7 +1041,7 @@ bool SvxTabStopItem::GetPresentation
if ( bComma )
rText += ",";
rText += GetMetricText(
((*this)[i]).GetTabPos(), eCoreUnit, ePresUnit, pIntl );
((*this)[i]).GetTabPos(), eCoreUnit, ePresUnit, &rIntl );
if ( SfxItemPresentation::Complete == ePres )
{
rText += " " + EditResId(GetMetricId(ePresUnit));
......@@ -1185,7 +1185,7 @@ bool SvxFormatSplitItem::GetPresentation
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
const char* pId = RID_SVXITEMS_FMTSPLIT_FALSE;
......@@ -1245,7 +1245,7 @@ bool SvxPageModelItem::GetPresentation
SfxItemPresentation ePres,
MapUnit /*eCoreUnit*/,
MapUnit /*ePresUnit*/,
OUString& rText, const IntlWrapper *
OUString& rText, const IntlWrapper&
) const
{
rText.clear();
......@@ -1300,7 +1300,7 @@ sal_uInt16 SvxScriptSpaceItem::GetVersion( sal_uInt16 nFFVer ) const
bool SvxScriptSpaceItem::GetPresentation(
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
OUString &rText, const IntlWrapper* /*pIntl*/ ) const
OUString &rText, const IntlWrapper& /*rIntl*/ ) const
{
rText = EditResId( !GetValue()
? RID_SVXITEMS_SCRPTSPC_OFF
......@@ -1340,7 +1340,7 @@ sal_uInt16 SvxHangingPunctuationItem::GetVersion( sal_uInt16 nFFVer ) const
bool SvxHangingPunctuationItem::GetPresentation(
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
OUString &rText, const IntlWrapper* /*pIntl*/ ) const
OUString &rText, const IntlWrapper& /*rIntl*/ ) const
{
rText = EditResId( !GetValue()
? RID_SVXITEMS_HNGPNCT_OFF
......@@ -1380,7 +1380,7 @@ sal_uInt16 SvxForbiddenRuleItem::GetVersion( sal_uInt16 nFFVer ) const
bool SvxForbiddenRuleItem::GetPresentation(
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
OUString &rText, const IntlWrapper* /*pIntl*/ ) const
OUString &rText, const IntlWrapper& /*rIntl*/ ) const
{
rText = EditResId( !GetValue()
? RID_SVXITEMS_FORBIDDEN_RULE_OFF
......@@ -1424,7 +1424,7 @@ sal_uInt16 SvxParaVertAlignItem::GetVersion( sal_uInt16 nFFVer ) const
bool SvxParaVertAlignItem::GetPresentation(
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
OUString &rText, const IntlWrapper* ) const
OUString &rText, const IntlWrapper& ) const
{
const char* pTmp;
switch( GetValue() )
......@@ -1496,7 +1496,7 @@ sal_uInt16 SvxParaGridItem::GetVersion( sal_uInt16 nFFVer ) const
bool SvxParaGridItem::GetPresentation(
SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/, MapUnit /*ePresMetric*/,
OUString &rText, const IntlWrapper* /*pIntl*/ ) const
OUString &rText, const IntlWrapper& /*rIntl*/ ) const
{
rText = GetValue() ?
EditResId( RID_SVXITEMS_PARASNAPTOGRID_ON ) :
......
......@@ -69,7 +69,7 @@ bool SvxWritingModeItem::GetPresentation( SfxItemPresentation /*ePres*/,
MapUnit /*eCoreMetric*/,
MapUnit /*ePresMetric*/,
OUString &rText,
const IntlWrapper * ) const
const IntlWrapper& ) const
{
rText = EditResId(getFrmDirResId((int)GetValue()));
return true;
......
......@@ -61,7 +61,7 @@ bool SvXMLAttrContainerItem::GetPresentation(
MapUnit /*eCoreMetric*/,
MapUnit /*ePresentationMetric*/,
OUString & /*rText*/,
const IntlWrapper * /*pIntlWrapper*/ ) const
const IntlWrapper& /*rIntlWrapper*/ ) const
{
return false;
}
......
......@@ -27,6 +27,7 @@ $(eval $(call gb_Library_use_libraries,embobj,\
cppuhelper \
sal \
svt \
utl \
vcl \
tl \
i18nlangtag \
......
......@@ -971,8 +971,7 @@ bool DocumentHolder::LoadDocToFrame( bool bInPlace )
css::uno::Reference< css::frame::XTitle > xModelTitle( xDoc, css::uno::UNO_QUERY );
if( xModelTitle.is() )
{
LanguageTag aLocale( Application::GetSettings().GetUILanguageTag() );
std::locale aResLoc = Translate::Create("sfx", aLocale);
std::locale aResLoc = Translate::Create("sfx", SvtSysLocale().GetUILanguageTag());
OUString sEmbedded = Translate::get(STR_EMBEDDED_TITLE, aResLoc);
xModelTitle->setTitle( m_pEmbedObj->getContainerName() + sEmbedded);
m_aContainerName = m_pEmbedObj->getContainerName();
......
......@@ -127,7 +127,7 @@ ToolbarsMenuController::ToolbarsMenuController( const css::uno::Reference< css::
m_aPropUIName( "UIName" ),
m_aPropResourceURL( "ResourceURL" ),
m_bResetActive( false ),
m_aIntlWrapper( xContext, Application::GetSettings().GetLanguageTag() )
m_aIntlWrapper(SvtSysLocale().GetUILanguageTag())
{
}
......
......@@ -76,7 +76,7 @@ public:
MapUnit eCoreUnit,
MapUnit ePresUnit,
OUString& rText,
const IntlWrapper *pIntl = nullptr ) const override;
const IntlWrapper& rIntl ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -61,7 +61,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual sal_uInt16 GetValueCount() const override;
virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const override;
virtual sal_uInt16 GetEnumValue() const override;
......
......@@ -47,7 +47,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
SvxAutoKernItem& operator=(const SvxAutoKernItem& rAutoKern)
{
......
......@@ -46,7 +46,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
SvxBlinkItem& operator=(const SvxBlinkItem& rBlink) {
SetValue(rBlink.GetValue());
......
......@@ -78,7 +78,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......@@ -193,7 +193,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -82,7 +82,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
......
......@@ -90,7 +90,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
static void StoreFont( SvStream&, const vcl::Font& );
static vcl::Font CreateFont( SvStream&, sal_uInt16 nVer );
......
......@@ -38,7 +38,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
SvxCharHiddenItem& operator=(const SvxCharHiddenItem& rHidden) {
SetValue(rHidden.GetValue());
......
......@@ -51,7 +51,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -45,7 +45,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr) const override;
const IntlWrapper&) const override;
virtual bool QueryValue(css::uno::Any& rVal, sal_uInt8 nMemberId = 0) const override;
virtual bool PutValue(const css::uno::Any& rVal, sal_uInt8 nMemberId) override;
......@@ -99,7 +99,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -49,7 +49,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -42,7 +42,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -44,7 +44,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -51,7 +51,7 @@ public:
virtual bool GetPresentation(SfxItemPresentation ePres,
MapUnit eCoreMetric, MapUnit ePresMetric,
OUString &rText, const IntlWrapper* pIntlWrapper = nullptr) const override;
OUString &rText, const IntlWrapper& rIntlWrapper) const override;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = nullptr) const override;
virtual SfxPoolItem* Create(SvStream& rStream, sal_uInt16 nVersion) const override;
......
......@@ -44,7 +44,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
SvxContourItem& operator=(const SvxContourItem& rCont)
{
......
......@@ -43,7 +43,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -45,7 +45,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -56,7 +56,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -55,7 +55,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -54,7 +54,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
const FontList* GetFontList() const { return pFontList; }
};
......
......@@ -58,7 +58,7 @@ public:
virtual bool GetPresentation(SfxItemPresentation ePres,
MapUnit eCoreMetric, MapUnit ePresMetric,
OUString &rText, const IntlWrapper* = nullptr) const override;
OUString &rText, const IntlWrapper&) const override;
// Access methods:
void SetFamilyName(const OUString& rFamilyName)
......
......@@ -43,7 +43,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
SvxForbiddenRuleItem& operator=(
const SvxForbiddenRuleItem& rItem )
......
......@@ -51,7 +51,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual OUString GetValueTextByPos( sal_uInt16 nPos ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
......
......@@ -43,7 +43,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......
......@@ -47,7 +47,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -42,7 +42,7 @@ public:
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText,
const IntlWrapper * = nullptr ) const override;
const IntlWrapper& ) const override;
SvxHangingPunctuationItem& operator=(
const SvxHangingPunctuationItem& rItem )
......
......@@ -54,7 +54,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const override;
......
......@@ -39,7 +39,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......@@ -71,7 +71,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......@@ -99,7 +99,7 @@ public:
virtual bool GetPresentation( SfxItemPresentation ePres,
MapUnit eCoreMetric,
MapUnit ePresMetric,
OUString &rText, const IntlWrapper * = nullptr ) const override;
OUString &rText, const IntlWrapper& ) const override;
virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override;
virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override;
......