[Libreoffice-commits] .: tools/inc tools/source unusedcode.easy
tools/inc/tools/string.hxx | 55 tools/source/string/strimp.cxx | 513 --- tools/source/string/tstring.cxx | 50 --- tools/source/string/tustring.cxx | 513 +++ unusedcode.easy | 19 - 5 files changed, 526 insertions(+), 624 deletions(-) New commits: commit 48649cdfb8671fb49a28b33c1ba1cd71c0999a07 Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 10:05:30 2012 + lock in those ByteString gains so there's no back-sliding diff --git a/tools/inc/tools/string.hxx b/tools/inc/tools/string.hxx index b91170a..c232c07 100644 --- a/tools/inc/tools/string.hxx +++ b/tools/inc/tools/string.hxx @@ -148,26 +148,36 @@ private: sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); //not implemented, to detect use of removed methods without compiler making something to fit ByteString( const sal_Unicode* pUniStr, xub_StrLen nLen, rtl_TextEncoding eTextEncoding, -sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); //not implemented, to detect use of removed methods without compiler making somethiing to fit +sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); //not implemented, to detect use of removed methods without compiler making something to fit ByteString( const UniString rUniStr, rtl_TextEncoding eTextEncoding, -sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); //not implemented, to detect use of removed methods without compiler making somethiing to fit +sal_uInt32 nCvtFlags = UNISTRING_TO_BYTESTRING_CVTFLAGS ); //not implemented, to detect use of removed methods without compiler making something to fit +ByteString( const sal_Char* pCharStr, xub_StrLen nLen ); //not implemented, to detect use of removed methods without compiler making something to fit voidAssign(int); // not implemented; to detect misuses of // Assign(sal_Char) +ByteString Assign( const sal_Char* pCharStr, xub_StrLen nLen ); //not implemented, to detect use of removed methods without compiler making something to fit +ByteString operator =(const sal_Char); //not implemented, to detect use of removed methods without compiler making something to fit + +ByteString Assign(sal_Char); //not implemented, to detect use of removed methods without compiler making something to fit voidoperator =(int); // not implemented; to detect misuses // of operator =(sal_Char) voidAppend(int); // not implemented; to detect misuses of // Append(char) +ByteString Append( const sal_Char* pCharStr, xub_StrLen nLen ); // not implemented, to detect use of removed methods without compiler making something to fit +ByteString operator +=(sal_Char); //not implemented, to detect use of removed methods without compiler making something to fit +ByteString Append( char c ); //not implemented, to detect use of removed methods without compiler making something to fit voidoperator +=(int); // not implemented; to detect misuses // of operator +=(sal_Char) +friend sal_Bool operator == ( const ByteString rStr1, const ByteString rStr2 ); //not implemented, to detect use of removed methods without compiler making something to fit +friend sal_Bool operator ( const ByteString rStr1, const ByteString rStr2 ); //not implemented, to detect use of removed methods without compiler making something to fit +friend sal_Bool operator ( const ByteString rStr1, const ByteString rStr2 ); //not implemented, to detect use of removed methods without compiler making something to fit public: ByteString(); ByteString( const ByteString rStr ); ByteString( const ByteString rStr, xub_StrLen nPos, xub_StrLen nLen ); ByteString( const rtl::OString rStr ); ByteString( const sal_Char* pCharStr ); -ByteString( const sal_Char* pCharStr, xub_StrLen nLen ); ~ByteString(); operator rtl::OString () const @@ -178,27 +188,19 @@ public: ByteString Assign( const ByteString rStr ); ByteString Assign( const rtl::OString rStr ); ByteString Assign( const sal_Char* pCharStr ); -ByteString Assign( const sal_Char* pCharStr, xub_StrLen nLen ); -
[Libreoffice-commits] .: binfilter/inc
binfilter/inc/bf_tools/string.hxx |6 -- 1 file changed, 6 deletions(-) New commits: commit 1807578ea9f2d5518244839d4607316b7455fb20 Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 10:05:42 2012 + lock in those ByteString gains so there's no back-sliding diff --git a/binfilter/inc/bf_tools/string.hxx b/binfilter/inc/bf_tools/string.hxx index 3eab25a..b5944c0 100644 --- a/binfilter/inc/bf_tools/string.hxx +++ b/binfilter/inc/bf_tools/string.hxx @@ -261,8 +261,6 @@ public: const sal_Char* GetBuffer() const { return mpData-maStr; } -friend sal_Bool operator == ( const ::ByteString rStr1, const ByteString rStr2 ) -{ return rStr1.Equals( rStr2 ); } friend sal_Bool operator == ( const ByteString rStr1, const ::ByteString rStr2 ) { return rStr1.Equals( rStr2 ); } friend sal_Bool operator == ( const ByteString rStr1, const ByteString rStr2 ) @@ -271,10 +269,6 @@ public: { return rStr.Equals( pCharStr ); } friend sal_Bool operator == ( const sal_Char* pCharStr, const ByteString rStr ) { return rStr.Equals( pCharStr ); } -friend sal_Bool operator != ( const ::ByteString rStr1, const ByteString rStr2 ) -{ return !(operator == ( rStr1, rStr2 )); } -friend sal_Bool operator != ( const ByteString rStr1, const ::ByteString rStr2 ) -{ return !(operator == ( rStr1, rStr2 )); } friend sal_Bool operator != ( const ByteString rStr1, const ByteString rStr2 ) { return !(operator == ( rStr1, rStr2 )); } friend sal_Bool operator != ( const ByteString rStr, const sal_Char* pCharStr ) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: configure.in
configure.in | 53 + 1 file changed, 25 insertions(+), 28 deletions(-) New commits: commit c1f5475bd626849fe7a98cb8986219990a526ce3 Author: Tor Lillqvist tlillqv...@suse.com Date: Wed Feb 15 13:06:04 2012 +0200 Do try to use ccache even if CC/CXX are set For Android, they could have been set earlier in the configure script even. We do want to use ccache also for Android cross-compilation. diff --git a/configure.in b/configure.in index b96b081..752f761 100644 --- a/configure.in +++ b/configure.in @@ -2032,37 +2032,34 @@ dnl === dnl Checks if ccache is available dnl === if test $enable_ccache = yes -o \( $enable_ccache = -a $enable_icecream != yes \) ; then -if test -z $CC ; then -if test -z $CXX ; then -AC_PATH_PROG([CCACHE],[ccache],[not found]) -if test $CCACHE = not found ; then -CCACHE= -else -CCACHE=ccache -# need to check for ccache version: otherwise prevents -# caching of the results (like -x objective-c++ for Mac) -if test $_os = Darwin -o $_os = iOS; then -# check ccache version -AC_MSG_CHECKING([whether version of ccache is suitable]) -CCACHE_VERSION=`$CCACHE -V | $AWK '/^ccache version/{print $3}'` -CCACHE_NUMVER=`echo $CCACHE_VERSION | $AWK -F. '{ print \$1*1+\$2*100+\$3 }'` -if test $CCACHE_VERSION = 2.4_OOo -o $CCACHE_NUMVER -ge 030100; then -AC_MSG_RESULT([yes]) -else -AC_MSG_RESULT([no]) -AC_MSG_NOTICE([ccache version $CCACHE_VERSION not accepted. ccache will not be used.]) -CCACHE= -fi +case %$CC%$CXX% in +# If $CC and/or $CXX already contain ccache (possibly suffixed with some verison number etc), +# assume that's good then +ccache[[-_' ']]*|*/ccache[[-_' ']]*) +AC_MSG_NOTICE([ccache seems to be included in a pre-defined CC and/or CXX]) +;; +*) +AC_PATH_PROG([CCACHE],[ccache],[not found]) +if test $CCACHE = not found ; then +CCACHE= +else +# Need to check for ccache version: otherwise prevents +# caching of the results (like -x objective-c++ for Mac) +if test $_os = Darwin -o $_os = iOS; then +# Check ccache version +AC_MSG_CHECKING([whether version of ccache is suitable]) +CCACHE_VERSION=`$CCACHE -V | $AWK '/^ccache version/{print $3}'` +CCACHE_NUMVER=`echo $CCACHE_VERSION | $AWK -F. '{ print \$1*1+\$2*100+\$3 }'` +if test $CCACHE_VERSION = 2.4_OOo -o $CCACHE_NUMVER -ge 030100; then +AC_MSG_RESULT([yes, $CCACHE_VERSION]) +else +AC_MSG_RESULT([no, $CCACHE_VERSION]) +CCACHE= fi fi -else -AC_MSG_NOTICE([Automatic ccache detection ignored: CXX is pre-defined]) -CCACHE= fi -else -AC_MSG_NOTICE([Automatic ccache detection ignored: CC is pre-defined]) -CCACHE= -fi +;; +esac else CCACHE= fi ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: vcl/source
vcl/source/app/svmain.cxx |5 - 1 file changed, 5 deletions(-) New commits: commit 2185849852aa4cdf4d288d4bd01be44ebd3b4433 Author: Tor Lillqvist tlillqv...@suse.com Date: Wed Feb 15 13:14:38 2012 +0200 Revert temporary and not properly ifdeffed Android stuff diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 4db7b12..cf98fb8 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -155,16 +155,12 @@ oslSignalAction SAL_CALL VCLExceptionSignal_impl( void* /*pData*/, oslSignalInfo } -extern void VCL_DLLPUBLIC plasma_now(const char *msg); - // === int ImplSVMain() { // The 'real' SVMain() RTL_LOGFILE_CONTEXT( aLog, vcl (ss112471) ::SVMain ); -//plasma_now(top); - works here - ImplSVData* pSVData = ImplGetSVData(); DBG_ASSERT( pSVData-mpApp, no instance of class Application ); @@ -179,7 +175,6 @@ int ImplSVMain() { // Application-Main rufen pSVData-maAppData.mbInAppMain = sal_True; -//plasma_now(after vcl init); - works here nReturn = pSVData-mpApp-Main(); pSVData-maAppData.mbInAppMain = sal_False; } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: desktop/source
desktop/source/app/app.cxx | 37 ++--- 1 file changed, 22 insertions(+), 15 deletions(-) New commits: commit 12f689687e3017bfe9ffaf6bbc4593eb3ca21c2b Author: Tor Lillqvist tlillqv...@suse.com Date: Wed Feb 15 13:22:50 2012 +0200 Ifdefify temporary (?) Android hacks diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index dc490ed..53a19f6 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -102,7 +102,13 @@ #include sys/wait.h #endif +#ifdef ANDROID +// mmeeks debugging stuff? extern void VCL_DLLPUBLIC plasma_now(const char *msg); +#define PLASMA_NOW(s) plasma_now(s) +#else +#define PLASMA_NOW(s) +#endif #define DEFINE_CONST_UNICODE(CONSTASCII) UniString(RTL_CONSTASCII_USTRINGPARAM(CONSTASCII)) #define U2S(STRING) ::rtl::OUStringToOString(STRING, RTL_TEXTENCODING_UTF8) @@ -1472,7 +1478,7 @@ int Desktop::Main() ResMgr::SetReadStringHook( ReplaceStringHookProc ); -//::plasma_now(after desktoppy bits); - fine to here ... +//::PLASMA_NOW(after desktoppy bits); - fine to here ... // Startup screen RTL_LOGFILE_CONTEXT_TRACE( aLog, desktop (lo119109) Desktop::Main { OpenSplashScreen ); @@ -1481,7 +1487,7 @@ int Desktop::Main() SetSplashScreenProgress(10); -//::plasma_now(after splash open); +//::PLASMA_NOW(after splash open); { UserInstall::UserInstallError instErr_fin = UserInstall::finalize(); if ( instErr_fin != UserInstall::E_None) @@ -1509,7 +1515,7 @@ int Desktop::Main() { RegisterServices( xSMgr ); -//::plasma_now(registered services); +//::PLASMA_NOW(registered services); SetSplashScreenProgress(25); @@ -1555,7 +1561,7 @@ int Desktop::Main() if ( !InitializeConfiguration() ) return EXIT_FAILURE; -//::plasma_now(init configuration); +//::PLASMA_NOW(init configuration); SetSplashScreenProgress(30); @@ -1574,7 +1580,7 @@ int Desktop::Main() String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String(); delete pLabelResMgr; -//::plasma_now(after title string); +//::PLASMA_NOW(after title string); #ifdef DBG_UTIL //include version ID in non product builds @@ -1592,7 +1598,7 @@ int Desktop::Main() SetSplashScreenProgress(40); RTL_LOGFILE_CONTEXT_TRACE( aLog, } create SvtPathOptions and SvtLanguageOptions ); -//::plasma_now(unrestricted folders); -- got this. +//::PLASMA_NOW(unrestricted folders); -- got this. // Check special env variable std::vector String aUnrestrictedFolders; @@ -1614,7 +1620,7 @@ int Desktop::Main() ( xSMgr-createInstance( DEFINE_CONST_UNICODE( com.sun.star.frame.GlobalEventBroadcaster ) ), UNO_QUERY ); -::plasma_now(done global event broadcaster); +::PLASMA_NOW(done global event broadcaster); /* ensure existance of a default window that messages can be dispatched to This is for the benefit of testtool which uses PostUserEvent extensively @@ -1653,7 +1659,7 @@ int Desktop::Main() pExecGlobals-xGlobalBroadcaster-notifyEvent(aEvent); } -::plasma_now(invoked OnStartupApp); +::PLASMA_NOW(invoked OnStartupApp); SetSplashScreenProgress(50); @@ -1684,7 +1690,7 @@ int Desktop::Main() aMiscOptions.SetUseSystemFileDialog( sal_False ); } -::plasma_now(nearly there !); +::PLASMA_NOW(nearly there !); if ( !pExecGlobals-bRestartRequested ) { @@ -1755,7 +1761,7 @@ int Desktop::Main() aOptions.SetVCLSettings(); SetSplashScreenProgress(60); -::plasma_now(setup appearance !); +::PLASMA_NOW(setup appearance !); if ( !pExecGlobals-bRestartRequested ) { @@ -1790,7 +1796,7 @@ int Desktop::Main() // Release solar mutex just before we wait for our client to connect int nAcquireCount = Application::ReleaseSolarMutex(); -::plasma_now(wait client connect !); +::PLASMA_NOW(wait client connect !); // Post user event to startup first application component window // We have to send this OpenClients message short before execute() to @@ -1810,7 +1816,7 @@ int Desktop::Main() // call Application::Execute to process messages in vcl message loop RTL_LOGFILE_PRODUCT_TRACE( PERFORMANCE - enter Application::Execute() ); -::plasma_now(before java foo !); +::PLASMA_NOW(before java foo !); try { @@ -1827,15 +1833,16 @@ int Desktop::Main() // if this run of the office is triggered by restart, some additional actions should be done DoRestartActionsIfNecessary( !rCmdLineArgs.IsInvisible() !rCmdLineArgs.IsNoQuickstart() ); -
[Libreoffice-commits] .: desktop/source
desktop/source/app/app.cxx | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) New commits: commit bebd171db7735e3063f4cbb15b78f5436dde Author: Stephan Bergmann sberg...@redhat.com Date: Wed Feb 15 13:16:52 2012 +0100 PLASMA_NOW fix diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 53a19f6..4df6346 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -105,7 +105,7 @@ #ifdef ANDROID // mmeeks debugging stuff? extern void VCL_DLLPUBLIC plasma_now(const char *msg); -#define PLASMA_NOW(s) plasma_now(s) +#define PLASMA_NOW(s) ::plasma_now(s) #else #define PLASMA_NOW(s) #endif @@ -1478,7 +1478,7 @@ int Desktop::Main() ResMgr::SetReadStringHook( ReplaceStringHookProc ); -//::PLASMA_NOW(after desktoppy bits); - fine to here ... +//PLASMA_NOW(after desktoppy bits); - fine to here ... // Startup screen RTL_LOGFILE_CONTEXT_TRACE( aLog, desktop (lo119109) Desktop::Main { OpenSplashScreen ); @@ -1487,7 +1487,7 @@ int Desktop::Main() SetSplashScreenProgress(10); -//::PLASMA_NOW(after splash open); +//PLASMA_NOW(after splash open); { UserInstall::UserInstallError instErr_fin = UserInstall::finalize(); if ( instErr_fin != UserInstall::E_None) @@ -1515,7 +1515,7 @@ int Desktop::Main() { RegisterServices( xSMgr ); -//::PLASMA_NOW(registered services); +//PLASMA_NOW(registered services); SetSplashScreenProgress(25); @@ -1561,7 +1561,7 @@ int Desktop::Main() if ( !InitializeConfiguration() ) return EXIT_FAILURE; -//::PLASMA_NOW(init configuration); +//PLASMA_NOW(init configuration); SetSplashScreenProgress(30); @@ -1580,7 +1580,7 @@ int Desktop::Main() String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String(); delete pLabelResMgr; -//::PLASMA_NOW(after title string); +//PLASMA_NOW(after title string); #ifdef DBG_UTIL //include version ID in non product builds @@ -1598,7 +1598,7 @@ int Desktop::Main() SetSplashScreenProgress(40); RTL_LOGFILE_CONTEXT_TRACE( aLog, } create SvtPathOptions and SvtLanguageOptions ); -//::PLASMA_NOW(unrestricted folders); -- got this. +//PLASMA_NOW(unrestricted folders); -- got this. // Check special env variable std::vector String aUnrestrictedFolders; @@ -1620,7 +1620,7 @@ int Desktop::Main() ( xSMgr-createInstance( DEFINE_CONST_UNICODE( com.sun.star.frame.GlobalEventBroadcaster ) ), UNO_QUERY ); -::PLASMA_NOW(done global event broadcaster); +PLASMA_NOW(done global event broadcaster); /* ensure existance of a default window that messages can be dispatched to This is for the benefit of testtool which uses PostUserEvent extensively @@ -1659,7 +1659,7 @@ int Desktop::Main() pExecGlobals-xGlobalBroadcaster-notifyEvent(aEvent); } -::PLASMA_NOW(invoked OnStartupApp); +PLASMA_NOW(invoked OnStartupApp); SetSplashScreenProgress(50); @@ -1690,7 +1690,7 @@ int Desktop::Main() aMiscOptions.SetUseSystemFileDialog( sal_False ); } -::PLASMA_NOW(nearly there !); +PLASMA_NOW(nearly there !); if ( !pExecGlobals-bRestartRequested ) { @@ -1761,7 +1761,7 @@ int Desktop::Main() aOptions.SetVCLSettings(); SetSplashScreenProgress(60); -::PLASMA_NOW(setup appearance !); +PLASMA_NOW(setup appearance !); if ( !pExecGlobals-bRestartRequested ) { @@ -1796,7 +1796,7 @@ int Desktop::Main() // Release solar mutex just before we wait for our client to connect int nAcquireCount = Application::ReleaseSolarMutex(); -::PLASMA_NOW(wait client connect !); +PLASMA_NOW(wait client connect !); // Post user event to startup first application component window // We have to send this OpenClients message short before execute() to @@ -1816,7 +1816,7 @@ int Desktop::Main() // call Application::Execute to process messages in vcl message loop RTL_LOGFILE_PRODUCT_TRACE( PERFORMANCE - enter Application::Execute() ); -::PLASMA_NOW(before java foo !); +PLASMA_NOW(before java foo !); try { @@ -1834,14 +1834,14 @@ int Desktop::Main() DoRestartActionsIfNecessary( !rCmdLineArgs.IsInvisible() !rCmdLineArgs.IsNoQuickstart() ); #ifdef ANDROID -::PLASMA_NOW(pre hit execute!); +PLASMA_NOW(pre hit execute!); // For some reason we're not getting a desktop frame or component [odd] ErrorBox aKickStartVCL( NULL, WB_OK, rtl::OUString::createFromAscii(My very own title!) ); aKickStartVCL.SetText(
[Libreoffice-commits] .: 3 commits - scp2/source sw/source
scp2/source/ooo/file_ooo.scp| 14 -- sw/source/filter/ww8/ww8par.cxx |3 +-- 2 files changed, 5 insertions(+), 12 deletions(-) New commits: commit 9c4581a6b61c0836c3a44eaaf454b9ba560e937a Author: Michael Stahl mst...@redhat.com Date: Wed Feb 15 13:13:29 2012 +0100 fdo#45530: scp2: java accessibilty bridge cleanup: AFAIK java_uno_accessbridge.jar is only required on WNT. Also remove the duplicate old definition of gid_File_Jar_Accessbridge that was effectively disabled by 6fdde9acfd5aebd23400e7101c8ddff80fcdd8fa. diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp index e2c0c68..4d5d771 100644 --- a/scp2/source/ooo/file_ooo.scp +++ b/scp2/source/ooo/file_ooo.scp @@ -379,16 +379,6 @@ File gid_File_Help_Schart_Zip End #endif -#if defined SOLAR_JAVA defined INCLUDE_JAVA_ACCESSBRIDGE defined WNT - -File gid_File_Jar_Accessbridge -TXT_FILE_BODY; -Name = java_uno_accessbridge.jar; -Dir = gid_Dir_Classes; -Styles = (PACKED,DONT_OVERWRITE); -End - -#endif #ifdef SOLAR_JAVA #ifndef SYSTEM_LUCENE @@ -426,6 +416,9 @@ STD_JAR_FILE( gid_File_Jar_Fax, fax ) STD_JAR_FILE( gid_File_Jar_Agenda, agenda ) STD_JAR_FILE( gid_File_Jar_Query, query ) STD_JAR_FILE( gid_File_Jar_Web, web ) +#endif + +#if defined SOLAR_JAVA defined WNT STD_JAR_FILE( gid_File_Jar_Accessbridge, java_uno_accessbridge ) #endif commit fbe60c962259ae0449acd65e74fd790530045e93 Author: Masataka Shinke mshi...@users.sourceforge.jp Date: Wed Feb 15 13:10:44 2012 +0100 fdo#45530: Accessibility does not work on WNT diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp index cae313a..e2c0c68 100644 --- a/scp2/source/ooo/file_ooo.scp +++ b/scp2/source/ooo/file_ooo.scp @@ -426,6 +426,7 @@ STD_JAR_FILE( gid_File_Jar_Fax, fax ) STD_JAR_FILE( gid_File_Jar_Agenda, agenda ) STD_JAR_FILE( gid_File_Jar_Query, query ) STD_JAR_FILE( gid_File_Jar_Web, web ) +STD_JAR_FILE( gid_File_Jar_Accessbridge, java_uno_accessbridge ) #endif #ifdef SOLAR_JAVA commit c1f723fd53e8c41b80285d11a149e0044f580e2f Author: Michael Stahl mst...@redhat.com Date: Tue Feb 14 17:47:28 2012 +0100 sw: ww8: ~SwIndexReg assertion: Remove pointless SwPosition that triggers the assertion when loading bugdoc from i#87910 from wwSectionManager::InsertSegments. diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 5c74e18..ad88e98 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -4118,8 +4118,7 @@ void wwSectionManager::InsertSegments() if (pTxtNd) { SwNodeIndex aIdx(*pTxtNd); -SwPosition aPos(aIdx); -SwPaM aTest(aPos); +SwPaM aTest(aIdx); mrReader.rDoc.DelFullPara(aTest); pTxtNd = 0; } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - 2 commits - scp2/source
scp2/source/ooo/file_ooo.scp | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) New commits: commit 78a5d35ec1907e4b5add1014801dbac992cee48e Author: Michael Stahl mst...@redhat.com Date: Wed Feb 15 13:13:29 2012 +0100 fdo#45530: scp2: java accessibilty bridge cleanup: AFAIK java_uno_accessbridge.jar is only required on WNT. Also remove the duplicate old definition of gid_File_Jar_Accessbridge that was effectively disabled by 6fdde9acfd5aebd23400e7101c8ddff80fcdd8fa. Signed-off-by: Jan Holesovsky ke...@suse.cz diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp index dd6cd74..7f1cc64 100644 --- a/scp2/source/ooo/file_ooo.scp +++ b/scp2/source/ooo/file_ooo.scp @@ -376,16 +376,6 @@ File gid_File_Help_Schart_Zip End #endif -#if defined SOLAR_JAVA defined INCLUDE_JAVA_ACCESSBRIDGE defined WNT - -File gid_File_Jar_Accessbridge -TXT_FILE_BODY; -Name = java_uno_accessbridge.jar; -Dir = gid_Dir_Classes; -Styles = (PACKED,DONT_OVERWRITE); -End - -#endif #ifdef SOLAR_JAVA #ifndef SYSTEM_LUCENE @@ -423,6 +413,9 @@ STD_JAR_FILE( gid_File_Jar_Fax, fax ) STD_JAR_FILE( gid_File_Jar_Agenda, agenda ) STD_JAR_FILE( gid_File_Jar_Query, query ) STD_JAR_FILE( gid_File_Jar_Web, web ) +#endif + +#if defined SOLAR_JAVA defined WNT STD_JAR_FILE( gid_File_Jar_Accessbridge, java_uno_accessbridge ) #endif commit 24dfc1a6238902a122f5cf835c83b2f54b8819fb Author: Masataka Shinke mshi...@users.sourceforge.jp Date: Wed Feb 15 13:10:44 2012 +0100 fdo#45530: Accessibility does not work on WNT Signed-off-by: Jan Holesovsky ke...@suse.cz diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp index e7bc85a..dd6cd74 100644 --- a/scp2/source/ooo/file_ooo.scp +++ b/scp2/source/ooo/file_ooo.scp @@ -423,6 +423,7 @@ STD_JAR_FILE( gid_File_Jar_Fax, fax ) STD_JAR_FILE( gid_File_Jar_Agenda, agenda ) STD_JAR_FILE( gid_File_Jar_Query, query ) STD_JAR_FILE( gid_File_Jar_Web, web ) +STD_JAR_FILE( gid_File_Jar_Accessbridge, java_uno_accessbridge ) #endif #ifdef SOLAR_JAVA ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: basic/source
basic/source/sbx/sbxdec.cxx |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commits: commit a62395237ed78f982ae74efe5ed8ad7834a2f95b Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 13:00:08 2012 + WaE: moaning about unintialized variables diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx index c7267f1..bf36d88 100644 --- a/basic/source/sbx/sbxdec.cxx +++ b/basic/source/sbx/sbxdec.cxx @@ -685,7 +685,7 @@ start: break; case SbxBYREF | SbxCURRENCY: { -double d; +double d(0.0); if( !pDec-getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); *p-pnInt64 = ImpDoubleToCurrency( d ); @@ -693,7 +693,7 @@ start: break; case SbxBYREF | SbxSALINT64: { -double d; +double d(0.0); if( !pDec-getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else @@ -702,7 +702,7 @@ start: break; case SbxBYREF | SbxSALUINT64: { -double d; +double d(0.0); if( !pDec-getDouble( d ) ) SbxBase::SetError( SbxERR_OVERFLOW ); else ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: svtools/inc svtools/source unusedcode.easy vcl/inc vcl/source
svtools/inc/svtools/imap.hxx|3 --- svtools/source/edit/svmedit.cxx |6 -- svtools/source/misc/imap.cxx| 18 -- unusedcode.easy |6 -- vcl/inc/ilstbox.hxx |1 - vcl/inc/image.h |1 - vcl/inc/vcl/button.hxx |3 --- vcl/inc/vcl/settings.hxx|6 -- vcl/source/app/settings.cxx | 12 vcl/source/control/button.cxx |8 vcl/source/control/ilstbox.cxx |7 --- vcl/source/gdi/impimage.cxx |5 - 12 files changed, 76 deletions(-) New commits: commit 3626c2cef7c39bda96e2d3bc0d5a53ba1044aadc Author: Alexander Bergmann myadd...@gmx.de Date: Wed Feb 15 13:15:50 2012 + unusedcode.easy: Removed unused code diff --git a/svtools/inc/svtools/imap.hxx b/svtools/inc/svtools/imap.hxx index 9418d98..8d81c00 100644 --- a/svtools/inc/svtools/imap.hxx +++ b/svtools/inc/svtools/imap.hxx @@ -132,9 +132,6 @@ public: const String GetName() const { return aName; } voidSetName( const String rName ) { aName = rName; } -// gibt das BoundRect aller IMap-Objekte in 1/100mm zurueck -Rectangle GetBoundRect() const; - // skaliert alle Objekte der ImageMap entpr. dem uebergebenen Faktor voidScale( const Fraction rFractX, const Fraction rFracY ); diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx index 44ad0d1..267a203 100644 --- a/svtools/source/edit/svmedit.cxx +++ b/svtools/source/edit/svmedit.cxx @@ -139,7 +139,6 @@ public: voidSetMaxTextLen( xub_StrLen nLen ); xub_StrLen GetMaxTextLen() const; -voidSetInsertMode( sal_Bool bInsert ); sal_BoolIsInsertMode() const; voidInsertText( const String rStr ); @@ -396,11 +395,6 @@ sal_Bool ImpSvMEdit::IsModified() const return mpTextWindow-GetTextEngine()-IsModified(); } -void ImpSvMEdit::SetInsertMode( sal_Bool bInsert ) -{ -mpTextWindow-GetTextView()-SetInsertMode( bInsert ); -} - void ImpSvMEdit::SetReadOnly( sal_Bool bRdOnly ) { mpTextWindow-GetTextView()-SetReadOnly( bRdOnly ); diff --git a/svtools/source/misc/imap.cxx b/svtools/source/misc/imap.cxx index d4199e2..dd15a4b 100644 --- a/svtools/source/misc/imap.cxx +++ b/svtools/source/misc/imap.cxx @@ -989,24 +989,6 @@ IMapObject* ImageMap::GetHitIMapObject( const Size rTotalSize, |* \**/ -Rectangle ImageMap::GetBoundRect() const -{ -Rectangle aBoundRect; -size_t nCount = maList.size(); - -for ( size_t i = 0; i nCount; i++ ) -aBoundRect.Union( maList[ i ]-GetBoundRect() ); - -return aBoundRect; -} - - -/** -|* -|* -|* -\**/ - void ImageMap::Scale( const Fraction rFracX, const Fraction rFracY ) { size_t nCount = maList.size(); diff --git a/unusedcode.easy b/unusedcode.easy index af2cff9..b65437f 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -28,19 +28,13 @@ HTMLControls::Insert(HTMLControl const**, unsigned short) HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short) HTMLControls::Remove(HTMLControl const*, unsigned short) HTMLControls::Remove(unsigned short, unsigned short) -ImageButton::ImageButton(unsigned short) -ImageMap::GetBoundRect() const -ImpSvMEdit::SetInsertMode(unsigned char) ImpSvtData::~ImpSvtData() ImplDevFontList::ImplFindByLocale(com::sun::star::lang::Locale) const -ImplEntryList::IsEntrySelected(String const) const -ImplImageList::GetImageCount() const InsCapOptArr::Insert(InsCapOptArr const*, unsigned short, unsigned short) InsCapOptArr::Insert(InsCaptionOpt* const, unsigned short) InsCapOptArr::Insert(InsCaptionOpt* const*, unsigned short) InsCapOptArr::Remove(InsCaptionOpt* const, unsigned short) InsCapOptArr::Remove(unsigned short, unsigned short) -KeyboardSettings::CopyData() MSDffImportRecords::Insert(MSDffImportRecords const*, unsigned short, unsigned short) MSDffImportRecords::Insert(SvxMSDffImportRec* const, unsigned short) MSDffImportRecords::Insert(SvxMSDffImportRec* const*, unsigned short) diff --git a/vcl/inc/ilstbox.hxx b/vcl/inc/ilstbox.hxx index c1355f0..cecf3b8 100644 --- a/vcl/inc/ilstbox.hxx +++ b/vcl/inc/ilstbox.hxx @@ -168,7 +168,6 @@ public: sal_uInt16 GetSelectEntryCount() const; XubString GetSelectEntry( sal_uInt16 nIndex ) const; sal_uInt16 GetSelectEntryPos( sal_uInt16 nIndex ) const; -sal_BoolIsEntrySelected( const XubString rStr ) const; sal_BoolIsEntryPosSelected( sal_uInt16 nIndex ) const; voidSetLastSelected( sal_uInt16 nPos ) { mnLastSelected = nPos; } diff --git a/vcl/inc/image.h b/vcl/inc/image.h index 1497750..f8abc4e
[Libreoffice-commits] .: sw/inc sw/source
sw/inc/doc.hxx |1 + sw/inc/index.hxx |1 + sw/inc/ndindex.hxx |1 + sw/inc/ndtxt.hxx |2 +- sw/inc/pam.hxx |2 ++ sw/source/core/inc/hffrm.hxx |2 ++ sw/source/core/inc/pagefrm.hxx |1 + sw/source/core/inc/rootfrm.hxx |1 + 8 files changed, 10 insertions(+), 1 deletion(-) New commits: commit 335b38d831558ce786f726b4b6a014d2a312cf29 Author: Miklos Vajna vmik...@suse.cz Date: Wed Feb 15 11:36:56 2012 +0100 sw: add doxygen comments for some document model / layout classes diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 8fb1c1b..580108e 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -249,6 +249,7 @@ void SetAllScriptItem( SfxItemSet rSet, const SfxPoolItem rItem ); // global function to start grammar checking in the document void StartGrammarChecking( SwDoc rDoc ); +/// Represents the model of a Writer document. class SW_DLLPUBLIC SwDoc : public IInterface, public IDocumentSettingAccess, diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index 329fcb4..8d183db 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -48,6 +48,7 @@ struct SwPosition; #define INLINE inline #endif +/// Marks a character position inside a document model node. class SW_DLLPUBLIC SwIndex { private: diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx index 566d180..4283408 100644 --- a/sw/inc/ndindex.hxx +++ b/sw/inc/ndindex.hxx @@ -38,6 +38,7 @@ class SwNode; class SwNodes; +/// Marks a node in the document model. class SW_DLLPUBLIC SwNodeIndex { friend void SwNodes::RegisterIndex( SwNodeIndex ); diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index b412aa4..21e9fb4 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -79,7 +79,7 @@ namespace com { namespace sun { namespace star { typedef std::set xub_StrLen SwSoftPageBreakList; -// SwTxtNode +/// SwTxtNode is a paragraph in the document model. class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable { diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 53d1486..1ca3905 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -53,6 +53,7 @@ namespace utl { class TextSearch; } +/// Marks a position in the document model. struct SW_DLLPUBLIC SwPosition { SwNodeIndex nNode; @@ -157,6 +158,7 @@ extern SwGoInDoc fnGoCntntCellsSkipHidden; void _InitPam(); +/// PaM is Point and Mark: a selection of the document model. class SW_DLLPUBLIC SwPaM : public Ring { SwPosition m_Bound1; diff --git a/sw/source/core/inc/hffrm.hxx b/sw/source/core/inc/hffrm.hxx index dcf9a2b..993da32 100644 --- a/sw/source/core/inc/hffrm.hxx +++ b/sw/source/core/inc/hffrm.hxx @@ -49,6 +49,7 @@ public: virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect ) const; }; +/// Header in the document layout, inside a page. class SwHeaderFrm: public SwHeadFootFrm { public: @@ -57,6 +58,7 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwHeaderFrm) }; +/// Footer in the document layout, inside a page. class SwFooterFrm: public SwHeadFootFrm { public: diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx index 779c4cd..0091e24 100644 --- a/sw/source/core/inc/pagefrm.hxx +++ b/sw/source/core/inc/pagefrm.hxx @@ -58,6 +58,7 @@ enum SwPageChg CHG_CHGPAGE }; +/// A page of the document layout. class SwPageFrm: public SwFtnBossFrm { friend class SwFrm; diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx index 788fc55..b8f0f8f 100644 --- a/sw/source/core/inc/rootfrm.hxx +++ b/sw/source/core/inc/rootfrm.hxx @@ -62,6 +62,7 @@ struct SwCrsrMoveState; #include vector +/// The root element of a Writer document layout. class SwRootFrm: public SwLayoutFrm { //Muss das Superfluous temporaer abschalten. ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-4' - oox/source
oox/source/ole/axcontrol.cxx |1 + 1 file changed, 1 insertion(+) New commits: commit 636abb692afb818b797794ff14384aefe16a7ae2 Author: Noel Power noel.po...@novell.com Date: Mon Feb 13 14:50:09 2012 + handle imported picture attribute from MSO Dialog ( fdo#45995 ) Signed-off-by: Petr Mladek pmla...@suse.cz diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx index 498296b..ebbd71a 100644 --- a/oox/source/ole/axcontrol.cxx +++ b/oox/source/ole/axcontrol.cxx @@ -1745,6 +1745,7 @@ void AxUserFormModel::convertProperties( PropertyMap rPropMap, const ControlCon { rPropMap.setProperty( PROP_Title, maCaption ); rConv.convertColor( rPropMap, PROP_BackgroundColor, mnBackColor ); +rConv.convertAxPicture( rPropMap, maPictureData, AX_PICPOS_CENTER ); AxContainerModelBase::convertProperties( rPropMap, rConv ); } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-4' - toolkit/inc toolkit/source
toolkit/inc/toolkit/controls/controlmodelcontainerbase.hxx |1 toolkit/inc/toolkit/controls/dialogcontrol.hxx |4 + toolkit/inc/toolkit/controls/unocontrols.hxx | 13 +++ toolkit/source/controls/controlmodelcontainerbase.cxx | 25 --- toolkit/source/controls/dialogcontrol.cxx | 35 -- toolkit/source/controls/unocontrols.cxx| 44 - 6 files changed, 88 insertions(+), 34 deletions(-) New commits: commit 715b102a41eb89aff9cf5cc5e206e98d363274ee Author: Noel Power noel.po...@novell.com Date: Wed Feb 15 14:46:29 2012 +0100 fix support for embedded images for basic Dialogs ( fdo#45992 ) Signed-off-by: Petr Mladek pmla...@suse.cz diff --git a/toolkit/inc/toolkit/controls/controlmodelcontainerbase.hxx b/toolkit/inc/toolkit/controls/controlmodelcontainerbase.hxx index 673f4d6..c4d2dd5 100644 --- a/toolkit/inc/toolkit/controls/controlmodelcontainerbase.hxx +++ b/toolkit/inc/toolkit/controls/controlmodelcontainerbase.hxx @@ -233,7 +233,6 @@ protected: virtual void ImplSetPosSize( ::com::sun::star::uno::Reference ::com::sun::star::awt::XControl rxCtrl ); voidImplUpdateResourceResolver(); voidImplStartListingForResourceEvents(); -::com::sun::star::uno::Reference ::com::sun::star::graphic::XGraphic Impl_getGraphicFromURL_nothrow( const ::rtl::OUString _rURL ); ControlContainerBase(); diff --git a/toolkit/inc/toolkit/controls/dialogcontrol.hxx b/toolkit/inc/toolkit/controls/dialogcontrol.hxx index 78fc078..9620e65 100644 --- a/toolkit/inc/toolkit/controls/dialogcontrol.hxx +++ b/toolkit/inc/toolkit/controls/dialogcontrol.hxx @@ -33,6 +33,7 @@ #include com/sun/star/awt/XDialog2.hpp #include com/sun/star/awt/XSimpleTabController.hpp #include com/sun/star/resource/XStringResourceResolver.hpp +#include com/sun/star/graphic/XGraphicObject.hpp #include toolkit/helper/servicenames.hxx #include toolkit/helper/macros.hxx #include toolkit/controls/unocontrolcontainer.hxx @@ -47,8 +48,11 @@ class UnoControlDialogModel : public ControlModelContainerBase { protected: +::com::sun::star::uno::Reference ::com::sun::star::graphic::XGraphicObject mxGrfObj; ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const; ::cppu::IPropertyArrayHelper SAL_CALL getInfoHelper(); +// ::cppu::OPropertySetHelper +void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any rValue ) throw (::com::sun::star::uno::Exception); public: UnoControlDialogModel( const ::com::sun::star::uno::Reference ::com::sun::star::lang::XMultiServiceFactory i_factory ); UnoControlDialogModel( const UnoControlDialogModel rModel ); diff --git a/toolkit/inc/toolkit/controls/unocontrols.hxx b/toolkit/inc/toolkit/controls/unocontrols.hxx index 91b8e2a..3fffee3 100644 --- a/toolkit/inc/toolkit/controls/unocontrols.hxx +++ b/toolkit/inc/toolkit/controls/unocontrols.hxx @@ -72,6 +72,19 @@ #define UNO_NAME_GRAPHOBJ_URLPREFIX vnd.sun.star.GraphicObject: #define UNO_NAME_GRAPHOBJ_URLPKGPREFIX vnd.sun.star.Package: +class ImageHelper +{ +public: +// The routine will always attempt to return a valid XGraphic for the +// passed _rURL, additionallly xOutGraphicObject will contain the +// associated XGraphicObject ( if url is valid for that ) and is set +// appropriately ( e.g. NULL if non GraphicObject scheme ) or a valid +// object if the rURL points to a valid object +static ::com::sun::star::uno::Reference ::com::sun::star::graphic::XGraphic getGraphicAndGraphicObjectFromURL_nothrow( ::com::sun::star::uno::Reference ::com::sun::star::graphic::XGraphicObject xOutGraphicObject, const ::rtl::OUString _rURL ); +static ::com::sun::star::uno::Reference ::com::sun::star::graphic::XGraphic getGraphicFromURL_nothrow( const ::rtl::OUString _rURL ); + +}; + // // class UnoControlEditModel // diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 2be6fa2..f2dd50a 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1842,31 +1842,6 @@ void ControlContainerBase::ImplUpdateResourceResolver() } } - -uno::Reference graphic::XGraphic ControlContainerBase::Impl_getGraphicFromURL_nothrow( const ::rtl::OUString _rURL ) -{ -uno::Reference graphic::XGraphic xGraphic; -if ( !_rURL.getLength() ) -return xGraphic; - -try -{ -uno::Reference graphic::XGraphicProvider xProvider; -if ( maContext.createComponent(
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - Repository.mk
Repository.mk |3 +++ 1 file changed, 3 insertions(+) New commits: commit 4161ce76cd0fa7135d1f51fbe89a9118cdee94bf Author: Andras Timar ati...@suse.com Date: Wed Feb 15 15:12:21 2012 +0100 fix build on Windows diff --git a/Repository.mk b/Repository.mk index 3c2c93e..863024f 100644 --- a/Repository.mk +++ b/Repository.mk @@ -61,11 +61,14 @@ $(eval $(call gb_Helper_register_executables,OOO,\ sdraw \ simpress \ soffice \ + soffice_bin \ smath \ sweb \ swriter \ unoinfo \ unopkg \ + unopkg_bin \ + unopkg_com \ unopkgio \ )) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 10 commits - android/qa Library_merged.mk sal/Library_sal.mk sal/Module_sal.mk sal/textenc sc/CppunitTest_sc_filters_test.mk sc/qa solenv/gbuild vcl/source
Library_merged.mk |6 +++--- android/qa/desktop/Makefile|7 --- android/qa/sc/Makefile |9 + sal/Library_sal.mk | 17 + sal/Module_sal.mk |3 ++- sal/textenc/textenc.cxx|2 +- sc/CppunitTest_sc_filters_test.mk |3 +++ sc/qa/unit/helper/qahelper.hxx | 21 + solenv/gbuild/extensions/pre_MergedLibsList.mk |3 +++ vcl/source/app/svapp.cxx |8 +++- 10 files changed, 58 insertions(+), 21 deletions(-) New commits: commit 60323f6bcf75cb80b203ae50f328ca78d035851b Author: Tor Lillqvist tlillqv...@suse.com Date: Tue Feb 14 20:09:01 2012 +0200 When using libmerged there is no tk library diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 10d7f63..a0bcc15 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1544,7 +1544,13 @@ UnoWrapperBase* Application::GetUnoWrapper( sal_Bool bCreateIfNotExist ) static sal_Bool bAlreadyTriedToCreate = sal_False; if ( !pSVData-mpUnoWrapper bCreateIfNotExist !bAlreadyTriedToCreate ) { -::rtl::OUString aLibName = ::vcl::unohelper::CreateLibraryName( tk, sal_True ); +::rtl::OUString aLibName = ::vcl::unohelper::CreateLibraryName( +#ifdef LIBO_MERGELIBS + merged, +#else + tk, +#endif + sal_True ); oslModule hTkLib = osl_loadModuleRelative( thisModule, aLibName.pData, SAL_LOADMODULE_DEFAULT ); if ( hTkLib ) commit 3a2cbe739db31139e03beacd4c886a486acf6922 Author: Tor Lillqvist tlillqv...@suse.com Date: Tue Feb 14 13:06:10 2012 +0200 Add comment wondering why this loadFile() isn't in osl diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index c679c73..0974e70 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -38,6 +38,12 @@ #include osl/detail/android-bootstrap.h +// Why is this here and not in osl, and using the already existing file +// handling APIs? Do we really want to add arbitrary new file handling +// wrappers here and there (and then having to handle the Android (and +// eventually perhaps iOS) special cases here, too)? Please move this to osl, +// it sure looks gemerally useful. Or am I missing something? + void loadFile(const rtl::OUString aFileName, std::string aContent) { rtl::OString aOFileName = rtl::OUStringToOString(aFileName, RTL_TEXTENCODING_UTF8); commit 4eaf1feb56632e8e4da34c9a5275bd409395f009 Author: Tor Lillqvist tlillqv...@suse.com Date: Tue Feb 14 12:56:43 2012 +0200 Special-case files in /assets on Android diff --git a/sc/CppunitTest_sc_filters_test.mk b/sc/CppunitTest_sc_filters_test.mk index 26bcc7a..32f7d47 100644 --- a/sc/CppunitTest_sc_filters_test.mk +++ b/sc/CppunitTest_sc_filters_test.mk @@ -63,6 +63,9 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sc_filters_test, \ utl \ vcl \ xo \ + $(if $(filter $(OS),ANDROID), \ + lo-bootstrap \ + ) \ $(gb_STDLIBS) \ )) diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index 4c9ae91..c679c73 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -36,9 +36,24 @@ #include string #include sstream +#include osl/detail/android-bootstrap.h + void loadFile(const rtl::OUString aFileName, std::string aContent) { rtl::OString aOFileName = rtl::OUStringToOString(aFileName, RTL_TEXTENCODING_UTF8); + +#ifdef ANDROID +const char *contents; +size_t size; +if (strncmp(aOFileName.getStr(), /assets/, sizeof(/assets/)-1) == 0) { +contents = (const char *) lo_apkentry(aOFileName.getStr(), size); +if (contents != 0) { +aContent = std::string(contents, size); +return; +} +} +#endif + std::ifstream aFile(aOFileName.getStr()); rtl::OStringBuffer aErrorMsg(Could not open csv file: ); commit 888d96f6b48a60abdf9077854f9a5f883f1e84be Author: Tor Lillqvist tlillqv...@suse.com Date: Tue Feb 14 12:39:43 2012 +0200 Add svt and tk to libmerged diff --git a/Library_merged.mk b/Library_merged.mk index 0b2268c..b994231 100644 --- a/Library_merged.mk +++ b/Library_merged.mk @@ -30,13 +30,13 @@ $(eval $(call gb_Library_add_linked_libs,merged,\ cppuhelper \ i18nisolang1 \ i18npaper \ +i18nutil \ +jvmfwk \ sal \ salhelper \ sax \ sot \ svl \ - svt \ - tk \ tl \ ucbhelper \ utl \ @@ -47,6 +47,7 @@ $(eval $(call gb_Library_add_linked_libs,merged,\
[Libreoffice-commits] .: sw/source
sw/source/filter/rtf/rtffly.cxx |2 ++ 1 file changed, 2 insertions(+) New commits: commit 4c8307053e3003af6cef5056e36a650f19c8cdb3 Author: Cédric Bosdonnat cedric.bosdonnat@free.fr Date: Mon Jun 27 14:46:16 2011 + n#695479: Remove properties when removing empty fly frame diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx index 92a7ca9..6d40010 100644 --- a/sw/source/filter/rtf/rtffly.cxx +++ b/sw/source/filter/rtf/rtffly.cxx @@ -1092,6 +1092,8 @@ void SwRTFParser::ReadFly( int nToken, SfxItemSet* pSet ) // dann zerstoere den FlySave wieder. aFlyArr.DeleteAndDestroy( --nFlyArrCnt ); +// Remove the properties that have been parsed before in the paragraph +GetAttrStack().Pop(); } else { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sal/Library_sal.mk sal/Module_sal.mk sal/textenc
sal/Library_sal.mk |2 +- sal/Module_sal.mk |2 +- sal/textenc/textenc.cxx |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) New commits: commit 17bcaca217523916188b28914f99bcfb12debc4b Author: Tor Lillqvist t...@iki.fi Date: Wed Feb 15 16:36:31 2012 +0200 Merge sal_textenc into sal just on Android diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk index 13a514f..60ab9c9 100644 --- a/sal/Library_sal.mk +++ b/sal/Library_sal.mk @@ -132,7 +132,7 @@ $(eval $(call gb_Library_add_cobjects,sal,\ sal/osl/all/filepath \ )) -ifeq ($(MERGELIBS),TRUE) +ifeq ($(OS),ANDROID) $(eval $(call gb_Library_add_exception_objects,sal,\ sal/textenc/context \ sal/textenc/convertbig5hkscs \ diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk index 7a3304a..d9b5ffb 100644 --- a/sal/Module_sal.mk +++ b/sal/Module_sal.mk @@ -35,7 +35,7 @@ $(eval $(call gb_Module_add_targets,sal,\ $(if $(filter $(OS),ANDROID), \ Library_lo-bootstrap) \ Library_sal \ - $(if $(filter TRUE,$(MERGELIBS)),, \ + $(if $(filter $(OS),ANDROID),, \ Library_sal_textenc) \ $(if $(filter $(OS),WNT), \ Library_uwinapi) \ diff --git a/sal/textenc/textenc.cxx b/sal/textenc/textenc.cxx index b668492..42f1711 100644 --- a/sal/textenc/textenc.cxx +++ b/sal/textenc/textenc.cxx @@ -364,7 +364,7 @@ static ImplTextEncodingData const aImplJavaUtf8TextEncodingData namespace { -#if defined IOS || defined LIBO_MERGELIBS +#if defined IOS || defined ANDROID extern C ImplTextEncodingData const * sal_getFullTextEncodingData( rtl_TextEncoding); // from tables.cxx in sal_textenc library ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sal/Library_sal.mk sal/Module_sal.mk sal/textenc
sal/Library_sal.mk |2 +- sal/Module_sal.mk |2 +- sal/textenc/textenc.cxx |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) New commits: commit 42422f2599220b678aa41c4aadeec28df113c3ec Author: Tor Lillqvist t...@iki.fi Date: Wed Feb 15 16:36:31 2012 +0200 Merge sal_textenc into sal just on Android diff --git a/sal/Library_sal.mk b/sal/Library_sal.mk index 13a514f..60ab9c9 100644 --- a/sal/Library_sal.mk +++ b/sal/Library_sal.mk @@ -132,7 +132,7 @@ $(eval $(call gb_Library_add_cobjects,sal,\ sal/osl/all/filepath \ )) -ifeq ($(MERGELIBS),TRUE) +ifeq ($(OS),ANDROID) $(eval $(call gb_Library_add_exception_objects,sal,\ sal/textenc/context \ sal/textenc/convertbig5hkscs \ diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk index 7a3304a..d9b5ffb 100644 --- a/sal/Module_sal.mk +++ b/sal/Module_sal.mk @@ -35,7 +35,7 @@ $(eval $(call gb_Module_add_targets,sal,\ $(if $(filter $(OS),ANDROID), \ Library_lo-bootstrap) \ Library_sal \ - $(if $(filter TRUE,$(MERGELIBS)),, \ + $(if $(filter $(OS),ANDROID),, \ Library_sal_textenc) \ $(if $(filter $(OS),WNT), \ Library_uwinapi) \ diff --git a/sal/textenc/textenc.cxx b/sal/textenc/textenc.cxx index b668492..42f1711 100644 --- a/sal/textenc/textenc.cxx +++ b/sal/textenc/textenc.cxx @@ -364,7 +364,7 @@ static ImplTextEncodingData const aImplJavaUtf8TextEncodingData namespace { -#if defined IOS || defined LIBO_MERGELIBS +#if defined IOS || defined ANDROID extern C ImplTextEncodingData const * sal_getFullTextEncodingData( rtl_TextEncoding); // from tables.cxx in sal_textenc library ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: binfilter/bf_svtools
binfilter/bf_svtools/source/filter.vcl/filter/svt_sgvtext.cxx | 31 -- 1 file changed, 15 insertions(+), 16 deletions(-) New commits: commit b0035dae18266c4fd219b29dbc635497c0fa53ec Author: Stephan Bergmann sberg...@redhat.com Date: Wed Feb 15 15:38:04 2012 +0100 Adapted to string function clean up Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM - RTL_CONSTASCII_STRINGPARAM. diff --git a/binfilter/bf_svtools/source/filter.vcl/filter/svt_sgvtext.cxx b/binfilter/bf_svtools/source/filter.vcl/filter/svt_sgvtext.cxx index fd8bc49..e2bcfe0 100644 --- a/binfilter/bf_svtools/source/filter.vcl/filter/svt_sgvtext.cxx +++ b/binfilter/bf_svtools/source/filter.vcl/filter/svt_sgvtext.cxx @@ -1189,22 +1189,21 @@ void SgfFontOne::ReadOne( const rtl::OString rID, ByteString Dsc ) if (!s.isEmpty()) { s = s.toAsciiUpperCase(); -using comphelper::string::matchL; -if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(BOLD))) Bold=sal_True; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(ITAL))) Ital=sal_True; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SERF))) Serf=sal_True; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SANS))) Sans=sal_True; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(FIXD))) Fixd=sal_True; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(ROMAN))) SVFamil=FAMILY_ROMAN; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SWISS))) SVFamil=FAMILY_SWISS; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(MODERN))) SVFamil=FAMILY_MODERN; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SCRIPT))) SVFamil=FAMILY_SCRIPT; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(DECORA))) SVFamil=FAMILY_DECORATIVE; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(ANSI))) SVChSet=RTL_TEXTENCODING_MS_1252; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(IBMPC))) SVChSet=RTL_TEXTENCODING_IBM_850; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(MAC))) SVChSet=RTL_TEXTENCODING_APPLE_ROMAN; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SYMBOL))) SVChSet=RTL_TEXTENCODING_SYMBOL; -else if (matchL(s, RTL_CONSTASCII_USTRINGPARAM(SYSTEM))) SVChSet = osl_getThreadTextEncoding(); +if (s.matchL(RTL_CONSTASCII_STRINGPARAM(BOLD))) Bold=sal_True; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(ITAL))) Ital=sal_True; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SERF))) Serf=sal_True; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SANS))) Sans=sal_True; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(FIXD))) Fixd=sal_True; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(ROMAN))) SVFamil=FAMILY_ROMAN; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SWISS))) SVFamil=FAMILY_SWISS; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(MODERN))) SVFamil=FAMILY_MODERN; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SCRIPT))) SVFamil=FAMILY_SCRIPT; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(DECORA))) SVFamil=FAMILY_DECORATIVE; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(ANSI))) SVChSet=RTL_TEXTENCODING_MS_1252; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(IBMPC))) SVChSet=RTL_TEXTENCODING_IBM_850; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(MAC))) SVChSet=RTL_TEXTENCODING_APPLE_ROMAN; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SYMBOL))) SVChSet=RTL_TEXTENCODING_SYMBOL; +else if (s.matchL(RTL_CONSTASCII_STRINGPARAM(SYSTEM))) SVChSet = osl_getThreadTextEncoding(); else if (comphelper::string::isdigitAsciiString(s) ) SVWidth=sal::static_int_cast sal_uInt16 (s.toInt32()); } } ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: sw/source
sw/source/filter/rtf/rtffly.cxx |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 9efe123eec58bcf14faa7e18c2625bdd0c420fb7 Author: Miklos Vajna vmik...@suse.cz Date: Wed Feb 15 15:47:20 2012 +0100 sw: SvxRTFItemStack has been changed to std::deque in the meantime diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx index 6d40010..b4c6573 100644 --- a/sw/source/filter/rtf/rtffly.cxx +++ b/sw/source/filter/rtf/rtffly.cxx @@ -1093,7 +1093,7 @@ void SwRTFParser::ReadFly( int nToken, SfxItemSet* pSet ) aFlyArr.DeleteAndDestroy( --nFlyArrCnt ); // Remove the properties that have been parsed before in the paragraph -GetAttrStack().Pop(); +GetAttrStack().pop_back(); } else { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source
sw/source/filter/rtf/rtffly.cxx |2 ++ 1 file changed, 2 insertions(+) New commits: commit a12a832280db27877c30ee177e9a079cd9c2eed9 Author: Cédric Bosdonnat cedric.bosdonnat@free.fr Date: Mon Jun 27 14:46:16 2011 + n#695479: Remove properties when removing empty fly frame (cherry picked from commits 4c8307053e3003af6cef5056e36a650f19c8cdb3 and b208f71ddd19f1419558e7eb8c413d17d7e9f9da) diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx index 92a7ca9..b4c6573 100644 --- a/sw/source/filter/rtf/rtffly.cxx +++ b/sw/source/filter/rtf/rtffly.cxx @@ -1092,6 +1092,8 @@ void SwRTFParser::ReadFly( int nToken, SfxItemSet* pSet ) // dann zerstoere den FlySave wieder. aFlyArr.DeleteAndDestroy( --nFlyArrCnt ); +// Remove the properties that have been parsed before in the paragraph +GetAttrStack().pop_back(); } else { ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: configure.in
configure.in |1 + 1 file changed, 1 insertion(+) New commits: commit de9c3dcb769bc2df9abaefbae4f8ed90131176e0 Author: Tor Lillqvist tlillqv...@suse.com Date: Wed Feb 15 17:01:14 2012 +0200 Set SOLARLIB for Android diff --git a/configure.in b/configure.in index 437da5f..18adc1b 100644 --- a/configure.in +++ b/configure.in @@ -2967,6 +2967,7 @@ linux-androideabi*) ;; esac SOLARINC=$SOLARINC -I$SRC_ROOT/solenv/inc/$OUTPATH +SOLARLIB=-L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib ;; mingw*) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 5 commits - extensions/source sfx2/source svx/source ucb/source vcl/inc vcl/source
extensions/source/scanner/scanwin.cxx |4 sfx2/source/appl/app.cxx |2 sfx2/source/appl/shutdowniconw32.cxx |2 svx/source/dialog/sendreportw32.cxx |2 ucb/source/ucp/odma/odma.h|4 vcl/inc/vcl/settings.hxx | 191 - vcl/source/app/settings.cxx | 308 -- 7 files changed, 18 insertions(+), 495 deletions(-) New commits: commit 1893585d243c7daf5c8782ec6c90c26142d428e8 Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 15:05:29 2012 + I can't see the point of these masses of vcl settings which go nowhere diff --git a/vcl/inc/vcl/settings.hxx b/vcl/inc/vcl/settings.hxx index e0110e0..2f333ca 100644 --- a/vcl/inc/vcl/settings.hxx +++ b/vcl/inc/vcl/settings.hxx @@ -45,66 +45,6 @@ namespace vcl { class I18nHelper; } -// --- -// - ImplMachineData - -// --- - -class ImplMachineData -{ -friend class MachineSettings; - -ImplMachineData(); -ImplMachineData( const ImplMachineData rData ); - -private: -sal_uLong mnRefCount; -sal_uLong mnOptions; -sal_uLong mnScreenOptions; -sal_uLong mnPrintOptions; -longmnScreenRasterFontDeviation; -}; - -// --- -// - MachineSettings - -// --- - -class VCL_DLLPUBLIC MachineSettings -{ -voidCopyData(); - -private: -ImplMachineData*mpData; - -public: -MachineSettings(); -MachineSettings( const MachineSettings rSet ); -~MachineSettings(); - -voidSetOptions( sal_uLong nOptions ) -{ CopyData(); mpData-mnOptions = nOptions; } -sal_uLong GetOptions() const -{ return mpData-mnOptions; } -voidSetScreenOptions( sal_uLong nOptions ) -{ CopyData(); mpData-mnScreenOptions = nOptions; } -sal_uLong GetScreenOptions() const -{ return mpData-mnScreenOptions; } -voidSetPrintOptions( sal_uLong nOptions ) -{ CopyData(); mpData-mnPrintOptions = nOptions; } -sal_uLong GetPrintOptions() const -{ return mpData-mnPrintOptions; } - -voidSetScreenRasterFontDeviation( long nDeviation ) -{ CopyData(); mpData-mnScreenRasterFontDeviation = nDeviation; } -longGetScreenRasterFontDeviation() const -{ return mpData-mnScreenRasterFontDeviation; } - -const MachineSettings operator =( const MachineSettings rSet ); - -sal_Booloperator ==( const MachineSettings rSet ) const; -sal_Booloperator !=( const MachineSettings rSet ) const -{ return !(*this == rSet); } -}; - // - // - ImplMouseData - // - @@ -272,52 +212,6 @@ public: { return !(*this == rSet); } }; -// -// - ImplKeyboardData - -// - -class ImplKeyboardData -{ -friend class KeyboardSettings; - -ImplKeyboardData(); -ImplKeyboardData( const ImplKeyboardData rData ); - -private: -sal_uLong mnRefCount; -Accelerator maStandardAccel; -sal_uLong mnOptions; -}; - -// -// - KeyboardSettings - -// - -#define KEYBOARD_OPTION_QUICKCURSOR ((sal_uLong)0x0001) - -class VCL_DLLPUBLIC KeyboardSettings -{ -private: -ImplKeyboardData* mpData; - -public: -KeyboardSettings(); -KeyboardSettings( const KeyboardSettings rSet ); -~KeyboardSettings(); - -const Accelerator GetStandardAccel() const -{ return mpData-maStandardAccel; } - -sal_uLong GetOptions() const -{ return mpData-mnOptions; } - -const KeyboardSettings operator =( const KeyboardSettings rSet ); - -sal_Booloperator ==( const
[Libreoffice-commits] .: 2 commits - desktop/source solenv/bin
desktop/source/app/app.cxx | 35 solenv/bin/modules/installer/copyproject.pm |3 ++ solenv/bin/modules/installer/exiter.pm |3 ++ solenv/bin/modules/installer/files.pm |5 +++- solenv/bin/modules/installer/logger.pm |3 ++ 5 files changed, 13 insertions(+), 36 deletions(-) New commits: commit 0ebee1ef39a77c4394e7d0ec9346daf002e52884 Author: Michael Meeks michael.me...@suse.com Date: Wed Feb 15 15:16:02 2012 + remove hideous plasma debugging bits from android branch diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 4df6346..393db72 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -102,14 +102,6 @@ #include sys/wait.h #endif -#ifdef ANDROID -// mmeeks debugging stuff? -extern void VCL_DLLPUBLIC plasma_now(const char *msg); -#define PLASMA_NOW(s) ::plasma_now(s) -#else -#define PLASMA_NOW(s) -#endif - #define DEFINE_CONST_UNICODE(CONSTASCII) UniString(RTL_CONSTASCII_USTRINGPARAM(CONSTASCII)) #define U2S(STRING) ::rtl::OUStringToOString(STRING, RTL_TEXTENCODING_UTF8) @@ -1478,8 +1470,6 @@ int Desktop::Main() ResMgr::SetReadStringHook( ReplaceStringHookProc ); -//PLASMA_NOW(after desktoppy bits); - fine to here ... - // Startup screen RTL_LOGFILE_CONTEXT_TRACE( aLog, desktop (lo119109) Desktop::Main { OpenSplashScreen ); OpenSplashScreen(); @@ -1487,7 +1477,6 @@ int Desktop::Main() SetSplashScreenProgress(10); -//PLASMA_NOW(after splash open); { UserInstall::UserInstallError instErr_fin = UserInstall::finalize(); if ( instErr_fin != UserInstall::E_None) @@ -1515,8 +1504,6 @@ int Desktop::Main() { RegisterServices( xSMgr ); -//PLASMA_NOW(registered services); - SetSplashScreenProgress(25); #ifndef UNX @@ -1561,8 +1548,6 @@ int Desktop::Main() if ( !InitializeConfiguration() ) return EXIT_FAILURE; -//PLASMA_NOW(init configuration); - SetSplashScreenProgress(30); // set static variable to enabled/disable crash reporter @@ -1580,8 +1565,6 @@ int Desktop::Main() String aTitle = pLabelResMgr ? String( ResId( RID_APPTITLE, *pLabelResMgr ) ) : String(); delete pLabelResMgr; -//PLASMA_NOW(after title string); - #ifdef DBG_UTIL //include version ID in non product builds ::rtl::OUString aDefault(RTL_CONSTASCII_USTRINGPARAM(development)); @@ -1598,8 +1581,6 @@ int Desktop::Main() SetSplashScreenProgress(40); RTL_LOGFILE_CONTEXT_TRACE( aLog, } create SvtPathOptions and SvtLanguageOptions ); -//PLASMA_NOW(unrestricted folders); -- got this. - // Check special env variable std::vector String aUnrestrictedFolders; svt::getUnrestrictedFolders( aUnrestrictedFolders ); @@ -1620,8 +1601,6 @@ int Desktop::Main() ( xSMgr-createInstance( DEFINE_CONST_UNICODE( com.sun.star.frame.GlobalEventBroadcaster ) ), UNO_QUERY ); -PLASMA_NOW(done global event broadcaster); - /* ensure existance of a default window that messages can be dispatched to This is for the benefit of testtool which uses PostUserEvent extensively and else can deadlock while creating this window from another tread while @@ -1659,8 +1638,6 @@ int Desktop::Main() pExecGlobals-xGlobalBroadcaster-notifyEvent(aEvent); } -PLASMA_NOW(invoked OnStartupApp); - SetSplashScreenProgress(50); // Backing Component @@ -1690,8 +1667,6 @@ int Desktop::Main() aMiscOptions.SetUseSystemFileDialog( sal_False ); } -PLASMA_NOW(nearly there !); - if ( !pExecGlobals-bRestartRequested ) { if ((!rCmdLineArgs.WantsToLoadDocument() !rCmdLineArgs.IsInvisible() !rCmdLineArgs.IsHeadless() !rCmdLineArgs.IsQuickstart()) @@ -1761,8 +1736,6 @@ int Desktop::Main() aOptions.SetVCLSettings(); SetSplashScreenProgress(60); -PLASMA_NOW(setup appearance !); - if ( !pExecGlobals-bRestartRequested ) { Application::SetFilterHdl( LINK( this, Desktop, ImplInitFilterHdl ) ); @@ -1796,8 +1769,6 @@ int Desktop::Main() // Release solar mutex just before we wait for our client to connect int nAcquireCount = Application::ReleaseSolarMutex(); -PLASMA_NOW(wait client connect !); - // Post user event to startup first application component window // We have to send this OpenClients message short before execute() to // minimize the risk that this message overtakes type detection contruction!! @@ -1816,8 +1787,6 @@ int Desktop::Main() // call Application::Execute to process messages in vcl message loop RTL_LOGFILE_PRODUCT_TRACE( PERFORMANCE - enter Application::Execute() ); -
[Libreoffice-commits] .: filter/source framework/source package/source svl/source
filter/source/config/cache/typedetection.cxx |4 ++-- framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx |2 +- framework/source/uiconfiguration/uiconfigurationmanager.cxx |2 +- package/source/xstor/xfactory.cxx |2 +- svl/source/fsstor/fsfactory.cxx |4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) New commits: commit c91ff959b0527852fde12a5f994b30121ff3c817 Author: Takeshi Abe t...@fixedpoint.jp Date: Thu Feb 16 00:21:01 2012 +0900 Use RTL_CONSTASCII_STRINGPARAM instead of bare number diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 0a06025..af907bc 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -454,7 +454,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString sPreS { // We cant check a preselected type for a given stream! // So we must believe, that it can work ... -if (aParsedURL.Complete.equalsAsciiL(private:stream, 14)) +if (aParsedURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(private:stream))) bBreakDetection = sal_True; } @@ -1092,7 +1092,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor rDescript if ( (sURL.isEmpty() ) || // non existing file ? (!xStream.is() ) || // non existing file ! -(sURL.equalsIgnoreAsciiCaseAsciiL(private:stream, 14))// not a good idea .-) + (sURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(private:stream))) // not a good idea .-) ) return ::rtl::OUString(); diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx index c4679f5..8e4aec6 100644 --- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx @@ -273,7 +273,7 @@ void ModuleUIConfigurationManager::impl_preloadUIElementTypeList( Layer eLayer, OUString aUIElementName( aUIElementNames[n].copy( 0, nIndex )); if (!aUIElementName.isEmpty() -( aExtension.equalsIgnoreAsciiCaseAsciiL( xml, 3 ))) +( aExtension.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(xml { aUIElementData.aResourceURL = aResURLPrefix + aUIElementName; aUIElementData.aName= aUIElementNames[n]; diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx index 0803ff0..f0caf7f 100644 --- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx +++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx @@ -216,7 +216,7 @@ void UIConfigurationManager::impl_preloadUIElementTypeList( sal_Int16 nElementTy rtl::OUString aUIElementName( aUIElementNames[n].copy( 0, nIndex )); if (!aUIElementName.isEmpty() -( aExtension.equalsIgnoreAsciiCaseAsciiL( xml, 3 ))) +( aExtension.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(xml { aUIElementData.aResourceURL = aResURLPrefix + aUIElementName; aUIElementData.aName= aUIElementNames[n]; diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 3602ab0..7037e61 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -156,7 +156,7 @@ uno::Reference uno::XInterface SAL_CALL OStorageFactory::createInstanceWithAr throw lang::IllegalArgumentException(); // TODO: } -if ( aURL.equalsIgnoreAsciiCaseAsciiL( vnd.sun.star.pkg, 16 ) ) +if ( aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(vnd.sun.star.pkg)) ) { OSL_FAIL( Packages URL's are not valid for storages!\n ); // ??? throw lang::IllegalArgumentException(); // TODO: diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx index 8e21da6..ae9427d 100644 --- a/svl/source/fsstor/fsfactory.cxx +++ b/svl/source/fsstor/fsfactory.cxx @@ -143,8 +143,8 @@ uno::Reference uno::XInterface SAL_CALL FSStorageFactory::createInstanceWithA // allow to use other ucp's // if ( !isLocalNotFile_Impl( aURL ) ) -if ( aURL.equalsIgnoreAsciiCaseAsciiL( vnd.sun.star.pkg, 16 ) - || aURL.equalsIgnoreAsciiCaseAsciiL( vnd.sun.star.zip, 16 ) +if ( aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM(vnd.sun.star.pkg)) + ||
[Libreoffice-commits] .: 2 commits - sd/source
sd/source/ui/func/fuoltext.cxx |5 + sd/source/ui/view/outlview.cxx |6 -- 2 files changed, 1 insertion(+), 10 deletions(-) New commits: commit 57e6f04066cfddfa79eb2b79cf5c45653c79eff3 Author: Thorsten Behrens tbehr...@suse.com Date: Wed Feb 15 16:51:52 2012 +0100 Fix fdo#45177 - avoid linked undo for the while. While I try to wrap head around subtleties for linked undo in Impress outline view, disable that here for the while. Better than a crash for sure. diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 8d4d1cc..f4c9dfe 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -1664,12 +1664,6 @@ void OutlineView::EndModelChange() DBG_ASSERT( bHasUndoActions == (mrOutliner.GetUndoManager().GetUndoActionCount() != 0), sd::OutlineView::EndModelChange(), undo actions not in sync! ); -if( bHasUndoActions ) -{ -SfxLinkUndoAction* pLink = new SfxLinkUndoAction(pDocUndoMgr); -mrOutliner.GetUndoManager().AddUndoAction(pLink); -} - mrOutliner.GetUndoManager().LeaveListAction(); if( bHasUndoActions mrOutliner.GetEditEngine().HasTriedMergeOnLastAddUndo() ) commit 4fa7f074b38a65a6e0b5e9ceb164f31ce8086042 Author: Thorsten Behrens tbehr...@suse.com Date: Wed Feb 15 16:50:59 2012 +0100 Cleanup: auto_ptr uses as a plain scope guard. diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx index df1108f..c48c254 100644 --- a/sd/source/ui/func/fuoltext.cxx +++ b/sd/source/ui/func/fuoltext.cxx @@ -230,10 +230,7 @@ sal_Bool FuOutlineText::KeyInput(const KeyEvent rKEvt) { mpWindow-GrabFocus(); -SAL_WNODEPRECATED_DECLARATIONS_PUSH -std::auto_ptr OutlineViewModelChangeGuard aGuard; -SAL_WNODEPRECATED_DECLARATIONS_POP - +boost::scoped_ptr OutlineViewModelChangeGuard aGuard; if( (nKeyGroup != KEYGROUP_CURSOR) (nKeyGroup != KEYGROUP_FKEYS) ) aGuard.reset( new OutlineViewModelChangeGuard( *pOutlineView ) ); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: package/source
package/source/zipapi/Deflater.cxx |8 package/source/zipapi/Inflater.cxx |4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit 372a0d505c722fd8b39cf4f65487e7f08049896b Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 16:02:47 2012 + these were surely meant to be Z_PREFIX not ZLIB_PREFIX seeing as Z_PREFIX is what we set in our internal zlib and one of these was ZLIB_PREFIXB anyway diff --git a/package/source/zipapi/Deflater.cxx b/package/source/zipapi/Deflater.cxx index a6d7c45..5aab0c5 100644 --- a/package/source/zipapi/Deflater.cxx +++ b/package/source/zipapi/Deflater.cxx @@ -93,7 +93,7 @@ sal_Int32 Deflater::doDeflateBytes (uno::Sequence sal_Int8 rBuffer, sal_Int pStream-avail_in = nLength; pStream-avail_out = nNewLength; -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIX +#if defined SYSTEM_ZLIB || !defined Z_PREFIX nResult = deflateParams(pStream, nLevel, nStrategy); #else nResult = z_deflateParams(pStream, nLevel, nStrategy); @@ -119,7 +119,7 @@ sal_Int32 Deflater::doDeflateBytes (uno::Sequence sal_Int8 rBuffer, sal_Int pStream-avail_in = nLength; pStream-avail_out = nNewLength; -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIX +#if defined SYSTEM_ZLIB || !defined Z_PREFIX nResult = deflate(pStream, bFinish ? Z_FINISH : Z_NO_FLUSH); #else nResult = z_deflate(pStream, bFinish ? Z_FINISH : Z_NO_FLUSH); @@ -188,7 +188,7 @@ sal_Int32 SAL_CALL Deflater::getTotalOut( ) } void SAL_CALL Deflater::reset( ) { -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIXB +#if defined SYSTEM_ZLIB || !defined Z_PREFIX deflateReset(pStream); #else z_deflateReset(pStream); @@ -201,7 +201,7 @@ void SAL_CALL Deflater::end( ) { if (pStream != NULL) { -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIX +#if defined SYSTEM_ZLIB || !defined Z_PREFIX deflateEnd(pStream); #else z_deflateEnd(pStream); diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx index 87e7a4b..1bc9972 100644 --- a/package/source/zipapi/Inflater.cxx +++ b/package/source/zipapi/Inflater.cxx @@ -105,7 +105,7 @@ void SAL_CALL Inflater::end( ) { if (pStream != NULL) { -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIX +#if defined SYSTEM_ZLIB || !defined Z_PREFIX inflateEnd(pStream); #else z_inflateEnd(pStream); @@ -130,7 +130,7 @@ sal_Int32 Inflater::doInflateBytes (Sequence sal_Int8 rBuffer, sal_Int32 n pStream-next_out = reinterpret_cast unsigned char* ( rBuffer.getArray() + nNewOffset ); pStream-avail_out = nNewLength; -#if defined SYSTEM_ZLIB || !defined ZLIB_PREFIX +#if defined SYSTEM_ZLIB || !defined Z_PREFIX sal_Int32 nResult = ::inflate(pStream, Z_PARTIAL_FLUSH); #else sal_Int32 nResult = ::z_inflate(pStream, Z_PARTIAL_FLUSH); ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 2 commits - package/source zlib/zlib-1.2.3.patch zlib/zlib-valgrind.patch
package/source/zipapi/CRC32.cxx | 12 +--- zlib/zlib-1.2.3.patch | 103 zlib/zlib-valgrind.patch| 78 -- 3 files changed, 3 insertions(+), 190 deletions(-) New commits: commit a5384f5640dd9d571dff7663b0d69029fc6c2d82 Author: Caolán McNamara caol...@redhat.com Date: Wed Feb 15 16:11:34 2012 + remove unapplied patches diff --git a/zlib/zlib-1.2.3.patch b/zlib/zlib-1.2.3.patch deleted file mode 100644 index 4bfad28..000 --- a/zlib/zlib-1.2.3.patch +++ /dev/null @@ -1,103 +0,0 @@ misc/zlib-1.2.3/makefile.mkFri Mar 14 10:17:06 2008 -+++ misc/build/zlib-1.2.3/makefile.mk Fri Mar 14 10:16:56 2008 -@@ -1 +1,73 @@ --dummy -+#* -+# -+# Copyright according the GNU Public License. -+# -+#* -+ -+PRJ=..$/..$/..$/.. -+ -+PRJNAME=zlib -+TARGET=zlib -+LIBTARGET=NO -+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE -+ -+# --- Settings - -+ -+.INCLUDE : settings.mk -+ -+# --- Files -+ -+INCEXT=contrib$/minizip -+ -+SLOFILES= $(SLO)$/adler32.obj \ -+ $(SLO)$/compress.obj\ -+ $(SLO)$/deflate.obj \ -+ $(SLO)$/crc32.obj \ -+ $(SLO)$/inffast.obj \ -+ $(SLO)$/inflate.obj \ -+ $(SLO)$/inftrees.obj\ -+ $(SLO)$/infback.obj \ -+ $(SLO)$/trees.obj \ -+ $(SLO)$/zutil.obj \ -+ $(SLO)$/uncompr.obj \ -+ $(SLO)$/gzio.obj\ -+ $(SLO)$/unzip.obj \ -+ $(SLO)$/ioapi.obj -+ -+ -+LIB1TARGET=$(SLB)$/$(TARGET).lib -+LIB1ARCHIV=$(LB)$/lib$(TARGET).a -+LIB1OBJFILES=$(SLOFILES) -+ -+.IF $(BUILD_X64)!= -+SLOFILES_X64= $(SLO_X64)$/adler32.obj \ -+ $(SLO_X64)$/compress.obj\ -+ $(SLO_X64)$/deflate.obj \ -+ $(SLO_X64)$/crc32.obj \ -+ $(SLO_X64)$/inffast.obj \ -+ $(SLO_X64)$/inflate.obj \ -+ $(SLO_X64)$/inftrees.obj\ -+ $(SLO_X64)$/infback.obj \ -+ $(SLO_X64)$/trees.obj \ -+ $(SLO_X64)$/zutil.obj \ -+ $(SLO_X64)$/uncompr.obj \ -+ $(SLO_X64)$/gzio.obj\ -+ $(SLO_X64)$/unzip.obj \ -+ $(SLO_X64)$/ioapi.obj -+ -+LIB1TARGET_X64=$(SLB_X64)$/$(TARGET).lib -+LIB1OBJFILES_X64=$(SLOFILES_X64) -+.ENDIF # $(BUILD_X64)!= -+ -+ -+# --- Targets -- -+ -+$(MISC)$/%.c : contrib$/minizip$/%.c -+ @echo -- -+ @echo Making: $@ -+@$(COPY) $ $@ -+ -+.INCLUDE : set_wntx64.mk -+.INCLUDE : target.mk -+.INCLUDE : tg_wntx64.mk -+ misc/zlib-1.2.3/zconf.h2010-07-15 09:33:48.921875000 +0200 -+++ misc/build/zlib-1.2.3/zconf.h 2010-07-15 09:39:27.0 +0200 -@@ -12,6 +12,12 @@ - * If you *really* need a unique prefix for all types and library functions, - * compile with -DZ_PREFIX. The standard zlib should be compiled without it. - */ -+/* -+ * we need the prefix to get the same names as in 1.1.3 -+*/ -+ -+#define Z_PREFIX -+ - #ifdef Z_PREFIX - # define deflateInit_ z_deflateInit_ - # define deflate z_deflate misc/zlib-1.2.3/zutil.h -+++ misc/build/zlib-1.2.3/zutil.h -@@ -175,7 +175,7 @@ - - /* functions */ - --#if defined(STDC99) || (defined(__TURBOC__) __TURBOC__ = 0x550) -+#if defined(STDC99) || (defined(__TURBOC__) __TURBOC__ = 0x550) || defined(_MSC_VER) - # ifndef HAVE_VSNPRINTF - #define HAVE_VSNPRINTF - # endif diff --git a/zlib/zlib-valgrind.patch b/zlib/zlib-valgrind.patch deleted file mode 100644 index 3789ee4..000 --- a/zlib/zlib-valgrind.patch +++ /dev/null @@ -1,78 +0,0 @@ misc/zlib-1.2.3/deflate.c -+++ misc/build/zlib-1.2.3/deflate.c -@@ -288,6 +288,8 @@ - s-prev = (Posf *) ZALLOC(strm, s-w_size, sizeof(Pos)); - s-head = (Posf *) ZALLOC(strm, s-hash_size, sizeof(Pos)); - -+s-high_water = 0; /* nothing written to s-window yet */ -+ - s-lit_bufsize = 1 (memLevel + 6); /* 16K elements by default */ - - overlay = (ushf *) ZALLOC(strm, s-lit_bufsize, sizeof(ush)+2); -@@ -1355,6 +1355,40 @@ - */ - - } while (s-lookahead MIN_LOOKAHEAD s-strm-avail_in != 0); -+ -+/* If the WIN_INIT bytes after the end of
[Libreoffice-commits] .: Branch 'libreoffice-3-5' - Repository.mk
Repository.mk |1 + 1 file changed, 1 insertion(+) New commits: commit d532c1d111f76a581af6d3d1ccbeca7940bdb840 Author: Jan Holesovsky ke...@suse.cz Date: Wed Feb 15 17:55:45 2012 +0100 Fix Windows build. Signed-off-by: Petr Mladek pmla...@suse.cz diff --git a/Repository.mk b/Repository.mk index 863024f..251405b 100644 --- a/Repository.mk +++ b/Repository.mk @@ -51,6 +51,7 @@ $(eval $(call gb_Helper_register_executables,OOO, \ ifeq ($(OS),WNT) $(eval $(call gb_Helper_register_executables,OOO,\ + crashrep_com \ guiloader \ guistdio \ odbcconfig \ ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: bridges/source
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) New commits: commit 4e679ee2501a0babcdce498732d68428d46481e3 Author: Jani Monoses j...@ubuntu.com Date: Fri Feb 3 22:11:08 2012 +0200 Simplify code and use proper register names for linux armhf diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx index 9502b87..ac8ca23 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx @@ -152,11 +152,6 @@ namespace arm void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pReturnType, sal_uInt32* pRegisterReturn) { -#if !defined(__ARM_EABI__) !defined(__SOFTFP__) -register float fret asm(f0); -register double dret asm(f0); -#endif - switch( pReturnType-eTypeClass ) { case typelib_TypeClass_HYPER: @@ -176,6 +171,7 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * #if !defined(__ARM_PCS_VFP) (defined(__ARM_EABI__) || defined(__SOFTFP__)) pRegisterReturn[0] = r0; #else +register float fret asm(s0); *(float*)pRegisterReturn = fret; #endif break; @@ -184,6 +180,7 @@ void MapReturn(sal_uInt32 r0, sal_uInt32 r1, typelib_TypeDescriptionReference * pRegisterReturn[1] = r1; pRegisterReturn[0] = r0; #else +register double dret asm(d0); *(double*)pRegisterReturn = dret; #endif break; ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: bridges/source
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx | 49 -- 1 file changed, 20 insertions(+), 29 deletions(-) New commits: commit a55fa2d0a8f709bd58e2729b66fd8ecc807c0286 Author: Jani Monoses j...@ubuntu.com Date: Wed Feb 8 21:23:50 2012 +0200 Remove unnecessary variable diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx index ac8ca23..fc8a9e2 100644 --- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx @@ -258,16 +258,14 @@ void callVirtualMethod( } } -#define INSERT_INT32( pSV, nr, pGPR, pDS, bOverflow ) \ +#define INSERT_INT32( pSV, nr, pGPR, pDS ) \ if ( nr arm::MAX_GPR_REGS ) \ pGPR[nr++] = *reinterpret_castsal_uInt32 *( pSV ); \ else \ -bOverFlow = true; \ -if (bOverFlow) \ *pDS++ = *reinterpret_castsal_uInt32 *( pSV ); #ifdef __ARM_EABI__ -#define INSERT_INT64( pSV, nr, pGPR, pDS, pStart, bOverflow ) \ +#define INSERT_INT64( pSV, nr, pGPR, pDS, pStart ) \ if ( (nr arm::MAX_GPR_REGS) (nr % 2) ) \ { \ ++nr; \ @@ -278,8 +276,6 @@ void callVirtualMethod( pGPR[nr++] = *(reinterpret_castsal_uInt32 *( pSV ) + 1); \ } \ else \ -bOverFlow = true; \ -if (bOverFlow) \ { \ if ( (pDS - pStart) % 2) \ { \ @@ -289,31 +285,27 @@ void callVirtualMethod( *pDS++ = reinterpret_castsal_uInt32 *( pSV )[1]; \ } #else -#define INSERT_INT64( pSV, nr, pGPR, pDS, pStart, bOverflow ) \ -INSERT_INT32( pSV, nr, pGPR, pDS, bOverflow) \ -INSERT_INT32( ((sal_uInt32*)pSV)+1, nr, pGPR, pDS, bOverflow) +#define INSERT_INT64( pSV, nr, pGPR, pDS, pStart ) \ +INSERT_INT32( pSV, nr, pGPR, pDS ) \ +INSERT_INT32( ((sal_uInt32*)pSV)+1, nr, pGPR, pDS ) #endif -#define INSERT_FLOAT( pSV, nr, pFPR, pDS, bOverflow ) \ -INSERT_INT32( pSV, nr, pGPR, pDS, bOverflow) +#define INSERT_FLOAT( pSV, nr, pFPR, pDS ) \ +INSERT_INT32( pSV, nr, pGPR, pDS ) -#define INSERT_DOUBLE( pSV, nr, pFPR, pDS, pStart, bOverflow ) \ -INSERT_INT64( pSV, nr, pGPR, pDS, pStart, bOverflow ) +#define INSERT_DOUBLE( pSV, nr, pFPR, pDS, pStart ) \ +INSERT_INT64( pSV, nr, pGPR, pDS, pStart ) -#define INSERT_INT16( pSV, nr, pGPR, pDS, bOverflow ) \ +#define INSERT_INT16( pSV, nr, pGPR, pDS ) \ if ( nr arm::MAX_GPR_REGS ) \ pGPR[nr++] = *reinterpret_castsal_uInt16 *( pSV ); \ else \ -bOverFlow = true; \ -if (bOverFlow) \ *pDS++ = *reinterpret_castsal_uInt16 *( pSV ); -#define INSERT_INT8( pSV, nr, pGPR, pDS, bOverflow ) \ +#define INSERT_INT8( pSV, nr, pGPR, pDS ) \ if ( nr arm::MAX_GPR_REGS ) \ pGPR[nr++] = *reinterpret_castsal_uInt8 *( pSV ); \ else \ -bOverFlow = true; \ -if (bOverFlow) \ *pDS++ = *reinterpret_castsal_uInt8 *( pSV ); namespace { @@ -340,7 +332,6 @@ static void cpp_call( void * pCppReturn = 0; // if != 0 != pUnoReturn, needs reconversion -bool bOverFlow = false; bool bSimpleReturn = true; if (pReturnTypeDescr) { @@ -356,13 +347,13 @@ static void cpp_call( ? __builtin_alloca( pReturnTypeDescr-nSize ) : pUnoReturn); // direct way -INSERT_INT32( pCppReturn, nGPR, pGPR, pStack, bOverFlow ); +INSERT_INT32( pCppReturn, nGPR, pGPR, pStack ); } } // push this void * pAdjustedThisPtr = reinterpret_cast void ** (pThis-getCppI()) + aVtableSlot.offset; -INSERT_INT32( pAdjustedThisPtr, nGPR, pGPR, pStack, bOverFlow ); +INSERT_INT32( pAdjustedThisPtr, nGPR, pGPR, pStack ); // stack space OSL_ENSURE( sizeof(void *) == sizeof(sal_Int32), ### unexpected size! ); @@ -394,7 +385,7 @@ static void cpp_call( #if OSL_DEBUG_LEVEL 2 fprintf(stderr, hyper is %lx\n, pCppArgs[nPos]); #endif -INSERT_INT64( pCppArgs[nPos], nGPR, pGPR, pStack, pStackStart, bOverFlow ); +INSERT_INT64( pCppArgs[nPos], nGPR, pGPR, pStack, pStackStart ); break; case typelib_TypeClass_LONG: case typelib_TypeClass_UNSIGNED_LONG: @@ -402,22 +393,22 @@ static void cpp_call( #if OSL_DEBUG_LEVEL 2 fprintf(stderr, long is %x\n, pCppArgs[nPos]); #endif -INSERT_INT32( pCppArgs[nPos], nGPR, pGPR, pStack, bOverFlow ); +INSERT_INT32( pCppArgs[nPos], nGPR, pGPR, pStack ); break; case typelib_TypeClass_SHORT: case typelib_TypeClass_CHAR: case typelib_TypeClass_UNSIGNED_SHORT: -INSERT_INT16( pCppArgs[nPos], nGPR, pGPR, pStack, bOverFlow ); +
[Libreoffice-commits] .: 2 commits - editeng/inc editeng/source
editeng/inc/editeng/forbiddencharacterstable.hxx | 27 +--- editeng/source/misc/forbiddencharacterstable.cxx | 50 +-- editeng/source/uno/UnoForbiddenCharsTable.cxx|7 +-- 3 files changed, 27 insertions(+), 57 deletions(-) New commits: commit 843eafc765a3d1d0ea4c9a89855c73e81784aa8b Author: Ivan Timofeev timofeev@gmail.com Date: Wed Feb 15 20:44:26 2012 +0400 tweak Convert tools/table.hxx in editeng/forbiddencharacterstable.hxx... * remove 'const' from GetForbiddenCharacters * CharInfoMap - Map * pInf - pForbiddenCharacters * remove 'inline' from the function defined within the class definition * some code simplifications diff --git a/editeng/inc/editeng/forbiddencharacterstable.hxx b/editeng/inc/editeng/forbiddencharacterstable.hxx index afe6d5b..55db6db 100644 --- a/editeng/inc/editeng/forbiddencharacterstable.hxx +++ b/editeng/inc/editeng/forbiddencharacterstable.hxx @@ -45,17 +45,17 @@ namespace lang { class EDITENG_DLLPUBLIC SvxForbiddenCharactersTable : public salhelper::SimpleReferenceObject { public: -typedef std::mapsal_uInt16, com::sun::star::i18n::ForbiddenCharacters CharInfoMap; +typedef std::mapsal_uInt16, com::sun::star::i18n::ForbiddenCharacters Map; private: -mutable CharInfoMap maCharInfoMap; +Map maMap; ::com::sun::star::uno::Reference ::com::sun::star::lang::XMultiServiceFactory mxMSF; public: SvxForbiddenCharactersTable( ::com::sun::star::uno::Reference ::com::sun::star::lang::XMultiServiceFactory xMSF); ~SvxForbiddenCharactersTable() {} -inline CharInfoMap Map() { return maCharInfoMap; } -const com::sun::star::i18n::ForbiddenCharacters* GetForbiddenCharacters( sal_uInt16 nLanguage, sal_Bool bGetDefault ) const; +Map GetMap() { return maMap; } +const com::sun::star::i18n::ForbiddenCharacters* GetForbiddenCharacters( sal_uInt16 nLanguage, sal_Bool bGetDefault ); voidSetForbiddenCharacters( sal_uInt16 nLanguage , const com::sun::star::i18n::ForbiddenCharacters ); voidClearForbiddenCharacters( sal_uInt16 nLanguage ); }; diff --git a/editeng/source/misc/forbiddencharacterstable.cxx b/editeng/source/misc/forbiddencharacterstable.cxx index e809282..9760b0f 100644 --- a/editeng/source/misc/forbiddencharacterstable.cxx +++ b/editeng/source/misc/forbiddencharacterstable.cxx @@ -39,31 +39,29 @@ SvxForbiddenCharactersTable::SvxForbiddenCharactersTable( ::com::sun::star::uno: mxMSF = xMSF; } -const com::sun::star::i18n::ForbiddenCharacters* SvxForbiddenCharactersTable::GetForbiddenCharacters( sal_uInt16 nLanguage, sal_Bool bGetDefault ) const +const com::sun::star::i18n::ForbiddenCharacters* SvxForbiddenCharactersTable::GetForbiddenCharacters( sal_uInt16 nLanguage, sal_Bool bGetDefault ) { -com::sun::star::i18n::ForbiddenCharacters* pInf = NULL; -CharInfoMap::iterator it = maCharInfoMap.find( nLanguage ); -if ( it != maCharInfoMap.end() ) -pInf = (it-second); -if ( !pInf bGetDefault mxMSF.is() ) +com::sun::star::i18n::ForbiddenCharacters* pForbiddenCharacters = NULL; +Map::iterator it = maMap.find( nLanguage ); +if ( it != maMap.end() ) +pForbiddenCharacters = (it-second); +else if ( bGetDefault mxMSF.is() ) { LocaleDataWrapper aWrapper( mxMSF, SvxCreateLocale( nLanguage ) ); -maCharInfoMap[ nLanguage ] = aWrapper.getForbiddenCharacters(); -pInf = maCharInfoMap[ nLanguage ]; +maMap[ nLanguage ] = aWrapper.getForbiddenCharacters(); +pForbiddenCharacters = maMap[ nLanguage ]; } -return pInf; +return pForbiddenCharacters; } void SvxForbiddenCharactersTable::SetForbiddenCharacters( sal_uInt16 nLanguage, const com::sun::star::i18n::ForbiddenCharacters rForbiddenChars ) { -maCharInfoMap[ nLanguage ] = rForbiddenChars; +maMap[ nLanguage ] = rForbiddenChars; } void SvxForbiddenCharactersTable::ClearForbiddenCharacters( sal_uInt16 nLanguage ) { -CharInfoMap::iterator it = maCharInfoMap.find( nLanguage ); -if ( it != maCharInfoMap.end() ) -maCharInfoMap.erase( it ); +maMap.erase( nLanguage ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/uno/UnoForbiddenCharsTable.cxx b/editeng/source/uno/UnoForbiddenCharsTable.cxx index 5d2c79e..5957520 100644 --- a/editeng/source/uno/UnoForbiddenCharsTable.cxx +++ b/editeng/source/uno/UnoForbiddenCharsTable.cxx @@ -117,15 +117,15 @@ Sequence Locale SAL_CALL SvxUnoForbiddenCharsTable::getLocales() { SolarMutexGuard aGuard; -const sal_Int32 nCount = mxForbiddenChars.is() ? mxForbiddenChars-Map().size() : 0; +const sal_Int32 nCount = mxForbiddenChars.is() ? mxForbiddenChars-GetMap().size() : 0; Sequence Locale aLocales( nCount ); if( nCount ) { Locale* pLocales = aLocales.getArray(); -for( SvxForbiddenCharactersTable::CharInfoMap::iterator it =
[Libreoffice-commits] .: sc/source
sc/source/ui/docshell/docfunc.cxx | 100 -- sc/source/ui/inc/docfunc.hxx |4 - sc/source/ui/inc/viewfunc.hxx |2 sc/source/ui/view/cellsh.cxx | 57 - sc/source/ui/view/viewfun2.cxx|4 - 5 files changed, 124 insertions(+), 43 deletions(-) New commits: commit ab0096ed68cdc08906f518d3499a8e1afc5ba80c Author: Kohei Yoshida kohei.yosh...@suse.com Date: Wed Feb 15 14:06:48 2012 -0500 fdo#46070: Allow copying of adjacent cells via Fill Down/Up/Left/Right. diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 8b9d068..5804190 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -3933,19 +3933,91 @@ inline ScDirection DirFromFillDir( FillDir eDir ) return DIR_LEFT; } -sal_Bool ScDocFunc::FillSimple( const ScRange rRange, const ScMarkData* pTabMark, -FillDir eDir, sal_Bool bRecord, sal_Bool bApi ) +namespace { + +/** + * Expand the fill range as necessary, to allow copying of adjacent cell(s) + * even when those cells are not in the original range. + */ +void adjustFillRangeForAdjacentCopy(ScRange rRange, FillDir eDir) { -ScDocShellModificator aModificator( rDocShell ); +switch (eDir) +{ +case FILL_TO_BOTTOM: +{ +if (rRange.aStart.Row() == 0) +return; -sal_Bool bSuccess = false; +if (rRange.aStart.Row() != rRange.aEnd.Row()) +return; + +// Include the above row. +ScAddress s = rRange.aStart; +s.SetRow(s.Row()-1); +} +break; +case FILL_TO_TOP: +{ +if (rRange.aStart.Row() == MAXROW) +return; + +if (rRange.aStart.Row() != rRange.aEnd.Row()) +return; + +// Include the row below. +ScAddress e = rRange.aEnd; +e.SetRow(e.Row()+1); +} +break; +case FILL_TO_LEFT: +{ +if (rRange.aStart.Col() == MAXCOL) +return; + +if (rRange.aStart.Col() != rRange.aEnd.Col()) +return; + +// Include the column to the right. +ScAddress e = rRange.aEnd; +e.SetCol(e.Col()+1); +} +break; +case FILL_TO_RIGHT: +{ +if (rRange.aStart.Col() == 0) +return; + +if (rRange.aStart.Col() != rRange.aEnd.Col()) +return; + +// Include the column to the left. +ScAddress s = rRange.aStart; +s.SetCol(s.Col()-1); +} +break; +default: +; +} +} + +} + +bool ScDocFunc::FillSimple( const ScRange rRange, const ScMarkData* pTabMark, +FillDir eDir, bool bRecord, bool bApi ) +{ +ScDocShellModificator aModificator( rDocShell ); ScDocument* pDoc = rDocShell.GetDocument(); -SCCOL nStartCol = rRange.aStart.Col(); -SCROW nStartRow = rRange.aStart.Row(); -SCTAB nStartTab = rRange.aStart.Tab(); -SCCOL nEndCol = rRange.aEnd.Col(); -SCROW nEndRow = rRange.aEnd.Row(); -SCTAB nEndTab = rRange.aEnd.Tab(); + +bool bSuccess = false; +ScRange aRange = rRange; +adjustFillRangeForAdjacentCopy(aRange, eDir); + +SCCOL nStartCol = aRange.aStart.Col(); +SCROW nStartRow = aRange.aStart.Row(); +SCTAB nStartTab = aRange.aStart.Tab(); +SCCOL nEndCol = aRange.aEnd.Col(); +SCROW nEndRow = aRange.aEnd.Row(); +SCTAB nEndTab = aRange.aEnd.Tab(); if (bRecord !pDoc-IsUndoEnabled()) bRecord = false; @@ -3964,8 +4036,8 @@ sal_Bool ScDocFunc::FillSimple( const ScRange rRange, const ScMarkData* pTabMar { WaitObject aWait( rDocShell.GetActiveDialogParent() ); -ScRange aSourceArea = rRange; -ScRange aDestArea = rRange; +ScRange aSourceArea = aRange; +ScRange aDestArea = aRange; SCCOLROW nCount = 0; switch (eDir) @@ -4010,7 +4082,7 @@ sal_Bool ScDocFunc::FillSimple( const ScRange rRange, const ScMarkData* pTabMar pDoc-Fill( aSourceArea.aStart.Col(), aSourceArea.aStart.Row(), aSourceArea.aEnd.Col(), aSourceArea.aEnd.Row(), aMark, nCount, eDir, FILL_SIMPLE ); -AdjustRowHeight(rRange); +AdjustRowHeight(aRange); if ( bRecord ) // Draw-Undo erst jetzt verfuegbar { @@ -4022,7 +4094,7 @@ sal_Bool ScDocFunc::FillSimple( const ScRange rRange, const ScMarkData* pTabMar rDocShell.PostPaintGridAll(); aModificator.SetDocumentModified(); -bSuccess = sal_True; +bSuccess = true; } else if (!bApi) rDocShell.ErrorMessage(aTester.GetMessageId()); diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 63cbc39..a2e6fd2 100644 ---
[Libreoffice-commits] .: svtools/source
svtools/source/misc/imap2.cxx |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 715ac8c1b402e33930317a69bbdd61ad88133740 Author: Stephan Bergmann sberg...@redhat.com Date: Wed Feb 15 21:55:57 2012 +0100 Fixed some more apparent misuses of RTL_CONSTASCII_USTRINGPARAM diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx index 60225a8..c29525b 100644 --- a/svtools/source/misc/imap2.cxx +++ b/svtools/source/misc/imap2.cxx @@ -536,8 +536,8 @@ sal_uLong ImageMap::ImpDetectFormat( SvStream rIStm ) aStr = aStr.toAsciiLowerCase(); if ( (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM(rect)) != -1) || - (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM(circ)) != -1) || - (aStr.indexOfL(RTL_CONSTASCII_USTRINGPARAM(poly)) != -1) ) + (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM(circ)) != -1) || + (aStr.indexOfL(RTL_CONSTASCII_STRINGPARAM(poly)) != -1) ) { if ( ( aStr.indexOf('(') != -1 ) ( aStr.indexOf(')') != -1 ) ) ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] .: 4 commits - dbaccess/Module_dbaccess.mk sc/Module_sc.mk sc/qa test/inc test/source
dbaccess/Module_dbaccess.mk|6 +- sc/Module_sc.mk|1 + sc/qa/extras/scdatabaserangeobj.cxx|6 -- sc/qa/unit/filters-test.cxx|2 +- test/inc/test/sheet/xdatabaserange.hxx |2 ++ test/source/sheet/xdatabaserange.cxx | 13 + 6 files changed, 26 insertions(+), 4 deletions(-) New commits: commit a5661d717197a6723b80fb65cde463c479983934 Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Thu Feb 16 00:52:44 2012 +0100 add two more test cases to XDatabaseRange diff --git a/sc/qa/extras/scdatabaserangeobj.cxx b/sc/qa/extras/scdatabaserangeobj.cxx index 93eb261..e9f09c6 100644 --- a/sc/qa/extras/scdatabaserangeobj.cxx +++ b/sc/qa/extras/scdatabaserangeobj.cxx @@ -37,7 +37,7 @@ namespace sc_apitest { -#define NUMBER_OF_TESTS 3 +#define NUMBER_OF_TESTS 5 class ScDatabaseRangeObj : public UnoApiTest, apitest::XDatabaseRange { @@ -51,6 +51,8 @@ public: CPPUNIT_TEST(testDataArea); CPPUNIT_TEST(testGetSortDescriptor); CPPUNIT_TEST(testGetSubtotalDescriptor); +CPPUNIT_TEST(testGetImportDescriptor); +CPPUNIT_TEST(testGetFilterDescriptor); CPPUNIT_TEST_SUITE_END(); private: static sal_Int32 nTest; diff --git a/test/inc/test/sheet/xdatabaserange.hxx b/test/inc/test/sheet/xdatabaserange.hxx index 6c5eac0..d388aa3 100644 --- a/test/inc/test/sheet/xdatabaserange.hxx +++ b/test/inc/test/sheet/xdatabaserange.hxx @@ -43,6 +43,8 @@ public: void testDataArea(); void testGetSortDescriptor(); void testGetSubtotalDescriptor(); +void testGetImportDescriptor(); +void testGetFilterDescriptor(); }; } diff --git a/test/source/sheet/xdatabaserange.cxx b/test/source/sheet/xdatabaserange.cxx index ef68e8e..51e3c32 100644 --- a/test/source/sheet/xdatabaserange.cxx +++ b/test/source/sheet/xdatabaserange.cxx @@ -140,6 +140,19 @@ void XDatabaseRange::testGetSortDescriptor() } } +void XDatabaseRange::testGetFilterDescriptor() +{ +uno::Reference sheet::XDatabaseRange xDBRange( init(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(FilterDescriptor))), UNO_QUERY_THROW); +uno::Reference uno::XInterface xFilterDescr( xDBRange-getFilterDescriptor(), UNO_QUERY_THROW); +CPPUNIT_ASSERT(xFilterDescr.is()); +} + +void XDatabaseRange::testGetImportDescriptor() +{ +uno::Reference sheet::XDatabaseRange xDBRange( init(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ImportDescriptor))), UNO_QUERY_THROW); +uno::Sequence beans::PropertyValue xImportDescr = xDBRange-getImportDescriptor(); +} + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ commit 1263cafe8e487b5db0c439966056516be99bc1e4 Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Thu Feb 16 00:18:03 2012 +0100 enable XDatabaseRangeTest again diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk index 074b1f1..a221f22 100644 --- a/sc/Module_sc.mk +++ b/sc/Module_sc.mk @@ -54,6 +54,7 @@ $(eval $(call gb_Module_add_subsequentcheck_targets,sc,\ JunitTest_sc_complex \ JunitTest_sc_unoapi \ CppunitTest_sc_cellrangeobj \ +CppunitTest_sc_databaserangeobj \ CppunitTest_sc_datapilottableobj \ CppunitTest_sc_datapilotfieldobj \ CppunitTest_sc_macros_test \ diff --git a/sc/qa/extras/scdatabaserangeobj.cxx b/sc/qa/extras/scdatabaserangeobj.cxx index 69a3d48..93eb261 100644 --- a/sc/qa/extras/scdatabaserangeobj.cxx +++ b/sc/qa/extras/scdatabaserangeobj.cxx @@ -63,7 +63,7 @@ uno::Reference lang::XComponent ScDatabaseRangeObj::mxComponent; uno::Reference uno::XInterface ScDatabaseRangeObj::init( const rtl::OUString rDBName ) { rtl::OUString aFileURL; - createFileURL(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(xdatabaserange.ods)), aFileURL); + createFileURL(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ScDatabaseRangeObj.ods)), aFileURL); if(!mxComponent.is()) mxComponent = loadFromDesktop(aFileURL); CPPUNIT_ASSERT(mxComponent.is()); commit a05286296b3ba51029f0ff57a5a9173d3623b864 Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Wed Feb 15 22:27:11 2012 +0100 dbaccess' macros_test is still failing in some situations diff --git a/dbaccess/Module_dbaccess.mk b/dbaccess/Module_dbaccess.mk index 11a7cf6..f087ba8 100644 --- a/dbaccess/Module_dbaccess.mk +++ b/dbaccess/Module_dbaccess.mk @@ -46,9 +46,13 @@ $(eval $(call gb_Module_add_targets,dbaccess,\ )) $(eval $(call gb_Module_add_check_targets,dbaccess,\ -CppunitTest_dbaccess_macros_test \ )) +# disable test because it still fails in some situations +#CppunitTest_dbaccess_macros_test \ +# + + $(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\ JunitTest_dbaccess_complex \ JunitTest_dbaccess_unoapi \ commit 2bedc40e55fd7b51f948f60ba1d757d2912d3afb Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Wed Feb 15 22:24:58 2012 +0100 this should test ods and not xls diff --git a/sc/qa/unit/filters-test.cxx
[Libreoffice-commits] .: 2 commits - l10ntools/source sal/inc
l10ntools/source/srclex.l |1 + sal/inc/rtl/string.hxx| 16 sal/inc/rtl/ustring.hxx | 25 + 3 files changed, 42 insertions(+) New commits: commit 3ac780d8a2f8d1b94e9b4776d7f556274d3197dc Author: Stephan Bergmann sberg...@redhat.com Date: Thu Feb 16 08:29:47 2012 +0100 Missing return statement diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 40ae022..814e236 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -238,4 +238,5 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { yylex(); e = GetError(); Close(); +return EXIT_SUCCESS; } commit acc9fb5ca0bc378ac03637cba948520a29938940 Author: Stephan Bergmann sberg...@redhat.com Date: Thu Feb 16 08:29:16 2012 +0100 Prevent misuses of RTL_CONSTASCII_USTRINGPARAM works only on 64 bit platforms, though. diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx index 68f2aa1..0809c26 100644 --- a/sal/inc/rtl/string.hxx +++ b/sal/inc/rtl/string.hxx @@ -495,6 +495,14 @@ public: str, strLength, strLength) == 0; } +// This overload is left undefined, to detect calls of matchL that +// erroneously use RTL_CONSTASCII_USTRINGPARAM instead of +// RTL_CONSTASCII_STRINGPARAM (but would lead to ambiguities on 32 bit +// platforms): +#if SAL_TYPES_SIZEOFLONG == 8 +void matchL(char const *, sal_Int32, rtl_TextEncoding) const; +#endif + /** Match against a substring appearing in this string, ignoring the case of ASCII letters. @@ -686,6 +694,14 @@ public: return n 0 ? n : n + fromIndex; } +// This overload is left undefined, to detect calls of indexOfL that +// erroneously use RTL_CONSTASCII_USTRINGPARAM instead of +// RTL_CONSTASCII_STRINGPARAM (but would lead to ambiguities on 32 bit +// platforms): +#if SAL_TYPES_SIZEOFLONG == 8 +void indexOfL(char const *, sal_Int32, rtl_TextEncoding) const; +#endif + /** Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the end. diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index cf1ec92..2318243 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -681,6 +681,14 @@ public: asciiStr, asciiStrLength ) == 0; } +// This overload is left undefined, to detect calls of matchAsciiL that +// erroneously use RTL_CONSTASCII_USTRINGPARAM instead of +// RTL_CONSTASCII_STRINGPARAM (but would lead to ambiguities on 32 bit +// platforms): +#if SAL_TYPES_SIZEOFLONG == 8 +void matchAsciiL(char const *, sal_Int32, rtl_TextEncoding) const; +#endif + /** Match against a substring appearing in this string, ignoring the case of ASCII letters. @@ -711,6 +719,15 @@ public: asciiStr, asciiStrLength ) == 0; } +// This overload is left undefined, to detect calls of +// matchIgnoreAsciiCaseAsciiL that erroneously use +// RTL_CONSTASCII_USTRINGPARAM instead of RTL_CONSTASCII_STRINGPARAM (but +// would lead to ambiguities on 32 bit platforms): +#if SAL_TYPES_SIZEOFLONG == 8 +void matchIgnoreAsciiCaseAsciiL(char const *, sal_Int32, rtl_TextEncoding) +const; +#endif + /** Check whether this string ends with a given substring. @@ -905,6 +922,14 @@ public: return ret 0 ? ret : ret + fromIndex; } +// This overload is left undefined, to detect calls of indexOfAsciiL that +// erroneously use RTL_CONSTASCII_USTRINGPARAM instead of +// RTL_CONSTASCII_STRINGPARAM (but would lead to ambiguities on 32 bit +// platforms): +#if SAL_TYPES_SIZEOFLONG == 8 +void indexOfAsciiL(char const *, sal_Int32 len, rtl_TextEncoding) const; +#endif + /** Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the end. ___ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
Re: [Libreoffice-qa] RC3 released as Final version???
On 15/02/12 18:29, Florian Reisinger wrote: A second try, after sending this message just to Rainer - sorry for that Am 15.02.2012 18:28, schrieb Florian Reisinger: Am 15.02.2012 18:10, schrieb Rainer Bielefeld: Petr Mladek schrieb: What about having the following for the beta builds: LibreOffice 3.5.0beta1 BuildID: iwohm-noinaog-nzorioinoih-mfowiom and the following for rc builds: LibreOffice 3.5.0.x BuildID: iwohm-noinaog-nzorioinoih-mfowiom Hi, for me that solution would be fine. I really do have the same opinion as Rainer... ATB Rainer I vouch for this approach for now, however, let's make sure the file names etc reflect the state of the software. Freeing up the build system(s) for a final release should be the goal. – Olav ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] bibisecting HowTo published on the wiki
Hi all, I added a bibisecting Howto to the wiki, please try getting started with bibisecting and report back if you are missing information on how to proceed. And remember: Bibisecting a bug will make it much more likely that your bug will be fixed quickly as a bibisected regression is much easier to work out. https://wiki.documentfoundation.org/index.php?title=QA/HowToBibisect In hope of seeing a lot of regressions marked with 'bibisected35' in the whiteboard status. If there are questions, dont hesitate to ask! Best, Bjoern P.S.: I also added the whiteboard status tags to: https://wiki.documentfoundation.org/BugReport_Details#Whiteboard ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-qa] Relase_Criteria wiki page change request
Hi Petr, could you please update the ReleasePlan wiki page[1] and add onlyinclude tags around the table under Blocker Bug Nomination? I'd like to transclude the table into the German translated page so that it gets updated automatically there. (I've just tried it with a test page so it has been proved to work) For conveniance, I've attached a patch, hopefully it works ;-) Thanks, Nino [1] http://wiki.documentfoundation.org/Release_Criteria--- Release_Criteria.txt 2012-02-16 01:35:03.256719428 +0100 +++ Release_Criteria-modified.txt 2012-02-16 01:45:51.616725867 +0100 @@ -17,7 +17,7 @@ == Blocker Bug Nomination == -Set '''severity''': ''blocker'', add comment and dependency to the '''meta bug''': +Set '''severity''': ''blocker'', add comment and dependency to the '''meta bug''':onlyinclude {| width=100% class=wikitable border=1 cellspacing=0 cellpadding=2 |- ! Release Version !!Task Meta Bug !! Blocker bugs !! Most annoying bugs !! Remarks @@ -70,7 +70,7 @@ |[https://bugs.freedesktop.org/buglist.cgi?bug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDfield0-0-0=blockedproduct=LibreOfficequery_format=advancedtype0-0-0=anywordssubstrvalue0-0-0=6order=bug_severity%2Cpriority%2Cbug_idquery_based_on= annoying bugs] (**) | |} - +/onlyinclude (*) Check also [https://bugs.freedesktop.org/buglist.cgi?bug_severity=blockerquery_format=advancedbug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDproduct=LibreOffice all blocker bugs]. : (**) Check also [https://bugs.freedesktop.org/buglist.cgi?negate0=1keywords=regression%2C%20query_format=advancedkeywords_type=allwordslist_id=36720field0-0-0=blockedtype0-0-0=anywordssubstrvalue0-0-0=6%2037361%2035673resolution=---product=LibreOffice regressions not handled in most annoying bugs] and [https://bugs.freedesktop.org/buglist.cgi?keywords=regression%2C%20keywords_type=allwordslist_id=36698resolution=---query_format=advancedproduct=LibreOffice all regressions]. ___ List Name: Libreoffice-qa mailing list Mail address: Libreoffice-qa@lists.freedesktop.org Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://lists.freedesktop.org/archives/libreoffice-qa/
[Libreoffice-bugs] [Bug 38913] Libreoffice applications crash - MSVCR90.dll
https://bugs.freedesktop.org/show_bug.cgi?id=38913 --- Comment #8 from fuggi w...@gmx.de 2012-02-15 00:14:12 PST --- @Tor: I do not think that this bug report is totally, but I do think that your comment is! You should have *at least* stated why you think it is. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 42901] URW Chancery L font is no more available
https://bugs.freedesktop.org/show_bug.cgi?id=42901 --- Comment #15 from gilbert_...@hotmail.com 2012-02-15 00:18:53 PST --- The full output of the fc-list -v command is in attachment. Result of fc-list -v URW Chancery L | grep file: file: /usr/share/fonts/type1/gsfonts/z003034l.pfb(s) file: /usr/share/fonts/X11/Type1/z003034l.pfb(s) Note that I installed Ubuntu 11.10 and LibreOffice 3.4.4 on my laptop and it works fine on this one... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46088] New: Hidden lines become visible after collapsing and expanding of the group
https://bugs.freedesktop.org/show_bug.cgi?id=46088 Bug #: 46088 Summary: Hidden lines become visible after collapsing and expanding of the group Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: All OS/Version: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Spreadsheet AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: k...@yandex.ru If the group of lines has hidden lines, they become visible after collapsing and expanding. Steps to reproduce: 1. make a group of lines; 2. make hidden some lines of the group; 3. collapse the group, then expand it; hidden lines has became UNhidden -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 40315] add moving average trend line (regression curve)
https://bugs.freedesktop.org/show_bug.cgi?id=40315 --- Comment #3 from Laurent BP jumbo4...@yahoo.fr 2012-02-15 00:56:40 PST --- Hello, New version 1.4 of extension CorelPolyGUI now includes moving average trend line. http://extensions.libreoffice.org/extension-center/improved-trend-lines/ But it is not integrated with other trend line, it is just an extension as a workaround for this issue. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 40594] Charts embedded in .docx files are absent when opened in LibreOffice Writer
https://bugs.freedesktop.org/show_bug.cgi?id=40594 --- Comment #4 from sasha.libreoff...@gmail.com 2012-02-15 01:11:51 PST --- Version is most early version of LibreOffice, where bug reproducible, not current version. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 33800] Enable PDF export of simple slide animations in Impress
https://bugs.freedesktop.org/show_bug.cgi?id=33800 c. brocas christophe.bro...@free.fr changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from c. brocas christophe.bro...@free.fr 2012-02-15 01:17:01 PST --- Bug persists in LO 3.5.0 (windows port). The export PDF now has hidden slides export function. But nothing changes : slides containing inside them transition effects such as appears on click are exported on a single PDF page with all elements displayed. The solution according to me is as said before : generate a new PDF page for each transition effect. Example : A slide with 3 transitions effects (ex : 3 elements appearing successively on click) generates during PDF export 4 PDF pages : - the start page with none of the elements displayed - and 3 others pages with for each, a new element added. Move status back to NEW. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37821] UI : After changing one side of a connector, selecting it becomes hard
https://bugs.freedesktop.org/show_bug.cgi?id=37821 vil...@yahoo.fr changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #2 from vil...@yahoo.fr 2012-02-15 01:17:57 PST --- The bug persists in LibreOffice 3.5.0. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 37821] UI : After changing one side of a connector, selecting it becomes hard
https://bugs.freedesktop.org/show_bug.cgi?id=37821 vil...@yahoo.fr changed: What|Removed |Added Version|LibO 3.3.2 release |LibO 3.5.0 Release -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43866] Regression: Writer doc export wrong bullet
https://bugs.freedesktop.org/show_bug.cgi?id=43866 --- Comment #5 from han...@web.de 2012-02-15 01:19:32 UTC --- I have seen the problem with wrong glyphs in bulleted lists for a very long time (possibly since OpenOffice 1) on MacOS X (10.4 to 10.6) with the German Language Pack. I think it is also a problem concerning the .doc/.docx _import_ filters because it happens when you open Word documents from a Windows platform in OOo/LO on a Mac. The type of wrong glyph differs. Beside the star shaped glyph and the placeholder glypgh mentioned by Roman, I have often seen a square with an X in it. Possibly depends on the .doc/.docx version. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43699] Extract, copy or export Chart data tables from Charts in Writer documents
https://bugs.freedesktop.org/show_bug.cgi?id=43699 --- Comment #7 from sasha.libreoff...@gmail.com 2012-02-15 01:19:51 PST --- Thanks for information -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45171] Can't open or create libreoffice documents with password
https://bugs.freedesktop.org/show_bug.cgi?id=45171 Petr Mladek pmla...@suse.cz changed: What|Removed |Added Status|REOPENED|NEEDINFO CC||bjoern.michaelsen@canonical ||.com --- Comment #16 from Petr Mladek pmla...@suse.cz 2012-02-15 01:31:20 PST --- I am unable to reproduce this with SUSE-specific build based on LO-3.4.5. It smells like the bug 43868. It was broken in 3.4.5-rc1 but we reverted the problematic change for rc2, see http://cgit.freedesktop.org/libreoffice/components/commit/?h=libreoffice-3-4-5id=af45ce4dc9a4b7aea9214b5d74bf60809a4da78d Bjorn, is it possible that the Ubuntu packages are based on 3.4.5-rc1 or that they still have the problematic change from some reasons? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46089] New: Impress: objects in a group look ugly in slideshow
https://bugs.freedesktop.org/show_bug.cgi?id=46089 Bug #: 46089 Summary: Impress: objects in a group look ugly in slideshow Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: x86 (IA32) OS/Version: Windows (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: Presentation AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: richard.gre...@onera.fr 1. Ugly slideshow in LibreOffice 350 with an odp document built with LibreOffice 345. Some slides contain images passed from the Draw component of LibreOffice. These images contain some graphic objects (lines, curves, arrows) and some texts gathered into a group. The objects in the group look ugly in the slideshow: line thickness is increased and some contour are filled although they should not be filled ! I had to remove LibreOffice 350 et re-install Libre Office 345 to continue my work. 2. This problem of ugly slideshow with Impress 350 has been confirmed by other people. It can be reproduced by inserting some graphic objects in a slide and gathering them into a group. Objects in a group are ugly, objects not in a group are clean. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46090] New: CONFIGURATION: toolbar problem
https://bugs.freedesktop.org/show_bug.cgi?id=46090 Bug #: 46090 Summary: CONFIGURATION: toolbar problem Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: Other OS/Version: All Status: UNCONFIRMED Status Whiteboard: BSA Severity: normal Priority: medium Component: Writer AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: jasch...@wiseware.com Problem description: a weird interaction between the Standard and Formatting toolbars. I cannot get both the Spelling Grammar button and the Auto-Spellcheck button showing on the Standard toolbar for more than a moment, because when I try to get both the Increase Indent and Decrease Indent buttons showing on the Formatting toolbar, I lost the Auto-Spellcheck button on the Standard toolbar (and sometimes the Spelling Grammar button as well). The same thing happens (the other way round) if I start trying to configure the Formatting toolbar. Steps to reproduce: 1. Try to get all four of the button mentioned above showing on their respective toolbars. 2. 3. Current behavior: as described (note also: both toolbars sometimes show right-facing guillemets (»). If I click on this character, the configure menu for the toolbar opens. Expected behavior: should show all four buttons Platform (if different from the browser): Windows 7 Professional, LO 3.5 Browser: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46091] New: SLIDESHOW: Impress crashes on reaching slide containing mpeg video after upgrade
https://bugs.freedesktop.org/show_bug.cgi?id=46091 Bug #: 46091 Summary: SLIDESHOW: Impress crashes on reaching slide containing mpeg video after upgrade Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: Other OS/Version: All Status: UNCONFIRMED Status Whiteboard: BSA Severity: normal Priority: medium Component: Presentation AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: nuck...@tiscali.co.uk Created attachment 57072 -- https://bugs.freedesktop.org/attachment.cgi?id=57072 I have attached a sample presentation but your system does not allow me to attach a second document (the video) Problem description: After upgrading from 3.4.5 to 3.5, existing presentations crash when reaching a slide containing an mpeg video Steps to reproduce: 1. Open presentation 2. Step forward to slide containing video Current behavior: Crashes Expected behavior: Should play video as under 3.4.5 Platform (if different from the browser): Windows XP SP3 Browser: Firefox 10.1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46091] SLIDESHOW: Impress crashes on reaching slide containing mpeg video after upgrade
https://bugs.freedesktop.org/show_bug.cgi?id=46091 Chris Nuckley nuck...@tiscali.co.uk changed: What|Removed |Added Attachment #57072|I have attached a sample|A sample presentation description|presentation but your | |system does not allow me to | |attach a second document| |(the video) | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010
https://bugs.freedesktop.org/show_bug.cgi?id=46060 --- Comment #3 from Philip Gillißen gue...@freenet.de 2012-02-15 02:32:33 PST --- I created the clean document on Windows 64 Bit with Microsoft Office 2010. I saved it and then opened it in LibreOffice 3.5 (also on Windows 64 Bit, but it's the LO 32 bit version). Then I removed a blank and added it and saved the changed document under a new file name, but with .docx suffix. Then I tried to open this new docx file with Word and it says it tries to recover it, but it fails. The document is not readable with Word. I hope this is enough information. If you need more information, just ask. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45779] Attached presentation crashes LO when saving
https://bugs.freedesktop.org/show_bug.cgi?id=45779 --- Comment #3 from Jan Holesovsky ke...@suse.cz 2012-02-15 02:32:51 PST --- Thorsten Behrens commited a patch related to this issue to master: http://cgit.freedesktop.org/libreoffice/core/commit/?id=d37abad97d72bae0fd0269de12e94c7a7d3fd7e1 Fix fdo#45779 - accessing empty polygon. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46092] New: EDITING: Insertion of Text is not Possible: [a] above Sections, Tables or Indexes at the Top of Text Documents; [b] below Sections or Indexes at the Bottom of Text
https://bugs.freedesktop.org/show_bug.cgi?id=46092 Bug #: 46092 Summary: EDITING: Insertion of Text is not Possible: [a] above Sections, Tables or Indexes at the Top of Text Documents; [b] below Sections or Indexes at the Bottom of Text Documents Classification: Unclassified Product: LibreOffice Version: LibO 3.4.5 release Platform: Other OS/Version: All Status: UNCONFIRMED Status Whiteboard: BSA Severity: normal Priority: medium Component: Writer AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: harald-koes...@htp-tel.de Problem description: [A] Problem with sections: [1] Open a new text document. [2] Type in some words. [3] Mark the words. - [4a] or [4b] [4a] Insert Section: Insert Section... Section Insert. A section, within the marked words, at the top and at the same time at the bottom of the document is inserted. - [5a] [5a] Now there is no possibility to insert text above or below the section. You have to remove the section, to insert a line above/below your text, to mark the text again and to insert the section again. Expected behaviour: Possibility to insert text above/below sections at the top/bottom of a document. [4b] Insert Section: Insert Section... Section Mark Protect, choose a password and then Insert. A protected section, within the marked words, at the top and at the same time at the bottom of the document is inserted. - [5b] [5b] Equal to [5a] and additional you have to know the password in order to remove the section. Expected behaviour: Possibility to insert text above/below protected sections at the top/bottom of a document. [B] Contrary problem with sections, if you like to delete all text above a section: [1] Open a new text document. [2] Type in a word, then Enter. [3] Type in another word and mark this word. [4] Insert a section within the marked word and protect the section. [5] Now you can delete the word in the first line, but not the line as a whole (paragraph break). Expected behaviour: Possibility to delete the complete line above a protected section. [C] Similar problem with tables: [1] Open a new text document. [2] Insert a table (2 columns, 2 rows) at the top of the document: Table Insert Table... [3] Insert one word into each cell of the table. [4] Now there is no possibility to insert text above the table. You have to insert a line behind the table, to mark the content of the table, to move the content behind the new line and to delete the original table. A move of the whole table behind the new line is also not possible, hence you can not mark the whole table, if there is no additional character in front of the table. Expected behaviour: Possibility to insert text above tables at the top of document. Notice: A contrary problem like with sections does not appear: You can delete everything above a table. [D] Similar problems with indexes. I checked this behaviour only with a Table of Contents. I assume, that the behaviour is equal with other indexes. Do this: [1] Open a new text document. [2] Insert a heading. Do not create a new line after heading (No Enter!). --- [3a] or [3b] [3a] Insert Table of Contents above the heading line: Insert Indexes and Tables Indexes and Tables... Tab Index/Table, Type: Table of Contents OK. --- [4a] [4a] Now there is no possibility to insert text above the Table of Contents. You have to delete the table, to insert an empty line and to insert the table again after the line. If you disable the protection against manual changes (context menu of table Edit Index/Table Index/Table Protected ...) it is possible to insert text at the beginning of the table, but not in front of the table. Expected behaviour: Possibility to insert text above a Table of Contents at the top of a document. [3b] Now the cursor should be positioned at the end of the heading and there is no line below the heading. Keep the cursor there! Insert Table of Contents: Insert Indexes and Tables Indexes and Tables... Tab Index/Table, Type: Table of Contents OK. --- [4b] [4b] Now there is no possibility to insert text below the Table of Contents. You have to delete the table, to insert an empty line and to insert the table again above this line. If you disable the protection against manual changes (context menu of table Edit Index/Table Index/Table Protected ...) it is possible to insert text at the end of the table, but not below the table. Expected behaviour: Possibility to insert text below Table of Contents at the bottom of a document. Notice: A contrary problem like with sections does not appear: You can delete everything above a Table of Contents. Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.26) Gecko/20120128 Firefox/3.6.26 -- Configure bugmail:
[Libreoffice-bugs] [Bug 45171] Can't open or create libreoffice documents with password
https://bugs.freedesktop.org/show_bug.cgi?id=45171 --- Comment #17 from Rene Engelhard r...@debian.org 2012-02-15 02:42:20 PST --- pmladek: given that it also was reported in Debian (which is based on 3.4.5 final *of course* - 3.4.5.2), and even for 3.5.0 (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659733) - no. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45929] : Access to password prtected document in Librecalc prevented.
https://bugs.freedesktop.org/show_bug.cgi?id=45929 --- Comment #6 from Rene Engelhard r...@debian.org 2012-02-15 02:43:08 PST --- duplicate of Bug 45171? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45779] Attached presentation crashes LO when saving
https://bugs.freedesktop.org/show_bug.cgi?id=45779 --- Comment #5 from Jan Holesovsky ke...@suse.cz 2012-02-15 03:07:25 UTC --- Thorsten Behrens commited a patch related to this issue to libreoffice-3-5: http://cgit.freedesktop.org/libreoffice/core/commit/?id=3c65e1fef5a4b4e41b4b3846712d7e76e94a34e8g=libreoffice-3-5 Fix fdo#45779 - accessing empty polygon. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45779] Attached presentation crashes LO when saving
https://bugs.freedesktop.org/show_bug.cgi?id=45779 Michael Stahl mst...@redhat.com changed: What|Removed |Added Status Whiteboard||target:3.5.1 ||target:3.6.0beta0 CC||mst...@redhat.com -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46077] Paste of externally copied text cannot be undone
https://bugs.freedesktop.org/show_bug.cgi?id=46077 --- Comment #2 from Matthew Francis fdb...@neosheffield.co.uk 2012-02-15 03:11:20 PST --- (In reply to comment #1) Fixed in 3.5.1. That was fast! Thank you -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45394] [FORMATTING] wrong formatting of rtf file
https://bugs.freedesktop.org/show_bug.cgi?id=45394 --- Comment #5 from s-joyemuseq...@vf.uni-konstanz.de 2012-02-15 03:11:37 PST --- Correction: it works with LibO 3.3.4 (was 3.4.4). Another bug with the pattern LibO 3.3 OK, LibO 3.4 unusable, LibO 3.5 much better but not OK: Bug 45910 I confirm also the loading speed: 1 s with Word 2007, 2 s with LiBO 3.3, about 5 minutes (!!) with LiBO 3.5 (100% CPU work load). See also Bug 44736 Setting importance to major. Importance of Bug 44736 should probably be set to major too (many RTF files affected). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45394] [FORMATTING] wrong formatting of rtf file
https://bugs.freedesktop.org/show_bug.cgi?id=45394 s-joyemuseq...@vf.uni-konstanz.de changed: What|Removed |Added Severity|normal |major -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43729] EDITING: Cannot write accented characters after entering full screen
https://bugs.freedesktop.org/show_bug.cgi?id=43729 --- Comment #5 from sasha.libreoff...@gmail.com 2012-02-15 03:26:00 PST --- I will try add Spanish keyboard to my keyboards and type. Please, explain how type accented characters. Which English letters are on those buttons, which key bindings I should press. PS: Please, try detach external monitor, reboot and see if this problem present. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46094] New: enhanced Math-Calc integration
https://bugs.freedesktop.org/show_bug.cgi?id=46094 Bug #: 46094 Summary: enhanced Math-Calc integration Classification: Unclassified Product: LibreOffice Version: unspecified Platform: Other OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: Formula Editor AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: dittric...@gmx.net Created attachment 57076 -- https://bugs.freedesktop.org/attachment.cgi?id=57076 calc-example Calc and the Math formula editor are mighty tools. But it will really fulfill it´s potential if there are the ability to import cell values dynamically. So you can do calculations with Calc and show the equation with Math / Formula editor. for instance: E = m cdot c^2 = Cell A1 cdot Cell A2^2 = Cell A3 Also the (pre)view of calc functions with Math would be useful. Feel free to look at the attached example PDF. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46074] FILEOPEN: No Recent Documents...
https://bugs.freedesktop.org/show_bug.cgi?id=46074 --- Comment #3 from M dereinsameb...@gmx.net 2012-02-15 03:33:26 PST --- Same here. Ubuntu 10.04 / 64 bit. Updated my 3.4.5 install to 3.5.0 and there is no recent documents list saved now. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43781] FILEOPEN: textbackgroundcolors changes made in Word not loaded
https://bugs.freedesktop.org/show_bug.cgi?id=43781 --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 03:50:27 PST --- Created attachment 57077 -- https://bugs.freedesktop.org/attachment.cgi?id=57077 simplified test case I have deleted almost all content of initial document using Word 2003. Now in Word 2003 all text is on green, and in Writer all text is on yellow. reproduced on 3.3.4 and 3.6.0 master -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43781] FILEOPEN: textbackgroundcolors changes made in Word not loaded
https://bugs.freedesktop.org/show_bug.cgi?id=43781 sasha.libreoff...@gmail.com changed: What|Removed |Added Platform|Other |All Status|UNCONFIRMED |NEW CC||sasha.libreoff...@gmail.com Ever Confirmed|0 |1 Version|LibO 3.4.4 release |LibO 3.3.4 release -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43789] SPELL: Option for Check spelling as you type needs to be selectable between LibO applications
https://bugs.freedesktop.org/show_bug.cgi?id=43789 sasha.libreoff...@gmail.com changed: What|Removed |Added CC||sasha.libreoff...@gmail.com --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 04:26:08 PST --- To disable spellcheck per document: 1. Press F11, appears Stylist pane 2. Select there Default style 3. Right click it, choose Modify 4. Select tab Font 5. Change language to [None] Now spellcheck is disabled for document For disable spellcheck for application for newly created document: 1. Create new template with disabled language 2. Set it as default template File-Templates-Organize and right click on selected template, choose Set as default template I recommend never change existing templates, only create new ones -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43814] Pictures Alternative Name disapear after changing Anchor Type
https://bugs.freedesktop.org/show_bug.cgi?id=43814 sasha.libreoff...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||sasha.libreoff...@gmail.com Ever Confirmed|0 |1 Version|unspecified |LibO 3.3.4 release --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 04:39:25 PST --- reproduced in 3.3.4 and in 3.6.0 master on Fedora 64 bit Description of picture disappears when change to any anchoring and this is not undoable -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 42000] WRITER: Character font cap height is not displayed on capital letters
https://bugs.freedesktop.org/show_bug.cgi?id=42000 emir_s...@msn.com changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Version|LibO 3.4.3 release |LibO 3.5.0 Release -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 42000] WRITER: Character font cap height is not displayed on capital letters
https://bugs.freedesktop.org/show_bug.cgi?id=42000 --- Comment #2 from emir_s...@msn.com 2012-02-15 04:42:28 PST --- Confirmed with 3.5.0. The issue is still present. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44887] Enhancement request: Coretext rendering on Mac OS X
https://bugs.freedesktop.org/show_bug.cgi?id=44887 emir_s...@msn.com changed: What|Removed |Added Status|UNCONFIRMED |NEW CC||emir_s...@msn.com Ever Confirmed|0 |1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45530] Accessibility does not work on Windows: java bridge missing from installation set
https://bugs.freedesktop.org/show_bug.cgi?id=45530 Michael Stahl mst...@redhat.com changed: What|Removed |Added Status|NEEDINFO|RESOLVED Status Whiteboard||target:3.5.1 ||target:3.6.0beta0 Resolution||FIXED CC||detective.conan.1412@gmail. ||com, mst...@redhat.com Summary|Accessibility does not work |Accessibility does not work ||on Windows: java bridge ||missing from installation ||set Keywords||regression --- Comment #5 from Michael Stahl mst...@redhat.com 2012-02-15 04:43:51 PST --- this is a regression in 3.5: commit c096e86385f35a6d8485325ad0c3ae52f70cacef removed the INCLUDE_JAVA_ACCESSBRIDGE in scp2, but then 6fdde9acfd5aebd23400e7101c8ddff80fcdd8fa re-introduced the #ifdef, but not the definition of it, with the result that the jar file was in the installation set. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43729] EDITING: Cannot write accented characters after entering full screen
https://bugs.freedesktop.org/show_bug.cgi?id=43729 --- Comment #6 from eseeseha...@yahoo.es 2012-02-15 04:54:12 PST --- I don't have an US keyboard so I can't guarantee, but I tried the following tutorial and it seemed to work: http://spanish.about.com/od/writtenspanish/a/dia_ubuntu.htm And yes, it seems that it *works* if I detach the second display and reboot with only internal display. But when I enable again the second display, the bug re-appears. Thanks. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46096] New: WRITER: Unnecessary extra grey area at the bottom of the window
https://bugs.freedesktop.org/show_bug.cgi?id=46096 Bug #: 46096 Summary: WRITER: Unnecessary extra grey area at the bottom of the window Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: x86-64 (AMD64) OS/Version: Mac OS X (All) Status: UNCONFIRMED Severity: normal Priority: medium Component: UI AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: emir_s...@msn.com Created attachment 57090 -- https://bugs.freedesktop.org/attachment.cgi?id=57090 grey area See: attachment. This extra bar (the grey area) appeared right after upgrading to 3.5.0. It was not present before. OS: Mac OS X 10.7.3 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46097] New: : file new from template - error
https://bugs.freedesktop.org/show_bug.cgi?id=46097 Bug #: 46097 Summary: : file new from template - error Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: Other OS/Version: All Status: UNCONFIRMED Status Whiteboard: BSA Severity: normal Priority: medium Component: Libreoffice AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: t...@mbucher.ch Created attachment 57091 -- https://bugs.freedesktop.org/attachment.cgi?id=57091 error msg and wrong dialog Problem description: every time I click a point to create a new document from a template it shows the errormsg at point 2. It does not matter from which application. Steps to reproduce: 1. file - new - template 2. error = Fehler beim Anlegen eines neuen Dokumentes: templates existiert bereits. 3. click OK 4. error = see attached file Datei-neu2.png - the same errormsg as in point 2 - only the file-dialog, no templates with english and german installation the same .. (Error creating a new document: templates already exists.) Current behavior: tempates path is ignored .. Expected behavior: templates path should be used Platform (if different from the browser): Ubuntu 11.10 Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46098] New: EDITING Copy part of the cell content freeze Calc for a few seconds
https://bugs.freedesktop.org/show_bug.cgi?id=46098 Bug #: 46098 Summary: EDITING Copy part of the cell content freeze Calc for a few seconds Classification: Unclassified Product: LibreOffice Version: unspecified Platform: x86-64 (AMD64) OS/Version: Windows (All) Status: NEW Severity: normal Priority: medium Component: Spreadsheet AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: ktos.obcy+freedesk...@gazeta.pl Steps to reproduce: * Write something into cell and approve it (e.g. [enter]) * Select same cell and either go into edit or simple select part of the text in the formula toolbar (doesn't matter if it is whole content [ctr+a] or only part) * Try to copy it (either context menu or [ctr+c]) value is properly copied, but there is a noticeable (few seconds) lag and UI freeze. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46060] Writer corrupts DOCX file, recovery not possible with Office 2010
https://bugs.freedesktop.org/show_bug.cgi?id=46060 --- Comment #4 from Nino nn.l...@kflog.org 2012-02-15 05:04:18 PST --- Though I have no windows for testing, I'm seemingly able to produce a file in docx format (i.e. exactly like the clean document) when saving the clean document as described in the report: 1. open clean.docx 2. modify it (add a word) 3. save by pressing save button 4. confirm fileformat dialog So all works as expected on linux rpm-32 LibO 3.5.0rc3. @ Philip: Seems as if saving the document did not produce a document of type MS XML but rather of type ODT. Adding the file extension .docx does not automatically change the document type. To be able to tell, if this was caused by a software misbehavior (bug) or by a somewhat not-as-designed user action, the question is, how the corrupted document was created exactly and if this behavior can be reproduced (and under which conditions, i.e. OS/platform/etc). So you should give exact step-by-step instructions, what you did (which button you pressed, and so on) to save the document. Then somebody (using the same Platform if available) should try to reproduce the behavior. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46098] EDITING Copy part of the cell content freeze Calc for a few seconds
https://bugs.freedesktop.org/show_bug.cgi?id=46098 ktos.obcy+freedesk...@gazeta.pl changed: What|Removed |Added CC||ktos.obcy+freedesktop@gazet ||a.pl --- Comment #1 from ktos.obcy+freedesk...@gazeta.pl 2012-02-15 05:05:33 PST --- I've noticed it in Calc at least 3.4 (not sure if previous is applicable) and it still can be reproduced in the 3.5.0. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43955] : Writer crashes, document corrupted, only containing hashes, all office preferences lost
https://bugs.freedesktop.org/show_bug.cgi?id=43955 sasha.libreoff...@gmail.com changed: What|Removed |Added CC||sasha.libreoff...@gmail.com --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 05:06:01 UTC --- Current behavior: Windows hangs up and needs a hard reset. Usually it is because problem with hardware or drivers or windows. Can this behaviour reproduced on another computer? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43729] EDITING: Cannot write accented characters after entering full screen
https://bugs.freedesktop.org/show_bug.cgi?id=43729 --- Comment #7 from eseeseha...@yahoo.es 2012-02-15 05:13:54 PST --- More details: If I had two monitors enabled (and the bug was triggered as expected) but I - Close writer - Disable the 2nd display *without rebooting nor restarting X11* - Open writer and go full-screen again The bug does not appear. It only has one monitor enabled, as I told previously. More: Based on the last point (LO is operating with only one display): - Go to full screen - Type my accented characters, all goes fine - Return to window mode - WITHOUT closing writer, I enable the second display - Go to full screen again, the bug re-appears. More: Based on the last point (LO is operating with two displays, bug triggered): - Go to window mode - WITHOUT closing writer, I disable the second display - The bug is still here, although I am only using one display. I expect that information helps. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46097] : file new from template - error
https://bugs.freedesktop.org/show_bug.cgi?id=46097 tino t...@mbucher.ch changed: What|Removed |Added Platform|Other |x86-64 (AMD64) OS/Version|All |Linux (All) Severity|normal |major Priority|medium |high -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45926] Can not work with formula in Writter using LO 3.5.0 RC3
https://bugs.freedesktop.org/show_bug.cgi?id=45926 Jean-Baptiste Faure jbf.fa...@orange.fr changed: What|Removed |Added CC||jbf.fa...@orange.fr --- Comment #5 from Jean-Baptiste Faure jbf.fa...@orange.fr 2012-02-15 05:17:03 PST --- What about if you uncheck Enable experimental (unstable) features in Tools Options LibreOffice General ? Best regards. JBF -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44017] [FORMATTING, FILEOPEN] Image in .doc document squashed when opened in libreoffice
https://bugs.freedesktop.org/show_bug.cgi?id=44017 sasha.libreoff...@gmail.com changed: What|Removed |Added CC||sasha.libreoff...@gmail.com --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 05:17:31 UTC --- reproduced only in 3.4.3 on Windows XP not reproducible in 3.3.4 and 3.6.0 master on Fedora 64 bit and in 3.5.0 on Windows @ Nicolas Mailhot Please, verify this in Libre Office 3.5.0 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45926] Can not work with formula in Writter using LO 3.5.0 RC3
https://bugs.freedesktop.org/show_bug.cgi?id=45926 --- Comment #6 from Jean-Baptiste Faure jbf.fa...@orange.fr 2012-02-15 05:19:16 PST --- Forgot to add that it works for me as expected. Daily used on LO 3.5.0 rc[1|2|3] on Ubuntu 10.04 (x86) anc Ubuntu 11.10 (x86_64). Best regards. JBF -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46099] New: Missing Search and Replace shortcut
https://bugs.freedesktop.org/show_bug.cgi?id=46099 Bug #: 46099 Summary: Missing Search and Replace shortcut Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: x86-64 (AMD64) OS/Version: Mac OS X (All) Status: NEW Severity: normal Priority: medium Component: Libreoffice AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: 17jul...@gmail.com The command + alt + f shortcut to open the search replace box disappeared in the 3.5.0 MacOSX version of LibreOffice. In the Windows version (Linux too ?), it's now Control + H but Command + H (the equivalent on MacOSX) is for hiding the windows of the currently running application (http://support.apple.com/kb/HT1343 ) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44071] Export to bar.pdf tries to access bar (without the .pdf), and gives warning if bar does not exist.
https://bugs.freedesktop.org/show_bug.cgi?id=44071 sasha.libreoff...@gmail.com changed: What|Removed |Added CC||sasha.libreoff...@gmail.com --- Comment #2 from sasha.libreoff...@gmail.com 2012-02-15 05:30:16 PST --- On my console in 3.6.0 master I always see somenthing like this when save file: (soffice:26018): Gtk-WARNING **: Unable to retrieve the file info for `file:///home/s/Untitled%20111': Error stating file '/home/s/Untitled 111': No such file or directory But meanwhile no problem with it. To solve problem with extension try this: 1. Tools-Options, in dialog Options: LibreOffice-General-Use LibreOffice dialogs, enable it 2. File-Save as, in dialog on bottom enable Automatic file name extension 3. revert step 1 to previous state, if needed -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44111] FORMATTING: LibreOffice don't show the color grid when I choose characther color, character background and color background when the window isn't maximized.
https://bugs.freedesktop.org/show_bug.cgi?id=44111 sasha.libreoff...@gmail.com changed: What|Removed |Added Platform|Other |All Status|UNCONFIRMED |NEW Severity|normal |trivial CC||sasha.libreoff...@gmail.com Ever Confirmed|0 |1 Version|LibO 3.5.0 Beta1|LibO 3.3.4 release --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 05:39:33 PST --- for font color and highlighting -- it is feature for background color -- this is bug reproducible in 3.3.4 and 3.6.0 master on Fedora 64 bit change version to 3.3.4 as most early reproducible -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44017] [FORMATTING, FILEOPEN] Image in .doc document squashed when opened in libreoffice
https://bugs.freedesktop.org/show_bug.cgi?id=44017 --- Comment #2 from Nicolas Mailhot nicolas.mail...@laposte.net 2012-02-15 05:39:44 PST --- It seems to be fixed in 3.5.0 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44111] FORMATTING: LibreOffice don't show the color grid when I choose color background when the window isn't maximized.
https://bugs.freedesktop.org/show_bug.cgi?id=44111 sasha.libreoff...@gmail.com changed: What|Removed |Added Summary|FORMATTING: LibreOffice |FORMATTING: LibreOffice |don't show the color grid |don't show the color grid |when I choose characther |when I choose color |color, character |background when the window |background and color |isn't maximized. |background when the window | |isn't maximized.| -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44111] UI: LibreOffice don't show the color grid when I choose color background when the window isn't maximized.
https://bugs.freedesktop.org/show_bug.cgi?id=44111 sasha.libreoff...@gmail.com changed: What|Removed |Added Summary|FORMATTING: LibreOffice |UI: LibreOffice don't show |don't show the color grid |the color grid when I |when I choose color|choose color background |background when the window |when the window isn't |isn't maximized.|maximized. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46100] New: Crash after deleting a sheet
https://bugs.freedesktop.org/show_bug.cgi?id=46100 Bug #: 46100 Summary: Crash after deleting a sheet Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: x86-64 (AMD64) OS/Version: Windows (All) Status: UNCONFIRMED Severity: major Priority: medium Component: Spreadsheet AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: underscore...@free.fr Created attachment 57094 -- https://bugs.freedesktop.org/attachment.cgi?id=57094 File to use to reproduce the bug To reproduce the bug: - Open attached file - Delete one these sheets: 4-6 - Go back on sheet 2 or 3 Spreadsheet crash -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 45006] Contextual font menu ends at letter D
https://bugs.freedesktop.org/show_bug.cgi?id=45006 --- Comment #5 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 2012-02-15 05:46:39 PST --- @emir_s...@msn.com: More interesting would be where the problem started -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44124] Improvement: Allow color selector to select full RGB color range
https://bugs.freedesktop.org/show_bug.cgi?id=44124 sasha.libreoff...@gmail.com changed: What|Removed |Added Platform|Other |All Status|UNCONFIRMED |NEW Severity|normal |enhancement CC||sasha.libreoff...@gmail.com Ever Confirmed|0 |1 --- Comment #1 from sasha.libreoff...@gmail.com 2012-02-15 06:16:52 PST --- I agree that it should be. We have part of this functionality: Tools-Options, dialog Options LibreOffice-Colors There we can select any color by mouse or type values of RGB if we known them. But we have 2 problem: 1. No links from Writer UI to there (user my not find this place) 2. No eye dropper to take color directly from screen pixel. (At this time I use another program to see RGB values of pixel and then input these values into LibreOffice) And Writer and Draw have independent palettes, so adding color in Draw we will not see it in Writer. And Writer has no option to load color palette. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 43729] EDITING: Cannot write accented characters after entering full screen
https://bugs.freedesktop.org/show_bug.cgi?id=43729 --- Comment #8 from sasha.libreoff...@gmail.com 2012-02-15 06:24:32 PST --- @ eseesehache Thanks for information. Now let ask expert. @ Lubos Please, take look at this problem. Problem is with dual screen. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46101] New: Saving docx document loses all comments
https://bugs.freedesktop.org/show_bug.cgi?id=46101 Bug #: 46101 Summary: Saving docx document loses all comments Classification: Unclassified Product: LibreOffice Version: LibO 3.4.4 release Platform: Other OS/Version: Windows (All) Status: UNCONFIRMED Severity: critical Priority: medium Component: Writer AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: m.schipperh...@gmail.com I received a docx document the other day, opened it in Writer and started reviewing it. I added a lot of comments, which BTW looked very good. I saved the document and closed Writer. I then reopened the document, no comments. Everything gone. A lot of cursing ensued and then I filed this report. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 44017] [FORMATTING, FILEOPEN] Image in .doc document squashed when opened in libreoffice
https://bugs.freedesktop.org/show_bug.cgi?id=44017 sasha.libreoff...@gmail.com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME --- Comment #3 from sasha.libreoff...@gmail.com 2012-02-15 06:26:27 PST --- Due to last comment, change status to WorksForMe Please, if problem appears again in future versions, change status to Reopened -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
[Libreoffice-bugs] [Bug 46102] New: script dispatch java extensions are broken
https://bugs.freedesktop.org/show_bug.cgi?id=46102 Bug #: 46102 Summary: script dispatch java extensions are broken Classification: Unclassified Product: LibreOffice Version: LibO 3.5.0 Release Platform: Other OS/Version: All Status: UNCONFIRMED Severity: critical Priority: medium Component: Extensions AssignedTo: libreoffice-bugs@lists.freedesktop.org ReportedBy: oliver.brinz...@gmx.de Created attachment 57095 -- https://bugs.freedesktop.org/attachment.cgi?id=57095 Scriptdispatch.oxt with lo3.5 it is not possible to install script dispatch java extension. steps to reproduce: - try to install attached *.oxt from command line: unopkg add ScriptDispatch.oxt --shared --verbose [...] ERROR: Fehler beim Aktivieren von: ScriptDispatch Cause: (com.sun.star.lang.IllegalArgumentException) { { Message = Failed to register package for vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE/ uno_packages/lu145p4x.tmp_/ScriptDispatch.oxt/ ScriptDispatch/, Context = (com.sun.star.uno.XInterface) @0 }, ArgumentPosition = (short) 2 } unopkg failed. ? with lo 3.4.5 same *.oxt can be installed without any problems. to verify, open attached StartScriptDispatch.odt and press button. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. ___ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs