• Caolán McNamara's avatar
    make IntlWrapper arg to GetPresentation non-implicit and non-optional · 90ac4671
    Caolán McNamara yazdı
    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>
    90ac4671
mediaitem.hxx 4.61 KB