[Libreoffice-commits] .: configure.ac

2012-12-09 Thread Libreoffice Gerrit user
 configure.ac |   15 ---
 1 file changed, 15 deletions(-)

New commits:
commit 0b8077bc0cd027aa51091a004ed7fe1fcab5f5ce
Author: Tomáš Chvátal tchva...@suse.cz
Date:   Sat Dec 8 21:05:51 2012 +0100

Do not keep deprecated switches around

This is pretty bad idea, because when you really remove them it prints
nice warning, this way tho you have no damn chance to see it unless you
read the ./configure --help.

Change-Id: I2fc9ffc1dec4d69522e2a7c90cb5cf06f3d70c3d
Reviewed-on: https://gerrit.libreoffice.org/1271
Reviewed-by: Tor Lillqvist t...@iki.fi
Tested-by: Tor Lillqvist t...@iki.fi

diff --git a/configure.ac b/configure.ac
index 6a5b769..192e28f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -677,11 +677,6 @@ AC_ARG_ENABLE(vba,
 [Disables the vba compatibility feature.])
 )
 
-AC_ARG_ENABLE(pch,
-AS_HELP_STRING([--enable-pch],
-[DEPRECATED : is ignored])
-)
-
 AC_ARG_ENABLE(win-mozab-driver,
 AS_HELP_STRING([--enable-win-mozab-driver],
 [LibreOffice includes a driver to connect to Mozilla 
@@ -1245,11 +1240,6 @@ AC_ARG_WITH(system-nss,
 [Use NSS/nspr libraries already on system.]),,
 [with_system_nss=$with_system_libs])
 
-AC_ARG_WITH(mozilla-toolkit,
-AS_HELP_STRING([--with-mozilla-toolkit],
-[DEPRECATED : is ignored]),
-,)
-
 AC_ARG_WITH(myspell-dicts,
 AS_HELP_STRING([--without-myspell-dicts],
 [Removes myspell dictionaries from LibreOffice installation set, for
@@ -1646,11 +1636,6 @@ AC_ARG_WITH(system-liblangtag,
 [Use liblangtag library already on system.]),,
 [with_system_liblangtag=$with_system_libs])
 
-AC_ARG_WITH(system-mozilla,
-AS_HELP_STRING([--with-system-mozilla],
-[DEPRECATED : is ignored]),,
-)
-
 AC_ARG_WITH(system-npapi-headers,
 AS_HELP_STRING([--with-system-npapi-headers],
 [Use NPAPI headers provided by system instead of bundled ones. Used in
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[4.0] build error jvmfwk/libcdr

2012-12-09 Thread Andreas Radke
While 4.0 alpha1 built fine I run into a new build error with beta1:

mkdir -p 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/Package/prepared/  
touch 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/Package/prepared/jvmfwk_rcfiles
mkdir -p 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/CustomTarget/jvmfwk/
mkdir -p 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/CustomTarget/jvmfwk/jreproperties/
mkdir -p 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/Package/prepared/  
touch 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/Package/prepared/jvmfwk_jreproperties
touch 
/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/UnpackedTarball/cdr.prepare
make[2]: *** No rule to make target
`/build/src/ext_sources/libcdr-0.0.9.tar.bz2', needed by
`/build/src/libreoffice-4.0.0.0.beta1/workdir/unxlngx6.pro/UnpackedTarget/libcdr-0.0.9.tar.bz2'.
Stop.

I build with 

--without-system-libcdr

checking which libcdr to use... internal

the tarball is present in the external sources directory

build/src/3c0037fb07dea2f0bbae8386fa7c6a9a-libcdr-0.0.9.tar.bz2


[andyrtr@workstation64 trunk]$ ls -lha 
~/arch64/chroots/testing-x86_64/andyrtr/build/src/libreoffice-4.0.0.0.beta1/libcdr/
insgesamt 64K
drwxr-xr-x   3 nobody nobody  368  5. Dez 16:53 .
drwxr-xr-x 223 nobody nobody 7,6K  9. Dez 09:38 ..
-rw-r--r--   1 nobody nobody  905  5. Dez 16:53 ExternalPackage_libcdr.mk
-rw-r--r--   1 nobody nobody 2,4K  5. Dez 16:53 ExternalProject_libcdr.mk
-rw-r--r--   1 nobody nobody  225  5. Dez 16:53 Makefile
-rw-r--r--   1 nobody nobody  547  5. Dez 16:53 Module_libcdr.mk
-rw-r--r--   1 nobody nobody  140  5. Dez 16:53 README
-rw-r--r--   1 nobody nobody  645  5. Dez 16:53 UnpackedTarball_cdr.mk
-rw-r--r--   1 nobody nobody  13K  5. Dez 16:53 libcdr-configure.patch.1
-rw-r--r--   1 nobody nobody  15K  5. Dez 16:53 libcdr-msvc.patch
drwxr-xr-x   2 nobody nobody  104  5. Dez 16:53 prj


So nothing has changed in my build instructions. I couldn't find anything 
related
in the commit log.

Any idea?

-Andy
ArchLinux
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PUSHED] Do not keep deprecated switches around

2012-12-09 Thread Tor Lillqvist (via Code Review)
Hi,

Thank you for your patch! :-)  It has been merged to LibreOffice.

If you are interested in details, please visit

https://gerrit.libreoffice.org/1271

Approvals:
  Tor Lillqvist: Verified; Looks good to me, approved


--
To view, visit https://gerrit.libreoffice.org/1271
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2fc9ffc1dec4d69522e2a7c90cb5cf06f3d70c3d
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Tomáš Chvátal tchva...@suse.cz
Gerrit-Reviewer: Tor Lillqvist t...@iki.fi

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Python: fix deprecated + == None instead of is None

2012-12-09 Thread Julien Nabet (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1275

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/75/1275/1

Python: fix deprecated + == None instead of is None

Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
---
M scripting/source/pyprov/pythonscript.py
1 file changed, 2 insertions(+), 2 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1275
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] IsDbg() is no longer called

2012-12-09 Thread Takeshi Abe (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1277

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/77/1277/1

IsDbg() is no longer called

Change-Id: Id1860de882a4999eaa7fc253e1332f1c298f287f
---
M sw/source/core/inc/txtfrm.hxx
M sw/source/core/text/txtio.cxx
2 files changed, 3 insertions(+), 20 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1277
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1860de882a4999eaa7fc253e1332f1c298f287f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Takeshi Abe t...@fixedpoint.jp

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] fdo#40465 fix to maintain correct focus whilst zooming

2012-12-09 Thread Winfried Donkers (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1278

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/78/1278/1

fdo#40465 fix to maintain correct focus whilst zooming

Change-Id: Ifed6e9a1fcb23e3565843842c3db695ab51b3d54
---
M sw/source/ui/uiview/viewmdi.cxx
1 file changed, 3 insertions(+), 0 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1278
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifed6e9a1fcb23e3565843842c3db695ab51b3d54
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Winfried Donkers o...@dci-electronics.nl

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 4 commits - extensions/Library_npsoplugin.mk extensions/Library_updatecheckui.mk extensions/Library_updchk.mk sc/Library_sc.mk

2012-12-09 Thread Libreoffice Gerrit user
 extensions/Library_npsoplugin.mk|5 -
 extensions/Library_updatecheckui.mk |4 
 extensions/Library_updchk.mk|4 
 sc/Library_sc.mk|4 
 4 files changed, 16 insertions(+), 1 deletion(-)

New commits:
commit 92ccb9a9262d24087f95a8c2c6e0839cce6d9e13
Author: David Tardon dtar...@redhat.com
Date:   Sat Dec 8 22:25:01 2012 +0100

add missing dep on tools/urlobj.hxx

Change-Id: I8529f58d9acd6d9203f7107b269638fd05167a65

diff --git a/extensions/Library_updchk.mk b/extensions/Library_updchk.mk
index d03cb0c..602d434 100644
--- a/extensions/Library_updchk.mk
+++ b/extensions/Library_updchk.mk
@@ -36,6 +36,10 @@ $(eval $(call gb_Library_set_include,updchk,\
-I$(SRCDIR)/extensions/inc \
 ))
 
+$(eval $(call gb_Library_use_packages,updchk,\
+tools_inc \
+))
+
 $(eval $(call gb_Library_use_sdk_api,updchk))
 
 $(eval $(call gb_Library_use_libraries,updchk,\
commit 56ac41cf8de47726f0552844299b61c2c12302cc
Author: David Tardon dtar...@redhat.com
Date:   Sat Dec 8 22:15:13 2012 +0100

add missing dep on sfx2/sfx.hrc

Change-Id: Ib8853b97561d982509e3a5e2d0160a2fa34397cc

diff --git a/extensions/Library_updatecheckui.mk 
b/extensions/Library_updatecheckui.mk
index 75ac53f..4ddad27 100644
--- a/extensions/Library_updatecheckui.mk
+++ b/extensions/Library_updatecheckui.mk
@@ -30,6 +30,10 @@ $(eval $(call gb_Library_Library,updatecheckui))
 
 $(eval $(call 
gb_Library_set_componentfile,updatecheckui,extensions/source/update/ui/updchk))
 
+$(eval $(call gb_Library_use_packages,updatecheckui,\
+sfx2_inc \
+))
+
 $(eval $(call gb_Library_use_sdk_api,updatecheckui))
 
 $(eval $(call gb_Library_use_libraries,updatecheckui,\
commit cf64f0afb117fd9f4390964dca38fbee9010e873
Author: David Tardon dtar...@redhat.com
Date:   Sat Dec 8 14:21:13 2012 +0100

add missing dep on oox/helper/helper.hxx

Ultimately, most of the stuff in this header ought to be moved into
comphelper or other common module.

Change-Id: Ib31500b2d18f0371efc9f1217aa481367c0abfcc

diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
index 10918e4..045e422 100644
--- a/sc/Library_sc.mk
+++ b/sc/Library_sc.mk
@@ -40,6 +40,10 @@ $(eval $(call gb_Library_add_defs,sc,\
-DSC_INFO_OSVERSION=\$(OS)\ \
 ))
 
+$(eval $(call gb_Library_use_packages,sc,\
+   oox_inc \
+))
+
 $(eval $(call gb_Library_use_sdk_api,sc))
 
 $(eval $(call gb_Library_use_externals,sc,\
commit b0ea67981e16336220e54d6e71f5b095c3084ed7
Author: David Tardon dtar...@redhat.com
Date:   Sat Dec 8 07:22:07 2012 +0100

add missing dep on boost

Change-Id: I04fe44afceaf0a415577b1b3a359d05d0d1821dc

diff --git a/extensions/Library_npsoplugin.mk b/extensions/Library_npsoplugin.mk
index 31908f6..7695e9d 100644
--- a/extensions/Library_npsoplugin.mk
+++ b/extensions/Library_npsoplugin.mk
@@ -35,7 +35,10 @@ $(eval $(call gb_Library_use_packages,npsoplugin,\
np_sdk_inc \
 ))
 
-$(eval $(call gb_Library_use_external,npsoplugin,npapi_headers))
+$(eval $(call gb_Library_use_externals,npsoplugin,\
+boost_headers \
+npapi_headers \
+))
 
 $(eval $(call gb_Library_use_static_libraries,npsoplugin,\
npsoenv \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-4-0' - translations

2012-12-09 Thread Libreoffice Gerrit user
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9fc3adb2f0163bc9f00e764792049fd6df049255
Author: Andras Timar ati...@suse.com
Date:   Sun Dec 9 13:38:47 2012 +0100

Updated core
Project: translations  6d37d2d96aa2dedf99d2421985e019c01c14ac03
fix of damaged files from beta1

diff --git a/translations b/translations
index 143cc3e..6d37d2d 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 143cc3e26740ddd004c0e89733cb91d17de326bc
+Subproject commit 6d37d2d96aa2dedf99d2421985e019c01c14ac03
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Master Documents

2012-12-09 Thread David Burleigh
I'm trying to find a way to do on purpose what I once did by accident
(but I don't know how I did it). I have a master document containing
links to many subdocuments, and I would like to export the entire
contents to a normal .odt file in editable form. I tried FileExport
then choose File Type ODF Text Document but the resulting file still 
contains links to the subdocuments, not their editable contents.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Email-Introduction

2012-12-09 Thread Vishv Brahmbhatt
Hello,

I am Vishv Brahmbhatt. I am a student of Dhirubhai Ambani Institute of
Information and Communication Technology(DA-IICT),India.

I am new to the open source community and LibreOffice community. I am very
much interested in contributing to the community and also work for the
LibreOffice in  GSOC.

I have a keen interest in the UI development,so please guide me how can I
start contributing to LibreOffice.

Thanks.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: translations

2012-12-09 Thread Libreoffice Gerrit user
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c2e25b82f0cf43afc86126f1fb5066693cd00d07
Author: Andras Timar ati...@suse.com
Date:   Sun Dec 9 13:38:47 2012 +0100

Updated core
Project: translations  d9a4b60f9ae7e15c44675ea56fe6a06613c419ae
fix of damaged files from beta1

diff --git a/translations b/translations
index 2991224..d9a4b60 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 29912248a458e96bf58166bf780bef9f535002aa
+Subproject commit d9a4b60f9ae7e15c44675ea56fe6a06613c419ae
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


RE: Change in core[master]: fdo#56124 add calc functions IFERROR and IFNA as in ODFF1.2

2012-12-09 Thread Winfried Donkers
Hi Eike

  To finally find out what goes wrong, I copied the contents of SCIfJump() 
  into
  ScIfError(), made ocIfError do the same as ocIf (except in lotus/excel 
  filter
  files) and gave IFERROR() 3 arguments (just as IF()).
  It still doesn't work: IFERROR(X;Y;Z) always returns Y, regardless of the 
  value
  of X. That is, if X produces an error (or Y, or Z), the error is returned.

Could it be that you didn't implement the special handling in the
compiler and tokens? ...

I did an opengrok search for ocIf and changed all files, including sxfunc.src 
(to give iferror 3 parameters).
The only differences that I know of between IF() and IFERROR() are the function 
names and the group to which the functions belong.

When in the switch statement in ScIfError()/ScIfJump() (in 
/core/sc/source/core/tool/interpr1.cxx)
default:
{
if ( GetBool() )   -- here
{   // TRUE
if( nJumpCount = 2 )

I replace GetBool() with getDouble() and look at its value, it is 3 in case of 
IFERROR() and 0 in case of IF().
(in calc I entered IFERROR(0;2;3), result 2 and IF(0;2;3), result 3).

Winfried
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: bug/bug

2012-12-09 Thread Rob Snelders
 bug/bug/bug.js |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5974f1d0e75bc01df4ccba92e61a9478bb170aa5
Author: Rob Snelders programm...@ertai.nl
Date:   Sun Dec 9 15:21:32 2012 +0100

Solved a invalid functioncall

diff --git a/bug/bug/bug.js b/bug/bug/bug.js
index 7b3c3a0..9b3d3bd 100644
--- a/bug/bug/bug.js
+++ b/bug/bug/bug.js
@@ -267,7 +267,7 @@
 } else {
 $(element).addClass('inprogress');
 }
-   error_clear();
+   $.bug.error_clear();
 var component = $('.state_component 
.chosen').attr('data').replace('_',' ');
 var short_desc = $.bug.subcomponent + ': ' + 
$('.state_description .short').val();
 //Add Operating System
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


fdo#51083 calc: fix mathematical errors in BinomDist, B, Cri...

2012-12-09 Thread via Code Review
Werner Körner has abandoned this change.

Change subject: fdo#51083 calc: fix mathematical errors in BinomDist, B, 
CritBinom and NegBinomDist
..


Patch Set 1: Abandoned

The conflicting patch fixes fdo#51083.

--
To view, visit https://gerrit.libreoffice.org/1213
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I00a882799ec8790a6232c00cf3f9b23d8f4f03c0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Werner Körner wk66...@gmail.com
Gerrit-Reviewer: Eike Rathke er...@redhat.com

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: l10ntools/inc l10ntools/source

2012-12-09 Thread Libreoffice Gerrit user
 l10ntools/inc/export.hxx|2 ++
 l10ntools/source/export.cxx |   16 +---
 2 files changed, 11 insertions(+), 7 deletions(-)

New commits:
commit e1a91a9ceda6020bb256739e83dc371a50af3b1d
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Sun Dec 9 17:03:56 2012 +0100

Make src lists modifiable

This work when appending elements to the end of
list or deleting elements from list.

Change-Id: Ic0b920f79c72ebc3bf700640b13d2aca

diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index af94c17..ecc9e2e 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -39,6 +39,7 @@
 #include vector   /* std::vector*/
 #include queue
 #include string
+#include map
 
 #include unistd.h
 #ifdef WNT
@@ -329,6 +330,7 @@ public:
 private:
 static std::vectorrtl::OString aLanguages;
 static std::vectorrtl::OString aForcedLanguages;
+std::mapOString,OString aOrigListItems;
 
 sal_Bool WriteData( ResData *pResData, sal_Bool bCreateNew = sal_False 
);// called befor dest. cur ResData
 sal_Bool WriteExportList( ResData *pResData, ExportList *pExportList,
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 13870da..471ac10 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -988,7 +988,7 @@ sal_Bool Export::WriteData( ResData *pResData, sal_Bool 
bCreateNew )
 rtl::OString sList( pairedlist );
 WriteExportList( pResData, pResData-pPairedList, sList, bCreateNew );
 if ( bCreateNew )
-pResData-pItemList = 0;
+pResData-pPairedList = 0;
 }
 if ( pResData-pUIEntries ) {
 rtl::OString sList( uientries );
@@ -1531,6 +1531,7 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 }
 
 PFormEntrys *pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
+const OString sKey = pResData-sId + pResData-sGId + pResData-sResTyp;
 pResData-sId = sOldId;
 pResData-sGId = sOldGId;
 pResData-sResTyp = sOldTyp;
@@ -1548,6 +1549,9 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 return sal_False; // no data found
 }
 
+if (rLangIndex == en-US)
+
aOrigListItems.insert(std::pairOString,OString(sKey,rText.copy(nStart+1,nEnd-nStart-1)));
+
 if (Export::isSourceLanguage(rLangIndex))
 return sal_False;
 
@@ -1687,14 +1691,12 @@ void Export::MergeRest( ResData *pResData, sal_uInt16 
nMode )
 if ( pList )
 nMaxIndex = 
pList-GetSourceLanguageListEntryCount();
 pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
-while( pEntrys   ( nLIndex  nMaxIndex )) {
+while( nLIndex  nMaxIndex ) {
 rtl::OString sText;
-sal_Bool bText;
-bText = pEntrys-GetTransex3Text( sText, 
STRING_TYP_TEXT, sCur, sal_True );
-if( !bText )
-bText = pEntrys-GetTransex3Text( sText , 
STRING_TYP_TEXT, SOURCE_LANGUAGE , sal_False );
+if( !pEntrys || !pEntrys-GetTransex3Text( sText, 
STRING_TYP_TEXT, sCur, sal_True ) )
+sText = aOrigListItems.find(pResData-sId + 
pResData-sGId + pResData-sResTyp)-second;
 
-if ( bText  !sText.isEmpty())
+if (!sText.isEmpty())
 {
 if ( nIdx == 1 )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] Typo fixes in LibreLogo local help

2012-12-09 Thread Stanislav Horáček

Hi,

the patch fixing some typos in LibreLogo help is attached.

I noticed that there is Gerrit tool for submitting patches, but it seems too complicated for such 
small help things - so I hope it is fine to send the patch directly to the list.


Regards,
Stan
From 5eb54c32522d4248aa9fc4f58eba7ccd58b8cb7a Mon Sep 17 00:00:00 2001
From: Stanislav Horacek stanislav.hora...@gmail.com
Date: Sun, 9 Dec 2012 17:47:42 +0100
Subject: [PATCH] fix typos in LibreLogo help

---
 source/text/swriter/librelogo/LibreLogo.xhp |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp b/source/text/swriter/librelogo/LibreLogo.xhp
index cac667b..f8ab88e 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -171,7 +171,7 @@
 paragraph role=heading level=3 xml-lang=en-US id=hd_1340POINT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1350 POINT ; draw a point with size and color of the penbr//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_1360LABEL/paragraph
-paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; print text in the turte positionbr/ LABEL 'text' ; see abovebr/ LABEL text ; see above (only for single words)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; print text in the turtle positionbr/ LABEL 'text' ; see abovebr/ LABEL text ; see above (only for single words)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_1380TEXT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1390 CIRCLE 10 TEXT “text” ; set text of the actual drawing objectbr//paragraph
 paragraph role=heading level=2 xml-lang=en-US id=hd_1400Font settings/paragraph
@@ -281,7 +281,7 @@
 paragraph role=heading level=3 xml-lang=en-US id=hd_2360SIN/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2370 PRINT SIN 90 * PI/180 ; print 1.0 (sinus of 90° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2380COS/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * PI/180 ; print 1.0 (sinus of 0° in radians)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * PI/180 ; print 1.0 (cosinus of 0° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2400ROUND/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2410 PRINT ROUND 3.8 ; print 4 (rounding 3.8)br/ PRINT ROUND RANDOM 100 ; random integer number (0 lt;= x lt;= 100)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2420ABS/paragraph
@@ -291,7 +291,7 @@
 paragraph role=heading level=3 xml-lang=en-US id=hd_2460SET/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2470 ; Convert list to Python setbr/ PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}br/ PRINT SET [4, 5, 6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, unionbr/ PRINT SET [4, 5, 6, 6] amp; SET [4, 1, 9] ; print {4}, intersectionbr/ PRINT SET ([4, 5, 6, 6]) - SET [4, 1, 9] ; print {5, 6}, differencebr/ PRINT SET [4, 5, 6, 6] ^ SET [4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference  br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2480RANGE/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print [3, 6, 9]br/ br/ FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/   FORWARD ibr/   LEFT 90br/ ]br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print [3, 6, 9]br/ br/ FOR i IN RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/   FORWARD ibr/   LEFT 90br/ ]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2500LIST/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2510 ; remove the repeating elements of a list using set and list conversionbr/ PRINT LIST (SET [1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2520TUPLE/paragraph
@@ -301,7 +301,7 @@
 paragraph role=paragraph xml-lang=en-US id=par_2560It returns with a sorted list./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2570 PRINT SORTED [5, 1, 3, 4] ; print [1, 3, 4, 5]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US id=hd_2580SUB/paragraph
-paragraph role=paragraph xml-lang=en-US id=par_2590Substitue character sequences using regex (regular expression) patterns./paragraph
+paragraph role=paragraph xml-lang=en-US id=par_2590Substitute character sequences using regex (regular expression) patterns./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2600 PRINT SUB (“t”, “T”, “text”) ; print “Text”, replacing “t” with “T”br/ PRINT SUB (“(.)”, 

[PATCH] Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition

2012-12-09 Thread Christos Strubulis

Hello everyone,
just a patch with the above replacement. This is actually my first patch
so plz bear with me. In this regard, I am not so sure if the patch's
name is correct.

My statement:
All of my past  future contributions to LibreOffice may be licensed
under the MPL/LGPLv3+ dual license

Thank you,
Christos.

From 0b8077bc0cd027aa51091a004ed7fe1fcab5f5ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= tchva...@suse.cz
Date: Sat, 8 Dec 2012 21:05:51 +0100
Subject: [PATCH] Do not keep deprecated switches around

This is pretty bad idea, because when you really remove them it prints
nice warning, this way tho you have no damn chance to see it unless you
read the ./configure --help.

Change-Id: I2fc9ffc1dec4d69522e2a7c90cb5cf06f3d70c3d
Reviewed-on: https://gerrit.libreoffice.org/1271
Reviewed-by: Tor Lillqvist t...@iki.fi
Tested-by: Tor Lillqvist t...@iki.fi
---
 configure.ac |   15 ---
 1 file changed, 15 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6a5b769..192e28f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -677,11 +677,6 @@ AC_ARG_ENABLE(vba,
 [Disables the vba compatibility feature.])
 )
 
-AC_ARG_ENABLE(pch,
-AS_HELP_STRING([--enable-pch],
-[DEPRECATED : is ignored])
-)
-
 AC_ARG_ENABLE(win-mozab-driver,
 AS_HELP_STRING([--enable-win-mozab-driver],
 [LibreOffice includes a driver to connect to Mozilla 
@@ -1245,11 +1240,6 @@ AC_ARG_WITH(system-nss,
 [Use NSS/nspr libraries already on system.]),,
 [with_system_nss=$with_system_libs])
 
-AC_ARG_WITH(mozilla-toolkit,
-AS_HELP_STRING([--with-mozilla-toolkit],
-[DEPRECATED : is ignored]),
-,)
-
 AC_ARG_WITH(myspell-dicts,
 AS_HELP_STRING([--without-myspell-dicts],
 [Removes myspell dictionaries from LibreOffice installation set, for
@@ -1646,11 +1636,6 @@ AC_ARG_WITH(system-liblangtag,
 [Use liblangtag library already on system.]),,
 [with_system_liblangtag=$with_system_libs])
 
-AC_ARG_WITH(system-mozilla,
-AS_HELP_STRING([--with-system-mozilla],
-[DEPRECATED : is ignored]),,
-)
-
 AC_ARG_WITH(system-npapi-headers,
 AS_HELP_STRING([--with-system-npapi-headers],
 [Use NPAPI headers provided by system instead of bundled ones. Used in
-- 
1.7.10.4

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: l10ntools/source

2012-12-09 Thread Libreoffice Gerrit user
 l10ntools/source/export.cxx |   11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

New commits:
commit cd8948d1fd4430bc4186b3525eaec7d531da3fb2
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Sun Dec 9 18:38:42 2012 +0100

Make sure all list item is stored

Change-Id: Idf73871086dd7a3be7371506c034ec7af48d1642

diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 471ac10..8fb78e3 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1473,6 +1473,13 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 pResData-sGId = pResData-sGId + rtl::OString('.');
 pResData-sGId = pResData-sGId + sOldId;
 nTyp = STRING_TYP_TEXT;
+if (rLangIndex == en-US)
+{
+aOrigListItems.insert(
+std::pairOString,OString(
+pResData-sId + pResData-sGId + pResData-sResTyp,
+rText.copy(nStart+1,nEnd-nStart-1)));
+}
 }
 break;
 case STRING_TYP_TEXT :
@@ -1531,7 +1538,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 }
 
 PFormEntrys *pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
-const OString sKey = pResData-sId + pResData-sGId + pResData-sResTyp;
 pResData-sId = sOldId;
 pResData-sGId = sOldGId;
 pResData-sResTyp = sOldTyp;
@@ -1549,9 +1555,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 return sal_False; // no data found
 }
 
-if (rLangIndex == en-US)
-
aOrigListItems.insert(std::pairOString,OString(sKey,rText.copy(nStart+1,nEnd-nStart-1)));
-
 if (Export::isSourceLanguage(rLangIndex))
 return sal_False;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-4-0' - helpcontent2

2012-12-09 Thread Libreoffice Gerrit user
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f44e47f52f30b389871e76ed5ab838211fab7235
Author: Stanislav Horacek stanislav.hora...@gmail.com
Date:   Sun Dec 9 17:47:42 2012 +0100

Updated core
Project: help  d9d28ebb575e96e742d6590a28dd59c62b89dc4e
fix typos in LibreLogo help

diff --git a/helpcontent2 b/helpcontent2
index ed658fe..d9d28eb 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit ed658fe4ef7900078255a02f8410ef2e51a76189
+Subproject commit d9d28ebb575e96e742d6590a28dd59c62b89dc4e
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-4-0' - source/text

2012-12-09 Thread Libreoffice Gerrit user
 source/text/swriter/librelogo/LibreLogo.xhp |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d9d28ebb575e96e742d6590a28dd59c62b89dc4e
Author: Stanislav Horacek stanislav.hora...@gmail.com
Date:   Sun Dec 9 17:47:42 2012 +0100

fix typos in LibreLogo help

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp 
b/source/text/swriter/librelogo/LibreLogo.xhp
index cac667b..f8ab88e 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -171,7 +171,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1340POINT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1350 POINT ; draw a 
point with size and color of the penbr//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1360LABEL/paragraph
-paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; 
print text in the turte positionbr/ LABEL 'text' ; see abovebr/ LABEL text 
; see above (only for single words)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; 
print text in the turtle positionbr/ LABEL 'text' ; see abovebr/ LABEL 
text ; see above (only for single words)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1380TEXT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1390 CIRCLE 10 TEXT 
“text” ; set text of the actual drawing objectbr//paragraph
 paragraph role=heading level=2 xml-lang=en-US id=hd_1400Font 
settings/paragraph
@@ -281,7 +281,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2360SIN/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2370 PRINT SIN 90 * 
PI/180 ; print 1.0 (sinus of 90° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2380COS/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * 
PI/180 ; print 1.0 (sinus of 0° in radians)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * 
PI/180 ; print 1.0 (cosinus of 0° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2400ROUND/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2410 PRINT ROUND 3.8 ; 
print 4 (rounding 3.8)br/ PRINT ROUND RANDOM 100 ; random integer number (0 
lt;= x lt;= 100)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2420ABS/paragraph
@@ -291,7 +291,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2460SET/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2470 ; Convert list to 
Python setbr/ PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}br/ PRINT SET [4, 5, 
6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, unionbr/ PRINT SET [4, 5, 6, 
6] amp; SET [4, 1, 9] ; print {4}, intersectionbr/ PRINT SET ([4, 5, 6, 6]) 
- SET [4, 1, 9] ; print {5, 6}, differencebr/ PRINT SET [4, 5, 6, 6] ^ SET 
[4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference  br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2480RANGE/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list 
generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ 
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print 
[3, 6, 9]br/ br/ FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/ 
  FORWARD ibr/   LEFT 90br/ ]br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list 
generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ 
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print 
[3, 6, 9]br/ br/ FOR i IN RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/ 
  FORWARD ibr/   LEFT 90br/ ]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2500LIST/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2510 ; remove the 
repeating elements of a list using set and list conversionbr/ PRINT LIST (SET 
[1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2520TUPLE/paragraph
@@ -301,7 +301,7 @@
 paragraph role=paragraph xml-lang=en-US id=par_2560It returns with a 
sorted list./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2570 PRINT SORTED [5, 1, 
3, 4] ; print [1, 3, 4, 5]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2580SUB/paragraph
-paragraph role=paragraph xml-lang=en-US id=par_2590Substitue character 
sequences using regex (regular expression) patterns./paragraph
+paragraph role=paragraph xml-lang=en-US id=par_2590Substitute 
character sequences using regex (regular expression) patterns./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2600 PRINT SUB (“t”, 
“T”, “text”) ; print “Text”, replacing “t” with “T”br/ 
PRINT SUB (“(.)”, “\\1\\1”, “text”) ; print “tteexxtt”, 
doubling every charactersbr//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2610SEARCH/paragraph
 paragraph role=paragraph xml-lang=en-US id=par_2620Search character 
sequences 

[Libreoffice-commits] .: helpcontent2

2012-12-09 Thread Libreoffice Gerrit user
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f09841cf73f129bb85c870888f9e1215ae99bf83
Author: Stanislav Horacek stanislav.hora...@gmail.com
Date:   Sun Dec 9 17:47:42 2012 +0100

Updated core
Project: help  56562e9b04dcbfd63012eecddb53b76dc4cee84b
fix typos in LibreLogo help

diff --git a/helpcontent2 b/helpcontent2
index 6ff9e11..56562e9 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 6ff9e113ec347757b3f5c91836c55902bd0e0ac9
+Subproject commit 56562e9b04dcbfd63012eecddb53b76dc4cee84b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: source/text

2012-12-09 Thread Libreoffice Gerrit user
 source/text/swriter/librelogo/LibreLogo.xhp |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 56562e9b04dcbfd63012eecddb53b76dc4cee84b
Author: Stanislav Horacek stanislav.hora...@gmail.com
Date:   Sun Dec 9 17:47:42 2012 +0100

fix typos in LibreLogo help

diff --git a/source/text/swriter/librelogo/LibreLogo.xhp 
b/source/text/swriter/librelogo/LibreLogo.xhp
index cac667b..f8ab88e 100644
--- a/source/text/swriter/librelogo/LibreLogo.xhp
+++ b/source/text/swriter/librelogo/LibreLogo.xhp
@@ -171,7 +171,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1340POINT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1350 POINT ; draw a 
point with size and color of the penbr//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1360LABEL/paragraph
-paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; 
print text in the turte positionbr/ LABEL 'text' ; see abovebr/ LABEL text 
; see above (only for single words)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_1370 LABEL “text” ; 
print text in the turtle positionbr/ LABEL 'text' ; see abovebr/ LABEL 
text ; see above (only for single words)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_1380TEXT/paragraph
 paragraph role=logocode xml-lang=en-US id=par_1390 CIRCLE 10 TEXT 
“text” ; set text of the actual drawing objectbr//paragraph
 paragraph role=heading level=2 xml-lang=en-US id=hd_1400Font 
settings/paragraph
@@ -281,7 +281,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2360SIN/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2370 PRINT SIN 90 * 
PI/180 ; print 1.0 (sinus of 90° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2380COS/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * 
PI/180 ; print 1.0 (sinus of 0° in radians)br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2390 PRINT COS 0 * 
PI/180 ; print 1.0 (cosinus of 0° in radians)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2400ROUND/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2410 PRINT ROUND 3.8 ; 
print 4 (rounding 3.8)br/ PRINT ROUND RANDOM 100 ; random integer number (0 
lt;= x lt;= 100)br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2420ABS/paragraph
@@ -291,7 +291,7 @@
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2460SET/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2470 ; Convert list to 
Python setbr/ PRINT SET [4, 5, 6, 6] ; print {4, 5, 6}br/ PRINT SET [4, 5, 
6, 6] | SET [4, 1, 9] ; print {1, 4, 5, 6, 9}, unionbr/ PRINT SET [4, 5, 6, 
6] amp; SET [4, 1, 9] ; print {4}, intersectionbr/ PRINT SET ([4, 5, 6, 6]) 
- SET [4, 1, 9] ; print {5, 6}, differencebr/ PRINT SET [4, 5, 6, 6] ^ SET 
[4, 1, 9] ; print {1, 5, 6, 9}, symmetric difference  br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2480RANGE/paragraph
-paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list 
generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ 
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print 
[3, 6, 9]br/ br/ FOR i in RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/ 
  FORWARD ibr/   LEFT 90br/ ]br//paragraph
+paragraph role=logocode xml-lang=en-US id=par_2490 ; Python-like list 
generationbr/ PRINT RANGE 10 ; print [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]br/ 
PRINT RANGE 3 10 ; print [3, 4, 5, 6, 7, 8, 9]br/ PRINT RANGE 3 10 3 ; print 
[3, 6, 9]br/ br/ FOR i IN RANGE 10 50 10 [ ; loop for [10, 20, 30, 40]br/ 
  FORWARD ibr/   LEFT 90br/ ]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2500LIST/paragraph
 paragraph role=logocode xml-lang=en-US id=par_2510 ; remove the 
repeating elements of a list using set and list conversionbr/ PRINT LIST (SET 
[1, 3, 5, 5, 2, 1]) ; print [1, 3, 5, 2]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2520TUPLE/paragraph
@@ -301,7 +301,7 @@
 paragraph role=paragraph xml-lang=en-US id=par_2560It returns with a 
sorted list./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2570 PRINT SORTED [5, 1, 
3, 4] ; print [1, 3, 4, 5]br//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2580SUB/paragraph
-paragraph role=paragraph xml-lang=en-US id=par_2590Substitue character 
sequences using regex (regular expression) patterns./paragraph
+paragraph role=paragraph xml-lang=en-US id=par_2590Substitute 
character sequences using regex (regular expression) patterns./paragraph
 paragraph role=logocode xml-lang=en-US id=par_2600 PRINT SUB (“t”, 
“T”, “text”) ; print “Text”, replacing “t” with “T”br/ 
PRINT SUB (“(.)”, “\\1\\1”, “text”) ; print “tteexxtt”, 
doubling every charactersbr//paragraph
 paragraph role=heading level=3 xml-lang=en-US 
id=hd_2610SEARCH/paragraph
 paragraph role=paragraph xml-lang=en-US id=par_2620Search character 
sequences 

Re: [PUSHED] Typo fixes in LibreLogo local help

2012-12-09 Thread Andras Timar
Hi,

On Sun, Dec 9, 2012 at 6:17 PM, Stanislav Horáček
stanislav.hora...@gmail.com wrote:
 Hi,

 the patch fixing some typos in LibreLogo help is attached.

 I noticed that there is Gerrit tool for submitting patches, but it seems too
 complicated for such small help things - so I hope it is fine to send the
 patch directly to the list.


Sure, it is. Thanks for the corrections, I pushed them to master and
libreoffice-4-0 branches.

Best regards,
Andras
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PATCH] Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition

2012-12-09 Thread Lubos Lunak
On Sunday 09 of December 2012, Christos Strubulis wrote:
 Hello everyone,
 just a patch with the above replacement. This is actually my first patch
 so plz bear with me. In this regard, I am not so sure if the patch's
 name is correct.

 It is not, and that's because the patch contains the latest commit in the 
LibreOffice git repository. It looks like you didn't actually commit your 
changes (in general, you should do your changes, 'make', 'git commit -a' 
and 'git format-patch -1', and you either forgot the commit part or it didn't 
work out for some reason).

 My statement:
 All of my past  future contributions to LibreOffice may be licensed
 under the MPL/LGPLv3+ dual license

 Thank you,
 Christos.

-- 
 Lubos Lunak
 l.lu...@suse.cz
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PATCH] Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition

2012-12-09 Thread Christos Strubulis
Hello everyone,
just a patch with the above replacement. This is actually my first patch
so plz bear with me. In this regard, I am not so sure if the patch's
name is correct.

My statement:
All of my past  future contributions to LibreOffice may be licensed
under the MPL/LGPLv3+ dual license

Thank you,
Christos.
From 0b8077bc0cd027aa51091a004ed7fe1fcab5f5ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= tchva...@suse.cz
Date: Sat, 8 Dec 2012 21:05:51 +0100
Subject: [PATCH] Do not keep deprecated switches around

This is pretty bad idea, because when you really remove them it prints
nice warning, this way tho you have no damn chance to see it unless you
read the ./configure --help.

Change-Id: I2fc9ffc1dec4d69522e2a7c90cb5cf06f3d70c3d
Reviewed-on: https://gerrit.libreoffice.org/1271
Reviewed-by: Tor Lillqvist t...@iki.fi
Tested-by: Tor Lillqvist t...@iki.fi
---
 configure.ac |   15 ---
 1 file changed, 15 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6a5b769..192e28f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -677,11 +677,6 @@ AC_ARG_ENABLE(vba,
 [Disables the vba compatibility feature.])
 )
 
-AC_ARG_ENABLE(pch,
-AS_HELP_STRING([--enable-pch],
-[DEPRECATED : is ignored])
-)
-
 AC_ARG_ENABLE(win-mozab-driver,
 AS_HELP_STRING([--enable-win-mozab-driver],
 [LibreOffice includes a driver to connect to Mozilla 
@@ -1245,11 +1240,6 @@ AC_ARG_WITH(system-nss,
 [Use NSS/nspr libraries already on system.]),,
 [with_system_nss=$with_system_libs])
 
-AC_ARG_WITH(mozilla-toolkit,
-AS_HELP_STRING([--with-mozilla-toolkit],
-[DEPRECATED : is ignored]),
-,)
-
 AC_ARG_WITH(myspell-dicts,
 AS_HELP_STRING([--without-myspell-dicts],
 [Removes myspell dictionaries from LibreOffice installation set, for
@@ -1646,11 +1636,6 @@ AC_ARG_WITH(system-liblangtag,
 [Use liblangtag library already on system.]),,
 [with_system_liblangtag=$with_system_libs])
 
-AC_ARG_WITH(system-mozilla,
-AS_HELP_STRING([--with-system-mozilla],
-[DEPRECATED : is ignored]),,
-)
-
 AC_ARG_WITH(system-npapi-headers,
 AS_HELP_STRING([--with-system-npapi-headers],
 [Use NPAPI headers provided by system instead of bundled ones. Used in
-- 
1.7.10.4

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PATCH] Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition

2012-12-09 Thread Christos Strubulis
Ok thanks. I thought that this command would commit to the official
repository and not locally.

Is this right now?

Christos.

On Sun, 2012-12-09 at 18:54 +0100, Lubos Lunak wrote:
 On Sunday 09 of December 2012, Christos Strubulis wrote:
  Hello everyone,
  just a patch with the above replacement. This is actually my first patch
  so plz bear with me. In this regard, I am not so sure if the patch's
  name is correct.
 
  It is not, and that's because the patch contains the latest commit in the 
 LibreOffice git repository. It looks like you didn't actually commit your 
 changes (in general, you should do your changes, 'make', 'git commit -a' 
 and 'git format-patch -1', and you either forgot the commit part or it didn't 
 work out for some reason).
 
  My statement:
  All of my past  future contributions to LibreOffice may be licensed
  under the MPL/LGPLv3+ dual license
 
  Thank you,
  Christos.
 

From 9503d7bde86638b1cc40fdbabdae0822f4a28a1a Mon Sep 17 00:00:00 2001
From: Christos Strubulis strubul@ubuntu.(none)
Date: Sun, 9 Dec 2012 10:08:10 -0800
Subject: [PATCH] Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition

Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
---
 extensions/workben/pythonautotest.cxx   |2 +-
 extensions/workben/pythontest.cxx   |2 +-
 extensions/workben/testcomponent.cxx|2 +-
 filter/qa/cppunit/filters-pict-test.cxx |2 +-
 filter/qa/cppunit/filters-tga-test.cxx  |2 +-
 filter/qa/cppunit/filters-tiff-test.cxx |2 +-
 filter/source/graphicfilter/egif/egif.cxx   |2 +-
 filter/source/graphicfilter/eos2met/eos2met.cxx |2 +-
 filter/source/graphicfilter/epbm/epbm.cxx   |2 +-
 filter/source/graphicfilter/epgm/epgm.cxx   |2 +-
 filter/source/graphicfilter/epict/epict.cxx |2 +-
 filter/source/graphicfilter/eppm/eppm.cxx   |2 +-
 filter/source/graphicfilter/eps/eps.cxx |2 +-
 filter/source/graphicfilter/eras/eras.cxx   |2 +-
 filter/source/graphicfilter/etiff/etiff.cxx |2 +-
 filter/source/graphicfilter/expm/expm.cxx   |2 +-
 filter/source/graphicfilter/icgm/cgm.cxx|2 +-
 filter/source/graphicfilter/idxf/idxf.cxx   |2 +-
 filter/source/graphicfilter/ieps/ieps.cxx   |2 +-
 filter/source/graphicfilter/ios2met/ios2met.cxx |2 +-
 filter/source/graphicfilter/ipbm/ipbm.cxx   |2 +-
 filter/source/graphicfilter/ipcd/ipcd.cxx   |2 +-
 filter/source/graphicfilter/ipcx/ipcx.cxx   |2 +-
 filter/source/graphicfilter/ipict/ipict.cxx |2 +-
 filter/source/graphicfilter/ipsd/ipsd.cxx   |2 +-
 filter/source/graphicfilter/iras/iras.cxx   |2 +-
 filter/source/graphicfilter/itga/itga.cxx   |2 +-
 filter/source/graphicfilter/itiff/itiff.cxx |2 +-
 filter/source/msfilter/escherex.cxx |2 +-
 helpcontent2|2 +-
 sc/source/ui/attrdlg/scabstdlg.cxx  |4 ++--
 sc/workben/test.cxx |2 +-
 sd/source/filter/cgm/sdcgmfilter.cxx|4 ++--
 sd/source/filter/eppt/eppt.cxx  |4 ++--
 sd/source/filter/sdpptwrp.cxx   |4 ++--
 sd/source/ui/dlg/sdabstdlg.cxx  |4 ++--
 sd/source/ui/unoidl/unoobj.cxx  |2 +-
 svx/source/svdraw/svdhdl.cxx|2 +-
 sw/source/filter/basflt/fltini.cxx  |4 ++--
 sw/source/ui/dialog/swabstdlg.cxx   |4 ++--
 tools/inc/tools/solar.h |4 ++--
 vcl/source/gdi/bitmap3.cxx  |2 +-
 vcl/source/gdi/bitmap4.cxx  |2 +-
 vcl/source/gdi/impvect.cxx  |2 +-
 vcl/source/gdi/outdev4.cxx  |2 +-
 vcl/source/window/abstdlg.cxx   |4 ++--
 46 files changed, 55 insertions(+), 55 deletions(-)

diff --git a/extensions/workben/pythonautotest.cxx b/extensions/workben/pythonautotest.cxx
index df3f710..3e07025 100644
--- a/extensions/workben/pythonautotest.cxx
+++ b/extensions/workben/pythonautotest.cxx
@@ -396,7 +396,7 @@ BOOL PythonCodeLibrary::queryInterface( Uik aUik, XInterfaceRef  rOut )
 /*
  * main.
  */
-int __LOADONCALLAPI main (int argc, char **argv)
+int SAL_CALL main (int argc, char **argv)
 {
 // necessary startup code
 XMultiServiceFactoryRef xSMgr = createRegistryServiceManager();
diff --git a/extensions/workben/pythontest.cxx b/extensions/workben/pythontest.cxx
index 71639c2..0d2f962 100644
--- a/extensions/workben/pythontest.cxx
+++ b/extensions/workben/pythontest.cxx
@@ -463,7 +463,7 @@ BOOL CmdDebugger::queryInterface( Uik aUik, XInterfaceRef  rOut )
 /*
  * main.
  */
-int __LOADONCALLAPI main (int argc, char **argv)
+int SAL_CALL main (int argc, char **argv)
 {
 XMultiServiceFactoryRef xSMgr = createRegistryServiceManager();
 registerUsrServices( xSMgr 

[Libreoffice-commits] .: scripting/source

2012-12-09 Thread Libreoffice Gerrit user
 scripting/source/pyprov/pythonscript.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7914f867139c06fd751f6e37c9ed3e563388ed62
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 10:55:46 2012 +0100

Python: fix deprecated + == None instead of is None

Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
Reviewed-on: https://gerrit.libreoffice.org/1275
Reviewed-by: Tomáš Chvátal tchva...@suse.cz
Tested-by: Tomáš Chvátal tchva...@suse.cz

diff --git a/scripting/source/pyprov/pythonscript.py 
b/scripting/source/pyprov/pythonscript.py
index dcf05d4..dbc5725 100755
--- a/scripting/source/pyprov/pythonscript.py
+++ b/scripting/source/pyprov/pythonscript.py
@@ -328,7 +328,7 @@ class ProviderContext:
 packageName = self.getPackageNameFromUrl( url )
 transientPart = self.getTransientPartFromUrl( url )
 log.isDebugLevel() and log.debug( addPackageByUrl :  + packageName + 
,  + transientPart + (+url+) + , rootUrl=+self.rootUrl )
-if self.mapPackageName2Path.has_key( packageName ):
+if packageName in self.mapPackageName2Path:
 package = self.mapPackageName2Path[ packageName ]
 package.pathes = package.pathes + (url, )
 else:
@@ -380,7 +380,7 @@ class ProviderContext:
 
 allFuncs = []
 
-if code == None:
+if code is None:
 return allFuncs
 
 g_exportedScripts = []
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED] Python: fix deprecated + == None instead of is None

2012-12-09 Thread via Code Review
Hi,

Thank you for your patch! :-)  It has been merged to LibreOffice.

If you are interested in details, please visit

https://gerrit.libreoffice.org/1275

Approvals:
  Tomáš Chvátal: Verified; Looks good to me, approved


--
To view, visit https://gerrit.libreoffice.org/1275
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Tomáš Chvátal tchva...@suse.cz

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Blocks||58060

--- Comment #44 from tommy27 ba...@quipo.it ---
I add Bug 58060 - autocorrect entries in the [All] list are saved as
English(USA).

regression from the 3.6.x branch... it can really mess up autocorrect language
lists.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Depends on||58060
 Blocks|58060   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Bug 37361 depends on bug 38606, which changed state.

Bug 38606 Summary: UI: Under Style and Formatting, clicking Apply always resets 
to initial tab
https://bugs.freedesktop.org/show_bug.cgi?id=38606

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: sal/inc

2012-12-09 Thread Libreoffice Gerrit user
 sal/inc/rtl/ustrbuf.hxx |7 +++
 1 file changed, 7 insertions(+)

New commits:
commit dc6277ef41dcf529760ad894e0aa124f18722c33
Author: Tor Lillqvist t...@iki.fi
Date:   Sun Dec 9 22:42:04 2012 +0200

WaE: deleted function definitions are a C++11 extension

Change-Id: I8f070fb53c0310761c3a0a2407d48ca1c1ac5e18

diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
index 3814a6f..9850bfa 100644
--- a/sal/inc/rtl/ustrbuf.hxx
+++ b/sal/inc/rtl/ustrbuf.hxx
@@ -579,10 +579,17 @@ public:
 // Pointer can be automatically converted to bool, which is unwanted here.
 // Explicitly delete all pointer append() overloads to prevent this
 // (except for char* and sal_Unicode* overloads, which are handled 
elsewhere).
+#if defined(__clang__)  defined(LIBO_WERROR)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored -Wc++11-extensions
+#endif
 template typename T 
 typename internal::Enable void,
 !internal::CharPtrDetector T* ::ok  
!internal::SalUnicodePtrDetector T* ::ok ::Type
 append( T* ) = delete;
+#if defined(__clang__)  defined(LIBO_WERROR)
+#pragma GCC diagnostic pop
+#endif
 #endif
 #endif
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] Change in core[libreoffice-4-0]: Python: fix deprecated + == None instead of is None

2012-12-09 Thread Julien Nabet (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1280

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/80/1280/1

Python: fix deprecated + == None instead of is None

Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
Reviewed-on: https://gerrit.libreoffice.org/1275
Reviewed-by: Tomáš Chvátal tchva...@suse.cz
Tested-by: Tomáš Chvátal tchva...@suse.cz
---
M scripting/source/pyprov/pythonscript.py
1 file changed, 2 insertions(+), 2 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1280
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic19c2ac5817cf5f6359bccda14795ec4f17aad7e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Tomáš Chvátal tchva...@suse.cz

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-commits] .: sal/inc

2012-12-09 Thread Lubos Lunak
On Sunday 09 of December 2012, Libreoffice Gerrit user wrote:
  sal/inc/rtl/ustrbuf.hxx |7 +++
  1 file changed, 7 insertions(+)

 New commits:
 commit dc6277ef41dcf529760ad894e0aa124f18722c33
 Author: Tor Lillqvist t...@iki.fi
 Date:   Sun Dec 9 22:42:04 2012 +0200

 WaE: deleted function definitions are a C++11 extension

 Change-Id: I8f070fb53c0310761c3a0a2407d48ca1c1ac5e18

 diff --git a/sal/inc/rtl/ustrbuf.hxx b/sal/inc/rtl/ustrbuf.hxx
 index 3814a6f..9850bfa 100644
 --- a/sal/inc/rtl/ustrbuf.hxx
 +++ b/sal/inc/rtl/ustrbuf.hxx
 @@ -579,10 +579,17 @@ public:
  // Pointer can be automatically converted to bool, which is unwanted
 here. // Explicitly delete all pointer append() overloads to prevent this
 // (except for char* and sal_Unicode* overloads, which are handled
 elsewhere). 
 +#if defined(__clang__)  defined(LIBO_WERROR) 
 +#pragma GCC diagnostic push
 +#pragma GCC diagnostic ignored -Wc++11-extensions
 +#endif
  template typename T 
  typename internal::Enable void,
  !internal::CharPtrDetector T* ::ok 
 !internal::SalUnicodePtrDetector T* ::ok ::Type append( T* ) = delete;
 +#if defined(__clang__)  defined(LIBO_WERROR)
 +#pragma GCC diagnostic pop
 +#endif
  #endif
  #endif

 That doesn't make sense. This code is inside #ifdef that gets enabled only 
inside configure part that requires C++11 support, so this part should get 
compiled only if we compile with C++11 support, thus there should be no way 
to get this warning. So how can anybody possibly need this?

 And, not to put a too fine point on it, I'd appreciate it if you could try 
something a bit more systematic such as fixing the configure check that's 
been put there for a reason instead of a half-assed band-aid somewhere in the 
code. If you think that's too much work, maybe you'll change your mind as 
you'll have to do this for every place where I add this next.

-- 
 Lubos Lunak
 l.lu...@suse.cz
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 2 commits - l10ntools/inc l10ntools/source

2012-12-09 Thread Libreoffice Gerrit user
 l10ntools/inc/export.hxx|2 --
 l10ntools/source/export.cxx |   23 +++
 2 files changed, 11 insertions(+), 14 deletions(-)

New commits:
commit 38364f5adc77c516721ad26297562d0b1bb66b8d
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Sun Dec 9 22:39:21 2012 +0100

Revert Make sure all list item is stored

This reverts commit cd8948d1fd4430bc4186b3525eaec7d531da3fb2.

diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 061d8e6..c709ace 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1473,13 +1473,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 pResData-sGId = pResData-sGId + rtl::OString('.');
 pResData-sGId = pResData-sGId + sOldId;
 nTyp = STRING_TYP_TEXT;
-if (rLangIndex == en-US)
-{
-aOrigListItems.insert(
-std::pairOString,OString(
-pResData-sId + pResData-sGId + pResData-sResTyp,
-rText.copy(nStart+1,nEnd-nStart-1)));
-}
 }
 break;
 case STRING_TYP_TEXT :
@@ -1538,6 +1531,7 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 }
 
 PFormEntrys *pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
+const OString sKey = pResData-sId + pResData-sGId + pResData-sResTyp;
 pResData-sId = sOldId;
 pResData-sGId = sOldGId;
 pResData-sResTyp = sOldTyp;
@@ -1555,6 +1549,9 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 return sal_False; // no data found
 }
 
+if (rLangIndex == en-US)
+
aOrigListItems.insert(std::pairOString,OString(sKey,rText.copy(nStart+1,nEnd-nStart-1)));
+
 if (Export::isSourceLanguage(rLangIndex))
 return sal_False;
 
commit c03c144d4a8453d0b4e94def8d0f5780d07643b7
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Sun Dec 9 22:36:35 2012 +0100

Revert Make src lists modifiable

It is more difficult than I think first
and it needs to solve in an other way.

This reverts commit e1a91a9ceda6020bb256739e83dc371a50af3b1d.

diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index ecc9e2e..af94c17 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -39,7 +39,6 @@
 #include vector   /* std::vector*/
 #include queue
 #include string
-#include map
 
 #include unistd.h
 #ifdef WNT
@@ -330,7 +329,6 @@ public:
 private:
 static std::vectorrtl::OString aLanguages;
 static std::vectorrtl::OString aForcedLanguages;
-std::mapOString,OString aOrigListItems;
 
 sal_Bool WriteData( ResData *pResData, sal_Bool bCreateNew = sal_False 
);// called befor dest. cur ResData
 sal_Bool WriteExportList( ResData *pResData, ExportList *pExportList,
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 8fb78e3..061d8e6 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -988,7 +988,7 @@ sal_Bool Export::WriteData( ResData *pResData, sal_Bool 
bCreateNew )
 rtl::OString sList( pairedlist );
 WriteExportList( pResData, pResData-pPairedList, sList, bCreateNew );
 if ( bCreateNew )
-pResData-pPairedList = 0;
+pResData-pItemList = 0;
 }
 if ( pResData-pUIEntries ) {
 rtl::OString sList( uientries );
@@ -1694,12 +1694,14 @@ void Export::MergeRest( ResData *pResData, sal_uInt16 
nMode )
 if ( pList )
 nMaxIndex = 
pList-GetSourceLanguageListEntryCount();
 pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
-while( nLIndex  nMaxIndex ) {
+while( pEntrys   ( nLIndex  nMaxIndex )) {
 rtl::OString sText;
-if( !pEntrys || !pEntrys-GetTransex3Text( sText, 
STRING_TYP_TEXT, sCur, sal_True ) )
-sText = aOrigListItems.find(pResData-sId + 
pResData-sGId + pResData-sResTyp)-second;
+sal_Bool bText;
+bText = pEntrys-GetTransex3Text( sText, 
STRING_TYP_TEXT, sCur, sal_True );
+if( !bText )
+bText = pEntrys-GetTransex3Text( sText , 
STRING_TYP_TEXT, SOURCE_LANGUAGE , sal_False );
 
-if (!sText.isEmpty())
+if ( bText  !sText.isEmpty())
 {
 if ( nIdx == 1 )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: pyuno/source

2012-12-09 Thread Libreoffice Gerrit user
 pyuno/source/loader/pythonloader.py |4 ++--
 pyuno/source/module/unohelper.py|8 
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit a0f86c9c1d2ec16f87688a16a52f3e40e3e04391
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:16:08 2012 +0100

Python/pep8: fix E711 (is or is not None instead of = or !=) in pyuno module

Change-Id: I8ee9abc9a31a6d7791a006ed589d83d5858de267

diff --git a/pyuno/source/loader/pythonloader.py 
b/pyuno/source/loader/pythonloader.py
index 03bf7d2..bc09725 100644
--- a/pyuno/source/loader/pythonloader.py
+++ b/pyuno/source/loader/pythonloader.py
@@ -134,7 +134,7 @@ class Loader( XImplementationLoader, XServiceInfo, 
unohelper.Base ):
 implHelper = mod.__dict__.get( g_ImplementationHelper , None )
 if DEBUG:
 print (Fetched ImplHelper as  + str(implHelper))
-if implHelper == None:
+if implHelper is None:
 return mod.getComponentFactory( implementationName, 
self.ctx.ServiceManager, regKey )
 else:
 return implHelper.getComponentFactory( 
implementationName,regKey,self.ctx.ServiceManager)
@@ -145,7 +145,7 @@ class Loader( XImplementationLoader, XServiceInfo, 
unohelper.Base ):
 
 mod = self.getModuleFromUrl( locationUrl )
 implHelper = mod.__dict__.get( g_ImplementationHelper , None )
-if implHelper == None:
+if implHelper is None:
 return mod.writeRegistryInfo( self.ctx.ServiceManager, regKey )
 else:
 return implHelper.writeRegistryInfo( regKey, 
self.ctx.ServiceManager )
diff --git a/pyuno/source/module/unohelper.py b/pyuno/source/module/unohelper.py
index 966080e..28c9ffd 100644
--- a/pyuno/source/module/unohelper.py
+++ b/pyuno/source/module/unohelper.py
@@ -145,19 +145,19 @@ class ImplementationHelper:
 
 def getComponentFactory( self, implementationName , regKey, smgr ):
 entry = self.impls.get( implementationName, None )
-if entry == None:
+if entry is None:
 raise RuntimeException( implementationName +  is unknown , None )
 return createSingleServiceFactory( entry.ctor, implementationName, 
entry.serviceNames )
 
 def getSupportedServiceNames( self, implementationName ):
 entry = self.impls.get( implementationName, None )
-if entry == None:
+if entry is None:
 raise RuntimeException( implementationName +  is unknown , None )
 return entry.serviceNames
 
 def supportsService( self, implementationName, serviceName ):
 entry = self.impls.get( implementationName,None )
-if entry == None:
+if entry is None:
 raise RuntimeException( implementationName +  is unknown, None )
 return serviceName in entry.serviceNames
 
@@ -265,7 +265,7 @@ class CurrentContext(XCurrentContext, Base ):
 def getValueByName( self, name ):
 if name in self.hashMap:
 return self.hashMap[name]
-elif self.oldContext != None:
+elif self.oldContext is not None:
 return self.oldContext.getValueByName( name )
 else:
 return None
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: l10ntools/source

2012-12-09 Thread Libreoffice Gerrit user
 l10ntools/source/export.cxx |4 
 1 file changed, 4 deletions(-)

New commits:
commit be487d6ee1b97901a903fe5c6dd7ab2cad702b04
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Sun Dec 9 23:12:06 2012 +0100

Fix result of wrong revert order

Change-Id: Ifebe135badbda741d768d2680267623aff6c2b56

diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index c709ace..13870da 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -1531,7 +1531,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 }
 
 PFormEntrys *pEntrys = pMergeDataFile-GetPFormEntrys( pResData );
-const OString sKey = pResData-sId + pResData-sGId + pResData-sResTyp;
 pResData-sId = sOldId;
 pResData-sGId = sOldGId;
 pResData-sResTyp = sOldTyp;
@@ -1549,9 +1548,6 @@ sal_Bool Export::PrepareTextToMerge(rtl::OString rText, 
sal_uInt16 nTyp,
 return sal_False; // no data found
 }
 
-if (rLangIndex == en-US)
-
aOrigListItems.insert(std::pairOString,OString(sKey,rText.copy(nStart+1,nEnd-nStart-1)));
-
 if (Export::isSourceLanguage(rLangIndex))
 return sal_False;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: wizards/com

2012-12-09 Thread Libreoffice Gerrit user
 wizards/com/sun/star/wizards/agenda/AgendaTemplate.py |4 +-
 wizards/com/sun/star/wizards/letter/LetterDocument.py |   14 +-
 wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py |   14 +-
 3 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit 36638e6a876fbeb6217e7ea4ee00fbc022a013c8
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:23:27 2012 +0100

Python/pep8: fix E711 (is or is not None instead of = or !=) in letter 
module

Change-Id: Ic6ff028008aea87d1bf2126dccd2afb1bf3733d2

diff --git a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py 
b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
index c16dd7c..54be369 100644
--- a/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
+++ b/wizards/com/sun/star/wizards/agenda/AgendaTemplate.py
@@ -560,8 +560,8 @@ class AgendaTemplate(TextDocument):
 paraStyle = Range.ParaStyleName
 Range.setString(text)
 Range.ParaStyleName = paraStyle
-if text == None or text == :
-if placeholder != None and not placeholder == :
+if text is None or text == :
+if placeholder is not None and not placeholder == :
 placeHolder = createPlaceHolder(
 self.xTextDocument, placeholder,
 self.resources.resPlaceHolderHint)
diff --git a/wizards/com/sun/star/wizards/letter/LetterDocument.py 
b/wizards/com/sun/star/wizards/letter/LetterDocument.py
index 75025a2..dd04842 100644
--- a/wizards/com/sun/star/wizards/letter/LetterDocument.py
+++ b/wizards/com/sun/star/wizards/letter/LetterDocument.py
@@ -60,7 +60,7 @@ class LetterDocument(TextDocument):
 FH.updateDateFields()
 
 def switchFooter(self, sPageStyle, bState, bPageNumber, sText):
-if self.xTextDocument != None:
+if self.xTextDocument is not None:
 try:
 self.xTextDocument.lockControllers()
 xNameAccess = self.xTextDocument.StyleFamilies
@@ -94,7 +94,7 @@ class LetterDocument(TextDocument):
 traceback.print_exc()
 
 def hasElement(self, sElement):
-if self.xTextDocument != None:
+if self.xTextDocument is not None:
 SH = TextSectionHandler(self.xMSF, self.xTextDocument)
 return SH.hasTextSectionByName(sElement)
 else:
@@ -137,31 +137,31 @@ class LetterDocument(TextDocument):
 if not self.keepLogoFrame:
 xTF = self.getFrameByName(
 Company Logo, self.xTextDocument)
-if xTF != None:
+if xTF is not None:
 xTF.dispose()
 
 if not self.keepBendMarksFrame:
 xTF = self.getFrameByName(
 Bend Marks, self.xTextDocument)
-if xTF != None:
+if xTF is not None:
 xTF.dispose()
 
 if not self.keepLetterSignsFrame:
 xTF = self.getFrameByName(
 Letter Signs, self.xTextDocument)
-if xTF != None:
+if xTF is not None:
 xTF.dispose()
 
 if not self.keepSenderAddressRepeatedFrame:
 xTF = self.getFrameByName(
 Sender Address Repeated, self.xTextDocument)
-if xTF != None:
+if xTF is not None:
 xTF.dispose()
 
 if not self.keepAddressFrame:
 xTF = self.getFrameByName(
 Sender Address, self.xTextDocument)
-if xTF != None:
+if xTF is not None:
 xTF.dispose()
 
 except Exception:
diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py 
b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 29b802f..e9ace51 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -427,7 +427,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
 self.xDialogModel.numLogoY.Enabled = True
 self.setPossibleLogo(False)
 else:
-if self.BusCompanyLogo != None:
+if self.BusCompanyLogo is not None:
 self.BusCompanyLogo.removeFrame()
 
 self.xDialogModel.numLogoHeight.Enabled = False
@@ -501,7 +501,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
 self.setPossibleSenderData(False)
 
 else:
-if self.BusCompanyAddressReceiver != None:
+if self.BusCompanyAddressReceiver is not None:
 self.BusCompanyAddressReceiver.removeFrame()
 
 self.setPossibleAddressReceiver(True)
@@ -527,7 +527,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
 self.xDialogModel.lblFooterHeight.Enabled = True
 self.setPossibleFooter(False)
 else:
-   

Re: [Libreoffice-commits] .: sal/inc

2012-12-09 Thread Norbert Thiebaud
On Sun, Dec 9, 2012 at 3:37 PM, Lubos Lunak l.lu...@suse.cz wrote:

  And, not to put a too fine point on it, I'd appreciate it if you could try
 something a bit more systematic such as fixing the configure check that's
 been put there for a reason instead of a half-assed band-aid somewhere in the
 code. If you think that's too much work, maybe you'll change your mind as
 you'll have to do this for every place where I add this next.

Maybe he should do like I did. Turn off the tinderbox to avoid
everyone getting spammed ?

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: wizards/com

2012-12-09 Thread Libreoffice Gerrit user
 wizards/com/sun/star/wizards/common/ConfigSet.py |2 -
 wizards/com/sun/star/wizards/common/PropertySetHelper.py |   28 +++
 2 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit 5020526b6e04fe21c0d7027e2e3070dad08dd6d9
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:27:39 2012 +0100

Python/pep8: fix E711 (is or is not None instead of = or !=) in common 
module

Change-Id: I98fc203e5820475cb6849c3708266face92f9403

diff --git a/wizards/com/sun/star/wizards/common/ConfigSet.py 
b/wizards/com/sun/star/wizards/common/ConfigSet.py
index e1a899b..f9b3856 100644
--- a/wizards/com/sun/star/wizards/common/ConfigSet.py
+++ b/wizards/com/sun/star/wizards/common/ConfigSet.py
@@ -192,7 +192,7 @@ class ConfigSet(ConfigNode):
 i = 0
 while i  v.size():
 member = v.get(i)
-if member != None:
+if member is not None:
 Configuration.set((index + 1), indexPropertyName, member)
 
 i += 1
diff --git a/wizards/com/sun/star/wizards/common/PropertySetHelper.py 
b/wizards/com/sun/star/wizards/common/PropertySetHelper.py
index c7d75a5..3736972 100644
--- a/wizards/com/sun/star/wizards/common/PropertySetHelper.py
+++ b/wizards/com/sun/star/wizards/common/PropertySetHelper.py
@@ -47,7 +47,7 @@ class PropertySetHelper(object):
 '''
 
 def setPropertyValue(self, _sName, _aValue):
-if self.m_xPropertySet != None:
+if self.m_xPropertySet is not None:
 try:
 self.m_xPropertySet.setPropertyValue(_sName, _aValue)
 except com.sun.star.beans.UnknownPropertyException, e:
@@ -76,7 +76,7 @@ class PropertySetHelper(object):
 def getPropertyValueAsInteger(self, _sName, _nDefault):
 aObject = None
 nValue = _nDefault
-if self.m_xPropertySet != None:
+if self.m_xPropertySet is not None:
 try:
 aObject = self.m_xPropertySet.getPropertyValue(_sName)
 except com.sun.star.beans.UnknownPropertyException, e:
@@ -84,7 +84,7 @@ class PropertySetHelper(object):
 except com.sun.star.lang.WrappedTargetException, e:
 DebugHelper.writeInfo(e.getMessage())
 
-if aObject != None:
+if aObject is not None:
 try:
 nValue = NumericalHelper.toInt(aObject)
 except ValueError, e:
@@ -103,7 +103,7 @@ class PropertySetHelper(object):
 def getPropertyValueAsShort(self, _sName, _nDefault):
 aObject = None
 nValue = _nDefault
-if self.m_xPropertySet != None:
+if self.m_xPropertySet is not None:
 try:
 aObject = self.m_xPropertySet.getPropertyValue(_sName)
 except com.sun.star.beans.UnknownPropertyException, e:
@@ -111,7 +111,7 @@ class PropertySetHelper(object):
 except com.sun.star.lang.WrappedTargetException, e:
 DebugHelper.writeInfo(e.getMessage())
 
-if aObject != None:
+if aObject is not None:
 try:
 nValue = NumericalHelper.toShort(aObject)
 except ValueError, e:
@@ -129,7 +129,7 @@ class PropertySetHelper(object):
 def getPropertyValueAsDouble(self, _sName, _nDefault):
 aObject = None
 nValue = _nDefault
-if self.m_xPropertySet != None:
+if self.m_xPropertySet is not None:
 try:
 aObject = self.m_xPropertySet.getPropertyValue(_sName)
 except com.sun.star.beans.UnknownPropertyException, e:
@@ -139,11 +139,11 @@ class PropertySetHelper(object):
 
 # TODO: I wonder why the same thing is not done in the rest of the
 # getPropertyValueAs* functions...
-if aObject == None:
+if aObject is None:
 if _sName in self.m_aHashMap:
 aObject = self.m_aHashMap[_sName]
 
-if aObject != None:
+if aObject is not None:
 try:
 nValue = NumericalHelper.toDouble(aObject)
 except ValueError, e:
@@ -161,7 +161,7 @@ class PropertySetHelper(object):
 def getPropertyValueAsBoolean(self, _sName, _bDefault):
 aObject = None
 bValue = _bDefault
-if self.m_xPropertySet != None:
+if self.m_xPropertySet is not None:
 try:
 aObject = self.m_xPropertySet.getPropertyValue(_sName)
 except com.sun.star.beans.UnknownPropertyException, e:
@@ -171,7 +171,7 @@ class PropertySetHelper(object):
 except com.sun.star.lang.WrappedTargetException, e:
 DebugHelper.writeInfo(e.getMessage())
 
-if aObject != None:
+if aObject is not None:
 try:
 bValue = NumericalHelper.toBoolean(aObject)
 except ValueError, e:
@@ -189,7 +189,7 @@ class PropertySetHelper(object):
 def getPropertyValueAsString(self, _sName, _sDefault):
 aObject = None
 

[Libreoffice-commits] .: wizards/com

2012-12-09 Thread Libreoffice Gerrit user
 wizards/com/sun/star/wizards/document/OfficeDocument.py |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fbfda39d26da6747edb3a4c6d593be7e6b2b0f1d
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:28:58 2012 +0100

Python/pep8: fix E711 in document module

Change-Id: I76efd29101d191fae6560d177a79710329ac2596

diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py 
b/wizards/com/sun/star/wizards/document/OfficeDocument.py
index 69391bb..8abc1e1 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.py
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py
@@ -64,7 +64,7 @@ class OfficeDocument(object):
 
 def dispose(self, xMSF, xComponent):
 try:
-if xComponent != None:
+if xComponent is not None:
 xFrame = xComponent.CurrentController.Frame
 if xComponent.isModified():
 xComponent.setModified(False)
@@ -228,7 +228,7 @@ class OfficeDocument(object):
 
 def close(self, xComponent):
 bState = False
-if xComponent != None:
+if xComponent is not None:
 try:
 xComponent.close(True)
 bState = True
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: wizards/com

2012-12-09 Thread Libreoffice Gerrit user
 wizards/com/sun/star/wizards/ui/ImageList.py |4 ++--
 wizards/com/sun/star/wizards/ui/UnoDialog.py |8 
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit c9bce39210b51e537b7eacd05e6af796a510f52b
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:31:47 2012 +0100

Python/pep8: fix E711 in wizards/../ui module

Change-Id: Ia54399c218e9d402ce09fe652908c584bf0d02b1

diff --git a/wizards/com/sun/star/wizards/ui/ImageList.py 
b/wizards/com/sun/star/wizards/ui/ImageList.py
index b743afa..10e3ff4 100644
--- a/wizards/com/sun/star/wizards/ui/ImageList.py
+++ b/wizards/com/sun/star/wizards/ui/ImageList.py
@@ -327,7 +327,7 @@ class ImageList(object):
 
 @synchronized(lock)
 def addItemListener(self, listener):
-if self.itemListenerList == None:
+if self.itemListenerList is None:
 self.itemListenerList = java.util.ArrayList.ArrayList()
 
 self.itemListenerList.append(listener)
@@ -339,7 +339,7 @@ class ImageList(object):
 
 @synchronized(lock)
 def removeItemListener(self, listener):
-if self.itemListenerList != None:
+if self.itemListenerList is not None:
 self.itemListenerList.remove(listener)
 
 '''
diff --git a/wizards/com/sun/star/wizards/ui/UnoDialog.py 
b/wizards/com/sun/star/wizards/ui/UnoDialog.py
index 9671367..a5b1d18 100644
--- a/wizards/com/sun/star/wizards/ui/UnoDialog.py
+++ b/wizards/com/sun/star/wizards/ui/UnoDialog.py
@@ -180,19 +180,19 @@ class UnoDialog(object):
 '''
 
 def executeDialog(self, FramePosSize):
-if self.xUnoDialog.getPeer() == None:
+if self.xUnoDialog.getPeer() is None:
 raise AttributeError(
 Please create a peer, using your own frame)
 
 self.calculateDialogPosition(FramePosSize)
 
-if self.xWindowPeer == None:
+if self.xWindowPeer is None:
 self.createWindowPeer()
 return self.xUnoDialog.execute()
 
 def setVisible(self, parent):
 self.calculateDialogPosition(parent.xWindow.getPosSize())
-if self.xWindowPeer == None:
+if self.xWindowPeer is None:
 self.createWindowPeer()
 
 self.xUnoDialog.setVisible(True)
@@ -237,7 +237,7 @@ class UnoDialog(object):
 def createWindowPeer(self, parentPeer=None):
 self.xUnoDialog.setVisible(False)
 xToolkit = self.xMSF.createInstance(com.sun.star.awt.Toolkit)
-if parentPeer == None:
+if parentPeer is None:
 parentPeer = xToolkit.getDesktopWindow()
 
 self.xUnoDialog.createPeer(xToolkit, parentPeer)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: wizards/com

2012-12-09 Thread Libreoffice Gerrit user
 wizards/com/sun/star/wizards/web/BackgroundsDialog.py |4 ++--
 wizards/com/sun/star/wizards/web/IconsDialog.py   |4 ++--
 wizards/com/sun/star/wizards/web/WWD_Events.py|   10 +-
 wizards/com/sun/star/wizards/web/WebWizardDialog.py   |2 +-
 wizards/com/sun/star/wizards/web/data/CGDocument.py   |   10 +-
 5 files changed, 15 insertions(+), 15 deletions(-)

New commits:
commit 50bdce1a194d8a9ba5c1e2bc4fb622023d3009a3
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:36:34 2012 +0100

Python/pep8: fix E711 in wizards/../web module

Change-Id: I1efbf6ed09cefb5d69ac615d77cfee7eff6383f2

diff --git a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py 
b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
index 9d100b0..640daee 100644
--- a/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
+++ b/wizards/com/sun/star/wizards/web/BackgroundsDialog.py
@@ -56,7 +56,7 @@ class BackgroundsDialog(ImageListDialog):
 def other(self):
 filename = self.sd.callOpenDialog(
 False, self.settings.cp_DefaultSession.cp_InDirectory)
-if filename != None and filename.length  0 and filename[0] != None:
+if filename is not None and filename.length  0 and filename[0] is not 
None:
 self.settings.cp_DefaultSession.cp_InDirectory = \
 FileAccess.getParentDir(filename[0])
 i = add(filename[0])
@@ -107,7 +107,7 @@ class BackgroundsDialog(ImageListDialog):
 self.cut = cut_
 
 def getImageUrls(self, listItem):
-if listItem != None:
+if listItem is not None:
 sRetUrls = range(1)
 sRetUrls[0] = listItem
 return sRetUrls
diff --git a/wizards/com/sun/star/wizards/web/IconsDialog.py 
b/wizards/com/sun/star/wizards/web/IconsDialog.py
index efac585..ee83a77 100644
--- a/wizards/com/sun/star/wizards/web/IconsDialog.py
+++ b/wizards/com/sun/star/wizards/web/IconsDialog.py
@@ -61,7 +61,7 @@ class IconsDialog(ImageListDialog):
 self.build()
 
 def getIconset(self):
-if getSelected() == None:
+if getSelected() is None:
 return None
 else:
 return self.set.getKey((getSelected()) / len(self.icons))
@@ -91,7 +91,7 @@ class IconsDialog(ImageListDialog):
 return sRetUrls
 
 def render(self, object):
-if object == None:
+if object is None:
 return 
 
 i = (object).intValue()
diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py 
b/wizards/com/sun/star/wizards/web/WWD_Events.py
index 9b48ceb..427b428 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -340,7 +340,7 @@ class WWD_Events(WWD_Startup):
 '''
 
 def setBackground(self, background):
-if background == None:
+if background is None:
 background = 
 
 WWD_Startup.settings.cp_DefaultSession.cp_Design.cp_BackgroundImage \
@@ -390,7 +390,7 @@ class WWD_Events(WWD_Startup):
 updates the ui
 '''
 def setPublishUrl(self, publisher, url, number):
-if url == None:
+if url is None:
 return None
 
 p = getPublisher(publisher)
@@ -465,7 +465,7 @@ class WWD_Events(WWD_Startup):
 
 def documentPreview(self):
 try:
-if self.docPreview == None:
+if self.docPreview is None:
 self.docPreview = TOCPreview(
 self.xMSF, settings, resources,
 stylePreview.tempDir, myFrame)
@@ -653,7 +653,7 @@ class WWD_Events(WWD_Startup):
 # first I check if a session with the given name exists
 try:
 node = Configuration.getNode(name, conf)
-if node != None:
+if node is not None:
 if not AbstractErrorHandler.showMessage(
 self.xMSF, self.xUnoDialog.Peer,
 resources.resSessionExists.replace(${NAME}, 
name),
@@ -755,7 +755,7 @@ class WWD_Events(WWD_Startup):
 '''
 p = getPublisher(FTP_PUBLISHER)
 # if ftp is checked, and no proxies are set, and password is empty...
-if p.cp_Publish and not proxies and p.password == None or \
+if p.cp_Publish and not proxies and p.password is None or \
 p.password == :
 if showFTPDialog(p):
 updatePublishUI(2)
diff --git a/wizards/com/sun/star/wizards/web/WebWizardDialog.py 
b/wizards/com/sun/star/wizards/web/WebWizardDialog.py
index 0fd86c4..f6fbc39 100644
--- a/wizards/com/sun/star/wizards/web/WebWizardDialog.py
+++ b/wizards/com/sun/star/wizards/web/WebWizardDialog.py
@@ -721,7 +721,7 @@ class WebWizardDialog(WizardDialog):
 
 def getImageUrls(self, listItem):
 oResIds = None
-if listItem != None:
+if listItem is not None:

[Libreoffice-commits] .: filter/source

2012-12-09 Thread Libreoffice Gerrit user
 filter/source/config/tools/merge/pyAltFCFGMerge |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d83b27aed3097a8e25e8e56e2af796205f826270
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun Dec 9 23:45:05 2012 +0100

Python/pep8: fix E711 in filter/../pyAltFCFGMerge

Change-Id: I0c6fab8829ad7cc434791a0ef1743eb1d50417d9

diff --git a/filter/source/config/tools/merge/pyAltFCFGMerge 
b/filter/source/config/tools/merge/pyAltFCFGMerge
index b05e37d..e09178d 100755
--- a/filter/source/config/tools/merge/pyAltFCFGMerge
+++ b/filter/source/config/tools/merge/pyAltFCFGMerge
@@ -247,8 +247,8 @@ def readprops(buff):
 
 i += 1
 
-# no dlimiter was found, name is entire line, there is no value
-if name == None:
+# no delimiter was found, name is entire line, there is no value
+if name is None:
 name = unescapestr(line.lstrip())
 
 # skip delimiter
@@ -340,12 +340,12 @@ class ConfigHelper:
 # Do it only, if a valid file name was given.
 # But in case this file name is wrong, throw an exception.
 # So the outside code can react!
-if sPropFile != None and len(sPropFile)  0:
+if sPropFile is not None and len(sPropFile)  0:
 self.props = Properties()
 self.props.read(sPropFile)
 
 count = 0
-if lCommandLineArgs != None:
+if lCommandLineArgs is not None:
 count = len(lCommandLineArgs)
 self.m_bEmpty = (count  1)
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - sal/inc solenv/gbuild vcl/aqua

2012-12-09 Thread Libreoffice Gerrit user
 sal/inc/rtl/ustrbuf.hxx  |7 ---
 solenv/gbuild/platform/macosx.mk |3 +
 vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm |2 -
 vcl/aqua/source/app/salinst.cxx  |2 -
 vcl/aqua/source/dtrans/DataFlavorMapping.cxx |2 -
 vcl/aqua/source/gdi/aquaprintaccessoryview.mm|6 +--
 vcl/aqua/source/gdi/aquaprintview.mm |2 -
 vcl/aqua/source/gdi/atsui/salatslayout.cxx   |2 -
 vcl/aqua/source/gdi/salbmp.cxx   |4 +-
 vcl/aqua/source/gdi/salgdicommon.cxx |   36 +--
 vcl/aqua/source/gdi/salgdiutils.cxx  |2 -
 vcl/aqua/source/gdi/salprn.cxx   |2 -
 vcl/aqua/source/gdi/salvd.cxx|2 -
 vcl/aqua/source/window/salframe.cxx  |   14 +++
 vcl/aqua/source/window/salframeview.mm   |6 +--
 vcl/aqua/source/window/salnsmenu.mm  |   15 ---
 vcl/aqua/source/window/salobj.cxx|4 +-
 17 files changed, 53 insertions(+), 58 deletions(-)

New commits:
commit 782c243045a1c7ee95b2d7ea6bca64812a9049e1
Author: Tor Lillqvist t...@iki.fi
Date:   Mon Dec 10 01:19:27 2012 +0200

Fix error: no matching function for call to 'sal_n_array_size'

Change-Id: I8c5eb0f36d2be76182c3aae68fd9fa0b25a624c5

diff --git a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx 
b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
index 80ec5c3..01dbde5 100644
--- a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
+++ b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
@@ -515,7 +515,7 @@ DataFlavor 
DataFlavorMapper::systemToOpenOfficeFlavor(NSString* systemDataFlavor
   if ([systemDataFlavor caseInsensitiveCompare: flavorMap[i].SystemFlavor] 
== NSOrderedSame)
 {
   oOOFlavor.MimeType = 
OUString::createFromAscii(flavorMap[i].OOoFlavor);
-  oOOFlavor.HumanPresentableName = 
OUString(RTL_CONSTASCII_USTRINGPARAM(flavorMap[i].HumanPresentableName));
+  oOOFlavor.HumanPresentableName = 
OUString::createFromAscii(flavorMap[i].HumanPresentableName);
   oOOFlavor.DataType = flavorMap[i].DataTypeOUString ? getCppuType( 
(OUString*)0 ) : getCppuType((Sequencesal_Int8*)0);
   return oOOFlavor;
 }
commit e8edaed36e50ee33d1d241ce7ebfbeb0911ccf02
Author: Tor Lillqvist t...@iki.fi
Date:   Mon Dec 10 01:08:40 2012 +0200

WaE: narrowing from int/long to float in initializer list 
(-Wc++11-narrowing)

Warnings from Clang now with -std=gnu++0x.

Change-Id: I3a77e3171b0a298d8a35dd18270453a8a0bc4f07

diff --git a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm 
b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
index 74f8153..db4e94e 100644
--- a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
+++ b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
@@ -98,7 +98,7 @@ using namespace ::rtl;
 
 +(void)addColor:(sal_Int32)salColor forAttribute:(NSString *)attribute 
andRange:(NSRange)range toString:(NSMutableAttributedString *)string {
 if ( salColor != -1 ) {
-CGFloat elements[] = { salColor  0x00ff, salColor  0xff00, 
salColor  0x00ff };
+CGFloat elements[] = { static_castCGFloat(salColor  0x00ff), 
static_castCGFloat(salColor  0xff00), static_castCGFloat(salColor  
0x00ff) };
 CGColorRef color = CGColorCreate ( CGColorSpaceCreateWithName ( 
kCGColorSpaceGenericRGB ), elements );
 [ string addAttribute: attribute value: (id) color range: range ];
 CGColorRelease ( color );
diff --git a/vcl/aqua/source/app/salinst.cxx b/vcl/aqua/source/app/salinst.cxx
index 90a3fa7..715005d 100644
--- a/vcl/aqua/source/app/salinst.cxx
+++ b/vcl/aqua/source/app/salinst.cxx
@@ -1303,7 +1303,7 @@ NSImage* CreateNSImage( const Image rImage )
 NSGraphicsContext* pContext = [NSGraphicsContext currentContext];
 CGContextRef rCGContext = reinterpret_castCGContextRef([pContext 
graphicsPort]);
 
-const CGRect aDstRect = { {0, 0}, { aSize.Width(), aSize.Height() } };
+const CGRect aDstRect = { {0, 0}, { 
static_castCGFloat(aSize.Width()), static_castCGFloat(aSize.Height()) } };
 CGContextDrawImage( rCGContext, aDstRect, xImage );
 
 [pImage unlockFocus];
diff --git a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm 
b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
index 643b6df..3dba1c4 100644
--- a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
+++ b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
@@ -799,7 +799,7 @@ static void addBool( NSView* pCurParent, long rCurX, long 
rCurY, long nAttachO
 ControlTarget* pCtrlTarget
 )
 {
-NSRect aCheckRect = { { rCurX + nAttachOffset, 0 }, { 0, 15 } };
+NSRect aCheckRect = { { static_castCGFloat(rCurX + nAttachOffset), 0 }, 
{ 0, 15 } };
 NSButton* pBtn = [[NSButton alloc] initWithFrame: 

[Libreoffice-commits] .: svx/inc svx/source

2012-12-09 Thread Libreoffice Gerrit user
 svx/inc/svx/compressgraphicdialog.hxx   |2 +-
 svx/source/dialog/compressgraphicdialog.cxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 99de6a78be62ad2a042270274b060e0c7ce7a45c
Author: David Tardon dtar...@redhat.com
Date:   Mon Dec 10 06:23:16 2012 +0100

do not return reference to a local object

regression introduced by fdb7fe63db5ba17036a71fe4f7f25f834bef8f95

Change-Id: Id3f89b61b464763a37c5f063c0d541154ec40105

diff --git a/svx/inc/svx/compressgraphicdialog.hxx 
b/svx/inc/svx/compressgraphicdialog.hxx
index 231947e..af5dae5 100644
--- a/svx/inc/svx/compressgraphicdialog.hxx
+++ b/svx/inc/svx/compressgraphicdialog.hxx
@@ -82,7 +82,7 @@ public:
 virtual ~CompressGraphicsDialog();
 
 SdrGrafObj* GetCompressedSdrGrafObj();
-GraphicGetCompressedGraphic();
+Graphic GetCompressedGraphic();
 };
 
 #endif
diff --git a/svx/source/dialog/compressgraphicdialog.cxx 
b/svx/source/dialog/compressgraphicdialog.cxx
index 387a64e..af70c4d 100644
--- a/svx/source/dialog/compressgraphicdialog.cxx
+++ b/svx/source/dialog/compressgraphicdialog.cxx
@@ -346,7 +346,7 @@ SdrGrafObj* 
CompressGraphicsDialog::GetCompressedSdrGrafObj()
 return NULL;
 }
 
-Graphic CompressGraphicsDialog::GetCompressedGraphic()
+Graphic CompressGraphicsDialog::GetCompressedGraphic()
 {
 if ( m_dResolution  0  )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [ATTENTION] Git repo move to gerrit.libreoofice.org

2012-12-09 Thread David Tardon
Hi,

On Wed, Dec 05, 2012 at 07:12:07PM -0600, Norbert Thiebaud wrote:
 Dear all,
 
 I've clone the remainder of the active git repo that are on fdo to gerrit
 
 that include
 
 contrib/buildbot
 contrib/libvisio
 contrib/test-files
 cppunit
 libcdr
 libexttextcat
 libmspub
 templates
 voting

Minor nitpick: could we move libvisio one level up?

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on|40421   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 44446] LibreOffice 3.6 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on||40421

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 37361] LibreOffice 3.5 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on|43318   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 44446] LibreOffice 3.6 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on||43318

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: Branch 'libreoffice-4-0' - connectivity/source

2012-12-09 Thread Libreoffice Gerrit user
 connectivity/source/drivers/odbcbase/OTools.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 23b9b17a0dadc87540e4274397d4be9ff48bbc78
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sat Dec 8 23:43:19 2012 +0100

Add missing breaks

Change-Id: Icaa08718c37c2c8823a21b6a3ae4ef8b62b52550
(cherry picked from commit 44b0bf91df1af9920b1c22a2f54bd70c9c44231b)

Signed-off-by: David Tardon dtar...@redhat.com

diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx 
b/connectivity/source/drivers/odbcbase/OTools.cxx
index a868b0b..290aa61 100644
--- a/connectivity/source/drivers/odbcbase/OTools.cxx
+++ b/connectivity/source/drivers/odbcbase/OTools.cxx
@@ -682,8 +682,10 @@ SQLSMALLINT OTools::jdbcTypeToOdbc(sal_Int32 jdbcType)
 // ODBC doesn't have any notion of CLOB or BLOB
 case DataType::CLOB:
 odbcType = SQL_LONGVARCHAR;
+break;
 case DataType::BLOB:
 odbcType = SQL_LONGVARBINARY;
+break;
 }
 
 return odbcType;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [REVIEWED 4.0] Missing breaks in connectivity/source/drivers/odbcbase/OTools.cxx

2012-12-09 Thread David Tardon
Hi,

On Sat, Dec 08, 2012 at 02:50:14PM -0800, julien2412 wrote:
 Hello,
 
 Could someone check commit 44b0bf91df1af9920b1c22a2f54bd70c9c44231b for
 cherry-picking in 4.0?

Done.

D.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [ATTENTION] Git repo move to gerrit.libreoofice.org

2012-12-09 Thread Norbert Thiebaud
On Sun, Dec 9, 2012 at 11:37 PM, David Tardon dtar...@redhat.com wrote:
 Hi,

 On Wed, Dec 05, 2012 at 07:12:07PM -0600, Norbert Thiebaud wrote:
 Dear all,

 I've clone the remainder of the active git repo that are on fdo to gerrit

 that include

 contrib/buildbot
 contrib/libvisio
 contrib/test-files
 cppunit
 libcdr
 libexttextcat
 libmspub
 templates
 voting

 Minor nitpick: could we move libvisio one level up?

on gerrit they are all at the top level
on fdo, this is not something I can do (no admin rights there)
beside I think that Fridrich wanted it to stay under contrib IIRC.

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 3 commits - boost/boost_1_44_0-clang-warnings.patch boost/boost.7551.unusedvars.patch slideshow/source

2012-12-09 Thread Libreoffice Gerrit user
 boost/boost.7551.unusedvars.patch |2 -
 boost/boost_1_44_0-clang-warnings.patch   |   12 
+-
 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm |2 -
 3 files changed, 13 insertions(+), 3 deletions(-)

New commits:
commit 7f78980ea260999c88878e362a4d6948d41ddbd8
Author: Tor Lillqvist t...@iki.fi
Date:   Mon Dec 10 09:05:57 2012 +0200

WaE: non-constant-expression cannot be narrowed to float in initializer list

More of the -Wc++11-narrowing warnings.

Change-Id: If371de0f480119d9b6f5fdc10b67484eb63c9d61

diff --git a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm 
b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
index 963f072..3a260e3 100644
--- a/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
+++ b/slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl.mm
@@ -379,7 +379,7 @@ bool OGLTransitionerImpl::initWindowFromSlideShowView( 
const Reference presenta
 Window *pFrameWindow = pPWindow-GetWindow(WINDOW_FRAME);
 Size aFrameSize( pFrameWindow-GetSizePixel() );
 Point aScreen( pPWindow-OutputToScreenPixel( Point() ) );
-GLWin.aInitFrame = (NSRect){ { aScreen.X(), aFrameSize.Height() - 
GLWin.Height - aScreen.Y() }, { GLWin.Width, GLWin.Height } };
+GLWin.aInitFrame = (NSRect){ { static_castCGFloat(aScreen.X()), 
static_castCGFloat(aFrameSize.Height() - GLWin.Height - aScreen.Y()) }, { 
static_castCGFloat(GLWin.Width), static_castCGFloat(GLWin.Height) } };
 
 GLWin.pAquaOpenGLView = (AquaOpenGLView *)[[NSOpenGLView 
alloc]initWithFrame: GLWin.aInitFrame pixelFormat: fmt];
 OSL_ENSURE(GLWin.pAquaOpenGLView, Could not create NSOPenGLView);
commit 6981889b0ab9618defa81d7a59f87aada05adc5e
Author: Tor Lillqvist t...@iki.fi
Date:   Mon Dec 10 08:52:34 2012 +0200

WaE: unused parameter

Change-Id: Idd9e548ac4258332d741bd7bb1d39d521d8e5c7a

diff --git a/boost/boost_1_44_0-clang-warnings.patch 
b/boost/boost_1_44_0-clang-warnings.patch
index f48910e..cf7603a 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -97,4 +97,14 @@
  }
  }
  
-
+--- misc/boost_1_44_0/boost/random/discard_block.hpp
 misc/build/boost_1_44_0/boost/random/discard_block.hpp
+@@ -76,7 +76,7 @@
+ 
+   result_type min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return 
(_rng.min)(); }
+   result_type max BOOST_PREVENT_MACRO_SUBSTITUTION () const { return 
(_rng.max)(); }
+-  static bool validation(result_type x) { return true; }  // dummy
++  static bool validation(result_type) { return true; }  // dummy
+ 
+ #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
+ 
commit 56ec8f4ef1935af73b874ab11928bac4c867b40a
Author: Tor Lillqvist t...@iki.fi
Date:   Mon Dec 10 08:39:51 2012 +0200

Fix warning: missing header for unified diff at line 3 of patch

Change-Id: Ie52c139ee7cb4f7f2bb8f6d5225eed200e1fdc00

diff --git a/boost/boost.7551.unusedvars.patch 
b/boost/boost.7551.unusedvars.patch
index 839f925..a80d4a1 100644
--- a/boost/boost.7551.unusedvars.patch
+++ b/boost/boost.7551.unusedvars.patch
@@ -1,5 +1,5 @@
 --- misc/boost_1_44_0/boost/date_time/tz_db_base.hpp
 misc/build/boost_1_44_0/boost/date_time/tz_db_base.hpp
 misc/build/boost_1_44_0/boost/date_time/tz_db_base.hpp
 @@ -170,7 +170,6 @@
/*! May throw data_not_accessible, or bad_field_count exceptions */
void load_from_file(const std::string pathspec)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 Depends on||58069

--- Comment #45 from Rainer Bielefeld libreoff...@bielefeldundbuss.de ---
I add Bug 58069 - FILESAVE in different path structure destroys relative
hyperlinks: blocker!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Installing our CLI DLLs on Windows XP SP3 with .NET 2.0 and 3.5 (but no newer) fails

2012-12-09 Thread Tor Lillqvist
This is probably nothing new, but something I just recently became
aware of, using my build from the libreoffice-4-0 branch. I am not
sure if I have interpreted my testing correctly, please discuss.

Firstly, a vanilla Windows XP SP3 has no .NET Framework on it. Not
even 2.0.  That doesn't seem to hurt installing LibreOffice's managed
code DLLs (cli*.dll, policy.1.0.cli_*.dll).  Both my build and the TDF
build installs fine.

However, if the XP machine has .NET 3.5 (as the test virtual machine I
usually have used has, I don't recall why it has it), you will see a
mysterious and rather useless error message during installation:
Error 1304.Error writing to file cli_uretypes.dll. Verify that you
have access to that directory. After that the installation fails.

For the TDF LibO-Dev_4.0.0.0.beta1_Win_x86_install_multi.msi I get
otherwise the same error, but for cli_basetypes.dll.

If you look in the msiexec log file (at least if you have run msiexec
from the command line, and turned on verbose logging), you will see:
The assembly is built by a runtime newer than the currently loaded
runtime, and cannot be loaded.

But of course, the log file doesn't say which versions exactly it is
referring to... As far as I can see from link -dump -clrheader, the
cli_uretypes.dll requires .NET 2.05, which certainly should be
available on the machine, as it has even .NET 3.5?

Have we had any bug reports about this problem earlier? Or have we
been lucky, and always built the TDF builds on machines with a very
conservative selection of tool-chain(s) installed, or something?n

As far as I could see, the relevant tools that got used for my test are:
C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe:
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.5420
for Microsoft (R) .NET Framework version 3.5

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\al.exe:
Microsoft (R) Assembly Linker version 9.0.30729.1

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\sn.exe:
Microsoft (R) .NET Framework Strong Name Utility  Version 3.5.30729.1

I will try to tweak the PATH used in config_host.mk and see if I can
make the installation error go away if I use older versions of csc.exe
and/or al.exe and sn.exe...

Or could it be the MSI tool-chain used that causes this? I see in
config_host.mk that also Windows SDK 7.1A is involved in PATH, maybe
they get picked up from there, hmm.

Anyway, we probably need to make sure in configure.ac (and oowintool
which is still used in the 4.0 branch) that we use exactly the right
versions of tools. not too new ones, to avoid this problem.

Or is this a problem? Maybe we just should note in the release notes
that we require either the newest .NET Framework client (4.0) to be
installed, or none at all (which can be the case only on XP, I think).
If we do this, we probably should add some test to the installer so
that it checks the presence of .NET and gives an understandable error
message if a too old version is detected.

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 58040] FILEOPEN: Writer hangs when opening large files.

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58040

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Priority|medium  |high
 CC||emir_s...@msn.com
 Ever confirmed|0   |1

--- Comment #1 from Emir Sarı emir_s...@msn.com ---
Confirmed with both 3.6.4.3 and 4.0.0.0 beta1 - OS X 10.7.5

Behaviours:
3.6.4.3- Instantly opens, fast scrolling, but inability to edit file, cursor
does not even blink, consistent hanging. CPU tops 100+%

4.0.0.0 beta 1- Hanging while opening, other than that same with above. Hangs
the whole system with SSD. It didn't hang like for 40 seconds, 'cause I have a
SSD, but it was still pretty much.

-- 
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 49113] Writer crashes when opening file

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49113

ig...@yandex.ru changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from ig...@yandex.ru ---
LibreOffice 3.6.4.3 Windows 7 x64
Now no problem with this file.

-- 
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 55561] Formula Create a PDF with the code of LO Formular and in background some formula

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55561

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #5 from Emir Sarı emir_s...@msn.com ---
Confirmed using 4.0.0.0 beta1 on OS X 10.7.5

Same behaviour when exported to PDF as Maximiliano's attached PDF document.

-- 
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 57962] beta 1 don't start on Ubuntu 12.04 (failed loading of ucpgvfs1.uno.so)

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57962

--- Comment #2 from Emir Sarı emir_s...@msn.com ---
Any users that can reproduce this on a non-Linux machine?

-- 
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 57779] LibreLogo 0.2 starts with scripting framework error

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57779

--- Comment #4 from thack...@nexgo.de ---
Hello László, *,
(In reply to comment #3)
 Unfortunately, this extension hasn't supported Python 3.3 of LibreOffice
 4.0, so the solution is to install the extension in a LibO 3.x or use the
 inner LibreLogo of LibreOffice 4.0 alpha. (Check View-Toolbars-Logo in
 Writer). 

well, as I have written below the error report, I have tested it with my
installed 3.6.3 as well, but got the same error message ... :(

 The language of the Logo commands is the language of the actual document or
 – without the relevant translation – English. The German translation of the
 Logo commands is in the
 libreoffice_installation_path/share/Scripts/python/LibreLogo/Librelogo_de.
 properties file. It seems, some of the commands has already been translated
 in the beta 1, eg. the black color constant, so you can draw a black filled
 circle with 10cm diameter in a German document with the following commands:

Were there no strings in the Pootle instance of LO? I seem to remember, that
someone reported at the Germanophone ML that we should not translate them ...
;)

 fillcolor “schwarz” circle 10cm
 
 After a complete translation, maybe this command line will be
 
 füllfarbe „schwarz“ ring 10cm
 
 (or kreis, I don't know which is the better translation for circle here).

Indeed, Kreis is more used here ... ;)

 I have found a Logo user guide with full German localization, see page 92:
 
 http://www.alancsmith.co.uk/logo/LogoUserGuide151.pdf

Aha, thank you for the link :)

 You can keep the English commands, too, if you want, in the German
 translation, eg:
 
 FORWARD=vorwärts|vw|forward|fd
 
 I will write to the l10n list on Monday, please, send your questions.

Well, i am not subscribed to it, but maybe I will find the time the next days
to look in its archive ... ;)
Thank you for your elaborated answer and have a nice day
Thomas.

-- 
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 55168] Writer functionality request: add options for improving reading of text in Fullscreen Mode

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55168

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #4 from Emir Sarı emir_s...@msn.com ---
This is a valid enhancement request, so setting status to NEW.

-- 
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 57965] save odt to doc containing a table which cross two pages, the format is not right

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57965

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Emir Sarı emir_s...@msn.com ---
Confirmed using LibO 3.6.4.3 on OS X 10.7.5

-- 
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 55876] Improve the look of selected text

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55876

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=57894

-- 
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 57894] Implement OS native highlighting on each component

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57894

Emir Sarı emir_s...@msn.com changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=55876

-- 
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 58041] New: Fatal error lib04.0

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58041

  Priority: medium
Bug ID: 58041
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Fatal error lib04.0
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: jhuniorro...@gmail.com
  Hardware: x86 (IA32)
Status: NEW
   Version: unspecified
 Component: Libreoffice
   Product: LibreOffice

loading component library failed:
file:///opt/lodev4.0/program/../program/ucpgvfs1.uno.so

-- 
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 47594] [FILESAVE/FILEOPEN] Writer badly open (docx) files that he created

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47594

--- Comment #7 from Mateusz quest...@o2.pl ---
Hey

4.0beta1 is much better but still has two, another regressions. 

First: whole table is narrower than should be.

Second: one column disappear altogether. There is something like double border
(neraby Data wystawienia column). At first user must grab 'double border' and
drag it on the left, and next do the same with whole table, but in the right
side. This error doesn't exist neither 3.5.1 nor 4.0alpha0.

-- 
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 58035] CRASH segfault from invalid SQL statement

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58035

Lionel Elie Mamane lio...@mamane.lu changed:

   What|Removed |Added

 CC||olivier.ploton@univ-tours.f
   ||r

--- Comment #1 from Lionel Elie Mamane lio...@mamane.lu ---
(In reply to comment #0)
 A bug search turns up bug 47209 In SQL mode in Queries, Base crashes
 when a second SELECT followed by quotes is entered.  At first glance,
 the backtrace there looks different from mine, and all the SQL
 statements cited in the report are more comples than Olivier's.
 Still, it could be the same problem.

Bug 47209 can only be reproduced in NON debug builds.

This bug can only be reproduced in debug builds.

Looks like a different bug to me.

-- 
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 57959] Report Designer - repeated Java NullPointerExceptions cause freeze in Base

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57959

--- Comment #19 from Lionel Elie Mamane lio...@mamane.lu ---
(In reply to comment #18)
 As a newbie I am not sure what the latest comment means (We shouldn't set
 this bug to highest importance and a blocker.)

It means it should not keep the release of whole LibreOffice 4.0.0 from
happening on Week 6, Feb 4 - Feb 10, 2013 (if it is not fixed by then), which
is the fixed date for that release.

I'm not sure I agree.

 Does this mean that 'we should not spend too much time or effort on this',

No, not much to do with amount of effort to spend.

 'this is not really a bug'

No.

 'people could get along as is' etc

No. It means not big enough of a problem to make the release late and keep
users of other modules from having all the goodyness in 4.0.0.

You also have to realise that this is the commenter's opinion, not the
project's official decision.

 If this is true, my very humble answer would be : What good is a database
 that can not produce reports? Absolutely useless.

Nolo contendere on *my* side (but again, just my opinion).

 This bug has never been fixed since at least Ubuntu 12.04 or LO 3.5.

It is not known to us that this bug is in LibreOffice 3.5.x, for any value of
x, as this bug has been reported against 4.0.0.alpha. Have you reproduced it in
LO 3.5.x? Please give detailed reproduction instructions, exact version, etc.

On the other hand, if this bug is there since the days of 3.5.x and nobody
complained up to now, I cannot justify to the whole project that it should
block 4.0.0, since we already have TWO major releases with that bug in it!

 Consequently Librebase should not be on Ubuntu at all.

We have no control over what is or is not in Ubuntu.

-- 
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 57924] Misplaced buttons on Start Center with Standard toolbar

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57924

Laurent BP jumbo4...@yahoo.fr changed:

   What|Removed |Added

Summary|Misplaced buttons on|Misplaced buttons on Start
   |Welcome view with Standard  |Center with Standard
   |toolbar |toolbar

-- 
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 51126] Text frame box not editable

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51126

--- Comment #4 from Ivo i...@pehabo.nl ---
Also version 3.6.4.3 dutch
text in framebox wich is outside the textarea (example above topmargin) not
selectable with left-click, but will do with right-click and [esc]. If you move
the frame inside the text area, it is reachable again.

-- 
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 57959] Report Designer - repeated Java NullPointerExceptions cause freeze in Base

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57959

--- Comment #20 from rob...@familiegrosskopf.de ---
(In reply to comment #18)
 As a newbie I am not sure what the latest comment means (We shouldn't set
 this bug to highest importance and a blocker. For databases I would only
 choose this, if the whole data of a database could be deleted) Does this
 mean that 'we should not spend too much time or effort on this', or 'this is
 not really a bug' or 'people could get along as is' etc

As Lionel explained: It's a bug, when report-designer doesn't work. But it
isn't a blocker for the whole LO. You don't have values above 'Importance'
highest,  blocker. There was, for example, a bug in LO 3.6.0. When I closed
a database in a special configuration of Linux-rpm and opened it again all data
were lost - tables, queries, forms and reports. How would you call this, when a
non-working-reportbuilder is highest and blocker.

This bug was reported for 4.0.0.0.alpha1. Seems to be a special bug for Linux
with deb-packages.
There is no other open bug-report for report-builder doesn't work. Where is
reported, that it wouldn't work since LO 3.5?

-- 
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 54081] styles formatting - page style - default - modify spacing to content for border not set ..

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54081

--- Comment #4 from th tomhube...@gmail.com ---
Hi,
it's crystal clear except for this part of the phrase for border not set... -
what's the meaning?

regads
tom

-- 
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 43601] Background of main menu inherits previous window contents

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43601

David Burleigh david.burle...@gmx.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 52444] : No one-step export of Master Document as self-sufficient word processing file

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52444

--- Comment #2 from David Burleigh david.burle...@gmx.com ---
This problem persists in version 4.0 Beta1

-- 
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 55696] changed error bar values when copying a chart

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55696

patr...@gmail.com changed:

   What|Removed |Added

Version|3.6.3.2 release |3.6.4.3 rc

-- 
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 51223] EDITING: Cannot undo auto-capitalise with enter

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51223

john.pr...@cantab.net changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

-- 
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 58043] New: truncated files left over?

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58043

  Priority: medium
Bug ID: 58043
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: truncated files left over?
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: lio...@mamane.lu
  Hardware: All
Status: UNCONFIRMED
   Version: 3.6.4.3 rc
 Component: Libreoffice
   Product: LibreOffice

In my libreoffice-3-6 tree, after a make aborted because not enough space on
hard disk, a subsequent make (after freeing enough space on the disk) fails
with errors such as:


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_filter_tiff_test.so


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_filter_tga_test.so


terminate called after throwing an instance of
'CppUnit::DynamicLibraryManagerException'
  what():  Failed to load dynamic library:
/home/master/src/libreoffice/workdirs/libreoffice-3.6/workdir/unxlngx6/LinkTarget/CppunitTest/libtest_hwpfilter_test_hwpfilter.so


My presumption is that these files (or a .o file contained in them) were
created, but left truncated after the ENOSPC error. When the build ofa file
fails after it has been partially written to disk, it should be deleted, else
make will never try to remake it.

Ideally the compiler / linker / ... should do that, but if it does not, we can
wrap each call to a compiler / linker / ... in something like

 set -e; $(CC) $ || ( RET=$?; rm -f $; exit $? )

-- 
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 58029] EDITING: Selecting words in very large documents needs too much time

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58029

--- Comment #3 from David genericinet+libreoffice@gmail.com ---
If the problem does not seem to be ocurring in the test document then try
turning on the page headers  footers. Now click  hold the left mouse button
in the header area and drag the mouse down the document window to select text. 
From then on the delay should be noticed. This caused the delay for me in
larger documents which at first seemed to behave normally.

-- 
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 55361] RTL problem with animation... It's LTR !

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55361

--- Comment #3 from safa alfulaij safaalful...@hotmail.com ---
(In reply to comment #2)
 To clarify the problem, RTL text is reversed before being animated. Then
 once the animation is finished the text is again reversed letter by letter
 until it shows correctly again.

OK
sorry for my little informations :P

is this bug has been solved ?

-- 
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 58044] New: UI: scrollbar not visible when FILEOPEN DOCX file

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58044

  Priority: medium
Bug ID: 58044
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: UI: scrollbar not visible when FILEOPEN DOCX file
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: s-joyemuseq...@vf.uni-konstanz.de
  Hardware: Other
Status: UNCONFIRMED
   Version: unspecified
 Component: Writer
   Product: LibreOffice

Scroll bar is not visible when opening a .DOCX file. Also missing is the text
Importing document (see .doc files) or Loading document (see .odt or .rtf
files).

This inconsistency is there since LO 3.3.X.

-- 
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 58045] New: Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58045

  Priority: medium
Bug ID: 58045
  Keywords: regression
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Extensionname: test
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: programm...@ertai.nl
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.0.0.alpha1
 Component: Extensions
   Product: LibreOffice

Problem description: 

Steps to reproduce:
1. 
2. test
3. 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Last worked in: 4.0.0.0.alpha1

-- 
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 57433] [Mac] Borderless toolbars in 4.0

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57433

Roman Eisele b...@eikota.de changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #9 from Roman Eisele b...@eikota.de ---
Hi Kendy, hi Thorsten,

can you *please* take a look into this issue? It is just a cosmetic bug, of
course, but the GUI of LibreOffice for Mac OS X looks worse (instead of better)
with each release, and this little bug is the next important step towards an
ugly and very unprofessional GUI. So, *please* take a look into it ...

-- 
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 58031] EDITING: grid control : filtering SQL drop-down lists doesn't work

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58031

rob...@familiegrosskopf.de changed:

   What|Removed |Added

  Attachment #71216|text/plain  |application/vnd.oasis.opend
  mime type||ocument.base

-- 
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 58046] New: Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58046

  Priority: medium
Bug ID: 58046
  Keywords: regression
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Extensionname: test
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: programm...@ertai.nl
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.0.0.beta1
 Component: Extensions
   Product: LibreOffice

Problem description: 

Steps to reproduce:
1. 
2. t
3. 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Last worked in: 4.0.0.0.beta1

-- 
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 58047] New: Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58047

  Priority: medium
Bug ID: 58047
  Keywords: regression
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Extensionname: test
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: programm...@ertai.nl
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.0.0.beta1
 Component: Extensions
   Product: LibreOffice

Problem description: 

Steps to reproduce:
1. 
2. test
3. 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Last worked in: 4.0.0.0.beta1

-- 
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 58048] New: Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58048

  Priority: medium
Bug ID: 58048
  Keywords: regression
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Extensionname: test
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: programm...@ertai.nl
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.0.0.beta1
 Component: Extensions
   Product: LibreOffice

Problem description: 

Steps to reproduce:
1. 
2. test
3. 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Last worked in: 4.0.0.0.beta1

-- 
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 58049] New: Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58049

  Priority: medium
Bug ID: 58049
  Keywords: regression
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Extensionname: test
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: programm...@ertai.nl
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.0.0.beta1
 Component: Extensions
   Product: LibreOffice

Problem description: 

Steps to reproduce:
1. 
2. tt
3. 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Last worked in: 4.0.0.0.beta1

-- 
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 58049] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58049

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 58049] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58049

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 58048] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58048

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 58048] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58048

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 58047] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58047

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 58047] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58047

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 58046] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58046

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 58046] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58046

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 58045] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58045

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

-- 
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 58045] Extensionname: test

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58045

Rob Snelders programm...@ertai.nl changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
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 57906] BUGZILLAASSISTANT: Submit fails with error message It looks like you didn't come from the right page ...

2012-12-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57906

--- Comment #7 from Rob Snelders programm...@ertai.nl ---
I have found a bug that stopped the BSA from working correctly. So it should
work again. But I have noticed that the query-time for getting some information
out of Bugzilla takes quite a while longer then it used to. When the
submit-button appears then it still takes 2-3 seconds before you can really
submit the button otherwise the token is still missing.

The Error message that's in the 2nd attachment should also be solved.

The problem of the 1st attachment I can't reproduce. The extra parameters in
the URL still don't do anything. I have asked the website-list if they can put
the parameters through to the iFrame but I haven't have received an answer for
that.

Please try if the BSA now works for you, for me it does

-- 
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


  1   2   >