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

2012-02-17 Thread Miklos Vajna
 sw/inc/format.hxx|1 +
 sw/inc/frmfmt.hxx|1 +
 sw/inc/node.hxx  |   12 +++-
 sw/source/core/inc/frame.hxx |7 +++
 4 files changed, 12 insertions(+), 9 deletions(-)

New commits:
commit 06fa03d6ca0e27468129bfffaacecfd491738309
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Feb 17 10:47:49 2012 +0100

sw: second round of doxygen comments

diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index 660a7fe..28b4fac 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -42,6 +42,7 @@ class IDocumentFieldsAccess;
 class IDocumentChartDataProviderAccess;
 class SwDoc;
 
+/// Base class for various Writer styles.
 class SW_DLLPUBLIC SwFmt : public SwModify
 {
 String aFmtName;
diff --git a/sw/inc/frmfmt.hxx b/sw/inc/frmfmt.hxx
index e06dea9..d0be16d 100644
--- a/sw/inc/frmfmt.hxx
+++ b/sw/inc/frmfmt.hxx
@@ -44,6 +44,7 @@ class SwRect;
 class SwContact;
 class SdrObject;
 
+/// Style of a layout element.
 class SW_DLLPUBLIC SwFrmFmt: public SwFmt
 {
 friend class SwDoc;
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index f75091a..fa2736c 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -85,9 +85,7 @@ class IDocumentContentOperations;
 class IDocumentListItems;
 class SwOLENodes;
 
-// 
-// class SwNode
-// 
+/// Base class of the Writer document model elements.
 class SW_DLLPUBLIC SwNode
 : private BigPtrEntry
 {
@@ -304,9 +302,7 @@ private:
 SwNode  operator= ( const SwNode  rNodes );
 };
 
-// 
-// class SwStartNode
-// 
+/// Starts a section of nodes in the document model.
 class SwStartNode: public SwNode
 {
 friend class SwNode;
@@ -340,9 +336,7 @@ private:
 };
 
 
-// 
-// class SwEndNode
-// 
+/// Ends a section of nodes in the document model.
 class SwEndNode : public SwNode
 {
 friend class SwNodes;
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 7e4a389..e61ee3f 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -250,6 +250,13 @@ enum MakePageType
 };
 
 
+/**
+ * Base class of the Writer layout elements.
+ *
+ * This includes not only fly frames, but everything down to the paragraph
+ * level: pages, headers, footers, etc. (Inside a paragraph SwLinePortion
+ * instances are used.)
+ */
 class SwFrm: public SwClient, public SfxBroadcaster
 {
 //Der verkappte Frm
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - solenv/gbuild soltools/prj

2012-02-17 Thread Stephan Bergmann
 solenv/gbuild/JunitTest.mk |8 ++--
 soltools/prj/build.lst |2 +-
 2 files changed, 3 insertions(+), 7 deletions(-)

New commits:
commit 77d120691d0bf8636f86e34a8d4926c260d73f68
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 17 11:07:29 2012 +0100

Pass JunitTest jar deps to underlying JavaClassSet

...and make underlying JavaClassSet implicitly depend on OOO_JUNI_JAR
...and remove unused gb_JunitTest_set_classpath

diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk
index 8d3656a..5cef3a4 100644
--- a/solenv/gbuild/JunitTest.mk
+++ b/solenv/gbuild/JunitTest.mk
@@ -74,6 +74,7 @@ $(call gb_JunitTest_get_target,$(1)) : CLASSES :=
 $(call gb_JunitTest_JunitTest_platform,$(1))
 
 $(call gb_JavaClassSet_JavaClassSet,$(call gb_JunitTest_get_classsetname,$(1)))
+$(call gb_JavaClassSet_add_system_jar,$(call 
gb_JunitTest_get_classsetname,$(1)),$(OOO_JUNIT_JAR))
 $(call gb_JunitTest_get_target,$(1)) : $(call 
gb_JavaClassSet_get_target,$(call gb_JunitTest_get_classsetname,$(1)))
 $(eval $(call gb_Module_register_target,$(call 
gb_JunitTest_get_target,$(1)),$(call gb_JunitTest_get_clean_target,$(1
 endef
@@ -104,12 +105,8 @@ $(foreach sourcefile,$(2),$(call 
gb_JunitTest_add_sourcefile,$(1),$(sourcefile))
 
 endef
 
-define gb_JunitTest_set_classpath
-$(call gb_JunitTest_get_target,$(1)) : T_CP := $(2)
-
-endef
-
 define gb_JunitTest_add_jar
+$(call gb_JavaClassSet_add_jar,$(call gb_JunitTest_get_classsetname,$(1)),$(2))
 $(call gb_JunitTest_get_target,$(1)) : T_CP := $$(T_CP)$(gb_CLASSPATHSEP)$(2)
 $(call gb_JunitTest_get_target,$(1)) : $(2)
 $(2) :| $(gb_Helper_PHONY)
@@ -147,7 +144,6 @@ gb_JunitTest_add_classes :=
 gb_JunitTest_add_class :=
 gb_JunitTest_add_sourcefile :=
 gb_JunitTest_add_sourcefiles :=
-gb_JunitTest_set_classpath :=
 gb_JunitTest_add_jar :=
 gb_JunitTest_add_jars :=
 gb_JunitTest_add_package_dependency :=
commit 98f60e460ea64f061ca6948691a29d4cf29eb0a4
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 17 11:05:45 2012 +0100

No SUN dependencies anymore

diff --git a/soltools/prj/build.lst b/soltools/prj/build.lst
index 78eb3fc..9ee36a7 100644
--- a/soltools/prj/build.lst
+++ b/soltools/prj/build.lst
@@ -1,4 +1,4 @@
-so  soltools :   solenv SUN:so_prereq NULL
+so  soltools : solenv NULL
 so soltools
usr1-   all so_usr1 NULL
 so soltools\incget 
-   all so_inc NULL
 so soltools\ldump  nmake   
-   w   so_ldump so_mkdep NULL
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - desktop/Executable_soffice.bin.mk desktop/Executable_unopkg.bin.mk

2012-02-17 Thread Jan Holesovsky
 desktop/Executable_soffice.bin.mk |2 +-
 desktop/Executable_unopkg.bin.mk  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a9c91748166a54520c82fd2d155e41081a400af4
Author: Norbert Thiebaud nthieb...@gmail.com
Date:   Tue Jan 10 22:28:24 2012 -0600

OS_FOR_BUILD is not right do decide Host module name

Signed-off-by: Jan Holesovsky ke...@suse.cz

diff --git a/desktop/Executable_soffice.bin.mk 
b/desktop/Executable_soffice.bin.mk
index 7e168aa..99b894f 100644
--- a/desktop/Executable_soffice.bin.mk
+++ b/desktop/Executable_soffice.bin.mk
@@ -25,7 +25,7 @@
 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 # instead of those above.
 
-ifeq ($(OS_FOR_BUILD),WNT)
+ifeq ($(OS),WNT)
 sofficebin := soffice_bin
 else
 sofficebin := soffice.bin
diff --git a/desktop/Executable_unopkg.bin.mk b/desktop/Executable_unopkg.bin.mk
index 759a4e9..0b5d057 100644
--- a/desktop/Executable_unopkg.bin.mk
+++ b/desktop/Executable_unopkg.bin.mk
@@ -25,7 +25,7 @@
 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 # instead of those above.
 
-ifeq ($(OS_FOR_BUILD),WNT)
+ifeq ($(OS),WNT)
 unopkgbin := unopkg_bin
 else
 unopkgbin := unopkg.bin
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: bridges/source

2012-02-17 Thread René Engelhard
 bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit 3dfae9e2e6416ce2605b1db75e139f1185841a43
Author: Rene Engelhard r...@debian.org
Date:   Fri Feb 17 11:23:37 2012 +0100

fix armel/armv4t build

diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx 
b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
index 97eff51..8e69ebe 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
@@ -279,7 +279,11 @@ void callVirtualMethod(
 #endif
 //Make the call
 ldr r5, %[pmethod]\n\t
+#ifndef __ARM_ARCH_4T__
 blx r5\n\t
+#else
+mov lr, pc ; bx r5\n\t
+#endif
 
 //Fill in return values
 mov %[r0], r0\n\t
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Makefile

2012-02-17 Thread Matus Kukan
 Makefile |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 5b773eb58222109843814e48ace35fe9740a7d72
Author: Matúš Kukan matus.ku...@gmail.com
Date:   Fri Feb 17 11:26:15 2012 +0100

update Makefile

diff --git a/Makefile b/Makefile
index 7ef0842..d4dd3d9 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,10 @@ hwpfilter\
 i18npool\
 i18nutil\
 idl\
+javaunohelper\
+jurt\
+jvmaccess\
+jvmfwk\
 lingucomponent\
 linguistic\
 lotuswordpro\
@@ -78,6 +82,7 @@ psprint_config\
 qadevOOo\
 regexp\
 reportdesign\
+ridljar\
 rsc\
 sal\
 salhelper\
@@ -106,6 +111,7 @@ ucb\
 ucbhelper\
 udkapi\
 unixODBC\
+unoil\
 unotest\
 unotools\
 unoxml\
@@ -164,12 +170,8 @@ icu\
 idlc\
 instsetoo_native\
 io\
-javaunohelper\
 jfreereport\
 jpeg\
-jurt\
-jvmaccess\
-jvmfwk\
 l10ntools\
 languagetool\
 libcdr\
@@ -212,7 +214,6 @@ registry\
 remotebridges\
 reportbuilder\
 rhino\
-ridljar\
 saxon\
 scp2\
 sdext\
@@ -232,7 +233,6 @@ tomcat\
 translations\
 udm\
 unodevtools\
-unoil\
 vigra\
 x11_extensions\
 xmlhelp\
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: scp2/source

2012-02-17 Thread Andras Timar
 scp2/source/winexplorerext/registryitem_winexplorerext.scp |   24 ++---
 1 file changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 2786c354ce4f7ff215fffe83ef242ee3b411fb13
Author: Andras Timar ati...@suse.com
Date:   Fri Feb 17 12:58:37 2012 +0100

fdo#46167 fix path of shell extension dll in registry

diff --git a/scp2/source/winexplorerext/registryitem_winexplorerext.scp 
b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
index c7def3e..32a5ef8 100644
--- a/scp2/source/winexplorerext/registryitem_winexplorerext.scp
+++ b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
@@ -35,8 +35,8 @@ RegistryItem 
gid_Regitem_Clsid_087B3AE3_E237_4467_B8DB_5A38AB959AC9_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{087B3AE3-E237-4467-B8DB-5A38AB959AC9}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_087B3AE3_E237_4467_B8DB_5A38AB959AC9_InProcServer32_ThreadingModel
@@ -58,8 +58,8 @@ RegistryItem 
gid_Regitem_Clsid_3B092F0C_7696_40E3_A80F_68D74DA84210_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{3B092F0C-7696-40E3-A80F-68D74DA84210}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_3B092F0C_7696_40E3_A80F_68D74DA84210_InProcServer32_ThreadingModel
@@ -90,8 +90,8 @@ RegistryItem 
gid_Regitem_Clsid_C52AF81D_F7A0_4AAB_8E87_F80A60CCD396_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_C52AF81D_F7A0_4AAB_8E87_F80A60CCD396_InProcServer32_ThreadingModel
@@ -122,8 +122,8 @@ RegistryItem 
gid_Regitem_Clsid_7BC0E710_5703_45BE_A29D_5D46D8B39262_InProcServer
 ModuleID = gid_Module_Root;
 Subkey = CLSID\{7BC0E710-5703-45BE-A29D-5D46D8B39262}\InprocServer32;
 Styles = (X64); // Values: X64 / X64_ONLY
-Value = [INSTALLLOCATION]shlxthdl\ooofilt.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\ooofilt_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\ooofilt.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\ooofilt_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_7BC0E710_5703_45BE_A29D_5D46D8B39262_InProcServer32_ThreadingModel
@@ -163,8 +163,8 @@ RegistryItem 
gid_Regitem_Clsid_63542C48_9552_494A_84F7_73AA6A7C99C1_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{63542C48-9552-494A-84F7-73AA6A7C99C1}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_63542C48_9552_494A_84F7_73AA6A7C99C1_InProcServer32_ThreadingModel
@@ -197,8 +197,8 @@ RegistryItem 
gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer
 ComponentCondition = VersionNT = 600;
 Styles = (X64);
 Subkey = CLSID\{AE424E85-F6DF-4910-A6A9-438797986431}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\propertyhdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\propertyhdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\propertyhdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\propertyhdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer32_ThreadingModel
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 6 commits - clucene/configs clucene/Library_clucene.mk clucene/Makefile clucene/Module_clucene.mk clucene/Package_inc.mk clucene/prj extensions/Library_log.mk lotuswordpro/sou

2012-02-17 Thread Caolán McNamara
 Repository.mk |1 
 RepositoryModule_ooo.mk   |1 
 clucene/Library_clucene.mk|  267 ++
 clucene/Makefile  |   11 
 clucene/Module_clucene.mk |   35 ++
 clucene/Package_inc.mk|   97 ++
 clucene/configs/_clucene-config-generic.h |  112 +++
 clucene/configs/clucene-config-generic.h  |  148 +
 clucene/prj/build.lst |3 
 clucene/prj/makefile.mk   |1 
 extensions/Library_log.mk |7 
 lotuswordpro/source/filter/lwprowlayout.cxx   |2 
 ooo.lst.in|1 
 sdext/source/presenter/PresenterAccessibility.cxx |   11 
 testtools/com/sun/star/comp/bridge/TestComponent.java |4 
 testtools/source/bridgetest/bridgetest.cxx|5 
 testtools/source/bridgetest/cli/cli_cs_testobj.cs |5 
 testtools/source/bridgetest/cppobj.cxx|3 
 testtools/source/bridgetest/idl/bridgetest.idl|5 
 unotools/source/i18n/numberformatcodewrapper.cxx  |8 
 20 files changed, 707 insertions(+), 20 deletions(-)

New commits:
commit b688a3dcbe962774fff97156296593df1e4b92f0
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Feb 17 12:21:14 2012 +

first cut at building an internal clucene

diff --git a/Repository.mk b/Repository.mk
index 6462d3a..b87dc61 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -345,6 +345,7 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
 avmediagst \
 avmediawin \
 cached1 \
+clucene \
 collator_data \
 deployment \
 deploymentgui \
diff --git a/RepositoryModule_ooo.mk b/RepositoryModule_ooo.mk
index 9cd684b..8859503 100644
--- a/RepositoryModule_ooo.mk
+++ b/RepositoryModule_ooo.mk
@@ -41,6 +41,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
 binaryurp \
 canvas \
 chart2 \
+clucene \
 comphelper \
 configmgr \
 cppcanvas \
diff --git a/clucene/Library_clucene.mk b/clucene/Library_clucene.mk
new file mode 100644
index 000..7c8f0d5
--- /dev/null
+++ b/clucene/Library_clucene.mk
@@ -0,0 +1,267 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the License); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an AS IS basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., Caolán McNamara caol...@redhat.com
+#  (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the GPLv3+), or
+# the GNU Lesser General Public License Version 3 or later (the LGPLv3+),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+# FIXME, need a way to suppress -Werror
+
+$(eval $(call gb_Library_Library,clucene))
+
+$(eval $(call gb_Library_use_external,clucene,zlib))
+
+$(eval $(call gb_Library_add_package_headers,clucene,clucene_inc))
+
+$(eval $(call gb_Library_set_include,clucene,\
+-I$(WORKDIR)/clucene/src/core \
+-I$(WORKDIR)/clucene/src/shared \
+-I$(WORKDIR)/clucene/src/contribs-lib \
+-I$(WORKDIR)/clucene/inc/internal \
+$$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_defs,clucene,\
+-Dclucene_shared_EXPORTS\
+-Dclucene_core_EXPORTS\
+-Dclucene_contribs_lib_EXPORTS\
+))
+
+$(eval $(call gb_Library_add_linked_libs,clucene,\
+$(gb_STDLIBS) \
+))
+
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Library_add_linked_libs,clucene,\
+dl \
+m \
+pthread \
+))
+endif
+
+$(eval $(call gb_Library_add_generated_exception_objects,clucene,\
+clucene/src/shared/CLucene/SharedHeader \
+clucene/src/shared/CLucene/config/gunichartables \
+clucene/src/shared/CLucene/config/repl_tcslwr \
+clucene/src/shared/CLucene/config/repl_tcstoll \
+clucene/src/shared/CLucene/config/repl_tcscasecmp \
+clucene/src/shared/CLucene/config/repl_tprintf \
+clucene/src/shared/CLucene/config/repl_lltot \
+clucene/src/shared/CLucene/config/repl_tcstod \
+clucene/src/shared/CLucene/config/utf8 \
+clucene/src/shared/CLucene/config/threads \
+clucene/src/shared/CLucene/debug/condition \
+

[Libreoffice-commits] .: configure.in

2012-02-17 Thread Tor Lillqvist
 configure.in |1 -
 1 file changed, 1 deletion(-)

New commits:
commit f8e3ec289216fcf68b4083497a7e0ac04f07ce23
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 17 14:40:53 2012 +0200

Bin obsolete comment

diff --git a/configure.in b/configure.in
index 18adc1b..5f6a4f2 100644
--- a/configure.in
+++ b/configure.in
@@ -110,7 +110,6 @@ if test -n $with_android_ndk; then
 
ANDROIDCFLAGS=-march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon 
-Wl,--fix-cortex-a8 --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-arm 
-L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a
 
-   # Note that letting this set CC and CXX means ccache won't be used
test -z $CC  CC=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-gcc 
$ANDROIDCFLAGS
test -z $CXX  CXX=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-g++ 
$ANDROIDCFLAGS -I $ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/include 
-I$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include 
-fexceptions -frtti
 fi
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - i18npool/qa i18npool/source

2012-02-17 Thread Eike Rathke
 i18npool/qa/cppunit/test_breakiterator.cxx  |   35 +++-
 i18npool/source/breakiterator/breakiterator_unicode.cxx |7 ++-
 2 files changed, 39 insertions(+), 3 deletions(-)

New commits:
commit dab92ff8a19533db8633ae0a8c146f06c0e26932
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Feb 14 16:07:10 2012 +

use icu's breakiterator for Thai, not our customized generic rules

(cherry picked from commit 475d0c59c66fb7752d230f76130b17145aad0c12)

Conflicts:

i18npool/qa/cppunit/test_breakiterator.cxx
i18npool/source/breakiterator/breakiterator_unicode.cxx

Signed-off-by: Eike Rathke er...@redhat.com

diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx 
b/i18npool/qa/cppunit/test_breakiterator.cxx
index 661e46a..820e57b 100644
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
@@ -41,7 +41,8 @@
 #include cppunit/plugin/TestPlugIn.h
 #include com/sun/star/i18n/XBreakIterator.hpp
 #include com/sun/star/i18n/CharacterIteratorMode.hpp
-#include com/sun/star/i18n/ScriptType.hdl
+#include com/sun/star/i18n/ScriptType.hpp
+#include com/sun/star/i18n/WordType.hpp
 
 #include rtl/strbuf.hxx
 
@@ -62,12 +63,14 @@ public:
 void testGraphemeIteration();
 void testWeak();
 void testAsian();
+void testThai();
 
 CPPUNIT_TEST_SUITE(TestBreakIterator);
 CPPUNIT_TEST(testLineBreaking);
 CPPUNIT_TEST(testGraphemeIteration);
 CPPUNIT_TEST(testWeak);
 CPPUNIT_TEST(testAsian);
+CPPUNIT_TEST(testThai);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -249,6 +252,36 @@ void TestBreakIterator::testAsian()
 }
 }
 
+//A test to ensure that our thai word boundary detection is useful
+//http://lists.freedesktop.org/archives/libreoffice/2012-February/025959.html
+void TestBreakIterator::testThai()
+{
+lang::Locale aLocale;
+aLocale.Language = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(th));
+aLocale.Country = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TH));
+
+i18n::Boundary aBounds;
+{
+const sal_Unicode THAI1[] = { 0x0E01, 0x0E38, 0x0E2B, 0x0E25, 0x0E32, 
0x0E1A };
+::rtl::OUString aTest(THAI1, SAL_N_ELEMENTS(THAI1));
+aBounds = m_xBreak-getWordBoundary(aTest, 0, aLocale,
+i18n::WordType::DICTIONARY_WORD, true);
+CPPUNIT_ASSERT_MESSAGE(Should skip full word,
+aBounds.startPos == 0  aBounds.endPos == aTest.getLength());
+}
+
+#ifdef TODO
+{
+const sal_Unicode NORTHERN_THAI1[] = { 0x0E01, 0x0E38, 0x0E4A, 0x0E2B, 
0x0E25, 0x0E32, 0x0E1A };
+::rtl::OUString aTest(NORTHERN_THAI1, SAL_N_ELEMENTS(NORTHERN_THAI1));
+aBounds = m_xBreak-getWordBoundary(aTest, 0, aLocale,
+i18n::WordType::DICTIONARY_WORD, true);
+CPPUNIT_ASSERT_MESSAGE(Should skip full word,
+aBounds.startPos == 0  aBounds.endPos == aTest.getLength());
+}
+#endif
+}
+
 TestBreakIterator::TestBreakIterator()
 {
 m_xContext = cppu::defaultBootstrap_InitialComponentContext();
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx 
b/i18npool/source/breakiterator/breakiterator_unicode.cxx
index 78ba7a6..aa5e1d8 100644
--- a/i18npool/source/breakiterator/breakiterator_unicode.cxx
+++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx
@@ -129,10 +129,13 @@ void SAL_CALL 
BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star::
 
 OOoRuleBasedBreakIterator *rbi = NULL;
 
-if (breakRules.getLength()  breakType  
breakRules[breakType].getLength()  0) {
+if (breakRules.getLength()  breakType  
!breakRules[breakType].isEmpty())
+{
 rbi = new OOoRuleBasedBreakIterator(udata_open(OpenOffice, 
brk,
 OUStringToOString(breakRules[breakType], 
RTL_TEXTENCODING_ASCII_US).getStr(), status), status);
-} else {
+}
+else if 
(!rLocale.Language.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(th))) //use icu's 
breakiterator for Thai
+{
 status = U_ZERO_ERROR;
 OStringBuffer aUDName(64);
 aUDName.append(rule);
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - clucene/Library_clucene.mk clucene/Module_clucene.mk clucene/Package_inc.mk clucene/Package_source.mk clucene/source slideshow/source

2012-02-17 Thread David Tardon
 clucene/Library_clucene.mk |  397 
--
 clucene/Module_clucene.mk  |2 
 clucene/Package_inc.mk |   97 --
 clucene/Package_source.mk  |  110 ++
 clucene/source/Makefile|   49 +
 slideshow/source/engine/transitions/shapetransitionfactory.cxx |4 
 6 files changed, 352 insertions(+), 307 deletions(-)

New commits:
commit 314c2d3e0cab5f5e72fbd09585f344368125e1d1
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 14:34:34 2012 +0100

use custom target for preparing sources

diff --git a/clucene/Library_clucene.mk b/clucene/Library_clucene.mk
index 7c8f0d5..53da705 100644
--- a/clucene/Library_clucene.mk
+++ b/clucene/Library_clucene.mk
@@ -31,14 +31,14 @@ $(eval $(call gb_Library_Library,clucene))
 
 $(eval $(call gb_Library_use_external,clucene,zlib))
 
-$(eval $(call gb_Library_add_package_headers,clucene,clucene_inc))
+$(eval $(call gb_Library_add_package_headers,clucene,clucene_source))
 
 $(eval $(call gb_Library_set_include,clucene,\
--I$(WORKDIR)/clucene/src/core \
--I$(WORKDIR)/clucene/src/shared \
--I$(WORKDIR)/clucene/src/contribs-lib \
--I$(WORKDIR)/clucene/inc/internal \
-$$(INCLUDE) \
+   -I$(WORKDIR)/CustomTarget/clucene/source/inc/internal \
+   -I$(WORKDIR)/CustomTarget/clucene/source/src/core \
+   -I$(WORKDIR)/CustomTarget/clucene/source/src/contribs-lib \
+   -I$(WORKDIR)/CustomTarget/clucene/source/src/shared \
+   $$(INCLUDE) \
 ))
 
 $(eval $(call gb_Library_add_defs,clucene,\
@@ -60,208 +60,195 @@ $(eval $(call gb_Library_add_linked_libs,clucene,\
 endif
 
 $(eval $(call gb_Library_add_generated_exception_objects,clucene,\
-clucene/src/shared/CLucene/SharedHeader \
-clucene/src/shared/CLucene/config/gunichartables \
-clucene/src/shared/CLucene/config/repl_tcslwr \
-clucene/src/shared/CLucene/config/repl_tcstoll \
-clucene/src/shared/CLucene/config/repl_tcscasecmp \
-clucene/src/shared/CLucene/config/repl_tprintf \
-clucene/src/shared/CLucene/config/repl_lltot \
-clucene/src/shared/CLucene/config/repl_tcstod \
-clucene/src/shared/CLucene/config/utf8 \
-clucene/src/shared/CLucene/config/threads \
-clucene/src/shared/CLucene/debug/condition \
-clucene/src/shared/CLucene/util/StringBuffer \
-clucene/src/shared/CLucene/util/Misc \
-clucene/src/shared/CLucene/util/dirent \
-   clucene/src/core/CLucene/StdHeader \
-   clucene/src/core/CLucene/debug/error \
-   clucene/src/core/CLucene/util/ThreadLocal \
-   clucene/src/core/CLucene/util/Reader \
-   clucene/src/core/CLucene/util/Equators \
-   clucene/src/core/CLucene/util/FastCharStream \
-   clucene/src/core/CLucene/util/MD5Digester \
-   clucene/src/core/CLucene/util/StringIntern \
-   clucene/src/core/CLucene/util/BitSet \
-   clucene/src/core/CLucene/queryParser/FastCharStream \
-   clucene/src/core/CLucene/queryParser/MultiFieldQueryParser \
-   clucene/src/core/CLucene/queryParser/QueryParser \
-   clucene/src/core/CLucene/queryParser/QueryParserTokenManager \
-   clucene/src/core/CLucene/queryParser/QueryToken \
-   clucene/src/core/CLucene/queryParser/legacy/Lexer \
-   clucene/src/core/CLucene/queryParser/legacy/MultiFieldQueryParser \
-   clucene/src/core/CLucene/queryParser/legacy/QueryParser \
-   clucene/src/core/CLucene/queryParser/legacy/QueryParserBase \
-   clucene/src/core/CLucene/queryParser/legacy/QueryToken \
-   clucene/src/core/CLucene/queryParser/legacy/TokenList \
-   clucene/src/core/CLucene/analysis/standard/StandardAnalyzer \
-   clucene/src/core/CLucene/analysis/standard/StandardFilter \
-   clucene/src/core/CLucene/analysis/standard/StandardTokenizer \
-   clucene/src/core/CLucene/analysis/Analyzers \
-   clucene/src/core/CLucene/analysis/AnalysisHeader \
-   clucene/src/core/CLucene/store/MMapInput \
-   clucene/src/core/CLucene/store/IndexInput \
-   clucene/src/core/CLucene/store/Lock \
-   clucene/src/core/CLucene/store/LockFactory \
-   clucene/src/core/CLucene/store/IndexOutput \
-   clucene/src/core/CLucene/store/Directory \
-clucene/src/core/CLucene/store/FSDirectory \
-clucene/src/core/CLucene/store/RAMDirectory \
-clucene/src/core/CLucene/document/Document \
-clucene/src/core/CLucene/document/DateField \
-clucene/src/core/CLucene/document/DateTools \
-clucene/src/core/CLucene/document/Field \
-clucene/src/core/CLucene/document/FieldSelector \
-clucene/src/core/CLucene/document/NumberTools \
-clucene/src/core/CLucene/index/IndexFileNames \
-clucene/src/core/CLucene/index/IndexFileNameFilter \
-clucene/src/core/CLucene/index/IndexDeletionPolicy \
-clucene/src/core/CLucene/index/SegmentMergeInfo \
-

[Libreoffice-commits] .: solenv/bin

2012-02-17 Thread Michael Meeks
 solenv/bin/make_installer.pl|7 +---
 solenv/bin/modules/installer/sorter.pm  |   53 
 solenv/bin/modules/t/installer-sorter.t |   48 
 3 files changed, 3 insertions(+), 105 deletions(-)

New commits:
commit d6adf7c7b38d72328bd0c8867c472be677cd91ef
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 18:58:20 2012 +

Inline and remove installer::sorter

diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 45dede0..08c118b 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -57,7 +57,6 @@ use installer::scpzipfiles;
 use installer::scriptitems;
 use installer::setupscript;
 use installer::simplepackage;
-use installer::sorter qw(sorting_array_of_hashes);
 use installer::strip;
 use installer::substfilenamefiles;
 use installer::systemactions;
@@ -1101,7 +1100,7 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3alangpack.log, $directoriesforepmarrayref); }
 ($directoriesforepmarrayref, $alldirectoryhash) = 
installer::scriptitems::collect_directories_with_create_flag_from_directoryarray($dirsinproductlanguageresolvedarrayref,
 $alldirectoryhash);
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3blangpack.log, $directoriesforepmarrayref); }
-sorting_array_of_hashes($directoriesforepmarrayref, HostName);
+@$directoriesforepmarrayref = sort { $a-{HostName} cmp 
$b-{HostName} } @$directoriesforepmarrayref;
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3clangpack.log, $directoriesforepmarrayref); }
 
 if ( $installer::globals::iswindowsbuild )
@@ -1130,7 +1129,7 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3ahelppack.log, $directoriesforepmarrayref); }
 ($directoriesforepmarrayref, $alldirectoryhash) = 
installer::scriptitems::collect_directories_with_create_flag_from_directoryarray($dirsinproductlanguageresolvedarrayref,
 $alldirectoryhash);
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3bhelppack.log, $directoriesforepmarrayref); }
-sorting_array_of_hashes($directoriesforepmarrayref, HostName);
+@$directoriesforepmarrayref = sort { $a-{HostName} cmp 
$b-{HostName} } @$directoriesforepmarrayref;
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist3chelppack.log, $directoriesforepmarrayref); }
 
 if ( $installer::globals::iswindowsbuild )
@@ -1171,7 +1170,7 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 ($directoriesforepmarrayref, $alldirectoryhash) = 
installer::scriptitems::collect_directories_from_filesarray($filesinproductlanguageresolvedarrayref);
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist4_patch.log, $directoriesforepmarrayref); }
 
-sorting_array_of_hashes($directoriesforepmarrayref, HostName);
+@$directoriesforepmarrayref = sort { $a-{HostName} cmp 
$b-{HostName} } @$directoriesforepmarrayref;
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . 
directoriesforepmlist5_patch.log, $directoriesforepmarrayref); }
 }
 }
diff --git a/solenv/bin/modules/installer/sorter.pm 
b/solenv/bin/modules/installer/sorter.pm
deleted file mode 100644
index b08dd80..000
--- a/solenv/bin/modules/installer/sorter.pm
+++ /dev/null
@@ -1,53 +0,0 @@
-#*
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 

[Libreoffice-commits] .: 5 commits - solenv/bin

2012-02-17 Thread Michael Meeks
 solenv/bin/modules/installer/globals.pm |2 
 solenv/bin/modules/installer/logger.pm  |  110 +++-
 solenv/bin/modules/installer/setupscript.pm |6 -
 3 files changed, 33 insertions(+), 85 deletions(-)

New commits:
commit 76ffd9e6bfc763f45c12758f149b6dbbf299
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 22:33:46 2012 +

Replace installer::logger::include_header_into_globallogfile.

diff --git a/solenv/bin/modules/installer/logger.pm 
b/solenv/bin/modules/installer/logger.pm
index f98d34c..dba0ea0 100644
--- a/solenv/bin/modules/installer/logger.pm
+++ b/solenv/bin/modules/installer/logger.pm
@@ -37,7 +37,6 @@ use installer::globals;
 
 our @EXPORT_OK = qw(
 include_header_into_logfile
-include_header_into_globallogfile
 include_timestamp_into_logfile
 log_hashref
 globallog
@@ -78,30 +77,6 @@ sub include_header_into_logfile
 }
 
 
-# Including header files into the logfile
-
-
-sub include_header_into_globallogfile
-{
-my ($message) = @_;
-
-my $infoline;
-
-$infoline = \n . _get_time_string();
-push( @installer::globals::globallogfileinfo, $infoline);
-
-$infoline = ##\n;
-push( @installer::globals::globallogfileinfo, $infoline);
-
-$infoline = $message\n;
-push( @installer::globals::globallogfileinfo, $infoline);
-
-
-$infoline = ##\n;
-push( @installer::globals::globallogfileinfo, $infoline);
-}
-
-
 # Write timestamp into log file
 
 
@@ -154,13 +129,13 @@ sub globallog
 $infoline = \n . _get_time_string();
 push( @installer::globals::globallogfileinfo, $infoline);
 
-$infoline = 
\n;
+$infoline = ##\n;
 push( @installer::globals::globallogfileinfo, $infoline);
 
 $infoline = $message\n;
 push( @installer::globals::globallogfileinfo, $infoline);
 
-$infoline = 
\n;
+$infoline = ##\n;
 push( @installer::globals::globallogfileinfo, $infoline);
 
 }
diff --git a/solenv/bin/modules/installer/setupscript.pm 
b/solenv/bin/modules/installer/setupscript.pm
index 3018bb3..7d590c5 100644
--- a/solenv/bin/modules/installer/setupscript.pm
+++ b/solenv/bin/modules/installer/setupscript.pm
@@ -30,7 +30,7 @@ package installer::setupscript;
 use installer::existence;
 use installer::exiter;
 use installer::globals;
-use installer::logger;
+use installer::logger qw(globallog);
 use installer::remover;
 use installer::scriptitems;
 use installer::ziplist;
@@ -241,7 +241,7 @@ sub replace_all_setupscriptvariables_in_script
 {
 my ( $scriptref, $variablesref ) = @_;
 
-installer::logger::include_header_into_globallogfile(Replacing variables 
in setup script (start));
+globallog(Replacing variables in setup script (start));
 
 # make hash of variables to be substituted if they appear in the script
 my %subs;
@@ -282,7 +282,7 @@ sub replace_all_setupscriptvariables_in_script
 }
 }
 
-installer::logger::include_header_into_globallogfile(Replacing variables 
in setup script (end));
+globallog(Replacing variables in setup script (end));
 
 return $scriptref;
 }
commit c2ece9e23d8dc792833506010c69e4ec1835b257
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 20:54:19 2012 +

Move global starttime into installer::logger

diff --git a/solenv/bin/modules/installer/globals.pm 
b/solenv/bin/modules/installer/globals.pm
index 33d6e0a..f066c34 100644
--- a/solenv/bin/modules/installer/globals.pm
+++ b/solenv/bin/modules/installer/globals.pm
@@ -431,8 +431,6 @@ BEGIN
 $postprocess_standardepm = 0;
 $mergemodules_analyzed = 0;
 
-$starttime = ;
-
 @solarispatchscripts = (checkinstall, copyright, patch_checkinstall, 
patch_postinstall, postinstall, preinstall, i.none);
 @solarispatchscriptsforextensions = (checkinstall, copyright, 
patch_checkinstall, patch_postinstall_extensions, postinstall_extensions, 
preinstall, i.none);
 @solarispatchfiles = (.diPatch, patchinfo);
diff --git a/solenv/bin/modules/installer/logger.pm 
b/solenv/bin/modules/installer/logger.pm
index 681c3d1..f98d34c 100644
--- a/solenv/bin/modules/installer/logger.pm
+++ b/solenv/bin/modules/installer/logger.pm
@@ -51,6 +51,8 @@ our @EXPORT_OK = qw(
 print_error
 );
 
+my $starttime;
+
 
 # Including header files into the logfile
 
@@ -207,7 +209,7 @@ sub savedebug
 
 sub starttime
 {
-

[Libreoffice-commits] .: 6 commits - solenv/bin

2012-02-17 Thread Michael Meeks
 solenv/bin/make_installer.pl |4 
 solenv/bin/modules/installer/download.pm |   64 --
 solenv/bin/modules/installer/worker.pm   |  322 ---
 3 files changed, 390 deletions(-)

New commits:
commit 04e1010fd74a8e61d43e83afb81c4f6315a201c8
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 23:03:05 2012 +

Remove unused save_logfile_after_linking from installer::worker

diff --git a/solenv/bin/modules/installer/worker.pm 
b/solenv/bin/modules/installer/worker.pm
index 702e366..6f6801a 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -277,21 +277,6 @@ sub analyze_and_save_logfile
 }
 
 ###
-# Analyzing and creating the log file
-###
-
-sub save_logfile_after_linking
-{
-my ($loggingdir, $installlogdir, $current_install_number) = @_;
-
-# Saving the logfile in the log file directory and additionally in a log 
directory in the install directory
-my $numberedlogfilename = $installer::globals::logfilename;
-installer::logger::print_message( ... creating log file 
$numberedlogfilename \n );
-installer::files::save_file($loggingdir . $numberedlogfilename, 
\@installer::globals::logfileinfo);
-installer::files::save_file($installlogdir . 
$installer::globals::separator . $numberedlogfilename, 
\@installer::globals::logfileinfo);
-}
-
-###
 # Removing all directories that are saved in the
 # global directory @installer::globals::removedirs
 ###
commit 2492b26bb705a5c85b87386cd18aa57b3ed3c68d
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 23:02:22 2012 +

Remove unused unpack_all_targzfiles_in_directory from installer::worker

diff --git a/solenv/bin/modules/installer/worker.pm 
b/solenv/bin/modules/installer/worker.pm
index 7dbe0d4..702e366 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -45,44 +45,6 @@ use installer::scriptitems;
 use installer::systemactions;
 use installer::windows::language;
 
-#
-# Unpacking all files ending with tar.gz in a specified directory
-#
-
-sub unpack_all_targzfiles_in_directory
-{
-my ( $directory ) = @_;
-
-installer::logger::include_header_into_logfile(Unpacking tar.gz files:);
-
-installer::logger::print_message( ... unpacking tar.gz files ... \n );
-
-my $localdirectory = $directory . $installer::globals::separator . 
packages;
-my $alltargzfiles = 
installer::systemactions::find_file_with_file_extension(tar.gz, 
$localdirectory);
-
-for ( my $i = 0; $i = $#{$alltargzfiles}; $i++ )
-{
-my $onefile = $localdirectory . $installer::globals::separator . 
${$alltargzfiles}[$i];
-
-my $systemcall = cd $localdirectory; cat ${$alltargzfiles}[$i] \| 
gunzip \| tar -xf -;
-$returnvalue = system($systemcall);
-
-my $infoline = Systemcall: $systemcall\n;
-push( @installer::globals::logfileinfo, $infoline);
-
-if ($returnvalue)
-{
-$infoline = ERROR: Could not execute \$systemcall\!\n;
-push( @installer::globals::logfileinfo, $infoline);
-}
-else
-{
-$infoline = Success: Executed \$systemcall\ successfully!\n;
-push( @installer::globals::logfileinfo, $infoline);
-}
-}
-}
-
 #
 # Writing some global information into
 # the list of files without flag PATCH
commit 8b389383dcc56048605cef7c430ee58687b12986
Author: Tim Retout t...@retout.co.uk
Date:   Thu Feb 16 22:59:51 2012 +

Remove unused checksum subs from installer::worker

diff --git a/solenv/bin/make_installer.pl b/solenv/bin/make_installer.pl
index 08c118b..47d137c 100644
--- a/solenv/bin/make_installer.pl
+++ b/solenv/bin/make_installer.pl
@@ -815,10 +815,6 @@ for ( my $n = 0; $n = 
$#installer::globals::languageproducts; $n++ )
 
installer::scriptitems::make_filename_language_specific($filesinproductlanguageresolvedarrayref);
 if ( $installer::globals::globallogging ) { 
installer::files::save_array_of_hashes($loggingdir . productfiles10f.log, 
$filesinproductlanguageresolvedarrayref); }
 
-# print ... calculating checksums ...\n;
-# my $checksumfile = 
installer::worker::make_checksum_file($filesinproductlanguageresolvedarrayref, 
$includepatharrayref);
-# if ( $installer::globals::globallogging ) { 
installer::files::save_file($loggingdir . 
$installer::globals::checksumfilename, $checksumfile); }
-
 
##
 # Unzipping files with flag 

[Libreoffice-commits] .: 3 commits - clucene/Library_clucene.mk solenv/gbuild vcl/Library_vclplug_gtk3.mk

2012-02-17 Thread David Tardon
 clucene/Library_clucene.mk  |4 ++--
 solenv/gbuild/Executable.mk |1 +
 solenv/gbuild/Library.mk|1 +
 solenv/gbuild/LinkTarget.mk |9 +
 solenv/gbuild/StaticLibrary.mk  |1 +
 solenv/gbuild/platform/IOS_ARM_GCC.mk   |8 +---
 solenv/gbuild/platform/WNT_INTEL_GCC.mk |5 +++--
 solenv/gbuild/platform/WNT_INTEL_MSC.mk |6 --
 solenv/gbuild/platform/com_GCC_class.mk |2 ++
 solenv/gbuild/platform/macosx.mk|   10 ++
 solenv/gbuild/platform/solaris.mk   |6 --
 solenv/gbuild/platform/unxgcc.mk|4 ++--
 vcl/Library_vclplug_gtk3.mk |2 ++
 13 files changed, 42 insertions(+), 17 deletions(-)

New commits:
commit a3aa7ada194c33a9bedd2b5ce0506b1c5f3604a6
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 15:46:07 2012 +0100

suppress -Werror for vclplug_gtk3

diff --git a/vcl/Library_vclplug_gtk3.mk b/vcl/Library_vclplug_gtk3.mk
index 0be8ef9..0b85964 100644
--- a/vcl/Library_vclplug_gtk3.mk
+++ b/vcl/Library_vclplug_gtk3.mk
@@ -28,6 +28,8 @@
 
 $(eval $(call gb_Library_Library,vclplug_gtk3))
 
+$(eval $(call gb_Library_set_warnings_not_errors,vclplug_gtk3))
+
 $(eval $(call gb_Library_set_include,vclplug_gtk3,\
 $$(INCLUDE) \
 -I$(SRCDIR)/vcl/inc \
commit 512fcc354d02715e4e11df5c37f11d130365a139
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 15:43:10 2012 +0100

suppress -Werror for clucene

diff --git a/clucene/Library_clucene.mk b/clucene/Library_clucene.mk
index 53da705..74e7dbc 100644
--- a/clucene/Library_clucene.mk
+++ b/clucene/Library_clucene.mk
@@ -25,14 +25,14 @@
 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 # instead of those above.
 
-# FIXME, need a way to suppress -Werror
-
 $(eval $(call gb_Library_Library,clucene))
 
 $(eval $(call gb_Library_use_external,clucene,zlib))
 
 $(eval $(call gb_Library_add_package_headers,clucene,clucene_source))
 
+$(eval $(call gb_Library_set_warnings_not_errors,clucene))
+
 $(eval $(call gb_Library_set_include,clucene,\
-I$(WORKDIR)/CustomTarget/clucene/source/inc/internal \
-I$(WORKDIR)/CustomTarget/clucene/source/src/core \
commit a6e47f72dc08669c1600f10e624bb19421cee04b
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 15:40:20 2012 +0100

allow to suppress -Werror per link target

It is implemented for Executable, Library and StaticLibrary and works
for C, C++, Objective C and Objective C++ sources.

Please, do not misuse! Better fix your code!

diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk
index 2c5d9ea..2d148a6 100644
--- a/solenv/gbuild/Executable.mk
+++ b/solenv/gbuild/Executable.mk
@@ -111,6 +111,7 @@ $(eval $(foreach method,\
add_package_headers \
add_sdi_headers \
add_nativeres \
+   set_warnings_not_errors \
 ,\
$(call gb_Executable_forward_to_Linktarget,$(method))\
 ))
diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk
index 72599c6..1b7a2aa 100644
--- a/solenv/gbuild/Library.mk
+++ b/solenv/gbuild/Library.mk
@@ -181,6 +181,7 @@ $(eval $(foreach method,\
add_sdi_headers \
export_objects_list \
add_nativeres \
+   set_warnings_not_errors \
 ,\
$(call gb_Library__forward_to_Linktarget,$(method))\
 ))
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 227fe96..3edc66f 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -472,6 +472,7 @@ $(call gb_LinkTarget_get_headers_target,$(1)) \
 $(call gb_LinkTarget_get_target,$(1)) : PDBFILE :=
 $(call gb_LinkTarget_get_target,$(1)) : EXTRAOBJECTLISTS :=
 $(call gb_LinkTarget_get_target,$(1)) : NATIVERES :=
+$(call gb_LinkTarget_get_target,$(1)) : WARNINGS_NOT_ERRORS :=
 
 ifeq ($(gb_FULLDEPS),$(true))
 -include $(call gb_LinkTarget_get_dep_target,$(1))
@@ -494,6 +495,7 @@ $(call gb_LinkTarget_get_dep_target,$(1)) : INCLUDE_STL := 
$$(gb_LinkTarget_INCL
 $(call gb_LinkTarget_get_dep_target,$(1)) : TARGETTYPE :=
 $(call gb_LinkTarget_get_dep_target,$(1)) : LIBRARY_X64 :=
 $(call gb_LinkTarget_get_dep_target,$(1)) : EXTRAOBJECTLISTS :=
+$(call gb_LinkTarget_get_dep_target,$(1)) : WARNINGS_NOT_ERRORS :=
 endif
 
 endef
@@ -949,5 +951,12 @@ endef
 gb_LinkTarget_use_externals = \
  $(foreach external,$(2),$(call gb_LinkTarget_use_external,$(1),$(external)))
 
+define gb_LinkTarget_set_warnings_not_errors
+$(call gb_LinkTarget_get_target,$(1)) : WARNINGS_NOT_ERRORS := $(true)
+ifeq ($(gb_FULLDEPS),$(true))
+$(call gb_LinkTarget_get_dep_target,$(1)) : WARNINGS_NOT_ERRORS := $(true)
+endif
+
+endef
 
 # vim: set noet sw=4:
diff --git a/solenv/gbuild/StaticLibrary.mk b/solenv/gbuild/StaticLibrary.mk
index 23ceef4..888918c 100644
--- a/solenv/gbuild/StaticLibrary.mk
+++ b/solenv/gbuild/StaticLibrary.mk
@@ -113,6 +113,7 @@ $(eval $(foreach method,\
use_externals \
add_package_headers 

[Libreoffice-commits] .: 12 commits - autogen.sh configure.in external/mingw-dlls m4/mingw.m4 redland/raptor

2012-02-17 Thread David Tardon
 autogen.sh  |6 +++
 configure.in|   52 +-
 external/mingw-dlls/makefile.mk |4 +-
 m4/mingw.m4 |   61 
 redland/raptor/makefile.mk  |2 -
 5 files changed, 114 insertions(+), 11 deletions(-)

New commits:
commit 80b94e54d8861d32c608d8831037b48d6418f57b
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 13:55:56 2012 +0100

do not hardcode mingw path

diff --git a/configure.in b/configure.in
index afce205..2459b76 100644
--- a/configure.in
+++ b/configure.in
@@ -7231,7 +7231,7 @@ if test $with_system_icu = yes; then
 
 ICUPATH=$PATH
 if test $WITH_MINGW = yes ; then
-ICUPATH=/usr/i686-w64-mingw32/sys-root/mingw/bin:$ICUPATH
+ICUPATH=`$CC -print-sysroot`/mingw/bin:$ICUPATH
 fi
 AC_PATH_PROG(ICUCONFIG,icu-config,,[$ICUPATH])
 
commit 41522fc7752acd25829a9d3b5ec9e89898777106
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 13:54:10 2012 +0100

avoid hardcoded dll names

diff --git a/configure.in b/configure.in
index 1b7bce3..afce205 100644
--- a/configure.in
+++ b/configure.in
@@ -5631,7 +5631,7 @@ if test $with_system_expat = yes; then
 [AC_MSG_ERROR(expat.h not found. install expat)], [])
 AC_CHECK_LIB([expat], [XML_ParserCreate], [:],
 [AC_MSG_RESULT(expat library not found or functional.)], [])
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libexpat-1.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libexpat],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([internal])
 SYSTEM_EXPAT=NO
@@ -5823,7 +5823,7 @@ if test $with_system_libxml = yes; then
 AC_MSG_ERROR([xsltproc is required])
 fi
 
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libxslt-1.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libxslt],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([internal])
 SYSTEM_LIBXSLT=NO
@@ -5873,7 +5873,7 @@ if test $with_system_libxml = yes; then
 AC_MSG_ERROR([xmllint is required])
 fi
 
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libxml2],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([internal])
 SYSTEM_LIBXML=NO
@@ -6674,7 +6674,7 @@ if test $with_system_curl = yes; then
 ;;
 esac
 
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libintl-8.dll libidn-11.dll 
libnspr4.dll nssutil3.dll libplc4.dll libplds4.dll nss3.dll ssl3.dll 
libgpg-error-0.dll libgcrypt-11.dll libssh2-1.dll libcurl-4.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libcurl],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([internal])
 SYSTEM_CURL=NO
@@ -7572,7 +7572,7 @@ if test $with_system_hunspell = yes; then
 HUNSPELL_LIBS=-lhunspell
 fi
 AC_LANG_POP([C++])
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libhunspell-1.3-0.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libhunspell],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([internal])
 SYSTEM_HUNSPELL=NO
@@ -9759,7 +9759,7 @@ if test $with_system_cairo = yes; then
 AC_LANG_POP([C])
 fi
 fi
-MINGW_EXTERNAL_DLLS=$MINGW_EXTERNAL_DLLS libfontconfig-1.dll 
libfreetype-6.dll libpixman-1-0.dll libpng15-15.dll libcairo-2.dll
+libo_ADD_MINGW_EXTERNAL_DLLS([libcairo],[MINGW_EXTERNAL_DLLS])
 else
 AC_MSG_RESULT([no])
 
commit 12c35f511e7d2ff74113f307212b6b422898b0f2
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 13:10:14 2012 +0100

add macro for extracting mingw dll names from libtool files

Hardcoding dll names from SuSE Linux in configure.in is not good,
because they might be slightly different on other systems (notably
Fedora :-), or the libraries might be compiled with different
dependencies.

diff --git a/autogen.sh b/autogen.sh
index f423fe1..d41ccdd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -125,7 +125,11 @@ sanity_checks ($system) unless($system eq 'Darwin');
 
 my $aclocal_flags = $ENV{ACLOCAL_FLAGS};
 
-$aclocal_flags = -I ./m4/mac if (($aclocal_flags eq )  ($system eq 
'Darwin'));
+if ($aclocal_flags eq )
+{
+$aclocal_flags = -I ./m4;
+$aclocal_flags .=  -I ./m4/mac if ($system eq 'Darwin');
+}
 
 $ENV{AUTOMAKE_EXTRA_FLAGS} = '--warnings=no-portability' if (!($system eq 
'Darwin'));
 
diff --git a/m4/mingw.m4 b/m4/mingw.m4
new file mode 100644
index 000..cd0f38f
--- /dev/null
+++ b/m4/mingw.m4
@@ -0,0 +1,61 @@
+# libo_FIND_MINGW_EXTERNAL_DLLS([library-names],[variable],[?exclude])
+# uses: CC, WITH_MINGW
+# 
+AC_DEFUN([libo_FIND_MINGW_EXTERNAL_DLLS],
+[AC_REQUIRE([AC_PROG_SED])dnl
+if test $WITH_MINGW = yes -a -n $CC; then
+_libo_mingw_libdir=`$CC -print-sysroot`/mingw/lib
+for _libo_mingw_lib in $1; do
+_libo_mingw_lib=$_libo_mingw_libdir/$_libo_mingw_lib.la
+_libo_mingw_find_dll([$_libo_mingw_lib],[$3],[_libo_mingw_new_dll])
+if test -n $_libo_mingw_new_dll; then
+

[Libreoffice-commits] .: 3 commits - avmedia/source filter/source l10ntools/source

2012-02-17 Thread Thorsten Behrens
 avmedia/source/gstreamer/gstplayer.cxx |   14 +++---
 filter/source/svg/svgreader.cxx|7 ---
 l10ntools/source/helpmerge.cxx |5 +++--
 3 files changed, 10 insertions(+), 16 deletions(-)

New commits:
commit 5d14f80c1e12508659fc337b5e6208e5bc018001
Author: Thorsten Behrens tbehr...@suse.com
Date:   Fri Feb 17 15:05:19 2012 +0100

Make avmedia module buildable with dbglevel=3 again.

diff --git a/avmedia/source/gstreamer/gstplayer.cxx 
b/avmedia/source/gstreamer/gstplayer.cxx
index a8d2642..fa1dcbd 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -230,22 +230,14 @@ GstBusSyncReply Player::processSyncMessage( GstMessage 
*message )
 }
 }
 
-#if OSL_DEBUG_LEVEL  2
-sal_Bool aSuccess =
-#endif
-  maSizeCondition.set();
-DBG( %p set condition result: %d, this, aSuccess );
+maSizeCondition.set();
 }
 }
 }
 } else if( GST_MESSAGE_TYPE( message ) == GST_MESSAGE_ERROR ) {
 if( mnWidth == 0 ) {
 // an error occurred, set condition so that OOo thread doesn't 
wait for us
-#if OSL_DEBUG_LEVEL  2
-sal_Bool aSuccess =
-#endif
-maSizeCondition.set();
-DBG( %p set condition result: %d, this, aSuccess );
+maSizeCondition.set();
 }
 }
 
@@ -537,7 +529,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize(  )
 
 TimeValue aTimeout = { 10, 0 };
 #if OSL_DEBUG_LEVEL  2
-oslConditionResult aResult =
+osl::Condition::Result aResult =
 #endif
  maSizeCondition.wait( aTimeout );
 
commit 1984e0b41e0449b6c5b1a94411a4e7559d2ca746
Author: Thorsten Behrens tbehr...@suse.com
Date:   Fri Feb 17 13:42:12 2012 +0100

Make l10ntools module buildable with dbglevel=3 again.

diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index ceb0f1e..4cbf8d5 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -32,6 +32,7 @@
 #include functional
 
 #include osl/file.hxx
+#include sal/log.hxx
 // local includes
 #include stdio.h
 #include stdlib.h
@@ -70,7 +71,7 @@ void HelpParser::Dump(LangHashMap* rElem_in,const 
rtl::OString  sKey_in)
 {
 x=posn-first;
 y=posn-second-ToOString();
-fprintf(stdout,key=%s value=%s\n,x.GetBuffer(),y.getStr());
+fprintf(stdout,key=%s value=%s\n,x.getStr(),y.getStr());
 }
 fprintf(stdout,+--+\n);
 }
@@ -291,7 +292,7 @@ bool HelpParser::MergeSingleFile( XMLFile* file , 
MergeDataFile aMergeDataFile
 #if OSL_DEBUG_LEVEL  2
 printf(*DUMPING 
HASHMAP***);
 Dump(aXMLStrHM);
-printf(DBG: sHelpFile = %s\n,sHelpFile.GetBuffer() );
+printf(DBG: sHelpFile = %s\n,sHelpFile.getStr() );
 #endif
 
 pResData.sGId  =  pos-first;
commit 49b54b37e86df2c66fdcdafa08e8f9275ca44fb1
Author: Thorsten Behrens tbehr...@suse.com
Date:   Thu Feb 16 18:08:34 2012 +0100

Make filters module buildable with dbglevel=3 again.

diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index f941cba..5d46c7c 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -1771,6 +1771,9 @@ static void writeShapes( StatePool   
 rStat
 visitElements(aVisitor, xElem);
 }
 
+} // namespace
+
+
 #if OSL_DEBUG_LEVEL  2
 struct DumpingVisitor
 {
@@ -1813,8 +1816,6 @@ static void dumpTree( const 
uno::Referencexml::dom::XElement xElem )
 }
 #endif
 
-} // namespace
-
 
 SVGReader::SVGReader(const uno::Referencelang::XMultiServiceFactory 
xServiceFactory,
  const uno::Referenceio::XInputStream   
xInputStream,
@@ -2768,7 +2769,7 @@ bool importSvg(SvStream  rStream, Graphic  rGraphic )
 svgi::visitElements(aVisitor, xDocElem);
 
 #if OSL_DEBUG_LEVEL  2
-dumpTree(xDocElem);
+svgi::dumpTree(xDocElem);
 #endif
 
 // render all shapes to mtf
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: jurt/Module_jurt.mk

2012-02-17 Thread Stephan Bergmann
 jurt/Module_jurt.mk |   11 +++
 1 file changed, 3 insertions(+), 8 deletions(-)

New commits:
commit e14700edc0ebb194392b53e19d02be9f5c7e3e6f
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 17 16:14:51 2012 +0100

Move all jurt JunitTests back to subsequentcheck for now

...as they have further dependencies on modules higher up in the hierarchy.

diff --git a/jurt/Module_jurt.mk b/jurt/Module_jurt.mk
index e81f90a..50339cd 100644
--- a/jurt/Module_jurt.mk
+++ b/jurt/Module_jurt.mk
@@ -47,23 +47,18 @@ $(eval $(call gb_Module_add_targets,jurt,\
 ))
 endif
 
-$(eval $(call gb_Module_add_check_targets,jurt,\
+$(eval $(call gb_Module_add_subsequentcheck_targets,jurt,\
 JunitTest_bridgefactory \
 JunitTest_connections \
 JunitTest_java \
+JunitTest_java_remote \
 JunitTest_remote \
+JunitTest_uno \
 JunitTest_urp \
 JunitTest_util \
 Package_test_urp \
 ))
 
-#TOOD: The following depend on OOoRunnerLight.jar from qadevOOo (but only for
-# WaitUnreachable, which should be moved elsewhere):
-$(eval $(call gb_Module_add_subsequentcheck_targets,jurt,\
-JunitTest_java_remote \
-JunitTest_uno \
-))
-
 endif
 
 # vim:set shiftwidth=4 softtabstop=4 expandtab:
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: fpicker/source

2012-02-17 Thread Michael Meeks
 fpicker/source/win32/filepicker/asynceventnotifier.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b7a0b9e51918fb0de2ec290f90178d36e4761f67
Author: Mariusz Dykierek mariuszdykie...@gmail.com
Date:   Fri Feb 17 15:15:44 2012 +

Possible inefficient checking for 'm_EventList' emptiness.

diff --git a/fpicker/source/win32/filepicker/asynceventnotifier.cxx 
b/fpicker/source/win32/filepicker/asynceventnotifier.cxx
index a155f8b..748e5ac 100644
--- a/fpicker/source/win32/filepicker/asynceventnotifier.cxx
+++ b/fpicker/source/win32/filepicker/asynceventnotifier.cxx
@@ -240,7 +240,7 @@ size_t SAL_CALL CAsyncEventNotifier::getEventListSize()
 void SAL_CALL CAsyncEventNotifier::resetNotifyEvent()
 {
 osl::MutexGuard aGuard(m_Mutex);
-if (0 == m_EventList.size())
+if ( m_EventList.empty() )
 ResetEvent(m_NotifyEvent);
 }
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - cli_ure/source dtrans/source editeng/source extensions/test io/test sfx2/source writerperfect/source

2012-02-17 Thread Michael Meeks
 cli_ure/source/uno_bridge/cli_bridge.h   |2 +-
 dtrans/source/win32/dtobj/FetcList.cxx   |2 +-
 dtrans/source/win32/dtobj/FmtFilter.cxx  |2 +-
 editeng/source/items/borderline.cxx  |   21 ++---
 extensions/test/ole/cpnt/cpnt.cxx|2 +-
 extensions/test/stm/datatest.cxx |4 ++--
 io/test/stm/datatest.cxx |4 ++--
 sfx2/source/doc/printhelper.cxx  |2 +-
 writerperfect/source/filter/FontStyle.hxx|2 +-
 writerperfect/source/filter/TextRunStyle.hxx |4 ++--
 10 files changed, 18 insertions(+), 27 deletions(-)

New commits:
commit 51b3eb3a391cc5329d358a2d4159861537feab26
Author: Mariusz Dykierek mariuszdykie...@gmail.com
Date:   Fri Feb 17 15:25:28 2012 +

clean up logic

diff --git a/editeng/source/items/borderline.cxx 
b/editeng/source/items/borderline.cxx
index b617ff4..1677141 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -492,29 +492,20 @@ bool SvxBorderLine::HasPriority( const SvxBorderLine 
rOtherLine ) const
 const sal_uInt16 nThisSize = GetOutWidth() + GetDistance() + GetInWidth();
 const sal_uInt16 nOtherSize = rOtherLine.GetOutWidth() + 
rOtherLine.GetDistance() + rOtherLine.GetInWidth();
 
-if (nThisSize  nOtherSize)
+if ( nThisSize  nOtherSize )
 {
 return true;
 }
-else if (nThisSize  nOtherSize)
+else if ( nThisSize  nOtherSize )
 {
 return false;
 }
-else
+else if ( rOtherLine.GetInWidth()  !GetInWidth() )
 {
-if ( rOtherLine.GetInWidth()  !GetInWidth() )
-{
-return true;
-}
-else if ( GetInWidth()  !rOtherLine.GetInWidth() )
-{
-return false;
-}
-else
-{
-return false;
-}
+return true;
 }
+
+return false;
 }
 
 } // namespace editeng
commit b8f007d05250258a8d8b5113298867f142af6e09
Author: Mariusz Dykierek mariuszdykie...@gmail.com
Date:   Fri Feb 17 15:22:46 2012 +

remove extraneous qualifiers that break some compilers

diff --git a/cli_ure/source/uno_bridge/cli_bridge.h 
b/cli_ure/source/uno_bridge/cli_bridge.h
index 0306e4d..b9297d0 100644
--- a/cli_ure/source/uno_bridge/cli_bridge.h
+++ b/cli_ure/source/uno_bridge/cli_bridge.h
@@ -96,7 +96,7 @@ struct Bridge
 
 System::Object* map_uno2cli(uno_Interface * pUnoI, 
typelib_InterfaceTypeDescription* pTD) const;
 
-System::Object* Bridge::call_uno(uno_Interface * pUnoI,
+System::Object* call_uno(uno_Interface * pUnoI,
   typelib_TypeDescription* member_td,
   typelib_TypeDescriptionReference * return_type,
   sal_Int32 nParams, typelib_MethodParameter const * 
pParams,
diff --git a/extensions/test/ole/cpnt/cpnt.cxx 
b/extensions/test/ole/cpnt/cpnt.cxx
index 0435ced..b20795e 100644
--- a/extensions/test/ole/cpnt/cpnt.cxx
+++ b/extensions/test/ole/cpnt/cpnt.cxx
@@ -315,7 +315,7 @@ public: // XTestSequence
 class EventListener: public WeakImplHelper1XEventListener
 {
 public:
-EventListener::EventListener(): bCalled( sal_False)
+EventListener(): bCalled( sal_False)
 {}
 virtual void SAL_CALL disposing( const 
::com::sun::star::lang::EventObject Source ) throw (RuntimeException);
 
diff --git a/extensions/test/stm/datatest.cxx b/extensions/test/stm/datatest.cxx
index b084ac2..2bdc349 100644
--- a/extensions/test/stm/datatest.cxx
+++ b/extensions/test/stm/datatest.cxx
@@ -662,8 +662,8 @@ public:
 
 
 private:
-void OObjectStreamTest::testObject( const XObjectOutputStreamRef rOut,
-const XObjectInputStreamRef rIn );
+void testObject( const XObjectOutputStreamRef rOut,
+ const XObjectInputStreamRef rIn );
 
 private:
 };
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index 47b7769..4504403 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -668,8 +668,8 @@ public:
 
 
 private:
-void OObjectStreamTest::testObject( const Reference 
XObjectOutputStream  rOut,
-const Reference 
XObjectInputStream rIn );
+void testObject( const Reference XObjectOutputStream  rOut,
+ const Reference XObjectInputStream rIn );
 
 private:
 };
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx
index 9206d3a..33b33a6 100644
--- a/sfx2/source/doc/printhelper.cxx
+++ b/sfx2/source/doc/printhelper.cxx
@@ -511,7 +511,7 @@ class ImplUCBPrintWatcher : public ::osl::Thread
 
 // lock for further using of our member isn't neccessary - because
 // we truns alone by defenition. Nobody join for us nor use us ...
-ImplUCBPrintWatcher::moveAndDeleteTemp(m_pTempFile,m_sTargetURL);
+moveAndDeleteTemp(m_pTempFile,m_sTargetURL);
 
 // 

[Libreoffice-commits] .: distro-configs/LibreOfficeMacOSX.conf

2012-02-17 Thread Thorsten Behrens
 distro-configs/LibreOfficeMacOSX.conf |1 +
 1 file changed, 1 insertion(+)

New commits:
commit fdfeb21102e85f94a1ecb22fb376e1875319765e
Author: Thorsten Behrens tbehr...@suse.com
Date:   Fri Feb 17 16:18:43 2012 +0100

Fix fdo#45584 - disable cairocanvas on Mac.

We never used cairocanvas on Mac, this got accidentally enabled
due to configure.in cleanups. Not that we shouldn't, but it needs
some more fixing.

diff --git a/distro-configs/LibreOfficeMacOSX.conf 
b/distro-configs/LibreOfficeMacOSX.conf
index 108ef81..9366a04 100644
--- a/distro-configs/LibreOfficeMacOSX.conf
+++ b/distro-configs/LibreOfficeMacOSX.conf
@@ -1,6 +1,7 @@
 --with-vendor=The Document Foundation
 --enable-epm
 --enable-binfilter
+--disable-cairo-canvas
 --with-java-target-version=1.5
 --enable-ext-presenter-minimizer
 --enable-ext-presenter-console
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - extensions/source icu/arm-assembler.patch icu/makefile.mk np_sdk/inc Repository.mk scp2/source svx/Executable_gengal.bin.mk svx/Module_svx.mk svx/Package_gengal.mk

2012-02-17 Thread René Engelhard
 Repository.mk |1 
 extensions/source/nsplugin/source/npshell.cxx |2 
 icu/arm-assembler.patch   |   24 ++
 icu/makefile.mk   |3 
 np_sdk/inc/npapi.h|2 
 scp2/source/ooo/file_ooo.scp  |   22 +
 svx/Executable_gengal.bin.mk  |   80 
 svx/Module_svx.mk |2 
 svx/Package_gengal.mk |   31 +++
 svx/source/gengal/gengal.cxx  |8 +-
 svx/source/gengal/gengal.sh   |  103 ++
 11 files changed, 271 insertions(+), 7 deletions(-)

New commits:
commit d40a7f18a859f01678008c05cb1baf9cc272a9fb
Author: Rene Engelhard r...@debian.org
Date:   Fri Feb 17 15:45:05 2012 +0100

make gengal work again

diff --git a/Repository.mk b/Repository.mk
index b87dc61..5584744 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -84,6 +84,7 @@ else
 $(eval $(call gb_Helper_register_executables,OOO,\
 soffice.bin \
 unopkg.bin \
+gengal.bin \
 ))
 
 ifeq ($(OS),MACOSX)
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index 4d5d771..33432aa 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -124,6 +124,28 @@ End
 #endif
 #endif
 
+File gid_File_Bin_Gengal
+BIN_FILE_BODY;
+Dir = gid_Brand_Dir_Program;
+Styles = (PACKED);
+  #ifdef UNX
+Name = gengal.bin;
+  #else
+Name = gengal.exe;
+  #endif
+End
+
+#ifdef UNX
+
+File gid_File_Script_Gengal
+BIN_FILE_BODY;
+Dir = gid_Brand_Dir_Program;
+Styles = (PACKED);
+Name = gengal;
+End
+
+#endif
+
 #if !defined(WITHOUT_MOZILLA)  defined(UNX)  !defined(QUARTZ)
 
 File gid_File_Bin_Pluginapp
diff --git a/svx/Executable_gengal.bin.mk b/svx/Executable_gengal.bin.mk
new file mode 100644
index 000..36f7752
--- /dev/null
+++ b/svx/Executable_gengal.bin.mk
@@ -0,0 +1,80 @@
+#*
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# http://www.openoffice.org/license.html
+# for a copy of the LGPLv3 License.
+#
+#*
+
+$(eval $(call gb_Executable_Executable,gengal.bin))
+
+$(eval $(call gb_Executable_set_include,gengal.bin,\
+$$(INCLUDE) \
+-I$(SRCDIR)/svx/inc/ \
+-I$(SRCDIR)/svx/inc/pch \
+-I$(OUTDIR)/inc/offuh \
+-I$(OUTDIR)/inc/udkapi \
+-I$(OUTDIR)/inc/offapi \
+))
+
+$(eval $(call gb_Executable_add_cxxflags,gengal.bin,\
+$$(CXXFLAGS) \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+sal \
+tl \
+svl \
+comphelper \
+cppu \
+cppuhelper \
+vcl \
+ucbhelper \
+svxcore \
+))
+
+$(eval $(call gb_Executable_add_exception_objects,gengal.bin,\
+svx/source/gengal/gengal \
+))
+
+$(eval $(call gb_Executable_add_linked_static_libs,gengal.bin,\
+vclmain \
+))
+
+ifeq ($(OS),WNT)
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+kernel32 \
+msvcrt \
+oldnames \
+user32 \
+uwinapi \
+))
+endif
+
+ifeq ($(OS),LINUX)
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+dl \
+pthread \
+))
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/svx/Module_svx.mk b/svx/Module_svx.mk
index ab1b595..fad 100644
--- a/svx/Module_svx.mk
+++ b/svx/Module_svx.mk
@@ -39,6 +39,8 @@ $(eval $(call gb_Module_add_targets,svx,\
 Package_globlmn_hrc \
 Package_inc \
 Package_sdi \
+Package_gengal \
+Executable_gengal.bin \
 ))
 
 $(eval $(call gb_Module_add_subsequentcheck_targets,svx,\
diff --git a/svx/Package_gengal.mk b/svx/Package_gengal.mk
new file mode 100644
index 000..c47fc85
--- /dev/null
+++ b/svx/Package_gengal.mk
@@ -0,0 +1,31 @@
+#*
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2011 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite

[Libreoffice-commits] .: Branch 'libreoffice-3-5' - 2 commits - extensions/source np_sdk/inc Repository.mk scp2/source svx/Executable_gengal.bin.mk svx/Module_svx.mk svx/Package_gengal.mk svx/source

2012-02-17 Thread René Engelhard
 Repository.mk |1 
 extensions/source/nsplugin/source/npshell.cxx |2 
 np_sdk/inc/npapi.h|2 
 scp2/source/ooo/file_ooo.scp  |   22 +
 svx/Executable_gengal.bin.mk  |   80 
 svx/Module_svx.mk |2 
 svx/Package_gengal.mk |   31 +++
 svx/source/gengal/gengal.cxx  |8 +-
 svx/source/gengal/gengal.sh   |  103 ++
 9 files changed, 245 insertions(+), 6 deletions(-)

New commits:
commit e46472ae2e4eea0e201565fb8dd7bdcb59ef9c28
Author: Rene Engelhard r...@debian.org
Date:   Fri Feb 17 15:40:37 2012 +0100

char* - const char* for npapis getMIMEDescription to fix build with newer 
mozs

diff --git a/extensions/source/nsplugin/source/npshell.cxx 
b/extensions/source/nsplugin/source/npshell.cxx
index 134ee36..e25326f 100644
--- a/extensions/source/nsplugin/source/npshell.cxx
+++ b/extensions/source/nsplugin/source/npshell.cxx
@@ -361,7 +361,7 @@ MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_ASCII 
:odp:OpenDocument Presentation;
 MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII :otp:OpenDocument 
Presentation Template;
 MIMETYPE_OASIS_OPENDOCUMENT_FORMULA_ASCII :odf:OpenDocument Formula; );
 
-char*
+const char*
 NPP_GetMIMEDescription(void)
 {
 debug_fprintf(NSP_LOG_APPEND, print by Netscape Plugin,  
NPP_GetMIMEDescription:%s.\n, pMimeTypes);
diff --git a/np_sdk/inc/npapi.h b/np_sdk/inc/npapi.h
index d67dcd3..4a7f7ce 100644
--- a/np_sdk/inc/npapi.h
+++ b/np_sdk/inc/npapi.h
@@ -784,7 +784,7 @@ extern C {
 
 /* NPP_* functions are provided by the plugin and called by the navigator. */
 
-char* NPP_GetMIMEDescription(void);
+const char* NPP_GetMIMEDescription(void);
 NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance,
   uint16_t mode, int16_t argc, char* argn[],
   char* argv[], NPSavedData* saved);
commit b948b1ec30e2001fe2386f70510c64ed9f19270c
Author: Rene Engelhard r...@debian.org
Date:   Fri Feb 17 15:45:05 2012 +0100

make gengal work again

diff --git a/Repository.mk b/Repository.mk
index 251405b..5df6c87 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -78,6 +78,7 @@ else
 $(eval $(call gb_Helper_register_executables,OOO,\
soffice.bin \
unopkg.bin \
+   gengal.bin \
 ))
 
 ifeq ($(OS),MACOSX)
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index 7f1cc64..e3b9abe 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -121,6 +121,28 @@ File gid_File_Exe_Nsplugin
 End
 #endif
 
+File gid_File_Bin_Gengal
+BIN_FILE_BODY;
+Dir = gid_Brand_Dir_Program;
+Styles = (PACKED);
+  #ifdef UNX
+Name = gengal.bin;
+  #else
+Name = gengal.exe;
+  #endif
+End
+
+#ifdef UNX
+
+File gid_File_Script_Gengal
+BIN_FILE_BODY;
+Dir = gid_Brand_Dir_Program;
+Styles = (PACKED);
+Name = gengal;
+End
+
+#endif
+
 #if !defined(WITHOUT_MOZILLA)  defined(UNX)  !defined(QUARTZ)
 
 File gid_File_Bin_Pluginapp
diff --git a/svx/Executable_gengal.bin.mk b/svx/Executable_gengal.bin.mk
new file mode 100644
index 000..36f7752
--- /dev/null
+++ b/svx/Executable_gengal.bin.mk
@@ -0,0 +1,80 @@
+#*
+#
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# 
+# Copyright 2000, 2010 Oracle and/or its affiliates.
+#
+# OpenOffice.org - a multi-platform office productivity suite
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# http://www.openoffice.org/license.html
+# for a copy of the LGPLv3 License.
+#
+#*
+
+$(eval $(call gb_Executable_Executable,gengal.bin))
+
+$(eval $(call gb_Executable_set_include,gengal.bin,\
+$$(INCLUDE) \
+-I$(SRCDIR)/svx/inc/ \
+-I$(SRCDIR)/svx/inc/pch \
+-I$(OUTDIR)/inc/offuh \
+-I$(OUTDIR)/inc/udkapi \
+-I$(OUTDIR)/inc/offapi \
+))
+
+$(eval $(call gb_Executable_add_cxxflags,gengal.bin,\
+$$(CXXFLAGS) \
+))
+
+$(eval $(call gb_Executable_add_linked_libs,gengal.bin,\
+sal \
+tl \
+svl \
+comphelper \
+cppu \
+cppuhelper \
+vcl \
+

[Libreoffice-commits] .: drawinglayer/inc drawinglayer/source unusedcode.easy

2012-02-17 Thread Michael Meeks
 drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx|1 
 drawinglayer/inc/drawinglayer/attribute/sdrallattribute3d.hxx  |3 -
 drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx |1 
 drawinglayer/inc/drawinglayer/attribute/sdrlightattribute3d.hxx|1 
 drawinglayer/inc/drawinglayer/attribute/sdrlightingattribute3d.hxx |1 
 drawinglayer/inc/drawinglayer/attribute/sdrlineattribute.hxx   |4 -
 drawinglayer/inc/drawinglayer/attribute/sdrobjectattribute3d.hxx   |1 
 drawinglayer/inc/drawinglayer/attribute/sdrsceneattribute3d.hxx|1 
 drawinglayer/inc/drawinglayer/primitive2d/graphicprimitive2d.hxx   |3 -
 drawinglayer/inc/drawinglayer/primitive2d/polygonprimitive2d.hxx   |7 
---
 drawinglayer/inc/drawinglayer/primitive2d/polypolygonprimitive2d.hxx   |   15 
--
 drawinglayer/inc/drawinglayer/primitive2d/rendergraphicprimitive2d.hxx |2 
 drawinglayer/inc/drawinglayer/primitive3d/polygonprimitive3d.hxx   |5 
--
 drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx  |1 
 drawinglayer/source/attribute/fillbitmapattribute.cxx  |6 
--
 drawinglayer/source/attribute/sdrallattribute3d.cxx|9 
---
 drawinglayer/source/attribute/sdrfillbitmapattribute.cxx   |5 
--
 drawinglayer/source/attribute/sdrlightattribute3d.cxx  |6 
--
 drawinglayer/source/attribute/sdrlightingattribute3d.cxx   |5 
--
 drawinglayer/source/attribute/sdrlineattribute.cxx |   11 

 drawinglayer/source/attribute/sdrobjectattribute3d.cxx |6 
--
 drawinglayer/source/attribute/sdrsceneattribute3d.cxx  |5 
--
 drawinglayer/source/primitive2d/graphicprimitive2d.cxx |   10 

 drawinglayer/source/primitive2d/polygonprimitive2d.cxx |   11 

 drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx |   23 
--
 drawinglayer/source/primitive2d/rendergraphicprimitive2d.cxx   |   10 

 drawinglayer/source/primitive3d/polygonprimitive3d.cxx |   10 

 drawinglayer/source/processor3d/baseprocessor3d.cxx|6 
--
 unusedcode.easy|   17 
---
 29 files changed, 186 deletions(-)

New commits:
commit bb61f56d71b699dfbe422bac37a3151767e6a40f
Author: Szabolcs Dezsi dezsisz...@hotmail.com
Date:   Fri Feb 17 13:18:17 2012 +0100

Removed unused code from drawinlayer

diff --git a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx 
b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
index 96b181d..285bf79 100644
--- a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
@@ -65,7 +65,6 @@ namespace drawinglayer
 const basegfx::B2DPoint rTopLeft,
 const basegfx::B2DVector rSize,
 bool bTiling);
-FillBitmapAttribute();
 FillBitmapAttribute(const FillBitmapAttribute rCandidate);
 FillBitmapAttribute operator=(const FillBitmapAttribute 
rCandidate);
 ~FillBitmapAttribute();
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrallattribute3d.hxx 
b/drawinglayer/inc/drawinglayer/attribute/sdrallattribute3d.hxx
index 1831b78..f92ccc6 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrallattribute3d.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/sdrallattribute3d.hxx
@@ -66,9 +66,6 @@ namespace drawinglayer
 const FillGradientAttribute rFillFloatTransGradient);
 SdrLineFillShadowAttribute3D();
 
-// checks if the incarnation is default constructed
-bool isDefault() const;
-
 // compare operator
 bool operator==(const SdrLineFillShadowAttribute3D rCandidate) 
const;
 
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx 
b/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx
index ab7f003..fc33bf9 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/sdrfillbitmapattribute.hxx
@@ -89,7 +89,6 @@ namespace drawinglayer
 const basegfx::B2DVector getRectPoint() const;
 bool getTiling() const;
 bool getStretch() const;
-bool getLogSize() const;
 
 // FillBitmapAttribute generator
 FillBitmapAttribute getFillBitmapAttribute(const 
basegfx::B2DRange rRange) const;
diff --git a/drawinglayer/inc/drawinglayer/attribute/sdrlightattribute3d.hxx 
b/drawinglayer/inc/drawinglayer/attribute/sdrlightattribute3d.hxx
index 03a731c..d4f5499 100644
--- a/drawinglayer/inc/drawinglayer/attribute/sdrlightattribute3d.hxx
+++ 

[Libreoffice-commits] .: cppcanvas/inc cppcanvas/source unusedcode.easy

2012-02-17 Thread Michael Meeks
 cppcanvas/inc/cppcanvas/basegfxfactory.hxx   |6 -
 cppcanvas/inc/cppcanvas/vclfactory.hxx   |1 
 cppcanvas/source/inc/implrenderer.hxx|5 -
 cppcanvas/source/mtfrenderer/emfplus.cxx |   28 --
 cppcanvas/source/mtfrenderer/implrenderer.cxx|   48 ---
 cppcanvas/source/mtfrenderer/mtftools.cxx|   62 ---
 cppcanvas/source/mtfrenderer/mtftools.hxx|   56 -
 cppcanvas/source/mtfrenderer/transparencygroupaction.cxx |   19 
 cppcanvas/source/mtfrenderer/transparencygroupaction.hxx |   28 --
 cppcanvas/source/wrapper/basegfxfactory.cxx  |   31 ---
 cppcanvas/source/wrapper/implsprite.cxx  |5 -
 cppcanvas/source/wrapper/implsprite.hxx  |4 
 cppcanvas/source/wrapper/implspritecanvas.cxx|9 --
 cppcanvas/source/wrapper/implspritecanvas.hxx|6 -
 cppcanvas/source/wrapper/vclfactory.cxx  |4 
 unusedcode.easy  |   12 --
 16 files changed, 324 deletions(-)

New commits:
commit eed2695cd5d63bdaf8b02c5cbf3a7e4017e18173
Author: Szabolcs Dezsi dezsisz...@hotmail.com
Date:   Fri Feb 17 14:06:34 2012 +0100

Removed unused code from cppcanvas

diff --git a/cppcanvas/inc/cppcanvas/basegfxfactory.hxx 
b/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
index 5cb87aa..0aecf80 100644
--- a/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
+++ b/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
@@ -75,7 +75,6 @@ namespace cppcanvas
 coordinate space as the source polygon
  */
 PolyPolygonSharedPtrcreatePolyPolygon( const CanvasSharedPtr, 
const ::basegfx::B2DPolygon rPoly ) const;
-PolyPolygonSharedPtrcreatePolyPolygon( const CanvasSharedPtr, 
const ::basegfx::B2DPolyPolygon rPoly ) const;
 
 /** Create an uninitialized bitmap with the given size
  */
@@ -85,16 +84,11 @@ namespace cppcanvas
  */
 BitmapSharedPtr createAlphaBitmap( const CanvasSharedPtr, 
const ::basegfx::B2ISize rSize ) const;
 
-/** Create a text portion with the given content string
- */
-TextSharedPtr   createText( const CanvasSharedPtr, const 
::rtl::OUString ) const;
-
 private:
 friend struct InitInstance2;
 
 // singleton
 BaseGfxFactory();
-~BaseGfxFactory();
 
 // default: disabled copy/assignment
 BaseGfxFactory(const BaseGfxFactory);
diff --git a/cppcanvas/inc/cppcanvas/vclfactory.hxx 
b/cppcanvas/inc/cppcanvas/vclfactory.hxx
index ab84534..14f4c51 100644
--- a/cppcanvas/inc/cppcanvas/vclfactory.hxx
+++ b/cppcanvas/inc/cppcanvas/vclfactory.hxx
@@ -102,7 +102,6 @@ namespace cppcanvas
 
 // singleton
 VCLFactory();
-~VCLFactory();
 
 // default: disabled copy/assignment
 VCLFactory(const VCLFactory);
diff --git a/cppcanvas/source/inc/implrenderer.hxx 
b/cppcanvas/source/inc/implrenderer.hxx
index 9c270e8..c93c83c 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -184,9 +184,6 @@ static float GetSwapFloat( SvStream rSt )
 ImplRenderer( const CanvasSharedPtrrCanvas,
   const GDIMetaFilerMtf,
   const Parameters rParms );
-ImplRenderer( const CanvasSharedPtrrCanvas,
-  const BitmapEx   rBmpEx,
-  const Parameters rParms );
 
 virtual ~ImplRenderer();
 
@@ -220,10 +217,8 @@ static float GetSwapFloat( SvStream rSt )
 void ReadRectangle (SvStream s, float x, float y, float width, 
float height, sal_uInt32 flags = 0);
 void ReadPoint (SvStream s, float x, float y, sal_uInt32 flags 
= 0);
 void MapToDevice (double x, double y);
-::basegfx::B2DPoint Map (::basegfx::B2DPoint p);
 ::basegfx::B2DPoint Map (double ix, double iy);
 ::basegfx::B2DSize MapSize (double iwidth, double iheight);
-::basegfx::B2DRange MapRectangle (double ix, double iy, double 
iwidth, double iheight);
 
 private:
 // default: disabled copy/assignment
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx 
b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 91c9560..8ccb75b 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -825,11 +825,6 @@ namespace cppcanvas
 y = 100*nMmY*y/nPixY;
 }
 
-::basegfx::B2DPoint ImplRenderer::Map (::basegfx::B2DPoint p)
-{
-return Map (p.getX (), p.getY ());
-}
-
 ::basegfx::B2DPoint ImplRenderer::Map (double ix, double iy)
 {
 double x, y;
@@ -863,29 +858,6 @@ namespace cppcanvas
 return ::basegfx::B2DSize (w, 

[Libreoffice-commits] .: Branch 'libreoffice-3-5' - scp2/source

2012-02-17 Thread Michael Meeks
 scp2/source/winexplorerext/registryitem_winexplorerext.scp |   24 ++---
 1 file changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 02f57086c2d35b68b35c2f62926ef9597eb7a85f
Author: Andras Timar ati...@suse.com
Date:   Fri Feb 17 12:58:37 2012 +0100

fdo#46167 fix path of shell extension dll in registry

Signed-off-by: Michael Meeks michael.me...@suse.com

diff --git a/scp2/source/winexplorerext/registryitem_winexplorerext.scp 
b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
index 78de789..47465ff 100644
--- a/scp2/source/winexplorerext/registryitem_winexplorerext.scp
+++ b/scp2/source/winexplorerext/registryitem_winexplorerext.scp
@@ -35,8 +35,8 @@ RegistryItem 
gid_Regitem_Clsid_087B3AE3_E237_4467_B8DB_5A38AB959AC9_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{087B3AE3-E237-4467-B8DB-5A38AB959AC9}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_087B3AE3_E237_4467_B8DB_5A38AB959AC9_InProcServer32_ThreadingModel
@@ -58,8 +58,8 @@ RegistryItem 
gid_Regitem_Clsid_3B092F0C_7696_40E3_A80F_68D74DA84210_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{3B092F0C-7696-40E3-A80F-68D74DA84210}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_3B092F0C_7696_40E3_A80F_68D74DA84210_InProcServer32_ThreadingModel
@@ -90,8 +90,8 @@ RegistryItem 
gid_Regitem_Clsid_C52AF81D_F7A0_4AAB_8E87_F80A60CCD396_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_C52AF81D_F7A0_4AAB_8E87_F80A60CCD396_InProcServer32_ThreadingModel
@@ -124,8 +124,8 @@ RegistryItem 
gid_Regitem_Clsid_7BC0E710_5703_45BE_A29D_5D46D8B39262_InProcServer
 ModuleID = gid_Module_Root;
 Subkey = CLSID\{7BC0E710-5703-45BE-A29D-5D46D8B39262}\InprocServer32;
 Styles = (X64); // Values: X64 / X64_ONLY
-Value = [INSTALLLOCATION]shlxthdl\ooofilt.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\ooofilt_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\ooofilt.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\ooofilt_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_7BC0E710_5703_45BE_A29D_5D46D8B39262_InProcServer32_ThreadingModel
@@ -167,8 +167,8 @@ RegistryItem 
gid_Regitem_Clsid_63542C48_9552_494A_84F7_73AA6A7C99C1_InProcServer
 ModuleID = gid_Module_Optional_Winexplorerext;
 Styles = (X64);
 Subkey = CLSID\{63542C48-9552-494A-84F7-73AA6A7C99C1}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\shlxthdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\shlxthdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\shlxthdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\shlxthdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_63542C48_9552_494A_84F7_73AA6A7C99C1_InProcServer32_ThreadingModel
@@ -201,8 +201,8 @@ RegistryItem 
gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer
 ComponentCondition = VersionNT = 600;
 Styles = (X64);
 Subkey = CLSID\{AE424E85-F6DF-4910-A6A9-438797986431}\InprocServer32;
-Value = [INSTALLLOCATION]shlxthdl\propertyhdl.dll;
-Val64 = [INSTALLLOCATION]shlxthdl\propertyhdl_x64.dll;
+Value = [INSTALLLOCATION]program\shlxthdl\propertyhdl.dll;
+Val64 = [INSTALLLOCATION]program\shlxthdl\propertyhdl_x64.dll;
 End
 
 RegistryItem 
gid_Regitem_Clsid_AE424E85_F6DF_4910_A6A9_438797986431_InProcServer32_ThreadingModel
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - configure.in jvmaccess/Library_jvmaccess.mk jvmfwk/Library_jvmfwk.mk jvmfwk/Library_sunjavaplugin.mk README.cross unotest/Library_unoexceptionprotector.mk unotest/

2012-02-17 Thread Tor Lillqvist
 README.cross |4 ++--
 configure.in |2 +-
 jvmaccess/Library_jvmaccess.mk   |7 +--
 jvmfwk/Library_jvmfwk.mk |1 +
 jvmfwk/Library_sunjavaplugin.mk  |1 +
 unotest/Library_unoexceptionprotector.mk |1 +
 unotest/Library_unotest.mk   |1 +
 7 files changed, 8 insertions(+), 9 deletions(-)

New commits:
commit 33b6af02195144875e9fa1a0663d55441aa3f5f4
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Fri Feb 17 17:41:33 2012 +0200

We want gb_STDLIBS here surely?

diff --git a/jvmaccess/Library_jvmaccess.mk b/jvmaccess/Library_jvmaccess.mk
index 98bfb46..c7bddf2 100644
--- a/jvmaccess/Library_jvmaccess.mk
+++ b/jvmaccess/Library_jvmaccess.mk
@@ -45,14 +45,9 @@ $(eval $(call gb_Library_add_linked_libs,jvmaccess,\
 cppu \
 sal \
 salhelper \
+   $(gb_STDLIBS) \
 ))
 
-ifeq ($(OS),WNT)
-$(eval $(call gb_Library_add_linked_libs,jvmaccess,\
-advapi32 \
-))
-endif
-
 $(eval $(call gb_Library_add_exception_objects,jvmaccess,\
 jvmaccess/source/classpath \
 jvmaccess/source/unovirtualmachine \
diff --git a/jvmfwk/Library_jvmfwk.mk b/jvmfwk/Library_jvmfwk.mk
index e58dade..5b424d0 100644
--- a/jvmfwk/Library_jvmfwk.mk
+++ b/jvmfwk/Library_jvmfwk.mk
@@ -44,6 +44,7 @@ $(eval $(call gb_Library_add_api,jvmfwk,\
 $(eval $(call gb_Library_add_linked_libs,jvmfwk,\
 cppuhelper \
 sal \
+   $(gb_STDLIBS) \
 ))
 
 ifeq ($(OS),WNT)
diff --git a/jvmfwk/Library_sunjavaplugin.mk b/jvmfwk/Library_sunjavaplugin.mk
index 734e564..d1d2af4 100644
--- a/jvmfwk/Library_sunjavaplugin.mk
+++ b/jvmfwk/Library_sunjavaplugin.mk
@@ -46,6 +46,7 @@ $(eval $(call gb_Library_add_linked_libs,sunjavaplugin,\
 cppuhelper \
 sal \
 salhelper \
+   $(gb_STDLIBS) \
 ))
 
 ifeq ($(OS),ANDROID)
diff --git a/unotest/Library_unoexceptionprotector.mk 
b/unotest/Library_unoexceptionprotector.mk
index 079574b..3324f3e 100644
--- a/unotest/Library_unoexceptionprotector.mk
+++ b/unotest/Library_unoexceptionprotector.mk
@@ -38,6 +38,7 @@ $(eval $(call 
gb_Library_add_linked_libs,unoexceptionprotector,\
cppu \
cppuhelper \
sal \
+   $(gb_STDLIBS) \
 ))
 
 $(eval $(call gb_Library_use_externals,unoexceptionprotector,\
diff --git a/unotest/Library_unotest.mk b/unotest/Library_unotest.mk
index 9cfd371..aad6abd 100644
--- a/unotest/Library_unotest.mk
+++ b/unotest/Library_unotest.mk
@@ -43,6 +43,7 @@ $(eval $(call gb_Library_add_linked_libs,unotest,\
cppu \
cppuhelper \
sal \
+   $(gb_STDLIBS) \
 ))
 
 $(eval $(call gb_Library_use_externals,unotest,\
commit 18f4ff23179620e834aa3ebd83a2e15c2f77cbe1
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Fri Feb 17 13:54:25 2012 +0200

Recommend to use NDK r7b

Drop compiler options -fexceptions -frtti for Android, I hope they are
taken care of by the makefilery where needed. At least either
-fexceptions or -fno-exceptions is used for each C++ compilation as
far as I know. Not so sure about RTTI, let's see.

diff --git a/README.cross b/README.cross
index 2acd497..d2a8b14 100644
--- a/README.cross
+++ b/README.cross
@@ -322,7 +322,7 @@ Here is an autogen.lastrun for Android, when 
cross-compiling from Mac OS X:
 
 CC_FOR_BUILD=ccache /Xcode3/usr/bin/gcc-4.0 -mmacosx-version-min=10.4
 CXX_FOR_BUILD=ccache /Xcode3/usr/bin/g++-4.0 -mmacosx-version-min=10.4
---with-android-ndk=/Users/tml/android-ndk-r7
+--with-android-ndk=/Users/tml/android-ndk-r7b
 --with-android-sdk=/Users/tml/android-sdk-macosx
 --build=x86_64-apple-darwin11
 --disable-zenity
@@ -338,7 +338,7 @@ And here is an autogen.lastrun for Android when 
cross-compiling from Linux:
 
 CC_FOR_BUILD=ccache gcc
 CXX_FOR_BUILD=ccache g++
---with-android-ndk=/home/tml/android-ndk-r7
+--with-android-ndk=/home/tml/android-ndk-r7b
 --with-android-sdk=/home/tml/android-sdk-linux_x86
 --with-ant-home=/opt/apache-ant-1.8.2
 --build=x86_64-unknown-linux-gnu
diff --git a/configure.in b/configure.in
index 2459b76..486d061 100644
--- a/configure.in
+++ b/configure.in
@@ -111,7 +111,7 @@ if test -n $with_android_ndk; then
ANDROIDCFLAGS=-march=armv7-a -mfloat-abi=softfp -mthumb -mfpu=neon 
-Wl,--fix-cortex-a8 --sysroot $ANDROID_NDK_HOME/platforms/android-9/arch-arm 
-L$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a
 
test -z $CC  CC=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-gcc 
$ANDROIDCFLAGS
-   test -z $CXX  CXX=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-g++ 
$ANDROIDCFLAGS -I $ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/include 
-I$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include 
-fexceptions -frtti
+   test -z $CXX  CXX=$ANDROID_ABI_PREBUILT_BIN/arm-linux-androideabi-g++ 
$ANDROIDCFLAGS -I $ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/include 
-I$ANDROID_NDK_HOME/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
 fi
 AC_SUBST(ANDROID_NDK_HOME)
 

[Libreoffice-commits] .: 4 commits - clucene/Library_clucene.mk clucene/Package_source.mk clucene/patches clucene/source connectivity/source package/source

2012-02-17 Thread Caolán McNamara
 clucene/Library_clucene.mk |6 ++
 clucene/Package_source.mk  |8 +++-
 clucene/patches/clucene-internal-zlib.patch|   15 +++
 clucene/source/Makefile|   16 +++-
 connectivity/source/commontools/makefile.mk|4 ++--
 connectivity/source/drivers/file/makefile.mk   |6 +++---
 package/source/zipapi/Deflater.cxx |2 --
 package/source/zipapi/Inflater.cxx |2 --
 package/source/zippackage/ZipPackageStream.cxx |1 +
 9 files changed, 49 insertions(+), 11 deletions(-)

New commits:
commit a818fa05c34bb2e969e2fe1972d9a52774538beb
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Feb 17 16:35:04 2012 +

get clucene building under windows-msvc

diff --git a/clucene/Library_clucene.mk b/clucene/Library_clucene.mk
index 74e7dbc..bda5917 100644
--- a/clucene/Library_clucene.mk
+++ b/clucene/Library_clucene.mk
@@ -47,6 +47,12 @@ $(eval $(call gb_Library_add_defs,clucene,\
 -Dclucene_contribs_lib_EXPORTS\
 ))
 
+ifeq ($(SYSTEM_ZLIB),YES)
+$(eval $(call gb_Library_add_defs,clucene,\
+-DSYSTEM_ZLIB \
+))
+endif
+
 $(eval $(call gb_Library_add_linked_libs,clucene,\
 $(gb_STDLIBS) \
 ))
diff --git a/clucene/Package_source.mk b/clucene/Package_source.mk
index b8a774e..c51dbce 100644
--- a/clucene/Package_source.mk
+++ b/clucene/Package_source.mk
@@ -35,9 +35,15 @@ $(eval $(call 
gb_CustomTarget_add_dependencies,clucene/source,\
clucene/configs/clucene-config-generic.h \
 ))
 
+ifeq ($(OS),WNT)
+FIXED_TARFILE_LOCATION=$(shell cygpath -u $(TARFILE_LOCATION))
+else
+FIXED_TARFILE_LOCATION=$(TARFILE_LOCATION)
+endif
+
 # FIXME: do not hardcode the path here
 $(eval $(call gb_CustomTarget_add_outdir_dependencies,clucene/source,\
-   
$(TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
 \
+   
$(FIXED_TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
 \
 ))
 
 $(eval $(call 
gb_Package_add_file,clucene_source,inc/CLucene/SharedHeader.h,src/shared/CLucene/SharedHeader.h))
diff --git a/clucene/patches/clucene-internal-zlib.patch 
b/clucene/patches/clucene-internal-zlib.patch
new file mode 100644
index 000..6667926
--- /dev/null
+++ b/clucene/patches/clucene-internal-zlib.patch
@@ -0,0 +1,15 @@
+--- src/shared/CLucene/util/Misc.cpp   2012-02-17 15:33:09.217891100 +
 src/shared/CLucene/util/Misc.cpp   2012-02-17 15:38:10.836597500 +
+@@ -34,7 +34,11 @@
+ #include CLucene/util/dirent.h //if we have dirent, then the native one 
will be used
+ 
+ //for zlib...
+-#include zlib.h
++#ifdef SYSTEM_ZLIB
++#include zlib.h
++#else
++#include external/zlib/zlib.h
++#endif
+ #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
+ #  include fcntl.h
+ #  include io.h
diff --git a/clucene/source/Makefile b/clucene/source/Makefile
index 9a274c1..aa5bcfd 100644
--- a/clucene/source/Makefile
+++ b/clucene/source/Makefile
@@ -29,18 +29,32 @@
 gb_PARTIALBUILD := T
 include $(GBUILDDIR)/gbuild_simple.mk
 
+ifeq ($(OS),WNT)
+FIXED_TARFILE_LOCATION=$(shell cygpath -u $(TARFILE_LOCATION))
+else
+FIXED_TARFILE_LOCATION=$(TARFILE_LOCATION)
+endif
+
 done :
mkdir -p $(dir $@)
# FIXME: do not hardcode the path here
-   $(GNUTAR) -x --strip-component=1 -f 
$(TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
+   $(GNUTAR) -x --strip-component=1 -f 
$(FIXED_TARFILE_LOCATION)/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
+   $(GNUPATCH) -p0  $(SRCDIR)/clucene/patches/clucene-internal-zlib.patch
#FIXME ?, our rules expect .cxx
for i in `find . -name *.cpp`; do mv $$i $${i%%cpp}cxx; done
+ifneq ($(OS),WNT)
#dirent.h is a problem, move it around
mkdir -p inc/internal/CLucene/util
mv src/shared/CLucene/util/dirent.h inc/internal/CLucene/util
+endif
#To generate these, run cmake for each sufficiently different platform, 
customize and stick into configs
+ifeq ($(COM),MSC)
+   cp $(SRCDIR)/clucene/configs/_clucene-config-MSVC.h 
src/shared/CLucene/_clucene-config.h
+   cp $(SRCDIR)/clucene/configs/clucene-config-MSVC.h 
src/shared/CLucene/clucene-config.h
+else
cp $(SRCDIR)/clucene/configs/_clucene-config-generic.h 
src/shared/CLucene/_clucene-config.h
cp $(SRCDIR)/clucene/configs/clucene-config-generic.h 
src/shared/CLucene/clucene-config.h
+endif
 
 .DEFAULT_GOAL := all
 .PHONY : all
commit ecb1599ad00e71dfe05f3ae9a71bdce5f7540a40
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Feb 17 16:32:02 2012 +

WaE: unused variable

diff --git a/package/source/zippackage/ZipPackageStream.cxx 
b/package/source/zippackage/ZipPackageStream.cxx
index 5cb6720..b5c0731 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -542,6 +542,7 @@ uno::Reference io::XInputStream  SAL_CALL 

[Libreoffice-commits] .: 2 commits - configure.in desktop/Executable_oosplash.mk desktop/Module_desktop.mk postprocess/packcomponents postprocess/packregistry scp2/source toolkit/Library_tk.mk vcl/hea

2012-02-17 Thread Michael Meeks
 configure.in   |   53 +++-
 desktop/Executable_oosplash.mk |2 
 desktop/Module_desktop.mk  |7 +
 postprocess/packcomponents/makefile.mk |   11 +-
 postprocess/packregistry/makefile.mk   |2 
 scp2/source/ooo/common_brand.scp   |2 
 scp2/source/ooo/file_library_ooo.scp   |   14 ++-
 scp2/source/ooo/file_ooo.scp   |2 
 scp2/source/ooo/file_resource_ooo.scp  |2 
 scp2/source/ooo/module_hidden_ooo.scp  |2 
 toolkit/Library_tk.mk  |2 
 vcl/Library_vcl.mk |   95 +--
 vcl/Module_vcl.mk  |6 +
 vcl/headless/headlessinst.cxx  |  135 +
 vcl/inc/generic/gendata.hxx|3 
 vcl/inc/svsys.h|1 
 vcl/null/printerinfomanager.cxx|4 
 vcl/unx/generic/plugadapt/salplug.cxx  |4 
 vcl/unx/generic/printer/ppdparser.cxx  |2 
 vcl/vcl.headless.component |   40 +
 20 files changed, 330 insertions(+), 59 deletions(-)

New commits:
commit c04e865ff6b48d49d7ae73479710f255135d80a6
Author: Michael Meeks michael.me...@suse.com
Date:   Fri Feb 17 16:43:41 2012 +

vcl: simplify cut/paste shared module lists

diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index 3ac253d..3420f7d 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -396,13 +396,7 @@ $(eval $(call gb_Library_use_externals,vcl,\
 ))
 endif
 
-ifeq ($(GUIBASE),unx)
-$(eval $(call gb_Library_add_defs,vcl,\
--DSAL_DLLPREFIX=\$(gb_Library_SYSPRE)\ \
--DSAL_DLLPOSTFIX=\$(gb_Library_OOOEXT)\ \
--D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
-))
-$(eval $(call gb_Library_add_exception_objects,vcl,\
+vcl_generic_code=\
 vcl/generic/app/gensys \
 vcl/generic/app/geninst \
 vcl/generic/app/gendisp \
@@ -423,7 +417,28 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
 vcl/generic/fontmanager/fontconfig \
 vcl/generic/fontmanager/fontmanager \
 vcl/generic/fontmanager/helper \
-vcl/generic/fontmanager/parseAFM \
+vcl/generic/fontmanager/parseAFM
+
+vcl_headless_code=\
+vcl/headless/svpbmp \
+vcl/headless/svpdummies \
+vcl/headless/svpelement \
+vcl/headless/svpframe \
+vcl/headless/svpgdi \
+vcl/headless/svpinst \
+vcl/headless/svpdata \
+vcl/headless/svpprn \
+vcl/headless/svptext \
+vcl/headless/svpvd
+
+ifeq ($(GUIBASE),unx)
+$(eval $(call gb_Library_add_defs,vcl,\
+-DSAL_DLLPREFIX=\$(gb_Library_SYSPRE)\ \
+-DSAL_DLLPOSTFIX=\$(gb_Library_OOOEXT)\ \
+-D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
+))
+$(eval $(call gb_Library_add_exception_objects,vcl,\
+   $(vcl_generic_code) \
 vcl/unx/generic/plugadapt/salplug \
 vcl/unx/generic/printer/cupsmgr \
 vcl/unx/generic/printer/jobdata \
@@ -447,41 +462,12 @@ $(eval $(call gb_Library_add_defs,vcl,\
 -D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
 ))
 $(eval $(call gb_Library_add_exception_objects,vcl,\
-vcl/generic/app/gensys \
-vcl/generic/app/geninst \
-vcl/generic/app/gendisp \
-vcl/generic/print/bitmap_gfx \
-vcl/generic/print/common_gfx \
-vcl/generic/print/glyphset \
-vcl/generic/print/printerjob \
-vcl/generic/print/psputil \
-vcl/generic/print/genpspgraphics \
-vcl/generic/print/genprnpsp \
-vcl/generic/print/text_gfx \
-vcl/generic/fontmanager/fontsubst \
-vcl/generic/glyphs/gcach_ftyp \
-vcl/generic/glyphs/gcach_layout \
-vcl/generic/glyphs/gcach_rbmp \
-vcl/generic/glyphs/glyphcache \
-vcl/generic/fontmanager/fontcache \
-vcl/generic/fontmanager/fontconfig \
-vcl/generic/fontmanager/fontmanager \
-vcl/generic/fontmanager/helper \
-vcl/generic/fontmanager/parseAFM \
+   $(vcl_generic_code) \
 vcl/unx/generic/printer/jobdata \
 vcl/unx/generic/printer/ppdparser \
 vcl/null/printerinfomanager \
 vcl/headless/headlessinst \
-vcl/headless/svpbmp \
-vcl/headless/svpdummies \
-vcl/headless/svpelement \
-vcl/headless/svpframe \
-vcl/headless/svpgdi \
-vcl/headless/svpinst \
-vcl/headless/svpdata \
-vcl/headless/svpprn \
-vcl/headless/svptext \
-vcl/headless/svpvd \
+   $(vcl_headless_code) \
 ))
 
 $(eval $(call gb_Library_add_linked_libs,vcl,\
@@ -507,41 +493,12 @@ $(eval $(call gb_Library_add_defs,vcl,\
 -D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
 ))
 $(eval $(call gb_Library_add_exception_objects,vcl,\
-vcl/generic/app/gensys \
-vcl/generic/app/geninst \
-vcl/generic/app/gendisp \
-vcl/generic/print/bitmap_gfx \
-vcl/generic/print/common_gfx \
-vcl/generic/print/glyphset \
-vcl/generic/print/printerjob \
-vcl/generic/print/psputil \
-vcl/generic/print/genpspgraphics \
-vcl/generic/print/genprnpsp \
-vcl/generic/print/text_gfx \
- 

[Libreoffice-commits] .: extensions/source l10ntools/inc l10ntools/source linguistic/source unusedcode.easy vcl/inc vcl/source

2012-02-17 Thread Michael Meeks
 extensions/source/plugin/inc/plugin/unx/plugcon.hxx |3 --
 extensions/source/plugin/unx/plugcon.cxx|   17 --
 l10ntools/inc/export.hxx|2 -
 l10ntools/source/export.cxx |   23 
 linguistic/source/spelldsp.cxx  |   15 -
 unusedcode.easy |5 
 vcl/inc/vcl/button.hxx  |1 
 vcl/source/control/button.cxx   |6 -
 8 files changed, 72 deletions(-)

New commits:
commit 69eede0409987c0e34a3ff1000520bdf249fb150
Author: Petr Vorel petr.vo...@gmail.com
Date:   Fri Feb 17 18:07:24 2012 +0100

Remove unused code.

diff --git a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx 
b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
index 86c0e70..8c7175f 100644
--- a/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
+++ b/extensions/source/plugin/inc/plugin/unx/plugcon.hxx
@@ -184,9 +184,6 @@ public:
 LINK( this, PluginConnector, WorkOnNewMessageHdl ).
 Call( (Mediator*)this );
 }
-
-ConnectorInstance* getInstance( NPP );
-ConnectorInstance* getInstanceById( sal_uInt32 );
 };
 
 enum CommandAtoms
diff --git a/extensions/source/plugin/unx/plugcon.cxx 
b/extensions/source/plugin/unx/plugcon.cxx
index c178c47..1a44624 100644
--- a/extensions/source/plugin/unx/plugcon.cxx
+++ b/extensions/source/plugin/unx/plugcon.cxx
@@ -59,23 +59,6 @@ sal_uInt32 PluginConnector::GetNPPID( NPP instance )
 return UnknownNPPID;
 }
 
-ConnectorInstance* PluginConnector::getInstance( NPP instance )
-{
-size_t nLen = m_aInstances.size();
-for( size_t i=0; i nLen; i++ )
-{
-ConnectorInstance* pInst = m_aInstances[i];
-if( pInst-instance == instance )
-return pInst;
-}
-return NULL;
-}
-
-ConnectorInstance* PluginConnector::getInstanceById( sal_uInt32 nInstanceID )
-{
-return nInstanceID  static_castsal_uInt32(m_aInstances.size()) ? 
m_aInstances[ nInstanceID ] : NULL;
-}
-
 struct PtrStruct
 {
 char* pData;
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index c669a3b..97c5bf1 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -166,8 +166,6 @@ public:
 
 rtl::OString sPForm;
 
-void Dump();
-
 ResData(const rtl::OString rPF, const rtl::OString rGId)
 :
 nWidth( 0 ),
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index 6a43da8..3c0bff9 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -201,29 +201,6 @@ int GetError()
 // class ResData
 //
 
-void ResData::Dump(){
-printf(**\nResData\n);
-printf(sPForm = %s , sResTyp = %s , sId = %s , sGId = %s , sHelpId = 
%s\n,
-sPForm.getStr(), sResTyp.getStr(), sId.getStr(),
-sGId.getStr(), sHelpId.getStr());
-
-rtl::OString a(*pStringList);
-rtl::OString b(*pUIEntries);
-rtl::OString c(*pFilterList);
-rtl::OString d(*pItemList);
-rtl::OString e(*pPairedList);
-rtl::OString f(sText);
-
-Export::DumpMap( f , sText );
-
-if( pStringList )   Export::DumpExportList( a , *pStringList );
-if( pUIEntries )Export::DumpExportList( b , *pUIEntries );
-if( pFilterList )   Export::DumpExportList( c , *pFilterList );
-if( pItemList ) Export::DumpExportList( d , *pItemList );
-if( pPairedList )   Export::DumpExportList( e , *pPairedList );
-printf(\n);
-}
-
 /*/
 sal_Bool ResData::SetId( const rtl::OString rId, sal_uInt16 nLevel )
 /*/
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx
index d809e9e..cf5a854 100644
--- a/linguistic/source/spelldsp.cxx
+++ b/linguistic/source/spelldsp.cxx
@@ -81,7 +81,6 @@ public:
 voidAppend( const OUString rNew );
 voidAppend( const std::vector OUString  rNew );
 voidAppend( const Sequence OUString  rNew );
-voidRemove( const OUString rText );
 Sequence OUString GetSequence() const;
 };
 
@@ -164,20 +163,6 @@ Sequence OUString  ProposalList::GetSequence() const
 return aRes;
 }
 
-void ProposalList::Remove( const OUString rText )
-{
-size_t nLen = aVec.size();
-for (size_t i = 0;  i  nLen;  ++i)
-{
-OUString rEntry = aVec[i];
-if (rEntry == rText)
-{
-rEntry = OUString();
-break;  // there should be only one matching entry
-}
-}
-}
-
 sal_Bool SvcListHasLanguage(
 const LangSvcEntries_Spell rEntry,
 LanguageType nLanguage )
diff --git a/unusedcode.easy b/unusedcode.easy
index 90d0de7..43a51a8 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -54,13 +54,8 @@ ORegKey::acquireKey(void*)
 OutputDevice::LogicToPixel(PolyPolygon const, 

[Libreoffice-commits] .: 2 commits - canvas/source

2012-02-17 Thread David Tardon
 canvas/source/vcl/spritecanvashelper.cxx |6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 48453f3d5d8ba0429d814552c7d9c48a595d539e
Author: David Tardon dtar...@redhat.com
Date:   Wed Feb 8 15:46:17 2012 +0100

mark parameter as unused

diff --git a/canvas/source/vcl/spritecanvashelper.cxx 
b/canvas/source/vcl/spritecanvashelper.cxx
index ba4248e..1e3d2dd 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -486,11 +486,9 @@ namespace vclcanvas
 _1 ) );
 }
 
-void SpriteCanvasHelper::opaqueUpdate( const ::basegfx::B2DRange  
rTotalArea,
+void SpriteCanvasHelper::opaqueUpdate( SAL_UNUSED_PARAMETER const 
::basegfx::B2DRange rTotalArea ,
const ::std::vector 
::canvas::Sprite::Reference  rSortedUpdateSprites )
 {
-(void)rTotalArea;
-
 ENSURE_OR_THROW( mpOwningSpriteCanvas 
  mpOwningSpriteCanvas-getBackBuffer() 
  mpOwningSpriteCanvas-getFrontBuffer(),
commit b24c4e7461fbd3452bc98ce1e945d15b33795c73
Author: David Tardon dtar...@redhat.com
Date:   Wed Feb 8 15:42:15 2012 +0100

remove unused variable

diff --git a/canvas/source/vcl/spritecanvashelper.cxx 
b/canvas/source/vcl/spritecanvashelper.cxx
index 5f0b75f..ba4248e 100644
--- a/canvas/source/vcl/spritecanvashelper.cxx
+++ b/canvas/source/vcl/spritecanvashelper.cxx
@@ -454,8 +454,6 @@ namespace vclcanvas
 
 const 
::canvas::SpriteRedrawManager::SpriteConnectedRanges::ComponentListType::const_iterator
 aFirst( rUpdateArea.maComponentList.begin() );
-
::canvas::SpriteRedrawManager::SpriteConnectedRanges::ComponentListType::const_iterator
-  aSecond( aFirst ); ++aSecond;
 
 ENSURE_OR_THROW( aFirst-second.getSprite().is(),
   VCLCanvas::scrollUpdate(): no sprite );
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: jvmfwk/Module_jvmfwk.mk

2012-02-17 Thread David Tardon
 jvmfwk/Module_jvmfwk.mk |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit b73e3c50757665653c28c6938746eb0257f40ed4
Author: David Tardon dtar...@redhat.com
Date:   Fri Feb 17 19:32:48 2012 +0100

libjvmfwk is needed even when building without java

diff --git a/jvmfwk/Module_jvmfwk.mk b/jvmfwk/Module_jvmfwk.mk
index a6131da..84399db 100644
--- a/jvmfwk/Module_jvmfwk.mk
+++ b/jvmfwk/Module_jvmfwk.mk
@@ -27,15 +27,18 @@
 
 $(eval $(call gb_Module_Module,jvmfwk))
 
+$(eval $(call gb_Module_add_targets,jvmfwk,\
+Library_jvmfwk \
+Package_inc \
+Package_rcfiles \
+))
+
 ifneq ($(SOLAR_JAVA),)
 
 $(eval $(call gb_Module_add_targets,jvmfwk,\
-Library_jvmfwk \
 Library_sunjavaplugin \
-Package_inc \
 Package_javavendors \
 Package_jreproperties \
-Package_rcfiles \
 ))
 
 ifneq ($(OS),MACOSX)
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - config_host.mk.in configure.in icon-themes/README Makefile packimages/Makefile packimages/Module_packimages.mk packimages/pack packimages/Package_images.mk packima

2012-02-17 Thread Matus Kukan
 Makefile|2 -
 config_host.mk.in   |1 
 configure.in|   11 --
 icon-themes/README  |2 -
 packimages/Makefile |7 
 packimages/Module_packimages.mk |   34 +++
 packimages/Package_images.mk|   43 
 packimages/pack/Makefile|   70 
 packimages/pack/makefile.mk |   68 --
 packimages/prj/build.lst|3 -
 packimages/prj/d.lst|2 -
 packimages/prj/makefile.mk  |1 
 12 files changed, 158 insertions(+), 86 deletions(-)

New commits:
commit 7f267db9b30fb90fe53844f659d4efa599034b5c
Author: Matúš Kukan matus.ku...@gmail.com
Date:   Fri Feb 17 14:40:04 2012 +0100

SOLAREXTRALIB unused

diff --git a/config_host.mk.in b/config_host.mk.in
index 8d38959..1abf218 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -367,7 +367,6 @@ export SIZEOF_LONGLONG=@SIZEOF_LONGLONG@
 export SIZEOF_POINTER=@SIZEOF_POINTER@
 export SIZEOF_SHORT=@SIZEOF_SHORT@
 export SOLARENV=@SRC_ROOT@/solenv
-export SOLAREXTRALIB=@SOLAREXTRALIB@
 export SOLARINC=@SOLARINC@
 export SOLARINC_FOR_BUILD=@SOLARINC_FOR_BUILD@
 export SOLARLIB=@SOLARLIB@
diff --git a/configure.in b/configure.in
index 0f45e09..e424560 100644
--- a/configure.in
+++ b/configure.in
@@ -2721,7 +2721,6 @@ aix*)
 OS=AIX
 OUTPATH=unxaigppc
 P_SEP=:
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -2810,7 +2809,6 @@ dragonfly*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -2838,7 +2836,6 @@ freebsd*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -2867,7 +2864,6 @@ kfreebsd*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -2975,7 +2971,6 @@ linux-gnu*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -3061,7 +3056,6 @@ mingw*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solenv/$OUTPATH/lib
@@ -3088,7 +3082,6 @@ openbsd*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB64
 SOLARINC=$SOLARINC -I/usr/local/include
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
@@ -3120,9 +3113,6 @@ solaris*)
 AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
 ;;
 esac
-SOLAREXTRALIB=-L../$LIB -L$SRC_ROOT/solenv/$OUTPATH/lib.solaris.2.6
-SOLAREXTRALIB=$SOLAREXTRALIB -L/lib -L/usr/lib
-SOLAREXTRALIB=$SOLAREXTRALIB -L/usr/local/bin -L/usr/dt/lib 
-L/usr/openwin/lib
 SOLARINC=$SOLARINC -I/usr/local/include
 SOLARLIB=-L../lib -L$SRC_ROOT/solenv/$OUTPATH/lib
 SOLARLIB=$SOLARLIB -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib
@@ -3155,7 +3145,6 @@ AC_SUBST(OS)
 AC_SUBST(OUTDIR)
 AC_SUBST(OUTPATH)
 AC_SUBST(P_SEP)
-AC_SUBST(SOLAREXTRALIB)
 AC_SUBST(WORKDIR)
 
 dnl ===
commit 5a4e4d5543edd47f4b411c0f2fa43d1a0e6a1ff7
Author: Matúš Kukan matus.ku...@gmail.com
Date:   Thu Feb 16 20:18:13 2012 +0100

packimages: convert to gbuild

diff --git a/Makefile b/Makefile
index d4dd3d9..cb99243 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ officecfg\
 oovbaapi\
 oox\
 package\
+packimages\
 padmin\
 psprint_config\
 qadevOOo\
@@ -201,7 +202,6 @@ neon\
 nss\
 odk\
 openssl\
-packimages\
 pango\
 postgresql\
 postprocess\
diff --git a/icon-themes/README b/icon-themes/README
index 7655710..120c3ab 100644
--- 

[Libreoffice-commits] .: configure.in

2012-02-17 Thread Caolán McNamara
 configure.in |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

New commits:
commit af75ceb873e55fc2f252c4b02ea3d536470cfb87
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Feb 17 20:11:34 2012 +

fix build, WANT_X11 is a variable

diff --git a/configure.in b/configure.in
index e424560..413dec0 100644
--- a/configure.in
+++ b/configure.in
@@ -7345,7 +7345,7 @@ fi
 dnl ===
 dnl Check for nsplugin
 dnl ===
-AC_MSG_CHECKING([wether to build nsplugin extension])
+AC_MSG_CHECKING([whether to build nsplugin extension])
 ENABLE_NSPLUGIN=NO
 if test $enable_nsplugin != no; then
 if test $enable_gtk != no; then
@@ -7359,6 +7359,7 @@ else
 fi
 AC_SUBST(ENABLE_NSPLUGIN)
 
+AC_MSG_CHECKING([whether to use X11])
 dnl ***
 dnl testing for X libraries and includes...
 dnl ***
@@ -7366,8 +7367,9 @@ WANT_X11=no
 if test $_os != Darwin -a $_os != WINNT -a $_os != Android -a $_os != iOS -a 
$enable_headless != yes; then
 WANT_X11=yes
 fi
+AC_MSG_RESULT([$WANT_X11])
 
-if test WANT_X11 = yes; then
+if test $WANT_X11 = yes; then
 AC_PATH_X
 AC_PATH_XTRA
 CPPFLAGS=$CPPFLAGS $X_CFLAGS
@@ -7420,7 +7422,7 @@ if test $XINC != no_x_includes -a $XINC != 
/usr/include ; then
 fi
 AC_SUBST(XLIB)
 
-if test WANT_X11 = yes; then
+if test $WANT_X11 = yes; then
 dnl ===
 dnl Check for Composite.h for Mozilla plugin
 dnl ===
@@ -7440,7 +7442,7 @@ dnl 
===
 dnl Check for system Xrender
 dnl ===
 AC_MSG_CHECKING([whether to use Xrender])
-if test WANT_X11 = yes -a  $test_xrender = yes; then
+if test $WANT_X11 = yes -a  $test_xrender = yes; then
 AC_MSG_RESULT([yes])
 AC_CHECK_LIB([Xrender], [XRenderQueryVersion], [:],
   [AC_MSG_ERROR(libXrender not found or functional)], [])
@@ -7458,7 +7460,7 @@ dnl 
===
 dnl Check for XRandr
 dnl ===
 AC_MSG_CHECKING([whether to enable RandR support])
-if test WANT_X11 = yes -a $test_randr = yes -a \( $enable_randr = 
yes -o $enable_randr = TRUE \) ; then
+if test $WANT_X11 = yes -a $test_randr = yes -a \( $enable_randr = 
yes -o $enable_randr = TRUE \) ; then
 if test -z $enable_randr_link -o $enable_randr_link = no; then
 XRANDR_DLOPEN=TRUE
 AC_MSG_RESULT([configured to dlopen libXrandr at runtime])
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2012-02-17 Thread Andras Timar
 l10ntools/source/help/HelpIndexerTool.java   |5 -
 xmlhelp/source/com/sun/star/help/HelpSearch.java |5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 7636d37f8f9c53d694c4fe38581f3b495d53670e
Author: Andras Timar ati...@suse.com
Date:   Fri Feb 17 21:43:31 2012 +0100

fdo#40665 use CJKAnalyzer for ko, zh-CN, and zh-TW, too

diff --git a/l10ntools/source/help/HelpIndexerTool.java 
b/l10ntools/source/help/HelpIndexerTool.java
index d1d0873..8e42d55 100644
--- a/l10ntools/source/help/HelpIndexerTool.java
+++ b/l10ntools/source/help/HelpIndexerTool.java
@@ -185,7 +185,10 @@ public class HelpIndexerTool
 
 try
 {
-Analyzer analyzer = aLanguageStr.equals(ja) ? (Analyzer)new 
CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
+Analyzer analyzer = ( aLanguageStr.equals(ja)
+|| aLanguageStr.equals(ko)
+|| aLanguageStr.equals(zh-CN)
+|| aLanguageStr.equals(zh-TW) ) ? 
(Analyzer)new CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
 IndexWriter writer = new IndexWriter( aIndexDir, analyzer, true );
 int nRet = indexDocs( writer, aModule, bExtensionMode, 
aCaptionFilesDir, aContentFilesDir );
 if( nRet != -1 )
diff --git a/xmlhelp/source/com/sun/star/help/HelpSearch.java 
b/xmlhelp/source/com/sun/star/help/HelpSearch.java
index dc31514..03aadea 100755
--- a/xmlhelp/source/com/sun/star/help/HelpSearch.java
+++ b/xmlhelp/source/com/sun/star/help/HelpSearch.java
@@ -255,7 +255,10 @@ public class HelpSearch
 {
 IndexReader reader = IndexReader.open( aIndexStr );
 Searcher searcher = new IndexSearcher( reader );
-Analyzer analyzer = aLanguageStr.equals(ja) ? (Analyzer)new 
CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
+Analyzer analyzer = ( aLanguageStr.equals(ja)
+|| aLanguageStr.equals(ko)
+|| aLanguageStr.equals(zh-CN)
+|| aLanguageStr.equals(zh-TW) ) ? 
(Analyzer)new CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
 
 String aField;
 if( bCaptionOnly )
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: np_sdk/mozsrc

2012-02-17 Thread Michael Meeks
 np_sdk/mozsrc/npunix.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0825e49bcaf8d956ae5721235b5c33e6ac4d6e3c
Author: Michael Meeks michael.me...@suse.com
Date:   Fri Feb 17 20:45:42 2012 +

WaE: add horror cast to calm Stephan's tinderbox

diff --git a/np_sdk/mozsrc/npunix.c b/np_sdk/mozsrc/npunix.c
index 19ae47a..b99a545 100644
--- a/np_sdk/mozsrc/npunix.c
+++ b/np_sdk/mozsrc/npunix.c
@@ -368,7 +368,7 @@ Private_GetJavaClass(void)
 char *
 NP_GetMIMEDescription(void)
 {
-return NPP_GetMIMEDescription();
+return (char *)NPP_GetMIMEDescription();
 }
 
 /*
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - l10ntools/source xmlhelp/source

2012-02-17 Thread Michael Meeks
 l10ntools/source/help/HelpIndexerTool.java   |5 -
 xmlhelp/source/com/sun/star/help/HelpSearch.java |5 -
 2 files changed, 8 insertions(+), 2 deletions(-)

New commits:
commit c3f76c548c6131543e4ccfafe4e72e8d12804234
Author: Andras Timar ati...@suse.com
Date:   Fri Feb 17 21:14:37 2012 +

fdo#40665 use CJKAnalyzer for ko, zh-CN, and zh-TW, too

Signed-off-by: Michael Meeks michael.me...@suse.com

diff --git a/l10ntools/source/help/HelpIndexerTool.java 
b/l10ntools/source/help/HelpIndexerTool.java
index c20d9f1..e58f14b 100644
--- a/l10ntools/source/help/HelpIndexerTool.java
+++ b/l10ntools/source/help/HelpIndexerTool.java
@@ -186,7 +186,10 @@ public class HelpIndexerTool
 try
 {
 Date start = new Date();
-Analyzer analyzer = aLanguageStr.equals(ja) ? (Analyzer)new 
CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
+Analyzer analyzer = ( aLanguageStr.equals(ja)
+|| aLanguageStr.equals(ko)
+|| aLanguageStr.equals(zh-CN)
+|| aLanguageStr.equals(zh-TW) ) ? 
(Analyzer)new CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
 IndexWriter writer = new IndexWriter( aIndexDir, analyzer, true );
 if( !bExtensionMode )
 System.out.println( Lucene: Indexing to directory ' + 
aIndexDir + '... );
diff --git a/xmlhelp/source/com/sun/star/help/HelpSearch.java 
b/xmlhelp/source/com/sun/star/help/HelpSearch.java
index dc31514..03aadea 100755
--- a/xmlhelp/source/com/sun/star/help/HelpSearch.java
+++ b/xmlhelp/source/com/sun/star/help/HelpSearch.java
@@ -255,7 +255,10 @@ public class HelpSearch
 {
 IndexReader reader = IndexReader.open( aIndexStr );
 Searcher searcher = new IndexSearcher( reader );
-Analyzer analyzer = aLanguageStr.equals(ja) ? (Analyzer)new 
CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
+Analyzer analyzer = ( aLanguageStr.equals(ja)
+|| aLanguageStr.equals(ko)
+|| aLanguageStr.equals(zh-CN)
+|| aLanguageStr.equals(zh-TW) ) ? 
(Analyzer)new CJKAnalyzer() : (Analyzer)new StandardAnalyzer();
 
 String aField;
 if( bCaptionOnly )
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: svl/inc sw/inc sw/source

2012-02-17 Thread Michael Meeks
 svl/inc/svl/svarray.hxx |6 +++---
 sw/inc/index.hxx|2 +-
 sw/source/core/bastyp/index.cxx |2 +-
 sw/source/core/undo/rolbck.cxx  |4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 26bd18dfc2516aab507dfb478cfc31e4bf57442f
Author: Laurent Balland-Poirier jumbo4...@yahoo.fr
Date:   Tue Feb 14 22:39:47 2012 +0100

EasyHack 42790: get rid of PRODUCT

Preprocessor constant PRODUCT is replaced by !DBG_UTIL

diff --git a/svl/inc/svl/svarray.hxx b/svl/inc/svl/svarray.hxx
index d500ca6..2a2c6a8 100644
--- a/svl/inc/svl/svarray.hxx
+++ b/svl/inc/svl/svarray.hxx
@@ -112,7 +112,7 @@ inline void* operator new( size_t, DummyType* pPtr )
 }
 inline void operator delete( void*, DummyType* ) {}
 
-#if defined(PRODUCT)
+#ifndef DBG_UTIL
 
 #define _SVVARARR_DEF_GET_OP_INLINE( nm, ArrElem ) \
 ArrElem operator[](sal_uInt16 nP) const { return *(pData+nP); }\
@@ -128,7 +128,7 @@ void Insert( const nm * pI, sal_uInt16 nP,\
 
 #define _SVVARARR_IMPL_GET_OP_INLINE( nm, ArrElem )
 
-#else
+#else // DBG_UTIL
 
 #define _SVVARARR_DEF_GET_OP_INLINE( nm,ArrElem )\
 ArrElem operator[](sal_uInt16 nP) const;\
@@ -150,7 +150,7 @@ void nm::Insert( const nm *pI, sal_uInt16 nP, sal_uInt16 
nStt, sal_uInt16 nE)\
 Insert( (const ArrElem*)pI-pData+nStt, (sal_uInt16)nE-nStt, nP );\
 }
 
-#endif
+#endif // DBG_UTIL
 
 #define _SV_DECL_VARARR_GEN(nm, AE, IS, AERef, vis )\
 typedef sal_Bool (*FnForEach_##nm)( const AERef, void* );\
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index 8d183db..a47bbaf 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -211,7 +211,7 @@ inline SwIndex SwIndex::operator= ( xub_StrLen const nVal )
 return *this;
 }
 
-#endif // PRODUCT
+#endif // ifndef DBG_UTIL
 
 #endif
 
diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index 88ee1d3..37a6c60 100644
--- a/sw/source/core/bastyp/index.cxx
+++ b/sw/source/core/bastyp/index.cxx
@@ -406,7 +406,7 @@ SwIndex SwIndex::operator= ( xub_StrLen const nVal )
 return *this;
 }
 
-#endif // ifndef PRODUCT
+#endif // ifdef DBG_UTIL
 
 void SwIndexReg::MoveTo( SwIndexReg rArr )
 {
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index cdb85b9..8e00a53 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -829,7 +829,7 @@ SwHistoryResetAttrSet::SwHistoryResetAttrSet( const 
SfxItemSet rSet,
 {
 const sal_uInt16 nWhich = aIter.GetCurItem()-Which();
 
-#ifndef PRODUCT
+#ifdef DBG_UTIL
 switch (nWhich)
 {
 case RES_TXTATR_REFMARK:
@@ -845,7 +845,7 @@ SwHistoryResetAttrSet::SwHistoryResetAttrSet( const 
SfxItemSet rSet,
 \nnot such a good idea);
 break;
 }
-#endif
+#endif // DBG_UTIL
 
 // Character attribute cannot be inserted into the hints array
 // anymore. Therefore we have to treat them as one RES_TXTATR_AUTOFMT:
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2012-02-17 Thread Michael Meeks
 svx/inc/svx/srchdlg.hxx   |4 
 svx/source/dialog/srchdlg.cxx |   42 --
 unusedcode.easy   |3 ---
 3 files changed, 49 deletions(-)

New commits:
commit 57c8929c6bf037a767e7016d28b7656cd8fddfb7
Author: Santiago Martinez smvar...@gmail.com
Date:   Thu Feb 16 21:34:44 2012 +0100

Remove unused code in SvxSearchDialog

diff --git a/svx/inc/svx/srchdlg.hxx b/svx/inc/svx/srchdlg.hxx
index e5d2844..852c681 100644
--- a/svx/inc/svx/srchdlg.hxx
+++ b/svx/inc/svx/srchdlg.hxx
@@ -127,7 +127,6 @@ friend class SvxSearchDialogWrapper;
 friend class SvxJSearchOptionsDialog;
 
 public:
-SvxSearchDialog( Window* pParent, SfxBindings rBind );
 SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings 
rBind );
 ~SvxSearchDialog();
 
@@ -136,9 +135,6 @@ public:
 // Window
 virtual voidActivate();
 
-voidGetSearchItems( SfxItemSet rSet );
-voidGetReplaceItems( SfxItemSet rSet );
-
 const SearchAttrItemList*   GetSearchItemList() const
 { return pSearchList; }
 const SearchAttrItemList*   GetReplaceItemList() const
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 305436b..d090ff6 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -336,18 +336,6 @@ void SearchAttrItemList::Remove( sal_uInt16 nPos, 
sal_uInt16 nLen )
 
 // class SvxSearchDialog -
 
-SvxSearchDialog::SvxSearchDialog( Window* pParent, SfxBindings rBind ) :
-
-SfxModelessDialog( rBind, NULL, pParent, SVX_RES( RID_SVXDLG_SEARCH ) ),
-
-INI_LIST()
-
-{
-Construct_Impl();
-}
-
-// ---
-
 SvxSearchDialog::SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, 
SfxBindings rBind ) :
 
 SfxModelessDialog( rBind, pChildWin, pParent, SVX_RES( RID_SVXDLG_SEARCH 
) ),
@@ -2241,36 +2229,6 @@ IMPL_LINK( SvxSearchDialog, TimeoutHdl_Impl, Timer *, 
pTimer )
 
 // ---
 
-void SvxSearchDialog::GetSearchItems( SfxItemSet rSet )
-{
-xub_StrLen nLen;
-
-if ( !pImpl-bMultiLineEdit )
-nLen = aSearchAttrText.GetText().Len();
-else
-nLen = pImpl-aSearchFormats.GetText().Len();
-
-if ( nLen  pSearchList )
-pSearchList-Get( rSet );
-}
-
-// ---
-
-void SvxSearchDialog::GetReplaceItems( SfxItemSet rSet )
-{
-xub_StrLen nLen;
-
-if ( !pImpl-bMultiLineEdit )
-nLen = aReplaceAttrText.GetText().Len();
-else
-nLen = pImpl-aReplaceFormats.GetText().Len();
-
-if ( nLen  pReplaceList )
-pReplaceList-Get( rSet );
-}
-
-// ---
-
 String SvxSearchDialog::BuildAttrText_Impl( String rStr,
  sal_Bool bSrchFlag ) const
 {
diff --git a/unusedcode.easy b/unusedcode.easy
index 43a51a8..d1331fe 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -337,9 +337,6 @@ SvxRelativeField::SvxRelativeField(Window*, long)
 SvxReloadControllerItem::RegisterControl(unsigned short, SfxModule*)
 SvxRubyChildWindow::GetChildWindowId()
 SvxRuler::GetDefTabDist() const
-SvxSearchDialog::GetReplaceItems(SfxItemSet)
-SvxSearchDialog::GetSearchItems(SfxItemSet)
-SvxSearchDialog::SvxSearchDialog(Window*, SfxBindings)
 SvxSelectionModeControl::GetDefItemWidth(StatusBar const)
 SvxShapeText::SvxShapeText()
 SvxTabStopArr::Insert(SvxTabStop const, unsigned short)
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sfx2/inc sfx2/source svl/inc svl/source svtools/inc svtools/source unusedcode.easy

2012-02-17 Thread Michael Meeks
 sfx2/inc/sfx2/app.hxx|1 
 sfx2/inc/sfx2/childwin.hxx   |2 -
 sfx2/inc/sfx2/hintpost.hxx   |1 
 sfx2/inc/sfx2/mnuitem.hxx|1 
 sfx2/inc/sfx2/progress.hxx   |1 
 sfx2/source/appl/appmain.cxx |4 --
 sfx2/source/bastyp/progress.cxx  |   39 
 sfx2/source/menu/mnuitem.cxx |8 -
 sfx2/source/notify/hintpost.cxx  |6 ---
 svl/inc/svl/nranges.hxx  |2 -
 svl/inc/svl/rngitem.hxx  |1 
 svl/source/items/nranges.cxx |   61 ---
 svl/source/items/rngitem_inc.cxx |   10 --
 svtools/inc/svtools/wallitem.hxx |2 -
 svtools/source/misc/wallitem.cxx |4 +-
 unusedcode.easy  |8 -
 16 files changed, 4 insertions(+), 147 deletions(-)

New commits:
commit ada6350a7cdf4984eb3ead31d938004bf9177ae8
Author: Szabolcs Dezsi dezsisz...@hotmail.com
Date:   Fri Feb 17 21:47:49 2012 +

Removed unused code from svl and sfx2

diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx
index c255035..ea9dbc2 100644
--- a/sfx2/inc/sfx2/app.hxx
+++ b/sfx2/inc/sfx2/app.hxx
@@ -147,7 +147,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell
 voidInit();
 voidExit();
 voidSettingsChange( sal_uInt16, const AppSettings 
 );
-voidMain( );
 voidPreInit( );
 voidQuit();
 voidDeinitialize();
diff --git a/sfx2/inc/sfx2/childwin.hxx b/sfx2/inc/sfx2/childwin.hxx
index fc7cf83..c96d1a6 100644
--- a/sfx2/inc/sfx2/childwin.hxx
+++ b/sfx2/inc/sfx2/childwin.hxx
@@ -307,7 +307,7 @@ public:
 return pWin; \
 } \
 sal_uInt16 Class::GetChildWindowId () \
-{ return MyID; } \
+   { return MyID; } \
 voidClass::RegisterChildWindow (sal_Bool bVis, SfxModule *pMod, 
sal_uInt16 nFlags)   \
 {   \
 SfxChildWinFactory *pFact = new SfxChildWinFactory( \
diff --git a/sfx2/inc/sfx2/hintpost.hxx b/sfx2/inc/sfx2/hintpost.hxx
index f455d84..0f8eae2 100644
--- a/sfx2/inc/sfx2/hintpost.hxx
+++ b/sfx2/inc/sfx2/hintpost.hxx
@@ -56,7 +56,6 @@ class SfxHintPoster: public SvRefBase
 GenLink aLink;
 
 private:
-voidRegisterEvent();
 DECL_LINK( DoEvent_Impl, SfxHint * );
 
 protected:
diff --git a/sfx2/inc/sfx2/mnuitem.hxx b/sfx2/inc/sfx2/mnuitem.hxx
index 62ebce6..08acfa6 100644
--- a/sfx2/inc/sfx2/mnuitem.hxx
+++ b/sfx2/inc/sfx2/mnuitem.hxx
@@ -56,7 +56,6 @@ public:
 SfxMenuControl( sal_uInt16, SfxBindings);
 
 static SfxMenuControl*  CreateImpl( sal_uInt16 nId, Menu rMenu, 
SfxBindings rBindings );
-static void RegisterControl( sal_uInt16 nSlotId = 0, SfxModule 
*pMod=NULL );
 
 ~SfxMenuControl();
 
diff --git a/sfx2/inc/sfx2/progress.hxx b/sfx2/inc/sfx2/progress.hxx
index 6dbdcfa..2f397c3 100644
--- a/sfx2/inc/sfx2/progress.hxx
+++ b/sfx2/inc/sfx2/progress.hxx
@@ -66,7 +66,6 @@ public:
 voidSuspend();
 sal_BoolIsSuspended() const { return bSuspended; }
 
-voidLock();
 voidUnLock();
 voidReschedule();
 
diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx
index 3a16624..fbc6c77 100644
--- a/sfx2/source/appl/appmain.cxx
+++ b/sfx2/source/appl/appmain.cxx
@@ -118,10 +118,6 @@ void SfxApplication::PreInit( )
 {
 }
 
-void SfxApplication::Main( )
-{
-}
-
 //-
 
 SfxFilterMatcher SfxApplication::GetFilterMatcher()
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index d6fb779..22025a6 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -461,45 +461,6 @@ void SfxProgress::Suspend()
 
 // ---
 
-void SfxProgress::Lock()
-{
-if( pImp-pActiveProgress ) return;
-// No Reschedule for Embedded-Objects,
-// because we are defenseless against the OLE protocol
-if ( !pImp-xObjSh.Is() )
-{
-for ( SfxObjectShell *pDocSh = SfxObjectShell::GetFirst();
-  pDocSh;
-  pDocSh = SfxObjectShell::GetNext(*pDocSh) )
-{
-SfxObjectCreateMode eMode = pDocSh-GetCreateMode();
-if ( ( eMode == SFX_CREATE_MODE_EMBEDDED ) ||
- ( eMode == SFX_CREATE_MODE_PREVIEW ) )
-{
-DBG( DbgOutf( SfxProgress: not locked because 
EMBEDDED/PREVIEW found ) );
-pImp-bAllowRescheduling = sal_False;
-}
-}
-}
-else
-{
-SfxObjectCreateMode eMode = pImp-xObjSh-GetCreateMode();
-if 

[Libreoffice-commits] .: unusedcode.easy vcl/inc vcl/source

2012-02-17 Thread Michael Meeks
 unusedcode.easy |7 
 vcl/inc/vcl/pdfextoutdevdata.hxx|   62 
 vcl/source/gdi/pdfextoutdevdata.cxx |   35 
 vcl/source/helper/lazydelete.cxx|8 
 4 files changed, 112 deletions(-)

New commits:
commit b4d4751ec0ff0c34f8cf0f1c8770badef81c007c
Author: Szabolcs Dezsi dezsisz...@hotmail.com
Date:   Thu Feb 16 17:02:13 2012 +0100

Removed unused code from vcl module

diff --git a/unusedcode.easy b/unusedcode.easy
index bcd3d7c..78c00f0 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1357,11 +1357,4 @@ 
ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Referencecom::sun:
 ucbhelper::SimpleCertificateValidationRequest::getResponse() const
 utl::OConfigurationNode::appendNode(rtl::OUString const, 
utl::OConfigurationNode const) const
 utl::TransliterationWrapper::compareSubstring(String const, int, int, String 
const, int, int) const
-vcl::LazyDeletorMenu::is_less(Menu*, Menu*)
-vcl::PDFExtOutDevData::EndGroup()
-vcl::PDFExtOutDevData::GetFormsFormat() const
-vcl::PDFExtOutDevData::SetAutoAdvanceTime(unsigned int, int)
-vcl::PDFExtOutDevData::SetOutlineItemDest(int, int)
-vcl::PDFExtOutDevData::SetOutlineItemParent(int, int)
-vcl::PDFExtOutDevData::SetOutlineItemText(int, rtl::OUString const)
 vcl::PDFWriter::DrawPixel(Polygon const, Color const*)
diff --git a/vcl/inc/vcl/pdfextoutdevdata.hxx b/vcl/inc/vcl/pdfextoutdevdata.hxx
index c1be576..665303b 100644
--- a/vcl/inc/vcl/pdfextoutdevdata.hxx
+++ b/vcl/inc/vcl/pdfextoutdevdata.hxx
@@ -131,7 +131,6 @@ public :
 sal_BoolGetIsExportFormFields() const;
 voidSetIsExportFormFields( const sal_Bool bExportFormFields );
 
-sal_Int32   GetFormsFormat() const;
 voidSetFormsFormat( const sal_Int32 nFormsFormat );
 
 sal_BoolGetIsExportBookmarks() const;
@@ -166,13 +165,6 @@ public :
 
 /** End render output
 
-This method ends grouped render output without
-further actions.
- */
-voidEndGroup();
-
-/** End render output
-
 This method ends grouped render output, that can be
 represented by a GfxLink. This is typically used for
 external graphic files, such as JPEGs, EPS files etc.
@@ -321,49 +313,6 @@ public :
 */
 sal_Int32 CreateOutlineItem( sal_Int32 nParent = 0, const rtl::OUString 
rText = rtl::OUString(), sal_Int32 nDestID = -1 );
 
-/** Set an outline item's parent
-
-@param nItem
-specififies which item should be reparented.
-
-@param nNewParent
-specifies which outline item will be the item's new parent.
-Use 0 for reparenting to top level.
-
-@returns
--1 if the item does not exist
--2 if the new parent does not exist, item will be reparented to top level.
-*/
-sal_Int32 SetOutlineItemParent( sal_Int32 nItem, sal_Int32 nNewParent );
-
-/** Set an outline item's title text
-
-@param nItem
-specififies which item should get a new text
-
-@param rText
-sets the title text of the item
-
-@returns
-0 if the item exists and the text was changed
--1 if the item does not exist
-*/
-sal_Int32 SetOutlineItemText( sal_Int32 nItem, const rtl::OUString rText 
);
-
-/** Set an outline item's destination
-
-@param nItem
-specififies which item should get a new dest
-
-@param nDestID
-specifies the item's new destination
-
-@returns
--1 if the item does not exist
--2 if the new dest does not exist, dest will remain unchanged
-*/
-sal_Int32 SetOutlineItemDest( sal_Int32 nItem, sal_Int32 nDestID );
-
 /** Create a new note on a page
 
 @param rRect
@@ -518,17 +467,6 @@ public :
 */
 void SetAlternateText( const String rText );
 
-/** Sets the time in seconds a page will appear before the next
-page is shown automatically
-
-@param nSeconds
-time in seconds the current page will be shown; pass 0 for manual 
advancement
-
-@param nPageNr
-the page number to apply the autoadvance time to; -1 denotes the 
current page
-*/
-void SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr = -1 );
-
 /** Sets the transitional effect to be applied when the current page gets 
shown.
 
 @param eType
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx 
b/vcl/source/gdi/pdfextoutdevdata.cxx
index 23d81a4..b917a0a 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -599,10 +599,6 @@ void PDFExtOutDevData::SetIsExportFormFields( const 
sal_Bool bExportFomtFields )
 {
 mbExportFormFields = bExportFomtFields;
 }
-sal_Int32 PDFExtOutDevData::GetFormsFormat() const
-{
-return mnFormsFormat;
-}
 void PDFExtOutDevData::SetFormsFormat( const sal_Int32 nFormsFormat )
 {
 mnFormsFormat = nFormsFormat;
@@ -721,27 +717,6 @@ sal_Int32 PDFExtOutDevData::CreateOutlineItem( sal_Int32 
nParent, const rtl::OUS
 

[Libreoffice-commits] .: vbahelper/source

2012-02-17 Thread Julien Nabet
 vbahelper/source/vbahelper/vbapagesetupbase.cxx |5 -
 1 file changed, 5 deletions(-)

New commits:
commit b8629e45c3451c40777934b2cdc110d25be75faf
Author: Julien Nabet serval2...@yahoo.fr
Date:   Fri Feb 17 23:02:06 2012 +0100

Fix never read reported by clang

diff --git a/vbahelper/source/vbahelper/vbapagesetupbase.cxx 
b/vbahelper/source/vbahelper/vbapagesetupbase.cxx
index 1cdca49..14deb67 100644
--- a/vbahelper/source/vbahelper/vbapagesetupbase.cxx
+++ b/vbahelper/source/vbahelper/vbapagesetupbase.cxx
@@ -310,11 +310,6 @@ void SAL_CALL VbaPageSetupBase::setOrientation( sal_Int32 
orientation ) throw (c
 mxPageProps-setPropertyValue( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM(Width)),  aHeight );
 mxPageProps-setPropertyValue( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM(Height)), aWidth );
 }
-
-if( isLandscape )
-{
-orientation = mnOrientLandscape;
-}
 }
 catch( uno::Exception )
 {
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - sd/source

2012-02-17 Thread Jan Holesovsky
 sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx |6 
 sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx|6 
 sd/source/ui/slidesorter/view/SlideSorterView.cxx |   14 +
 sd/source/ui/slidesorter/view/SlsButtonBar.cxx|  129 +++---
 4 files changed, 71 insertions(+), 84 deletions(-)

New commits:
commit 4866b20ec6205b04cd21077fd00d68c4d4bb2c1b
Author: Jan Holesovsky ke...@suse.cz
Date:   Fri Feb 17 23:32:52 2012 +0100

Slidesorter: Show the buttons on the opposite side...

...compared to where the mouse entered the slide thumbnail.  This
seems to prevent a user annoyance when you very often used to hide
the slide, instead of just selecting it.

diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx 
b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 4229665..d65bb90 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -226,13 +226,15 @@ public:
 const bool bAnimate = true);
 void SetPageUnderMouse (
 const model::SharedPageDescriptor rpDescriptor,
-const bool bAnimate = true);
+const bool bAnimate = true,
+const Point rMousePosition = Point());
 
 bool SetState (
 const model::SharedPageDescriptor rpDescriptor,
 const model::PageDescriptor::State eState,
 const bool bStateValue,
-const bool bAnimate = true);
+const bool bAnimate = true,
+const Point rMousePosition = Point());
 
 void UpdateOrientation (void);
 
diff --git a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx 
b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
index 13b49f0..c6faee3 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
@@ -69,6 +69,11 @@ public:
 const Point aMouseModelLocation,
 const bool bIsMouseButtonDown);
 
+/// Decide whether the button should be drawn at the top, or the bottom.
+void UpdateButtonPosition(
+const model::SharedPageDescriptor rpDescriptor,
+const Point rMousePosition);
+
 void ResetPage (void);
 
 bool IsMouseOverBar (void) const;
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx 
b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index 4d63677..935f191 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -958,7 +958,7 @@ void SlideSorterView::UpdatePageUnderMouse (
 const bool bAnimate)
 {
 // Update the page under the mouse.
-SetPageUnderMouse(rpDescriptor, bAnimate);
+SetPageUnderMouse(rpDescriptor, bAnimate, rMousePosition);
 
 // Tell the button bar about the new mouse position.
 SharedSdWindow pWindow (mrSlideSorter.GetContentWindow());
@@ -986,7 +986,8 @@ void SlideSorterView::UpdatePageUnderMouse (
 
 void SlideSorterView::SetPageUnderMouse (
 const model::SharedPageDescriptor rpDescriptor,
-const bool bAnimate)
+const bool bAnimate,
+const Point rMousePosition)
 {
 if (mpPageUnderMouse != rpDescriptor)
 {
@@ -996,7 +997,7 @@ void SlideSorterView::SetPageUnderMouse (
 mpPageUnderMouse = rpDescriptor;
 
 if (mpPageUnderMouse)
-SetState(mpPageUnderMouse, PageDescriptor::ST_MouseOver, true, 
bAnimate);
+SetState(mpPageUnderMouse, PageDescriptor::ST_MouseOver, true, 
bAnimate, rMousePosition);
 
 // Change the quick help text to display the name of the page under
 // the mouse.
@@ -1011,7 +1012,8 @@ bool SlideSorterView::SetState (
 const model::SharedPageDescriptor rpDescriptor,
 const PageDescriptor::State eState,
 const bool bStateValue,
-const bool bAnimate)
+const bool bAnimate,
+const Point rMousePosition)
 {
 model::SharedPageDescriptor pDescriptor (rpDescriptor);
 if ( ! pDescriptor)
@@ -1039,7 +1041,11 @@ bool SlideSorterView::SetState (
 if (eState == PageDescriptor::ST_MouseOver)
 {
 if (bStateValue)
+{
+if (bAnimate)
+GetButtonBar().UpdateButtonPosition(rpDescriptor, 
rMousePosition);
 GetButtonBar().RequestFadeIn(rpDescriptor, bAnimate);
+}
 else
 GetButtonBar().RequestFadeOut(rpDescriptor, bAnimate);
 }
diff --git a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx 
b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
index 06a2074..fc4d05b 100644
--- a/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
+++ b/sd/source/ui/slidesorter/view/SlsButtonBar.cxx
@@ -68,19 +68,25 @@ namespace sd { namespace slidesorter { namespace view {
 class ButtonBar::BackgroundTheme
 {
 public:
+enum ButtonPosition { TOP, BOTTOM };
+public:
 BackgroundTheme(
 const ::boost::shared_ptrTheme rpTheme,
 const ::std::vectorSharedButton rButtons);
-virtual 

[Libreoffice-commits] .: 5 commits - pyuno/source sd/source sw/source xmlsecurity/source

2012-02-17 Thread Michael Stahl
 pyuno/source/module/pyuno_gc.cxx  |5 +
 sd/source/ui/accessibility/AccessibleTreeNode.cxx |6 +
 sd/source/ui/toolpanel/ScrollPanel.cxx|2 
 sw/source/core/layout/ftnfrm.cxx  |2 
 sw/source/core/layout/newfrm.cxx  |2 
 xmlsecurity/source/helper/xsecverify.cxx  |   86 ++
 6 files changed, 87 insertions(+), 16 deletions(-)

New commits:
commit e72e8dcd332474321439eb266528eb7e5fc8809f
Author: Michael Stahl mst...@redhat.com
Date:   Sat Feb 18 00:06:42 2012 +0100

AccessibleTreeNode: fix headless crash

On closing a document in headless mode, the
accessibility::AccessibleTreeNode::WindowEventListener will access a deleted
mrTreeNode member and crash; don't do anything in the listener if the
AccessibleTreeNode has been disposed.

#0  0x in ?? ()
#1  0x7f99842d6887 in accessibility::AccessibleTreeNode::UpdateStateSet 
(this=0x27a99f80) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:285
#2  0x7f99842d803e in 
accessibility::AccessibleTreeNode::WindowEventListener (this=0x27a99f80, 
pEvent=0x7f997fd64f40) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:694
#3  0x7f99842d7f3d in 
accessibility::AccessibleTreeNode::LinkStubWindowEventListener 
(pThis=0x27a99f80, pCaller=0x7f997fd64f40) at 
sd/source/ui/accessibility/AccessibleTreeNode.cxx:670
#4  0x7f99b88a1442 in Link::Call (this=0x279f94e0, 
pCaller=0x7f997fd64f40) at solver/unxlngx6/inc/tools/link.hxx:140
#5  0x7f99b88cdecf in VclEventListeners::Call (this=0x27a946f0, 
pEvent=0x7f997fd64f40) at vcl/source/app/vclevent.cxx:72
#6  0x7f99b8d2e76e in Window::CallEventListeners (this=0x27a98280, 
nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5188
#7  0x7f99b8d2e6cf in Window::ImplCallEventListeners (this=0x27a98280, 
nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5171
#8  0x7f99b8d2df63 in Window::PreNotify (this=0x27a98280, rNEvt=...) at 
vcl/source/window/window.cxx:5037
#9  0x7f99b8d4aa0c in ImplCallPreNotify (rEvt=...) at 
vcl/source/window/winproc.cxx:86
#10 0x7f99b8d2910e in Window::ImplGrabFocus (this=0x2703d230, nFlags=0) 
at vcl/source/window/window.cxx:4033
#11 0x7f99b8d3749f in Window::GrabFocus (this=0x2703d230) at 
vcl/source/window/window.cxx:7493
#12 0x7f99b8d2b624 in Window::~Window (this=0x27a98280, 
__in_chrg=optimized out) at vcl/source/window/window.cxx:4493
#13 0x7f99b88fa514 in Control::~Control (this=0x27a98280, 
__in_chrg=optimized out) at vcl/source/control/ctrl.cxx:88
#14 0x7f99845521e4 in sd::toolpanel::ScrollPanel::~ScrollPanel 
(this=0x27a98280, __in_chrg=optimized out) at 
sd/source/ui/toolpanel/ScrollPanel.cxx:91
#15 0x7f99845522e8 in sd::toolpanel::ScrollPanel::~ScrollPanel 
(this=0x27a98280, __in_chrg=optimized out) at 
sd/source/ui/toolpanel/ScrollPanel.cxx:112
#16 0x7f9984565d76 in std::auto_ptrsd::toolpanel::TreeNode::reset 
(this=0x27a94970, __p=0x0)

diff --git a/sd/source/ui/accessibility/AccessibleTreeNode.cxx 
b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
index 554c73d..2831895 100644
--- a/sd/source/ui/accessibility/AccessibleTreeNode.cxx
+++ b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
@@ -637,6 +637,9 @@ sal_Bool AccessibleTreeNode::IsDisposed (void)
 
 IMPL_LINK(AccessibleTreeNode, StateChangeListener, TreeNodeStateChangeEvent*, 
pEvent)
 {
+if (rBHelper.bDisposed || rBHelper.bInDispose)
+return 1; // mrTreeNode is probably dead
+
 OSL_ASSERT(pEvent!=NULL);
 OSL_ASSERT(pEvent-mrSource==mrTreeNode);
 
@@ -669,6 +672,9 @@ IMPL_LINK(AccessibleTreeNode, StateChangeListener, 
TreeNodeStateChangeEvent*, pE
 
 IMPL_LINK(AccessibleTreeNode, WindowEventListener, VclWindowEvent*, pEvent)
 {
+if (rBHelper.bDisposed || rBHelper.bInDispose)
+return 1; // mrTreeNode is probably dead
+
 switch (pEvent-GetId())
 {
 case VCLEVENT_WINDOW_HIDE:
commit cdfa3bd5e4c62dc88158a4c6c4908404baf1f529
Author: Michael Stahl mst...@redhat.com
Date:   Sat Feb 18 00:06:41 2012 +0100

sd::toolpanel::ScrollPanel::~ScrollPanel: bogus static_cast

diff --git a/sd/source/ui/toolpanel/ScrollPanel.cxx 
b/sd/source/ui/toolpanel/ScrollPanel.cxx
index 0a84e75..7c43aa4 100644
--- a/sd/source/ui/toolpanel/ScrollPanel.cxx
+++ b/sd/source/ui/toolpanel/ScrollPanel.cxx
@@ -97,7 +97,7 @@ ScrollPanel::~ScrollPanel (void)
 TreeNode* pControl = pNode;
 // When the node has been created as TitledControl then use its
 // control instead of pNode directly.
-TitledControl* pTitledControl = static_castTitledControl*(pNode);
+TitledControl* pTitledControl = dynamic_castTitledControl*(pNode);
 if (pTitledControl != NULL)
 pControl = pTitledControl-GetControl();
 
commit 29177b1d04b845e8e6bf8edc8beb34b76a95d9c3
Author: Michael Stahl mst...@redhat.com

[Libreoffice-commits] .: hunspell/makefile.mk mythes/makefile.mk

2012-02-17 Thread Tor Lillqvist
 hunspell/makefile.mk |2 +-
 mythes/makefile.mk   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f5cea39979f395b586ae1a52c8adfe4ff0176466
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Sat Feb 18 01:14:42 2012 +0200

Use STDLIBCUIMT so that the sample executables link for Android

Without using STDLIBCUIMT and the -lgnustl_shared it contains the
sample executables in hunspell and mythes won't link. Sure, they won't
be used for anything, but it's easier this way than to patch out
building them.

diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index 8cf2e4e..a1c035a 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -69,7 +69,7 @@ CONFIGURE_FLAGS+=CPPFLAGS=$(EXTRA_CDEFS)
 .ENDIF
 
 .IF $(CROSS_COMPILING)==YES
-CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) 
LIBS=$(STDLIBCUIMT)
 .ENDIF
 
 BUILD_ACTION=$(GNUMAKE) -j$(EXTMAXPROCESS)
diff --git a/mythes/makefile.mk b/mythes/makefile.mk
index f10d0a0..46520fc 100644
--- a/mythes/makefile.mk
+++ b/mythes/makefile.mk
@@ -81,7 +81,7 @@ CONFIGURE_FLAGS+=CFLAGS='$(LCL_CONFIGURE_CFLAGS)'
 .ENDIF
 
 .IF $(CROSS_COMPILING)==YES
-CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) 
gio_can_sniff=no
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) 
gio_can_sniff=no LIBS=$(STDLIBCUIMT)
 .ENDIF
 
 BUILD_ACTION=make
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: svx/source

2012-02-17 Thread Thorsten Behrens
 svx/source/dialog/_contdlg.cxx |   65 -
 1 file changed, 65 deletions(-)

New commits:
commit 600c27470380f80445fecb4b5691e0d11060494d
Author: Björgvin Ragnarsson nifgr...@gmail.com
Date:   Fri Feb 17 23:19:28 2012 +

Remove unused code in core/svx/source/dialog/_contdlg.cxx

diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 576d06e..c96bbf7 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -195,64 +195,9 @@ PolyPolygon SvxContourDlg::CreateAutoContour( const 
Graphic rGraphic,
 return PolyPolygon( XOutBitmap::GetCountour( aBmp, nContourFlags, 128, 
pRect ) );
 }
 
-void SvxContourDlg::ScaleContour( PolyPolygon rContour, const Graphic 
rGraphic,
-  const MapUnit eUnit, const Size 
rDisplaySize )
-{
-DBG_ASSERT( rGraphic.GetType() != GRAPHIC_NONE, Graphic is not valid! );
-
-OutputDevice*   pOutDev = Application::GetDefaultDevice();
-const MapMode   aDispMap( eUnit );
-const MapMode   aGrfMap( rGraphic.GetPrefMapMode() );
-const Size  aGrfSize( rGraphic.GetPrefSize() );
-SizeaOrgSize;
-Point   aNewPoint;
-sal_BoolbPixelMap = aGrfMap.GetMapUnit() == MAP_PIXEL;
-
-if ( bPixelMap )
-aOrgSize = pOutDev-PixelToLogic( aGrfSize, aDispMap );
-else
-aOrgSize = pOutDev-LogicToLogic( aGrfSize, aGrfMap, aDispMap );
-
-if ( aOrgSize.Width()  aOrgSize.Height() )
-{
-double fScaleX = (double) rDisplaySize.Width() / aOrgSize.Width();
-double fScaleY = (double) rDisplaySize.Height() / aOrgSize.Height();
-
-for ( sal_uInt16 j = 0, nPolyCount = rContour.Count(); j  nPolyCount; 
j++ )
-{
-Polygon rPoly = rContour[ j ];
-
-for ( sal_uInt16 i = 0, nCount = rPoly.GetSize(); i  nCount; i++ )
-{
-if ( bPixelMap )
-aNewPoint = pOutDev-PixelToLogic( rPoly[ i ], aDispMap  );
-else
-aNewPoint = pOutDev-LogicToLogic( rPoly[ i ], aGrfMap, 
aDispMap  );
-
-rPoly[ i ] = Point( FRound( aNewPoint.X() * fScaleX ), FRound( 
aNewPoint.Y() * fScaleY ) );
-}
-}
-}
-}
-
 // Loop through to super class, no virtual Methods to not become incompatible
 // due to IF changes
 
-void SvxContourDlg::SetExecState( sal_Bool bEnable )
-{
-pSuperClass-SetExecState( bEnable );
-}
-
-void SvxContourDlg::SetGraphic( const Graphic rGraphic )
-{
-pSuperClass-SetGraphic( rGraphic );
-}
-
-void SvxContourDlg::SetGraphicLinked( sal_Bool bGraphicLinked )
-{
-pSuperClass-SetGraphicLinked( bGraphicLinked );
-}
-
 const Graphic SvxContourDlg::GetGraphic() const
 {
 return pSuperClass-GetGraphic();
@@ -263,21 +208,11 @@ sal_Bool SvxContourDlg::IsGraphicChanged() const
 return pSuperClass-IsGraphicChanged();
 }
 
-void SvxContourDlg::SetPolyPolygon( const PolyPolygon rPolyPoly )
-{
-pSuperClass-SetPolyPolygon( rPolyPoly );
-}
-
 PolyPolygon SvxContourDlg::GetPolyPolygon()
 {
 return pSuperClass-GetPolyPolygon( sal_True );
 }
 
-void SvxContourDlg::SetEditingObject( void* pObj )
-{
-pSuperClass-SetEditingObject( pObj );
-}
-
 const void* SvxContourDlg::GetEditingObject() const
 {
 return pSuperClass-GetEditingObject();
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: xmlsecurity/source

2012-02-17 Thread Julien Nabet
 xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 140c90f4302303faf146c4a509acfb1d21c26164
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sat Feb 18 08:03:35 2012 +0100

Fix pEncryptedData not initialized

diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx 
b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
index 30a8e11..5134008 100644
--- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
+++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.cxx
@@ -149,6 +149,8 @@ SAL_CALL XMLEncryption_NssImpl :: encrypt(
 
 //remember the position of the element to be signed
 sal_Bool isParentRef = sal_True;
+pEncryptedData = pTemplate-getNativeElement();
+
 xmlNodePtr pParent = pEncryptedData-parent;
 xmlNodePtr referenceNode;
 
@@ -179,8 +181,6 @@ SAL_CALL XMLEncryption_NssImpl :: encrypt(
 return aTemplate;
 }
 
-pEncryptedData = pTemplate-getNativeElement() ;
-
 //Find the element to be encrypted.
 
 //Encrypt the template
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sfx2/inc sfx2/source vcl/source

2012-02-17 Thread Michael Meeks
 sfx2/inc/sfx2/mnuitem.hxx|1 +
 sfx2/source/menu/mnuitem.cxx |8 
 vcl/source/helper/lazydelete.cxx |   10 ++
 3 files changed, 19 insertions(+)

New commits:
commit 019458b151f402c1f8bbabc90e94987bfe2c32f2
Author: Michael Meeks michael.me...@suse.com
Date:   Sat Feb 18 07:57:01 2012 +

partial revert of unused code removal, and add LINUX guards

diff --git a/sfx2/inc/sfx2/mnuitem.hxx b/sfx2/inc/sfx2/mnuitem.hxx
index 08acfa6..62ebce6 100644
--- a/sfx2/inc/sfx2/mnuitem.hxx
+++ b/sfx2/inc/sfx2/mnuitem.hxx
@@ -56,6 +56,7 @@ public:
 SfxMenuControl( sal_uInt16, SfxBindings);
 
 static SfxMenuControl*  CreateImpl( sal_uInt16 nId, Menu rMenu, 
SfxBindings rBindings );
+static void RegisterControl( sal_uInt16 nSlotId = 0, SfxModule 
*pMod=NULL );
 
 ~SfxMenuControl();
 
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index 32b173e..8b05360 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -246,6 +246,14 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 
/*nId*/, Menu /*rMenu*/,
 return new SfxMenuControl( sal_True );
 }
 
+#ifndef LINUX
+void SfxMenuControl::RegisterControl( sal_uInt16 nSlotId, SfxModule *pMod )
+{
+RegisterMenuControl( pMod, new SfxMenuCtrlFactory(
+SfxMenuControl::CreateImpl, TYPE(SfxStringItem), nSlotId ) );
+}
+#endif
+
 //
 void SfxMenuControl::RegisterMenuControl(SfxModule* pMod, SfxMenuCtrlFactory* 
pFact)
 {
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx
index d63466e..b160bb8 100644
--- a/vcl/source/helper/lazydelete.cxx
+++ b/vcl/source/helper/lazydelete.cxx
@@ -70,6 +70,16 @@ template bool LazyDeletorWindow::is_less( Window* left, 
Window* right )
 return (left != right  right-IsChild( left, sal_True )) ? true : false;
 }
 
+#ifndef LINUX
+// specialized is_less function for Menu
+template bool LazyDeletorMenu::is_less( Menu* left, Menu* right )
+{
+while( left  left != right )
+left = left-ImplGetStartedFrom();
+return left != NULL;
+}
+#endif
+
 DeleteOnDeinitBase::~DeleteOnDeinitBase()
 {
 ImplSVData* pSVData = ImplGetSVData();
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Stephan Bergmann

On 02/16/2012 11:39 PM, julien2412 wrote:

/home/julien/compile-libreoffice/libo/vcl/unx/generic/app/i18n_wrp.cxx:250:9:
warning: Null pointer passed as an argument to a 'nonnull' parameter
 dlclose(g_dlmodule);
 ^   ~~
1 warning generated.
Here are the lines :
 243 Status XvaCloseIM(XIM)

[...]

Remark : when I opengroked this function , I found nothing. Is this function
used (or should be used) in a way ?


Looks like all of vcl/unx/generic/app/i18n_wrp.cxx became completely 
unused with 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=8b0287543d87659fd4bfde5edb6725ee5da5f80e 
These multi-lingual IMs have been always disabled for Linux.


So I would suggest to remove that code wholesale.

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


Re: [ANN] Referencing bugs in commits

2012-02-17 Thread Lionel Elie Mamane
On Tue, Feb 14, 2012 at 04:16:33PM +0100, Jan Holesovsky wrote:

 whenever you are committing / pushing to git, and you
 reference the bugs.freedesktop.org bug in the commit message, it will
 automatically appear as a comment in the bug :-)

It seems not to happen this morning. In general, after how much time
after commit should we get worried and report it?

 - 8 -
 fdo#45748: Don't use empty pages for computing the page break position
 - 8 -

 It will result in the following comment in bugzilla:

 https://bugs.freedesktop.org/show_bug.cgi?id=45748#c7

It says:

 $AUTHOR commited a patch related to this issue to $BRANCH

That's misleading. See e.g.
https://bugs.freedesktop.org/show_bug.cgi?id=45748#c9
and
http://cgit.freedesktop.org/libreoffice/core/commit/?id=66cf06ebdd4eeb95e801de114af06b49119fc7feg=libreoffice-3-5
Committed by Tor, but authored by Cédric. The message in the bug says
Cédric committed.

I would suggest one of:

 A patch by $AUTHOR related to this issue was committed to $BRANCH

(should it be has been committed maybe?)

or

 $COMMITTER committed a patch by $AUTHOR related to this issue to $BRANCH

or
 $AUTHOR's patch related to this issue was/has been committed to $BRANCH

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


[Bug 35673] LibreOffice 3.4 most annoying bugs

2012-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Bug 35673 depends on bug 42772, which changed state.

Bug 42772 Summary: Launch of Libreoffice 3.4.4 impossible after update from 
version 3.4.1
https://bugs.freedesktop.org/show_bug.cgi?id=42772

   What|Old Value   |New Value

 Resolution||DUPLICATE
 Status|UNCONFIRMED |RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Tor Lillqvist
 So I would suggest to remove that code wholesale.

Hmm, but was this code used on Solaris? Have we already removed some
functionality needed (or at least useful) on Solaris then? Too bad as
there recently has been people here talking about supporting Solaris?
(When I say Solaris, I  mean whichever of them somebody wants to
support...)

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Stephan Bergmann

On 02/17/2012 09:53 AM, Tor Lillqvist wrote:

So I would suggest to remove that code wholesale.


Hmm, but was this code used on Solaris? Have we already removed some
functionality needed (or at least useful) on Solaris then? Too bad as
there recently has been people here talking about supporting Solaris?
(When I say Solaris, I  mean whichever of them somebody wants to
support...)


But even then, leaving in just half of it while the rest has already 
been removed would not make much sense IMO.


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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Tor Lillqvist
 But even then, leaving in just half of it while the rest has already been
 removed would not make much sense IMO.

Indeed, so should the earlier removal be reverted?

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 12:16 +0200, Tor Lillqvist wrote:
  But even then, leaving in just half of it while the rest has already been
  removed would not make much sense IMO.
 
 Indeed, so should the earlier removal be reverted?

If people want to make Solaris (or it's more viable free software
brethren) work they're more than welcome.

In the meantime, having un-tested, un-executed, legacy code around for
a platform we don't support seems pretty pointless to me :-)

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Tor Lillqvist
 In the meantime, having un-tested, un-executed, legacy code around for
 a platform we don't support seems pretty pointless to me :-)

What message does that send to the Solaris porters?

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


Re: [PUSHED] Remove unused methods from PDFI

2012-02-17 Thread Thorsten Behrens
Kate Goss wrote:
 Yes, he did - thanks Thorsten. Christian - if you are able to set me up
 with access, that would be lovely :)
 
Hi Kate,

glad you hear you want to look into this - first step is to clone
the git repo

 git clone git://anongit.freedesktop.org/libreoffice/website

(stay on the master branch)

, and then look into the bug/ subdir. Please *do* ask questions! :)

Cheers,

-- Thorsten


pgpyOS69OJnMr.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[REVIEW:3-5] Use ICU break-iterator for Thai Spelling

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 23:24 +, Richard Wordingham wrote:
 On Tue, 14 Feb 2012 16:19:17 +
 Caolán McNamara caol...@redhat.com wrote:
  I think this change:
  http://cgit.freedesktop.org/libreoffice/core/commit/?id=475d0c59c66fb7752d230f76130b17145aad0c12
  should improve matters a lot.

 It's a vast improvement - it gives LibreOffice a real Thai
 spell-checker.  Thank you.
...
 If there isn't such an issue, does this mean we can hope to see your
 fix in LibreOffice 3.5.1?

Proposed for review / inclusion into 3.5.

Eike - any chance you can give it a once-over ? :-)

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Weird entries in SOLARLIB

2012-02-17 Thread Tor Lillqvist
I wonder what the -L../lib that is put into SOLARLIB for many
platforms is supposed to refer to? And why
-L$SRC_ROOT/solenv/$OUTPATH/lib is put there two times in some cases,
when it probably is not needed at all?

For Mac OS X, SOLARLIB contains *only*
-L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib, and it seems to work out
fine. Would that be enough for all platforms?

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


[REVIEW-3-5] fdo#46167 fix path of shell extension dll in registry

2012-02-17 Thread Andras Timar
Hi,

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2786c354ce4f7ff215fffe83ef242ee3b411fb13

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


[PATCH] Removed unused code from drawinglayer

2012-02-17 Thread Dézsi Szabolcs

Hi, I removed unused function from module drawinglayer. (unusedcode.easy)

removed functions:
drawinglayer::attribute::FillBitmapAttribute::FillBitmapAttribute()
drawinglayer::attribute::Sdr3DLightAttribute::Sdr3DLightAttribute()
drawinglayer::attribute::Sdr3DObjectAttribute::Sdr3DObjectAttribute()
drawinglayer::attribute::SdrFillBitmapAttribute::getLogSize() const
drawinglayer::attribute::SdrLightingAttribute::getAmbientLight() const
drawinglayer::attribute::SdrLineAttribute::SdrLineAttribute(basegfx::BColor 
const)
drawinglayer::attribute::SdrLineAttribute::isDashed() const
drawinglayer::attribute::SdrLineFillShadowAttribute3D::isDefault() const
drawinglayer::attribute::SdrSceneAttribute::getDistance() const
drawinglayer::primitive2d::GraphicPrimitive2D::GraphicPrimitive2D(basegfx::B2DHomMatrix
 const, GraphicObject const)
drawinglayer::primitive2d::PolyPolygonStrokeArrowPrimitive2D::PolyPolygonStrokeArrowPrimitive2D(basegfx::B2DPolyPolygon
 const, drawinglayer::attribute::LineAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const)

drawinglayer::primitive2d::PolyPolygonStrokeArrowPrimitive2D::PolyPolygonStrokeArrowPrimitive2D(basegfx::B2DPolyPolygon
 const, drawinglayer::attribute::LineAttribute const, 
drawinglayer::attribute::StrokeAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const)

drawinglayer::primitive2d::PolygonStrokeArrowPrimitive2D::PolygonStrokeArrowPrimitive2D(basegfx::B2DPolygon
 const, drawinglayer::attribute::LineAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const, 
drawinglayer::attribute::LineStartEndAttribute const)

drawinglayer::primitive2d::RenderGraphicPrimitive2D::setCurrentRasterizer() 
const
drawinglayer::primitive2d::RenderGraphicPrimitive2D::setCurrentRasterizer(vcl::RenderGraphicRasterizer
 const) const
drawinglayer::primitive3d::PolygonStrokePrimitive3D::PolygonStrokePrimitive3D(basegfx::B3DPolygon
 const, drawinglayer::attribute::LineAttribute const)
drawinglayer::processor3d::CollectingProcessor3D::CollectingProcessor3D(drawinglayer::geometry::ViewInformation3D
 const)

Szabolcs
  From 02e4857db382778d6de13622a109f4bf8e13059a Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi dezsisz...@hotmail.com
Date: Fri, 17 Feb 2012 13:18:17 +0100
Subject: [PATCH] Removed unused code from drawinlayer

---
 .../drawinglayer/attribute/fillbitmapattribute.hxx |1 -
 .../drawinglayer/attribute/sdrallattribute3d.hxx   |3 --
 .../attribute/sdrfillbitmapattribute.hxx   |1 -
 .../drawinglayer/attribute/sdrlightattribute3d.hxx |1 -
 .../attribute/sdrlightingattribute3d.hxx   |1 -
 .../drawinglayer/attribute/sdrlineattribute.hxx|4 ---
 .../attribute/sdrobjectattribute3d.hxx |1 -
 .../drawinglayer/attribute/sdrsceneattribute3d.hxx |1 -
 .../primitive2d/graphicprimitive2d.hxx |3 --
 .../primitive2d/polygonprimitive2d.hxx |7 --
 .../primitive2d/polypolygonprimitive2d.hxx |   15 -
 .../primitive2d/rendergraphicprimitive2d.hxx   |2 -
 .../primitive3d/polygonprimitive3d.hxx |5 
 .../drawinglayer/processor3d/baseprocessor3d.hxx   |1 -
 .../source/attribute/fillbitmapattribute.cxx   |6 -
 .../source/attribute/sdrallattribute3d.cxx |9 ---
 .../source/attribute/sdrfillbitmapattribute.cxx|5 
 .../source/attribute/sdrlightattribute3d.cxx   |6 -
 .../source/attribute/sdrlightingattribute3d.cxx|5 
 drawinglayer/source/attribute/sdrlineattribute.cxx |   11 -
 .../source/attribute/sdrobjectattribute3d.cxx  |6 -
 .../source/attribute/sdrsceneattribute3d.cxx   |5 
 .../source/primitive2d/graphicprimitive2d.cxx  |   10 
 .../source/primitive2d/polygonprimitive2d.cxx  |   11 -
 .../source/primitive2d/polypolygonprimitive2d.cxx  |   23 
 .../primitive2d/rendergraphicprimitive2d.cxx   |   10 
 .../source/primitive3d/polygonprimitive3d.cxx  |   10 
 .../source/processor3d/baseprocessor3d.cxx |6 -
 unusedcode.easy|   17 --
 29 files changed, 0 insertions(+), 186 deletions(-)

diff --git a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
index 96b181d..285bf79 100644
--- a/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
+++ b/drawinglayer/inc/drawinglayer/attribute/fillbitmapattribute.hxx
@@ -65,7 +65,6 @@ namespace drawinglayer
 const basegfx::B2DPoint rTopLeft,
 const basegfx::B2DVector rSize,
 bool bTiling);
-FillBitmapAttribute();
 FillBitmapAttribute(const FillBitmapAttribute 

Re: Adding Extension for Experimental Thai Spelling

2012-02-17 Thread Németh László
Hi,

2012/2/17 Richard Wordingham richard.wording...@ntlworld.com:
 It's a vast improvement - it gives LibreOffice a real Thai
 spell-checker.  Thank you.  I have one worry for Siamese - Németh László
 suggested that there might be a licensing issue back in
 http://openoffice.2283327.n4.nabble.com/Thai-line-breaking-td2791315.html .

There is no problem with the license of the ICU. I'm also very glad of the fix.

Regards,
László
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [PUSHED][REVIEW:3-5] Use ICU break-iterator for Thai Spelling

2012-02-17 Thread Eike Rathke
Hi,

On Friday, 2012-02-17 11:30:17 +, Michael Meeks wrote:

 On Thu, 2012-02-16 at 23:24 +, Richard Wordingham wrote:
  On Tue, 14 Feb 2012 16:19:17 +
  Caolán McNamara caol...@redhat.com wrote:
   I think this change:
   http://cgit.freedesktop.org/libreoffice/core/commit/?id=475d0c59c66fb7752d230f76130b17145aad0c12
   should improve matters a lot.
 
  It's a vast improvement - it gives LibreOffice a real Thai
  spell-checker.  Thank you.
 ...
  If there isn't such an issue, does this mean we can hope to see your
  fix in LibreOffice 3.5.1?
 
   Proposed for review / inclusion into 3.5.
 
   Eike - any chance you can give it a once-over ? :-)

Done, pushed to 3-5 with some conflict-resolving
http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-3-5id=dab92ff8a19533db8633ae0a8c146f06c0e26932

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgpKv6haeVUf0.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 13:21 +0200, Tor Lillqvist wrote:
  In the meantime, having un-tested, un-executed, legacy code around for
  a platform we don't support seems pretty pointless to me :-)
 
 What message does that send to the Solaris porters?

To pull their finger out and get it building on OpenIndiana / Illumos /
whatever quickish ? :-) I'm very happy to help do the (fairly trivial)
grep for 'SOLARIS' in the git log -u output - to find the bits that have
been removed that they might want to help restore it later if that's
what they want.

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: Weird entries in SOLARLIB

2012-02-17 Thread Matúš Kukan
On 17 February 2012 13:05, Tor Lillqvist t...@iki.fi wrote:
 I wonder what the -L../lib that is put into SOLARLIB for many
 platforms is supposed to refer to?

I believe it is (was) for dmake modules to refer to module/$INPATH/lib
This could be still needed, but if Mac OS X does not need this, there
is no reason for any other platform.

 And why -L$SRC_ROOT/solenv/$OUTPATH/lib is put there two times in some cases,
 when it probably is not needed at all?

Indeed I think this can be removed for all platforms.

 For Mac OS X, SOLARLIB contains *only*
 -L$SRC_ROOT/solver/${OUTPATH}${PROEXT}/lib, and it seems to work out
 fine. Would that be enough for all platforms?

It should, keeping things like:
if test $SYSTEM_MOZILLA = YES ; then
SOLARLIB=$SOLARLIB -L$MOZ_LIB
fi

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


[PATCH] Removed unused code from cppcanvas module

2012-02-17 Thread Dézsi Szabolcs

Hi, i removed unused code from cppcanvas module (unusedcode.easy)

removed functions:
cppcanvas::BaseGfxFactory::createPolyPolygon(boost::shared_ptrcppcanvas::Canvas
 const, basegfx::B2DPolyPolygon const) const
cppcanvas::BaseGfxFactory::createText(boost::shared_ptrcppcanvas::Canvas 
const, rtl::OUString const) const
cppcanvas::BaseGfxFactory::~BaseGfxFactory()
cppcanvas::VCLFactory::~VCLFactory()
cppcanvas::internal::ImplRenderer::ImplRenderer(boost::shared_ptrcppcanvas::Canvas
 const, BitmapEx const, cppcanvas::Renderer::Parameters const)
cppcanvas::internal::ImplRenderer::Map(basegfx::B2DPoint)
cppcanvas::internal::ImplRenderer::MapRectangle(double, double, double, double)
cppcanvas::internal::ImplSprite::getGraphicDevice() const
cppcanvas::internal::ImplSpriteCanvas::createSpriteFromBitmaps(com::sun::star::uno::Sequencecom::sun::star::uno::Referencecom::sun::star::rendering::XBitmap
  const, signed char)

cppcanvas::internal::TransparencyGroupActionFactory::createTransparencyGroupAction(std::auto_ptrGDIMetaFile,
 cppcanvas::Renderer::Parameters const, basegfx::B2DPoint const, 
basegfx::B2DVector const, double, boost::shared_ptrcppcanvas::Canvas const, 
cppcanvas::internal::OutDevState const)

cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState, 
cppcanvas::internal::OutDevState const, boost::shared_ptrcppcanvas::Canvas 
const, Point const, basegfx::B2DVector const*, double const*)

cppcanvas::tools::modifyClip(com::sun::star::rendering::RenderState, 
cppcanvas::internal::OutDevState const, boost::shared_ptrcppcanvas::Canvas 
const, basegfx::B2DHomMatrix const)

Szabolcs
  From 334e8bb034ecfd5b41cfed1906965e59171ae194 Mon Sep 17 00:00:00 2001
From: Szabolcs Dezsi dezsisz...@hotmail.com
Date: Fri, 17 Feb 2012 14:06:34 +0100
Subject: [PATCH] Removed unused code from cppcanvas

---
 cppcanvas/inc/cppcanvas/basegfxfactory.hxx |6 --
 cppcanvas/inc/cppcanvas/vclfactory.hxx |1 -
 cppcanvas/source/inc/implrenderer.hxx  |5 --
 cppcanvas/source/mtfrenderer/emfplus.cxx   |   28 -
 cppcanvas/source/mtfrenderer/implrenderer.cxx  |   48 ---
 cppcanvas/source/mtfrenderer/mtftools.cxx  |   62 
 cppcanvas/source/mtfrenderer/mtftools.hxx  |   56 --
 .../source/mtfrenderer/transparencygroupaction.cxx |   19 --
 .../source/mtfrenderer/transparencygroupaction.hxx |   28 -
 cppcanvas/source/wrapper/basegfxfactory.cxx|   31 --
 cppcanvas/source/wrapper/implsprite.cxx|5 --
 cppcanvas/source/wrapper/implsprite.hxx|4 -
 cppcanvas/source/wrapper/implspritecanvas.cxx  |9 ---
 cppcanvas/source/wrapper/implspritecanvas.hxx  |6 --
 cppcanvas/source/wrapper/vclfactory.cxx|4 -
 unusedcode.easy|   12 
 16 files changed, 0 insertions(+), 324 deletions(-)

diff --git a/cppcanvas/inc/cppcanvas/basegfxfactory.hxx b/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
index 5cb87aa..0aecf80 100644
--- a/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
+++ b/cppcanvas/inc/cppcanvas/basegfxfactory.hxx
@@ -75,7 +75,6 @@ namespace cppcanvas
 coordinate space as the source polygon
  */
 PolyPolygonSharedPtrcreatePolyPolygon( const CanvasSharedPtr, const ::basegfx::B2DPolygon rPoly ) const;
-PolyPolygonSharedPtrcreatePolyPolygon( const CanvasSharedPtr, const ::basegfx::B2DPolyPolygon rPoly ) const;
 
 /** Create an uninitialized bitmap with the given size
  */
@@ -85,16 +84,11 @@ namespace cppcanvas
  */
 BitmapSharedPtr createAlphaBitmap( const CanvasSharedPtr, const ::basegfx::B2ISize rSize ) const;
 
-/** Create a text portion with the given content string
- */
-TextSharedPtr   createText( const CanvasSharedPtr, const ::rtl::OUString ) const;
-
 private:
 friend struct InitInstance2;
 
 // singleton
 BaseGfxFactory();
-~BaseGfxFactory();
 
 // default: disabled copy/assignment
 BaseGfxFactory(const BaseGfxFactory);
diff --git a/cppcanvas/inc/cppcanvas/vclfactory.hxx b/cppcanvas/inc/cppcanvas/vclfactory.hxx
index ab84534..14f4c51 100644
--- a/cppcanvas/inc/cppcanvas/vclfactory.hxx
+++ b/cppcanvas/inc/cppcanvas/vclfactory.hxx
@@ -102,7 +102,6 @@ namespace cppcanvas
 
 // singleton
 VCLFactory();
-~VCLFactory();
 
 // default: disabled copy/assignment
 VCLFactory(const VCLFactory);
diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx
index 9c270e8..c93c83c 100644
--- a/cppcanvas/source/inc/implrenderer.hxx
+++ b/cppcanvas/source/inc/implrenderer.hxx
@@ -184,9 +184,6 @@ static float GetSwapFloat( SvStream rSt )
 ImplRenderer( const CanvasSharedPtrrCanvas,
   const 

Re: [REVIEW][3-5] Re: Bug 45530 - Accessibility does not work

2012-02-17 Thread Michael Stahl
hi Masataka,

it seems you sent this only to me, not to the mailing list, most likely
because this mailing list does not change the reply-to header (which
means you need to use Reply to all or Reply to list in your mail
client); i'll forward it there...

On 15/02/12 15:19, Masataka Shinke wrote:
 hello Michael,
 
 could you please confirm that you contribute this patch under
 MPL/LGPLv3+ license?
 
 yes
 
 Thank you,
 Masataka

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


[REVIEW 3-5,3-4] resolved rhbz#794679 use proper Indian Rupee currency symbol U+20B9

2012-02-17 Thread Eike Rathke
Hi,

Please review and cherry-pick to 3-5 and 3-4
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5d6af4f2947432a55324e4f5cc67bca202f939e9
http://cgit.freedesktop.org/libreoffice/core/commit/?id=4e0928278df9e327dac9ac4d0ebf40bf04ef8dd9
http://cgit.freedesktop.org/libreoffice/core/commit/?id=894502df745d1d3ee0e7acfe2e5d43fc443e788e

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=794679

Thanks
  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgpBYuMw8n4X4.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Caolán McNamara
On Fri, 2012-02-17 at 10:53 +0200, Tor Lillqvist wrote:
  So I would suggest to remove that code wholesale.
 
 Hmm, but was this code used on Solaris? Have we already removed some
 functionality needed (or at least useful) on Solaris then? 

I doubt it, solaris had moved to a GNOME desktop by default, more or
less, when I left Sun and last used solaris and all of this is
irrelevant under the gtk vclplug.

It doesn't really make a lot of sense to retain direct support for one
archaic Input Mechanism which has been superseded, a few time over by
now, by a series of new IMs. IIIMP support probably shouldn't have been
made solaris-specific in the first place as e.g. fedora had it in up
until Fedora 5 in 2006 or so.

In fact we should probably go so far as to drop the generic vcl plug
altogether and just have the gtk and kde ones.

C.

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


Re: Adding Extension for Experimental Thai Spelling

2012-02-17 Thread Caolán McNamara
On Thu, 2012-02-16 at 23:24 +, Richard Wordingham wrote:
 I wouldn't expect a dictionary-based line breaker to handle words from
 other languages.  (There's a whole slew of Mon-Khmer languages in
 Thailand, and they mostly use the Thai script when they happen to get
 written.)

Indeed, yeah, I suppose, assuming its as complicated as Thai, that the
right direction would be for someone to write for icu new
dictionary-based breakiterators for the nod(?) language and then the
rather trivial changes to LibreOffice to know about the language in
order to mark text as that language to bubble that info down to icu

C.

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


[Bug 37361] LibreOffice 3.5 most annoying bugs

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

--- Comment #188 from sasha.libreoff...@gmail.com 2012-02-17 06:13:37 UTC ---
regression since 3.4: ole object inserted in Calc becomes looking corrupted 
when resize object or save/reload document:
Bug 44838 - FORMATTING: Position, size, word wrap wrong for WRITER OLE Object 
in CALC

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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-02-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 Depends on||44838

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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


Re: Building LibreOffice on Windows

2012-02-17 Thread Caolán McNamara
On Thu, 2012-02-16 at 17:19 +0100, Michael Stahl wrote:
 well, nobody builds on Windows.  because the Windows build is very often
 broken.  which is because nobody builds on Windows.

I build it on occasion, a master from a day or two ago built fine with
express 2008

C.

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


Re: Conversion Borderline2 to Borderline

2012-02-17 Thread Eike Rathke
Hi Dietmar,

On Saturday, 2012-02-11 00:30:08 +0100, Dietmar wrote:

 But that function actually did not help, because as far as I found out,
 TableBorder does not work the way it did before (OOo 2.3), but removes
 the lines in most cases. 
 I am still trying to find the cause (and hoping it's fixed in 3.5)

There were many quirks, and many fixed in 3.5, please give it a try and
report success (and failure if necessary ;)


  I'm working on a TableBorder2 property that contains BorderLine2 instead
  of BorderLine, that will be for 3.6 though so probably doesn't help you
  right now with your actual problem.
 
 I am looking forward to TabelBorder2

This is in master now, currently implemented for Calc.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


pgplXVsBg6ECN.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[PUSHED] Inline and remove installer::sorter

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 19:30 +, Tim Retout wrote:
 as the overhead of map-sort-map is greater than just looking
 up the hash values for most workloads.

:-)

 So this also removes Libreoffice's only Perl unit test. ;)

Shame; hopefully we'll get another one,

Thanks !

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] Initial cleanup of installer::logger

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 23:15 +, Tim Retout wrote:
 This patch series removes some unused functions from
 installer::logger, and merges two very similar functions.  Plus
 general cleanup.

Another nice set of cleans; pushed ...

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] Remove various unused Perl functions from installer

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 23:19 +, Tim Retout wrote:
 These patches remove some unused functions from installer::worker and
 installer::download.

Wow - there is a really rather a large chunk of unused cruft in
here :-)

Thanks for slimming it down !

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 14:05 +, Caolán McNamara wrote:
 In fact we should probably go so far as to drop the generic vcl plug
 altogether and just have the gtk and kde ones.

An interesting idea; might be nice to do, though of course, since so
much code is shared anyway between gtk2, kde and gen - I don't know how
much we'd actually save (?).

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Caolán McNamara
On Fri, 2012-02-17 at 14:34 +, Michael Meeks wrote:
 On Fri, 2012-02-17 at 14:05 +, Caolán McNamara wrote:
  In fact we should probably go so far as to drop the generic vcl plug
  altogether and just have the gtk and kde ones.
 
   An interesting idea; might be nice to do, though of course, since so
 much code is shared anyway between gtk2, kde and gen - I don't know how
 much we'd actually save (?).

We'd probably save very little from a size perspective, though perhaps
gain a bit from a simplicity perspective. Though on the other hand,
maybe its still convenient to have a more basic plugin to refer to
sometimes. Dunno, I'm easy either way.

C.


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


Re: [REVIEW 3-5] Reintroduce pyuno.so wrapper around libpyuno.so

2012-02-17 Thread Michael Meeks
Hi Stephan,

On Thu, 2012-02-16 at 18:21 +0100, Stephan Bergmann wrote:
  Rats, missing return value. Now, third attempt, please look at the newly
  attached, slightly modified patch instead. Sigh.
 
 Ha!  What can I say?  Still lacks a WaE workaround...  So here comes 
 patch number four.

:-) I knew it wasn't just idleness delaying my review.

So - it's impenetrable to me, but I trust you know what you're doing;
and as long as it's in 3.5.1 RC1 we'll have some time to check it
live :-)

Any chance you can merge it to -3-5 yourself ?

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[REVIEWED] fdo#46166: EasyHack: remove obsolete MSFilterTracer

2012-02-17 Thread Michael Meeks

On Thu, 2012-02-16 at 16:17 +0100, Dézsi Szabolcs wrote:
 I removed the MSFilterTracer class as suggested by Caolán McNamara.
 Hope it's ok.

Patch looks lovely :-) Unfortunately, as you point out in the bug,
there is vestigal code in sc/ and sw/ and sd/ that uses it:

git grep MSFilterTracer

I guess we'd need to get rid of that as well before this can be merged.

Thanks ! :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Riccardo Magliocchetti

Hello,

Il 17/02/2012 15:39, Caolán McNamara ha scritto:

On Fri, 2012-02-17 at 14:34 +, Michael Meeks wrote:

On Fri, 2012-02-17 at 14:05 +, Caolán McNamara wrote:

In fact we should probably go so far as to drop the generic vcl plug
altogether and just have the gtk and kde ones.


An interesting idea; might be nice to do, though of course, since so
much code is shared anyway between gtk2, kde and gen - I don't know how
much we'd actually save (?).


We'd probably save very little from a size perspective, though perhaps
gain a bit from a simplicity perspective. Though on the other hand,
maybe its still convenient to have a more basic plugin to refer to
sometimes. Dunno, I'm easy either way.


FYI, I'm actually using these two files to build headless.

vcl/unx/generic/printer/jobdata \
vcl/unx/generic/printer/ppdparser \

I don't actually need printing but maybe other interested people do?

thanks

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Tor Lillqvist
 I doubt it, solaris had moved to a GNOME desktop by default, more or
 less, when I left Sun and last used solaris and all of this is
 irrelevant under the gtk vclplug.

OK, thanks for the technical explanation, if the code in question is
obsolete on any reasonable Solaris platform (whose users might be
interested in LibreOffice in the first place) then I of course have no
objection.

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


[PUSHED] [core/fpicker/source/win32/filepicker/asynceventnotifier.cxx:243]: (performance) Possible inefficient checking for 'm_EventList' emptiness.

2012-02-17 Thread Michael Meeks
Hi there,

On Wed, 2012-02-15 at 23:14 +0100, Mariusz Dykierek wrote:
 Possible inefficient checking for 'm_EventList' emptiness.

Looks nice ! :-) any chance you can glup a few dozen of these together
into each mail ? there is quite some transactional overhead of merging
lots of small patches one by one.

Otherwise - good :-)

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] [core/dtrans/source/win32/dtobj/FetcList.cxx:123]: (performance) Possible inefficient checking for 'm_FormatMap' emptiness.

2012-02-17 Thread Michael Meeks
Pushed,
Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] [core/dtrans/source/win32/dtobj/FmtFilter.cxx:485]: (performance) Possible inefficient checking for 'fileList' emptiness.

2012-02-17 Thread Michael Meeks
Pushed,

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] cppcheck's (portability) Extra qualification 'class_name::' unnecessary and considered an error by many compilers.

2012-02-17 Thread Michael Meeks
Pushed, and thanks for glupping together several fixes here.

Thanks :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[Bug 37361] LibreOffice 3.5 most annoying bugs

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

Bug 37361 depends on bug 45584, which changed state.

Bug 45584 Summary: presentation view defective
https://bugs.freedesktop.org/show_bug.cgi?id=45584

   What|Old Value   |New Value

 Resolution||FIXED
 Status|NEW |RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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


[PUSHED] Removed unused code from drawinglayer

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 13:22 +0100, Dézsi Szabolcs wrote:
 Hi, I removed unused function from module drawinglayer.
 (unusedcode.easy)

Thanks for that :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[PUSHED] Removed unused code from cppcanvas module

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 14:07 +0100, Dézsi Szabolcs wrote:
 Hi, i removed unused code from cppcanvas module (unusedcode.easy)

Thanks for that; pushed ! :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [REVIEW] Null pointer passed as an argument to a 'nonnull' parameter in vcl/unx/generic/app/i18n_wrp.cxx

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 16:06 +0100, Riccardo Magliocchetti wrote:
 FYI, I'm actually using these two files to build headless.

Which reminds me - I should review your patch ;-) sorry ...

  vcl/unx/generic/printer/jobdata \
  vcl/unx/generic/printer/ppdparser \
 
 I don't actually need printing but maybe other interested people do?

Ah - so, if these are suitably generic, or can be made so, perhaps we
should whack them into vcl/generic/ instead.  The vcl/unx/generic/ is
rather unix specific, but then some of the generic/ stuff is overly unix
specific too still, but ... :-)

There's plenty of cleanup / re-factoring  dependency reduction
required in the vcl/ code yet.

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[REVIEWED-3-5] fdo#46167 fix path of shell extension dll in registry

2012-02-17 Thread Michael Meeks

On Fri, 2012-02-17 at 13:12 +0100, Andras Timar wrote:
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=2786c354ce4f7ff215fffe83ef242ee3b411fb13

Looks right to me, picked to -3-5.

Thanks :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: Building LibreOffice on Windows

2012-02-17 Thread Randall G. Arnold



On February 16, 2012 at 11:23 AM Jesús Corrius je...@softcatala.org
wrote:

 Hi guys,

  If at all possible, rather run Ubuntu (or some other Linux distro)
inside a
  VMWare virtual machine on your Windows desktop.

 We should encourage Windows developers to join the project to have a
 better Windows version.
 Telling them to use Linux will not improve the situation.

 --
 Jesús Corrius je...@softcatala.org mailto:je...@softcatala.org


I'm new here, but I'd like to say I'm 100% in agreement.  The default
behavior should be inclusion, not exclusion.  Projects like this have to
battle the embrace, extend, extinguish philosophy of commercial
interests.

I've lived in both the Linux and Windows worlds for years and see
advantages/disadvantages to each.  Being as objective as I can, Microsoft
Office still rules the roost feature-wise.  One of the best ways for
LibreOffice to catch up and even surpass it is to get it on the Windows
platform and draw from that HUGE developer pool.  I will gladly contribute
to that effort any way I can.

Randall (Randy) Arnold
Developer and Enthusiast Advocate
http://texrat.net http://texrat.net
+18177396806___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[REVIEW-3-5] Fix for cut-off presentations on Mac

2012-02-17 Thread Thorsten Behrens
Hi there,

would someone please review

 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdfeb21102e85f94a1ecb22fb376e1875319765e

and cherry-pick for -3-5 - it fixes

 https://bugs.freedesktop.org/show_bug.cgi?id=45584

by restoring the prior state (3.4.x and before) of not shipping
cairocanvas on Mac.

Thanks,

-- Thorsten


pgpTrgSjLJNtZ.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Building LibreOffice on Windows

2012-02-17 Thread Tor Lillqvist
 Projects like this have to
 battle the embrace, extend, extinguish philosophy of commercial interests.

What makes you think only commercial entities have that philosophy? As
far as I know Linux, also embraces and extends POSIX, for instance,
and has more or less managed to extinguish quite many competing POSIX
operating systems at least in the desktop market space.

Many of the most active LibreOffice developers do their work for
companies that are driven by commercial interests by definition.

(Sorry for ranting, but it irritates me if people think Linux
companies aren't driven by the same commercial interests as evil
proprietary software companies... )

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


Re: [REVIEW-3-5] [PUSHED] Fix for cut-off presentations on Mac

2012-02-17 Thread Tor Lillqvist
 would someone please review
  http://cgit.freedesktop.org/libreoffice/core/commit/?id=fdfeb21102e85f94a1ecb22fb376e1875319765e
 and cherry-pick for -3-5

Done.

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


[PUSHED] x11 / cairo-less build try #3

2012-02-17 Thread Michael Meeks
Hi Riccardo,

On Wed, 2012-02-15 at 17:55 +0100, Riccardo Magliocchetti wrote:
 this is another update on building libreoffice without need to link
 against X11 or toolkits in general. The aim is to ease the deploy
 server side where less dependencies needed the better.

Great :-) so - I got tired of seeing such a big patch, and pushed most
of it to master - I hope that's allright. I removed the unit test
disabling stuff.

 As you can see the vcl/headless/headlessinst.cxx has been shamelessly
 copied from Android, you can see still some #if 0-ed code because i'd
 like to have soffice.bin run without crashing to assure myself that the
 code is not needed :)

Fair enough. I suspect that for the native-dialog implementation in
headlessinst.cxx we want to go for an fprintf with some parse-able
syntax to the console, and then return.

 The salplug changes probably are not needed anymore, the #if 0 in
 tests are asserts that does not look regressions i've introduced.

Ah yes - quite right; it'd be nice if you can revert them in your next
patch.

 Michael i've not forgot about cleaning up Library_vcl.mk :)

I got annoyed by that and fixed it myself on master ;-) it seems to
work, though ideally we'd share more from Library_vcl.mk with the other
backends eg. the gtk3 one.

 Now that everything builds at runtime it fails at runtime, looking
 around cli_ure/source/climaker/climaker_app.cxx:476 does not show something 
 obvious, any hint?

Um; cli_ure shouldn't fail - it is some random mono / .net stuff that
shouldn't be on the startup path.

 $ ./soffice.bin 
 terminate called after throwing an instance of 
 'com::sun::star::loader::CannotActivateFactoryException'
 Aborted (core dumped)
...

Nice - IMHO this is all a bit silly - the 'main' has no wrapper 'catch'
around it, so if we get an un-caught exception we bomb out in a very
unpleasant way for no particularly good reason.

If you poke at desktop/source/app/sofficemain.cxx you'll see some
#ifdef ANDROID-ness that adds a try / catch around 'main'. In theory
there is an unoexceptionwrapper that can be put around this stuff with
some magic, but ...

Stephan - is there a reason why we would not catch and print something
helpful (a native dialog?) on unhandled exceptions around master ? 

Hopefully that'll show you which shared library or random other
component registration that you're missing [ though you really don't
want the setIniFilename piece there ].

Does that help ?

Thanks !

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: Hosting LibreOffice online

2012-02-17 Thread Sophie Gautier

Hi Drew,
On 16/02/2012 06:50, drew wrote:
[...]


Just to wrap this thread up, I suppose.

Well, after adding --enable-gtk3 it works.

Had some issues related to the firewall, but got around that - turned it
off (not likely a good long term solution :-)

WebSocket support was (is) an issue.
- Win7 and Vista with ie9: Fail
- HP Mini 110, Mi (Linux) w/ FireFox [latest updates applied]: Fail

All the other browsers I tried (FF under Natty, Chromium, Opera): Pass

@Andor - if you just want to play with this, I could point you to a VM
with everything pre-installed - I'd need a day or 2 to put it together I
suppose, just let me know.


I'm also interested in trying to play with it. But no hurry - I just 
have some DVD labels to localize ;-) so when you'll be ready, could you 
ping me too, please? Thanks in advance.


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


[PATCH] vcl: consolidate common objects in Library_vcl.mk

2012-02-17 Thread Riccardo Magliocchetti

Store objects from vcl/generic and vcl/headless in a couple of
variables so we don't need to repeat the quite long list for every
target that uses them.

The vcl/headless files currently are used only by the android port but 
the plan is to share them with the headless stuff i'm cooking.


I've done a full build only on top of some local changes because i don't 
have all the needed dependencies on my build machine but it looks it 
works fine :)


thanks

--
Riccardo Magliocchetti
From 1b2a2e3774d2262508c4d368d1951eefbd896fe8 Mon Sep 17 00:00:00 2001
From: Riccardo Magliocchetti riccardo.magliocche...@gmail.com
Date: Fri, 17 Feb 2012 17:42:07 +0100
Subject: [PATCH] vcl: consolidate common objects in Library_vcl.mk

Store objects from vcl/generic and vcl/headless in a couple of
variables so we don't need to repeat the quite long list for every
target that uses them.
---
 vcl/Library_vcl.mk |   64 ---
 1 files changed, 25 insertions(+), 39 deletions(-)

diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index c21a3d4..fa00922 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -394,13 +394,7 @@ $(eval $(call gb_Library_use_externals,vcl,\
 ))
 endif
 
-ifeq ($(GUIBASE),unx)
-$(eval $(call gb_Library_add_defs,vcl,\
--DSAL_DLLPREFIX=\$(gb_Library_SYSPRE)\ \
--DSAL_DLLPOSTFIX=\$(gb_Library_OOOEXT)\ \
--D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
-))
-$(eval $(call gb_Library_add_exception_objects,vcl,\
+VCL_GENERIC_OBJECTS := \
 vcl/generic/app/gensys \
 vcl/generic/app/geninst \
 vcl/generic/app/gendisp \
@@ -421,7 +415,28 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
 vcl/generic/fontmanager/fontconfig \
 vcl/generic/fontmanager/fontmanager \
 vcl/generic/fontmanager/helper \
-vcl/generic/fontmanager/parseAFM \
+vcl/generic/fontmanager/parseAFM
+
+VCL_HEADLESS_OBJECTS := \
+vcl/headless/svpbmp \
+vcl/headless/svpdummies \
+vcl/headless/svpelement \
+vcl/headless/svpframe \
+vcl/headless/svpgdi \
+vcl/headless/svpinst \
+vcl/headless/svpdata \
+vcl/headless/svpprn \
+vcl/headless/svptext \
+vcl/headless/svpvd
+
+ifeq ($(GUIBASE),unx)
+$(eval $(call gb_Library_add_defs,vcl,\
+-DSAL_DLLPREFIX=\$(gb_Library_SYSPRE)\ \
+-DSAL_DLLPOSTFIX=\$(gb_Library_OOOEXT)\ \
+-D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
+))
+$(eval $(call gb_Library_add_exception_objects,vcl,\
+$(VCL_GENERIC_OBJECTS) \
 vcl/unx/generic/plugadapt/salplug \
 vcl/unx/generic/printer/cupsmgr \
 vcl/unx/generic/printer/jobdata \
@@ -447,41 +462,12 @@ $(eval $(call gb_Library_add_defs,vcl,\
 -D_XSALSET_LIBNAME=\$(call gb_Library_get_runtime_filename,spa)\ \
 ))
 $(eval $(call gb_Library_add_exception_objects,vcl,\
-vcl/generic/app/gensys \
-vcl/generic/app/geninst \
-vcl/generic/app/gendisp \
-vcl/generic/print/bitmap_gfx \
-vcl/generic/print/common_gfx \
-vcl/generic/print/glyphset \
-vcl/generic/print/printerjob \
-vcl/generic/print/psputil \
-vcl/generic/print/genpspgraphics \
-vcl/generic/print/genprnpsp \
-vcl/generic/print/text_gfx \
-vcl/generic/fontmanager/fontsubst \
-vcl/generic/glyphs/gcach_ftyp \
-vcl/generic/glyphs/gcach_layout \
-vcl/generic/glyphs/gcach_rbmp \
-vcl/generic/glyphs/glyphcache \
-vcl/generic/fontmanager/fontcache \
-vcl/generic/fontmanager/fontconfig \
-vcl/generic/fontmanager/fontmanager \
-vcl/generic/fontmanager/helper \
-vcl/generic/fontmanager/parseAFM \
+$(VCL_GENERIC_OBJECTS) \
 vcl/unx/generic/printer/jobdata \
 vcl/unx/generic/printer/ppdparser \
 vcl/null/printerinfomanager \
 vcl/android/androidinst \
-vcl/headless/svpbmp \
-vcl/headless/svpdummies \
-vcl/headless/svpelement \
-vcl/headless/svpframe \
-vcl/headless/svpgdi \
-vcl/headless/svpinst \
-vcl/headless/svpdata \
-vcl/headless/svpprn \
-vcl/headless/svptext \
-vcl/headless/svpvd \
+$(VCL_HEADLESS_OBJECTS) \
 ))
 
 $(eval $(call gb_Library_add_linked_libs,vcl,\
-- 
1.7.5.4

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


Re: [PATCH] Translated german comments in sw/source/core/layout/

2012-02-17 Thread Philipp Weissenbacher
Hello you two!

Thanks for the big amount of work. I know how tiresome it is to
translate this oververbose German to something that makes sense in
English. That and the technical jargon make translating it quite time
intensive. So kudos for that much work!

I think that it'd be much easier to review your patches and get them
integrated quicker if you post fewer of them and at an earlier stage.
Every little step counts and is appreciated :). I usually try to keep
under 50 K per patch - which makes for quite a few small files or one
large one with some smaller ones.

I saw that you also added TODO comments about the translation. That's
not very handy, as I cannot communicate with you about it :-).
It'd be nicer to either include the comment in the patch email or ask on IRC.

I noticed a lot of trailing whitespace errors. I had the same problem
in the beginning too, just find a plugin for your editor that removes
them for you or (if you use vim) you can add
autocmd BufWritePre * :%s/\s\+$//e
to your ~/.vimrc file (see http://vim.wikia.com/wiki/Remove_unwanted_spaces).

I would greatly appreciate it if you could do that for any future
work. Then I don't have to fix them when reviewing. :-).

BTW: I'm reviewing the first five patches.

Cheers,
Philipp

2012/2/16 David Vogt david.v...@adfinis-sygroup.ch:
 Hi everybody

 As Nicolas Christener and I promised to Cedric at FOSDEM, we set sail to
 translate the german comments in the sw/source/core/layout/ directory.

 We're still not quite done, but here's what we have so far.

 This, and any future contributions to LibreOffice are available
 under the MPL / LGPLv3+ unless stated otherwise.

 As far as I know, Nicolas has already sent his license statement, Stefan
 will follow soon.

 Since we're not very familiar with the code, it may well be that there
 are conceptual mistakes in our translation, so read with care ;)


 -- Dave

 --
 Adfinis SyGroup AG
 David Vogt, Software Engineer / Project Manager
 Keltenstrasse 98 | CH-3018 Bern
 Tel. 031 381 70 47 | Direct 031 550 31 12

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

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


[PATCH]fdo44516 improved label and business card document creation (final)

2012-02-17 Thread Winfried Donkers
Attached the final fix for the problems that showed after my first patch for 
fdo44516.
Fix 2/3 that I submitted on februari 16 need not be pushed; changes in that fix 
are
overwritten by the final fix.

WinfriedFrom cec5b45badbc8755d091fbc3b7574cd60d7b504b Mon Sep 17 00:00:00 2001
From: Winfried Donkers o...@dci-electronics.nl
Date: Fri, 17 Feb 2012 18:02:55 +0100
Subject: [PATCH] fdo#44516 final fix for labels with gaps larger than page
 margin

---
 sw/source/ui/app/applab.cxx |   23 +--
 1 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/sw/source/ui/app/applab.cxx b/sw/source/ui/app/applab.cxx
index 3ccbf13..4159f183 100644
--- a/sw/source/ui/app/applab.cxx
+++ b/sw/source/ui/app/applab.cxx
@@ -164,7 +164,6 @@ const SwFrmFmt *lcl_InsertLabText( SwWrtShell rSh, const SwLabItem rItem,
 return pFmt;
 }
 
-
 void SwModule::InsertLab(SfxRequest rReq, sal_Bool bLabel)
 {
 static sal_uInt16 nLabelTitleNo = 0;
@@ -294,34 +293,31 @@ void SwModule::InsertLab(SfxRequest rReq, sal_Bool bLabel)
 
 // Prepare border template
 SwFrmFmt* pFmt = pSh-GetFrmFmtFromPool( RES_POOLFRM_LABEL );
-SwFrmFmt* pFmtEORow = pSh-GetFrmFmtFromPool( RES_POOLFRM_LABEL );  //new SwFrmFmt (*pFmt);
-SwFrmFmt* pFmtEOCol = pSh-GetFrmFmtFromPool( RES_POOLFRM_LABEL );  //new SwFrmFmt (*pFmt);
-SwFrmFmt* pFmtEOColEORow = pSh-GetFrmFmtFromPool( RES_POOLFRM_LABEL );  //new SwFrmFmt (*pFmt);
-
 sal_Int32 iResultWidth = rItem.lLeft + (rItem.nCols - 1) * rItem.lHDist + rItem.lWidth - rItem.lPWidth;
 sal_Int32 iResultHeight = rItem.lUpper + (rItem.nRows - 1) * rItem.lVDist + rItem.lHeight - rItem.lPHeight;
 sal_Int32 iWidth = (iResultWidth  0 ? rItem.lWidth - (iResultWidth / rItem.nCols) - 1 : rItem.lWidth);
 sal_Int32 iHeight = (iResultHeight  0 ? rItem.lHeight - (iResultHeight / rItem.nRows) - 1 : rItem.lHeight);
 SwFmtFrmSize aFrmSize(  ATT_FIX_SIZE, iWidth, iHeight );
+pFmt-SetFmtAttr( aFrmSize );
+
+SwFrmFmt* pFmtEORow = new SwFrmFmt (*pFmt);
+SwFrmFmt* pFmtEOCol = new SwFrmFmt (*pFmt);
+SwFrmFmt* pFmtEOColEORow = new SwFrmFmt (*pFmt);
 
 SvxULSpaceItem aFrmULSpace( 0, (sal_uInt16)(rItem.lVDist - rItem.lHeight),
-RES_UL_SPACE);
-SvxULSpaceItem aFrmNoULSpace( 0, 0, RES_UL_SPACE);
+RES_UL_SPACE );
+SvxULSpaceItem aFrmNoULSpace( 0, 0, RES_UL_SPACE );
 
 SvxLRSpaceItem aFrmLRSpace( 0, (sal_uInt16)(rItem.lHDist - rItem.lWidth),
-0, 0, RES_LR_SPACE);
-SvxLRSpaceItem aFrmNoLRSpace( 0, 0, 0, 0, RES_LR_SPACE);
+0, 0, RES_LR_SPACE );
+SvxLRSpaceItem aFrmNoLRSpace( 0, 0, 0, 0, RES_LR_SPACE );
 
-pFmt-SetFmtAttr( aFrmSize );
 pFmt-SetFmtAttr(aFrmULSpace);
 pFmt-SetFmtAttr(aFrmLRSpace);
-pFmtEORow-SetFmtAttr( aFrmSize );
 pFmtEORow-SetFmtAttr(aFrmULSpace);
 pFmtEORow-SetFmtAttr(aFrmNoLRSpace);
-pFmtEOCol-SetFmtAttr( aFrmSize );
 pFmtEOCol-SetFmtAttr(aFrmNoULSpace);
 pFmtEOCol-SetFmtAttr(aFrmLRSpace);
-pFmtEOColEORow-SetFmtAttr( aFrmSize );
 pFmtEOColEORow-SetFmtAttr(aFrmNoULSpace);
 pFmtEOColEORow-SetFmtAttr(aFrmNoLRSpace);
 
@@ -351,7 +347,6 @@ void SwModule::InsertLab(SfxRequest rReq, sal_Bool bLabel)
 lcl_InsertLabText( *pSh, rItem, *pFrmFmt, *pFldMgr, j, i,
 i == rItem.nRows - 1  j == rItem.nCols - 1, sal_True ) :
 lcl_InsertBCText(*pSh, rItem, *pFrmFmt, j, i, sal_True);
-
 if (!(i|j))
 {
 pFirstFlyFmt = pTmp;
-- 
1.7.7

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


  1   2   3   4   >