diff options
Diffstat (limited to 'libreoffice/3.3.2/patches/libreoffice-trinity.diff')
| -rw-r--r-- | libreoffice/3.3.2/patches/libreoffice-trinity.diff | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/libreoffice/3.3.2/patches/libreoffice-trinity.diff b/libreoffice/3.3.2/patches/libreoffice-trinity.diff index 050af68..9e80e52 100644 --- a/libreoffice/3.3.2/patches/libreoffice-trinity.diff +++ b/libreoffice/3.3.2/patches/libreoffice-trinity.diff @@ -7612,10 +7612,10 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++            TQString aLanguage(  ++                (const TQChar *) pProcessLocale->Language->buffer,  ++                (int) pProcessLocale->Language->length); -++            KGlobal::locale()->setLanguage(aLanguage); +++            TDEGlobal::locale()->setLanguage(aLanguage);  ++  ++            // load TDE address book's localized messages -++            KGlobal::locale()->insertCatalogue("kaddressbook"); +++            TDEGlobal::locale()->insertCatalogue("kaddressbook");  ++            s_bDidInsertCatalogue = true;  ++        }  ++ @@ -7625,7 +7625,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++            if ( s_bDidInsertCatalogue )  ++                // this guard is necessary, since TDE 3.3 seems to crash if we remove a catalogue  ++                // which we did not previously insert -++                KGlobal::locale()->removeCatalogue("kaddressbook"); +++                TDEGlobal::locale()->removeCatalogue("kaddressbook");  ++  ++            if ( s_pTDEApplication != NULL )  ++            { @@ -11480,7 +11480,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++        TQFont aFixedFont;  ++        short nFontHeight;  ++ -++        aFixedFont = KGlobalSettings::fixedFont(); +++        aFixedFont = TDEGlobalSettings::fixedFont();  ++        nFontHeight = aFixedFont.pointSize();  ++        return css::beans::Optional< css::uno::Any >(  ++            true, uno::makeAny( nFontHeight ) ); @@ -11491,7 +11491,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++        TQString aFontName;  ++        :: rtl::OUString sFontName;  ++ -++        aFixedFont = KGlobalSettings::fixedFont(); +++        aFixedFont = TDEGlobalSettings::fixedFont();  ++        aFontName = aFixedFont.family();  ++        sFontName = (const sal_Unicode *) aFontName.ucs2();  ++        return css::beans::Optional< css::uno::Any >( @@ -11506,7 +11506,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++    } else if (id.equalsAsciiL(  ++                   RTL_CONSTASCII_STRINGPARAM("WorkPathVariable")))  ++    { -++        TQString aDocumentsDir( KGlobalSettings::documentPath() ); +++        TQString aDocumentsDir( TDEGlobalSettings::documentPath() );  ++        rtl::OUString sDocumentsDir;  ++        rtl::OUString sDocumentsURL;  ++        if ( aDocumentsDir.endsWith(TQChar('/')) ) @@ -14856,7 +14856,7 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil  ++    aStyleSettings.SetToolbarIconSize( STYLE_TOOLBAR_ICONSIZE_LARGE );  ++  ++    // WM settings -++    KConfig *pConfig = KGlobal::config(); +++    KConfig *pConfig = TDEGlobal::config();  ++    if ( pConfig )  ++    {  ++        pConfig->setGroup( "WM" ); | 
