[Libreoffice-commits] .: binfilter/inc

2012-05-02 Thread Julien Nabet
 binfilter/inc/bf_svtools/svdde.hxx |4 
 1 file changed, 4 deletions(-)

New commits:
commit 1a0db504b60623eeb45d64a8ce8d1463983f6c2a
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 2 12:26:52 2012 +0200

Remove unused parts

Change-Id: Ife64c1e95ae1dcf5554fc8e59d1afbffa3ffebec

diff --git a/binfilter/inc/bf_svtools/svdde.hxx 
b/binfilter/inc/bf_svtools/svdde.hxx
index e74f360..f9aa33a 100644
--- a/binfilter/inc/bf_svtools/svdde.hxx
+++ b/binfilter/inc/bf_svtools/svdde.hxx
@@ -55,8 +55,6 @@ struct DdeDataImp;
 struct DdeImp;
 
 DECLARE_LIST( DdeConnections, DdeConnection* )
-DECLARE_LIST( DdeTransactions, DdeTransaction* )
-DECLARE_LIST( DdeFormats, long )
 
 #ifdef WNT
 class DdeService;
@@ -236,7 +234,6 @@ class  DdeConnection
 {
 friend classDdeInternal;
 friend classDdeTransaction;
-DdeTransactions aTransactions;
 DdeString*  pService;
 DdeString*  pTopic;
 DdeImp* pImp;
@@ -397,7 +394,6 @@ protected:
 const DdeTopic* GetSysTopic() const { return pSysTopic; }
 private:
 DdeTopics   aTopics;
-DdeFormats  aFormats;
 DdeTopic*   pSysTopic;
 DdeString*  pName;
 ConvList*   pConv;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: shell/source

2012-05-02 Thread Jan Holesovsky
 shell/source/unix/misc/senddoc.sh |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 35ec1539218523579e9877e0a6d135bde128ab81
Author: Jan Holesovsky ke...@suse.cz
Date:   Wed May 2 08:52:12 2012 +0200

Minor comment tweak.

Change-Id: Idb9ff7c41ad8a2cbe145224bd80c0864339207ec

diff --git a/shell/source/unix/misc/senddoc.sh 
b/shell/source/unix/misc/senddoc.sh
index e7309eb..26ea5e8 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -400,9 +400,9 @@ case `basename $MAILER | sed 's/-.*$//'` in
 ;;
 
 *)
-# The user has tweaked the email settings, and configured something we
-# do not recognize.  Try to be smart, and send the mail anyway, if we
-# have the possibility to do so.
+# LO is configured something we do not recognize.
+# Try to be smart, and send the mail anyway, if we have the
+# possibility to do so.
 
 if [ -n $KDE_FULL_SESSION -a -x /usr/bin/kde-open ] ; then
 MAILER=/usr/bin/kde-open
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED] Re: [PATCH] EasyHack #32621 - More robust ExternalMailer support

2012-05-02 Thread Jan Holesovsky
Hi Dave,

On 2012-04-30 at 12:33 -0400, Dave Steele wrote:

  No. This is for the case where the user has a valid mailer selected
  which is not specifically supported by senddoc - in my case
  gnome-gmail.

Well - I judged from the subject of your mail; 'More robust' sounds like
handling something not really expected ;-) - so thank you for the more
detailed explanation!

 I don't think this tweak to the patch is correct.
 
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=f0208e344b2500e9338885e6177dd2c4f52c6373

So I've tweaked that now:

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

[and now rereading that, there is a missing to use there; but
hopefully it is more satisfying now? :-)]

All the best,
Kendy

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


[Libreoffice-commits] .: shell/source

2012-05-02 Thread Jan Holesovsky
 shell/source/unix/misc/senddoc.sh |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b169bb235e0e96b994a2198dc90ff90b33c07511
Author: Jan Holesovsky ke...@suse.cz
Date:   Wed May 2 08:56:18 2012 +0200

Argh, another tweak.

Change-Id: I69f3aa4151dde15b02cf28dae13415f86cffad10

diff --git a/shell/source/unix/misc/senddoc.sh 
b/shell/source/unix/misc/senddoc.sh
index 26ea5e8..a18562b 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -400,7 +400,7 @@ case `basename $MAILER | sed 's/-.*$//'` in
 ;;
 
 *)
-# LO is configured something we do not recognize.
+# LO is configured to use something we do not recognize.
 # Try to be smart, and send the mail anyway, if we have the
 # possibility to do so.
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Need Writer Painting Advice

2012-05-02 Thread Cedric Bosdonnat
Hi Andrew,

Sorry for the delay... I had a pretty long week-end here ;)

On Fri, 2012-04-27 at 18:08 +0100, Andrew Higginson wrote:
 On 27 April 2012 18:01, Cedric Bosdonnat cbosdon...@suse.com wrote:
 You will need to create your own control for that with your
 own Paint()
 implementation. You should get some inspiration from the
 SwHeaderFooterWin class:
 
 http://cgit.freedesktop.org/libreoffice/core/tree/sw/source/ui/docvw/HeaderFooterWin.cxx
 
 Do you think that it is necessary to do that? Would adding some
 drawing code in the correct Paint() method not suffice? 

I'm sure it won't suffice. The reason is pretty simple: when scrolling
the document horizontally or vertically, the visible region of the
document is simply moved and only the missing part is computed and added
to the display. This will necessarily lead into some drawing artifacts
with something painted over the document.

What you need to understand is that the whole document is rendered as a
single window control. If you create a new kind of Control as I
mentioned, it will be completely separated from the document and thus
there will be no problem with the refresh / scrolling.

--
Cedric


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


[Libreoffice-commits] .: sw/source

2012-05-02 Thread Miklos Vajna
 sw/source/filter/ww8/docxexport.cxx |9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 9aff8869069601770c7ad6dbdb597076fd75a0a5
Author: Miklos Vajna vmik...@suse.cz
Date:   Wed May 2 10:14:15 2012 +0200

sw: implement w:zoom in DOCX export

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index ab41592..ab67736 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -60,6 +60,8 @@
 #include docary.hxx
 #include numrule.hxx
 #include charfmt.hxx
+#include viewsh.hxx
+#include viewopt.hxx
 
 #include ww8par.hxx
 #include ww8scan.hxx
@@ -665,7 +667,8 @@ void DocxExport::WriteProperties( )
 
 void DocxExport::WriteSettings()
 {
-if( !settings.hasData()  !m_pAttrOutput-HasFootnotes()  
!m_pAttrOutput-HasEndnotes())
+ViewShell *pViewShell(pDoc-GetCurrentViewShell());
+if( !pViewShell  !settings.hasData()  !m_pAttrOutput-HasFootnotes() 
 !m_pAttrOutput-HasEndnotes())
 return;
 
 m_pFilter-addRelation( m_pDocumentFS-getOutputStream(),
@@ -680,6 +683,10 @@ void DocxExport::WriteSettings()
 FSNS( XML_xmlns, XML_w ), 
http://schemas.openxmlformats.org/wordprocessingml/2006/main;,
 FSEND );
 
+// Zoom
+rtl::OString 
aZoom(rtl::OString::valueOf(pViewShell-GetViewOptions()-GetZoom()));
+pFS-singleElementNS(XML_w, XML_zoom, FSNS(XML_w, XML_percent), 
aZoom.getStr(), FSEND);
+
 if( settings.evenAndOddHeaders )
 pFS-singleElementNS( XML_w, XML_evenAndOddHeaders, FSEND );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2012-05-02 Thread Julien Nabet
 sw/inc/crsrsh.hxx|1 -
 sw/source/core/crsr/crstrvl1.cxx |4 
 unusedcode.easy  |1 -
 3 files changed, 6 deletions(-)

New commits:
commit 1fa4154c1c99dc06713da3ab03096ce4a05e74c4
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 2 10:45:31 2012 +0200

Remove GoPrevSentence indicated in unused

Change-Id: I492677ed33cf21404b22c2d8770fe32d2cac3839

diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index 41f6b63..fa2b287 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -719,7 +719,6 @@ public:
 sal_Bool GoNextWord();
 sal_Bool GoPrevWord();
 sal_Bool GoNextSentence();
-sal_Bool GoPrevSentence();
 sal_Bool GoStartSentence();
 sal_Bool GoEndSentence();
 sal_Bool SelectWord( const Point* pPt = 0 );
diff --git a/sw/source/core/crsr/crstrvl1.cxx b/sw/source/core/crsr/crstrvl1.cxx
index d244c38..e9886b4 100644
--- a/sw/source/core/crsr/crstrvl1.cxx
+++ b/sw/source/core/crsr/crstrvl1.cxx
@@ -83,10 +83,6 @@ sal_Bool SwCrsrShell::GoEndSentence()
 return CallCrsrFN( SwCursor::GoEndSentence );
 }
 
-sal_Bool SwCrsrShell::GoPrevSentence()
-{
-return CallCrsrFN( SwCursor::GoPrevSentence );
-}
 sal_Bool SwCrsrShell::GoStartSentence()
 {
 return CallCrsrFN( SwCursor::GoStartSentence );
diff --git a/unusedcode.easy b/unusedcode.easy
index 56b1d1e..00cd6fa 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -144,7 +144,6 @@ SwContentArr::Insert(SwContent* const*, unsigned short)
 SwContentArr::Insert(SwContentArr const*, unsigned short, unsigned short)
 SwContentArr::Remove(SwContent* const, unsigned short)
 SwContentArr::Remove(unsigned short, unsigned short)
-SwCrsrShell::GoPrevSentence()
 SwCurrShells::DeleteAndDestroy(unsigned short, unsigned short)
 SwCurrShells::Insert(CurrShell* const, unsigned short)
 SwCurrShells::Insert(CurrShell* const*, unsigned short)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - desktop/Executable_soffice_bin.mk desktop/Executable_soffice.bin.mk desktop/Module_desktop.mk desktop/Package_soffice_bin.mk solenv/gbuild

2012-05-02 Thread David Tardon
 desktop/Executable_soffice.bin.mk   |   60 ++
 desktop/Executable_soffice_bin.mk   |   62 
 desktop/Module_desktop.mk   |9 
 desktop/Package_soffice_bin.mk  |   36 ++
 solenv/gbuild/platform/WNT_INTEL_GCC.mk |4 +-
 5 files changed, 114 insertions(+), 57 deletions(-)

New commits:
commit 602f251d6c5f1f5551cdeb4c70abe0c49834d2c7
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 10:55:14 2012 +0200

fdo#49183 link resources to executables

Change-Id: I5dd5cec5d4c66a65154d965c8c707f8a585880d6

diff --git a/solenv/gbuild/platform/WNT_INTEL_GCC.mk 
b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
index e283f15..155d97b 100644
--- a/solenv/gbuild/platform/WNT_INTEL_GCC.mk
+++ b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
@@ -140,6 +140,7 @@ $(call gb_Helper_abbreviate_dirs,\
$(foreach object,$(GENCXXOBJECTS),$(call 
gb_GenCxxObject_get_target,$(object))) \
$(foreach object,$(ASMOBJECTS),$(call 
gb_AsmObject_get_target,$(object))) \
$(foreach 
extraobjectlist,$(EXTRAOBJECTLISTS),@$(extraobjectlist)) \
+   $(NATIVERES) \
$(if $(LINKED_STATIC_LIBS),-Wl$(COMMA)--start-group $(foreach 
lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) 
-Wl$(COMMA)--end-group) \
$(patsubst lib%.a,-l%,$(patsubst lib%.dll.a,-l%,$(foreach 
lib,$(LINKED_LIBS),$(call gb_Library_get_implibname,$(lib) \
$(LIBS) \
@@ -159,6 +160,7 @@ $(call gb_Helper_abbreviate_dirs,\
$(foreach object,$(GENCXXOBJECTS),$(call 
gb_GenCxxObject_get_target,$(object))) \
$(foreach object,$(ASMOBJECTS),$(call 
gb_AsmObject_get_target,$(object))) \
$(foreach 
extraobjectlist,$(EXTRAOBJECTLISTS),@$(extraobjectlist)) \
+   $(NATIVERES) \
$(if $(LINKED_STATIC_LIBS),-Wl$(COMMA)--start-group $(foreach 
lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) 
-Wl$(COMMA)--end-group) \
$(patsubst lib%.a,-l%,$(patsubst lib%.dll.a,-l%,$(foreach 
lib,$(LINKED_LIBS),$(call gb_Library_get_implibname,$(lib) \
$(LIBS) \
@@ -387,7 +389,7 @@ endef
 
 # WinResTarget class
 
-gb_WinResTarget_POSTFIX :=.res
+gb_WinResTarget_POSTFIX :=.o
 
 define gb_WinResTarget__command
 $(call gb_Output_announce,$(2),$(true),RES,3)
commit 947244c188dabe7a1799254c9e9c58ddb2eccf98
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 10:32:14 2012 +0200

convert custom makefile code into a package

Change-Id: I72b41e4826b7e93b5c8aeacbf6d9d52e3780f090

diff --git a/desktop/Executable_soffice.bin.mk 
b/desktop/Executable_soffice.bin.mk
index 59b9f08..d1c6aec 100644
--- a/desktop/Executable_soffice.bin.mk
+++ b/desktop/Executable_soffice.bin.mk
@@ -25,73 +25,25 @@
 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
 # instead of those above.
 
-ifeq ($(OS),WNT)
-sofficebin := soffice_bin
-else
-sofficebin := soffice.bin
-endif
-
-$(eval $(call gb_Executable_Executable,$(sofficebin)))
+$(eval $(call gb_Executable_Executable,soffice.bin))
 
-$(eval $(call gb_Executable_set_targettype_gui,$(sofficebin),YES))
+$(eval $(call gb_Executable_set_targettype_gui,soffice.bin,YES))
 
-$(eval $(call gb_Executable_set_include,$(sofficebin),\
+$(eval $(call gb_Executable_set_include,soffice.bin,\
 $$(INCLUDE) \
 -I$(SRCDIR)/desktop/source/inc \
 ))
 
-$(eval $(call gb_Executable_use_libraries,$(sofficebin),\
+$(eval $(call gb_Executable_use_libraries,soffice.bin,\
 sal \
 sofficeapp \
 $(gb_STDLIBS) \
 ))
 
-$(eval $(call gb_Executable_add_cobjects,$(sofficebin),\
+$(eval $(call gb_Executable_add_cobjects,soffice.bin,\
 desktop/source/app/main \
 ))
 
-ifeq ($(OS),WNT)
-
-$(eval $(call gb_Executable_use_static_libraries,$(sofficebin),\
-ooopathutils \
-winextendloaderenv \
-))
-
-ifeq ($(COM),MSC)
-
-$(eval $(call gb_Executable_add_ldflags,$(sofficebin),\
-/STACK:1000 \
-))
-
-endif
-
-$(call gb_Module_get_target,desktop) : $(OUTDIR)/bin/soffice.bin
-
-$(OUTDIR)/bin/soffice.bin : $(call gb_Executable_get_target,$(sofficebin))
-$(call gb_Executable_get_clean_target,$(sofficebin)) : 
$(WORKDIR)/Clean/OutDir/bin/soffice.bin
-$(OUTDIR)/bin/soffice.bin : $(call gb_LinkTarget_get_target,$(call 
gb_Executable_get_linktargetname,$(sofficebin)))
-   $(call gb_Deliver_deliver,$,$@)
-
-.PHONY : $(WORKDIR)/Clean/OutDir/bin/soffice.bin
-$(WORKDIR)/Clean/OutDir/bin/soffice.bin :
-   rm -f $(OUTDIR)/bin/soffice.bin
-
-ifeq ($(COM),MSC)
-$(call gb_Module_get_target,desktop) : $(OUTDIR)/bin/soffice.bin.manifest
-
-$(OUTDIR)/bin/soffice.bin.manifest : $(call 
gb_Executable_get_target,$(sofficebin))
-$(call gb_Executable_get_clean_target,$(sofficebin)) : 
$(WORKDIR)/Clean/OutDir/bin/soffice.bin.manifest
-$(OUTDIR)/bin/soffice.bin.manifest : $(call 

[Libreoffice-commits] .: unusedcode.README

2012-05-02 Thread Julien Nabet
 unusedcode.README |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7b84d0fcd2d6eeb9ae1da836c115213c4197acd1
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 2 11:07:29 2012 +0200

Fix typo

Change-Id: I3b01defa109b87c5c7f4c5b4e44e846de7d7ddf1

diff --git a/unusedcode.README b/unusedcode.README
index c721d62..7b867df 100644
--- a/unusedcode.README
+++ b/unusedcode.README
@@ -26,7 +26,7 @@ d) gcc will only emit code for inlines if those inlines are 
used, so
compile time after an attempt at removal. i.e. generally the inline method
can go as well because nothing calls it either, a double win.
 e) if a constructor is listed as unused, and it's the *only* ctor in the class,
-   then no object of that class can be construsted, so the whole thing is
+   then no object of that class can be constructed, so the whole thing is
unused, which can lead to a whole cascade of tricky but logical fallout.
 f) if a destructor is listed as unused, and a constructor isn't, then there's
a leak somewhere, and the destructor most likely *should* be called.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2012-05-02 Thread Miklos Vajna
 sw/source/filter/ww8/docxexport.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bdbc1328a31da9b86a7e4862ae12a079310f38d2
Author: Miklos Vajna vmik...@suse.cz
Date:   Wed May 2 11:15:48 2012 +0200

DocxExport::WriteSettings: add missing cast

Change-Id: I8eb74f3ed20254df767de689005819e8237da784

diff --git a/sw/source/filter/ww8/docxexport.cxx 
b/sw/source/filter/ww8/docxexport.cxx
index ab67736..de50add 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -684,7 +684,7 @@ void DocxExport::WriteSettings()
 FSEND );
 
 // Zoom
-rtl::OString 
aZoom(rtl::OString::valueOf(pViewShell-GetViewOptions()-GetZoom()));
+rtl::OString 
aZoom(rtl::OString::valueOf(sal_Int32(pViewShell-GetViewOptions()-GetZoom(;
 pFS-singleElementNS(XML_w, XML_zoom, FSNS(XML_w, XML_percent), 
aZoom.getStr(), FSEND);
 
 if( settings.evenAndOddHeaders )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Need Writer Painting Advice

2012-05-02 Thread Andrew Higginson
Hi Cedric,

 Sorry for the delay... I had a pretty long week-end here ;)

No problem :)

 I'm sure it won't suffice. The reason is pretty simple: when scrolling
 the document horizontally or vertically, the visible region of the
 document is simply moved and only the missing part is computed and added
 to the display. This will necessarily lead into some drawing artifacts
 with something painted over the document.

Yeah I kinda realised this when experimenting :)

 What you need to understand is that the whole document is rendered as a
 single window control. If you create a new kind of Control as I
 mentioned, it will be completely separated from the document and thus
 there will be no problem with the refresh / scrolling.

Okay, so I may have a go at this, however as it is a larger
undertaking than I thought, it may have to wait a while (so if anyone
wants to do it before me, go ahead :D )

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


[REVIEW:3-5] fdo#38176 fix RTF export of non-breaking space/hyphen/optional hyphen

2012-05-02 Thread Miklos Vajna
Hi,

See
http://cgit.freedesktop.org/libreoffice/core/commit/?id=ef7cc64
http://cgit.freedesktop.org/libreoffice/core/commit/?id=dfc7c67

Regression from OOo 3.2; backported patch attached.

Thanks,

Miklos
From 45758ccf490fb2aeeae3ff277ef06a7b7e716669 Mon Sep 17 00:00:00 2001
From: Miklos Vajna vmik...@suse.cz
Date: Tue, 24 Apr 2012 12:47:16 +0200
Subject: [PATCH] fdo#38176 fix RTF export of non-breaking
 space/hyphen/optional hyphen

(cherry-picked from commits ef7cc64 and dfc7c67)
---
 sw/source/filter/ww8/rtfexport.cxx |   10 +-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 195cb8e..0904ac8 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -914,7 +914,15 @@ OString RtfExport::OutChar(sal_Unicode c, int *pUCMode, rtl_TextEncoding eDestEn
 }
 if (pStr) {
 aBuf.append(pStr);
-aBuf.append(' ');
+switch (c)
+{
+case 0xa0:
+case 0x1e:
+case 0x1f:
+break;
+default:
+aBuf.append(' ');
+}
 }
 return aBuf.makeStringAndClear();
 }
-- 
1.7.7

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


Re: [REVIEW 3-5] fdo#49208 ridiculous performance on certain .doc

2012-05-02 Thread Caolán McNamara
On Tue, 2012-05-01 at 22:26 +0200, Muhammad Haggag wrote:
 Is it OK to break Unicode equivalence
 (http://en.wikipedia.org/wiki/Unicode_equivalence) by doing a memory
 comparison?

Yeah, because the existing code doesn't pay any attention to stuff like
that. Presumably we wave a magic wand somewhere and claim that
everything inside a given boundary is in some normalized form :-)

  (I assume ICU does proper comparisons taking equivalence
 into account, hence why it's slow).

nah, it just loops over all the chars like so...

 do {
   result = ((int32_t)*(chars++) - (int32_t)*(srcChars++));
   if(result != 0) {
 return (int8_t)(result  15 | 1);
   }
 } while(--minLength  0);

new code is equivalent for the equal/non-equal case

C.

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


[Libreoffice-commits] .: 5 commits - chart2/source i18npool/inc i18npool/source icu/makefile.mk sal/inc

2012-05-02 Thread Caolán McNamara
 chart2/source/tools/ObjectIdentifier.cxx|   20 +
 chart2/source/view/charttypes/VSeriesPlotter.cxx|2 
 chart2/source/view/main/VTitle.cxx  |6 +-
 i18npool/inc/breakiterator_unicode.hxx  |   17 ++--
 i18npool/source/breakiterator/breakiterator_unicode.cxx |   34 ++--
 icu/makefile.mk |3 +
 sal/inc/rtl/string.hxx  |2 
 sal/inc/rtl/ustring.hxx |2 
 8 files changed, 48 insertions(+), 38 deletions(-)

New commits:
commit 022f7f0c256dd9c1ce6b9f099813a79cc28acd6c
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 11:20:12 2012 +0100

can use -O2 without -fstrict-aliasing for icu

Change-Id: I9841adb2e17e11c32823ac9e438bae824d30599e

diff --git a/icu/makefile.mk b/icu/makefile.mk
index eb32cc8..ddc6fe0 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -87,6 +87,9 @@ CC:=gcc $(EXTRA_CFLAGS)
 .IF $(debug) != 
 icu_CFLAGS+=-g $(ARCH_FLAGS)
 icu_CXXFLAGS+=-g $(ARCH_FLAGS)
+.ELIF $(COM)==GCC
+icu_CFLAGS+=-O2 -fnostrict-aliasing $(ARCH_FLAGS)
+icu_CXXFLAGS+=-O2 -fno-fstrict-aliasing $(ARCH_FLAGS)
 .ELSE
 icu_CFLAGS+=-O $(ARCH_FLAGS)
 icu_CXXFLAGS+=-O $(ARCH_FLAGS)
commit 27d8c527012e2759b1d2b282feff433b26fdc4ce
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 10:23:02 2012 +0100

WaE: simple-minded msvc2008 considers code unreachable

Change-Id: I97da4392bb3ca814e8d9037346c83fde4d460f97

diff --git a/chart2/source/tools/ObjectIdentifier.cxx 
b/chart2/source/tools/ObjectIdentifier.cxx
index b386b79..39a0135 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -717,6 +717,7 @@ OUString ObjectIdentifier::getDragParameterString( const 
OUString rCID )
 
 bool ObjectIdentifier::isDragableObject( const OUString rClassifiedIdentifier 
)
 {
+bool bReturn = false;
 ObjectType eObjectType = ObjectIdentifier::getObjectType( 
rClassifiedIdentifier );
 switch( eObjectType )
 {
@@ -725,14 +726,14 @@ bool ObjectIdentifier::isDragableObject( const OUString 
rClassifiedIdentifier )
 case OBJECTTYPE_DIAGRAM:
 case OBJECTTYPE_DATA_CURVE_EQUATION:
 //case OBJECTTYPE_DIAGRAM_WALL:
-return true;
+bReturn = true;
+break;
 default:
 OUString aDragMethodServiceName( 
ObjectIdentifier::getDragMethodServiceName( rClassifiedIdentifier ) );
-if( !aDragMethodServiceName.isEmpty() )
-return true;
-return false;
+bReturn = !aDragMethodServiceName.isEmpty();
+break;
 }
-return false;
+return bReturn;
 }
 
 bool ObjectIdentifier::isDragableObject()
@@ -751,16 +752,19 @@ bool ObjectIdentifier::isDragableObject()
 
 bool ObjectIdentifier::isRotateableObject( const OUString 
rClassifiedIdentifier )
 {
+bool bReturn = false;
 ObjectType eObjectType = ObjectIdentifier::getObjectType( 
rClassifiedIdentifier );
 switch( eObjectType )
 {
 case OBJECTTYPE_DIAGRAM:
 //case OBJECTTYPE_DIAGRAM_WALL:
-return true;
+bReturn = true;
+break;
 default:
-return false;
+bReturn = false;
+break;
 }
-return false;
+return bReturn;
 }
 
 bool ObjectIdentifier::isMultiClickObject( const OUString 
rClassifiedIdentifier )
commit 4cd9b2fbd39cca3553588ae9f61e674f1416a582
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 10:22:19 2012 +0100

WaE: doubles truncated to floats

Change-Id: I42b67cc0670f3d0990708fb299243098c1aa972b

diff --git a/chart2/source/view/charttypes/VSeriesPlotter.cxx 
b/chart2/source/view/charttypes/VSeriesPlotter.cxx
index c693a0b..f1194f0 100644
--- a/chart2/source/view/charttypes/VSeriesPlotter.cxx
+++ b/chart2/source/view/charttypes/VSeriesPlotter.cxx
@@ -466,7 +466,7 @@ uno::Reference drawing::XShape  
VSeriesPlotter::createDataLabel( const uno::Re
 if( xProps.is() )
 xProps-getPropertyValue( C2U( CharHeight )) = 
fViewFontSize;
 // pt - 1/100th mm
-fViewFontSize *= (2540.0 / 72.0);
+fViewFontSize *= (2540.0f / 72.0f);
 }
 Reference drawing::XShape  xSymbol;
 if(pLabel-ShowLegendSymbol)
diff --git a/chart2/source/view/main/VTitle.cxx 
b/chart2/source/view/main/VTitle.cxx
index c6d7754..bfbecdf 100644
--- a/chart2/source/view/main/VTitle.cxx
+++ b/chart2/source/view/main/VTitle.cxx
@@ -248,10 +248,10 @@ void VTitle::createShapes(
 float fFontHeight = 0.0;
 if ( xShapeProp.is()  ( xShapeProp-getPropertyValue( C2U( 
CharHeight ) ) = fFontHeight ) )
 {
-fFontHeight *= ( 2540. / 72. );  // pt - 1/100 mm
-float fXFraction = 0.18;
+fFontHeight *= ( 2540.0f / 72.0f );  // pt - 1/100 mm
+  

[Bug 37361] LibreOffice 3.5 most annoying bugs

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

Bug 37361 depends on bug 47406, which changed state.

Bug 47406 Summary: Almost all graphics that have internal circuits are not 
rending correctly.
https://bugs.freedesktop.org/show_bug.cgi?id=47406

   What|Old Value   |New Value

 Resolution||WONTFIX
 Status|REOPENED|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: [PATCH-3-5] speedup autocorrect database import ...

2012-05-02 Thread Michael Meeks
Hi Tommy,

On Tue, 2012-05-01 at 22:03 +0200, Tommy wrote:
 here's another slowness issue with large replacement table.
 https://bugs.freedesktop.org/show_bug.cgi?id=49350
...
 maybe the same methods applied to previous bugs to speed up things can be  
 used here as well

This is rather off topic here unless you're interested in doing the
development.

In a nutshell, to make it easy to fix, as before, I'd want to see a
profile / callgrind trace in the bug before spending much time on it
myself :-)

Thanks,

Michael.

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

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


rtl::O[U]String::operator== - to rtl::O[U]String::equals

2012-05-02 Thread Caolán McNamara
poking at some performance stuff, I was surprised by some sluggish
comparisons of rtl::O[U]Strings where I knew that each string was a
shallow copy of the same underlying rtl_uString. Turns out that equals()
does the shares same rtl_uString optimization, but operator== doesn't.

I can't thing of a good reason why that might be ?, so now converted
operator== to simply call equals 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=2b168feccee9c367152e106386101be903e4f1db
which makes my example zoom along like I had originally expected it to.

C.

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


Re: Regarding your commit: Add all the available themes to the list

2012-05-02 Thread Michael Meeks

On Tue, 2012-05-01 at 20:54 +0200, Tomáš Chvátal wrote:
 Other question is if the human fesible for the default where I added it or if 
 that one should be not built by default.

Every theme we add is another chunk of download size, on our already
large Windows download, and the vast majority of people use the
defaults.

Personally, I'd like to ship just two themes: tango and highcontrast,
and make it possible to extend that easily at run-time with extensions -
but that requires some hacking work :-)

HTH,

Michael.

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

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


[Libreoffice-commits] .: icu/makefile.mk

2012-05-02 Thread Caolán McNamara
 icu/makefile.mk |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 44f8c0e1fcff764e25f150df9d911fa5ee83d75d
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 11:35:10 2012 +0100

fix typo

Change-Id: I2becc370331e979987b34dbfff25ac4eddd9b067

diff --git a/icu/makefile.mk b/icu/makefile.mk
index ddc6fe0..35d847d 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -88,8 +88,8 @@ CC:=gcc $(EXTRA_CFLAGS)
 icu_CFLAGS+=-g $(ARCH_FLAGS)
 icu_CXXFLAGS+=-g $(ARCH_FLAGS)
 .ELIF $(COM)==GCC
-icu_CFLAGS+=-O2 -fnostrict-aliasing $(ARCH_FLAGS)
-icu_CXXFLAGS+=-O2 -fno-fstrict-aliasing $(ARCH_FLAGS)
+icu_CFLAGS+=-O2 -fno-strict-aliasing $(ARCH_FLAGS)
+icu_CXXFLAGS+=-O2 -fno-strict-aliasing $(ARCH_FLAGS)
 .ELSE
 icu_CFLAGS+=-O $(ARCH_FLAGS)
 icu_CXXFLAGS+=-O $(ARCH_FLAGS)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


License Statement

2012-05-02 Thread Martin Kepplinger
All of my past  future contributions to LibreOffice may be licensed
under the MPL/LGPLv3+ dual license.

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


[Libreoffice-commits] .: solenv/gbuild

2012-05-02 Thread Caolán McNamara
 solenv/gbuild/gbuild.help.txt |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0915c2c3155773dd7529bb878668fffc4cb5470f
Author: David Ostrovsky david.ostrov...@gmx.de
Date:   Tue May 1 14:47:09 2012 +0200

help description added for recently introduced gmake LEXFLAGS option

Change-Id: Ie94ba4b3a774ab947574c74837ecbc932bb3b621

diff --git a/solenv/gbuild/gbuild.help.txt b/solenv/gbuild/gbuild.help.txt
index 8ec1539..6802206 100644
--- a/solenv/gbuild/gbuild.help.txt
+++ b/solenv/gbuild/gbuild.help.txt
@@ -67,6 +67,7 @@ INTERACTIVE VARIABLES:
If not empty enable the RTL_LOGFILE_* time logging 
facility.
export RTL_LOGFILE=rtl_logfile.nopid when running 
office, to
get timestamps written out.
+   LEXFLAGSAdd as flags for LEX scanner generator invocation.
YACCFLAGS   Add as flags for YACC parser generator invocation.
CPPFLAGSAdd as preprocessor flags for C/C++/ObjC/ObjC++ 
compilation.
CFLAGS  Add as compiler flags for plain C compilation.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED][PATCH] help description added for recently introduced gmake LEXFLAGS option

2012-05-02 Thread Caolán McNamara
On Tue, 2012-05-01 at 15:01 +0200, David Ostrovsky wrote:
 Hi,
 
 I've forgotten to add this description line in gmake.help.txt.

Looks trivial, pushed.

C.

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


About DECLARE_LIST fdo#38832

2012-05-02 Thread julien2412
Hello,

Searching for DECLARE_LIST in Opengrok in core part gives, except the
declaration in list.hxx, this :
in svl/inc/svl/svdde.hxx
 57 #ifndef _SVDDE_NOLISTS
 58 DECLARE_LIST( DdeServices, DdeService* )
 59 #else
 60 typedef List DdeServices;
 61 #endif

I searched about _SVDDE_NOLISTS and it seems nowhere to be seen.
Could we just have typedef List DdeServices;, move DECLARE_LIST
declaration in binfilter part (since there are still some places to be
converted) and remove completely DECLARE_LIST for core ?

Julien.

--
View this message in context: 
http://nabble.documentfoundation.org/About-DECLARE-LIST-fdo-38832-tp3954875.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2012-05-02 Thread Caolán McNamara
 sw/source/filter/ww8/rtfexport.cxx |   10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

New commits:
commit 0fcd27f28aea1c850c8d8f11485b6a5d9bb974ea
Author: Miklos Vajna vmik...@suse.cz
Date:   Tue Apr 24 12:47:16 2012 +0200

fdo#38176 fix RTF export of non-breaking space/hyphen/optional hyphen

(cherry-picked from commits ef7cc64 and dfc7c67)

Signed-off-by: Caolán McNamara caol...@redhat.com

diff --git a/sw/source/filter/ww8/rtfexport.cxx 
b/sw/source/filter/ww8/rtfexport.cxx
index 195cb8e..0904ac8 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -914,7 +914,15 @@ OString RtfExport::OutChar(sal_Unicode c, int *pUCMode, 
rtl_TextEncoding eDestEn
 }
 if (pStr) {
 aBuf.append(pStr);
-aBuf.append(' ');
+switch (c)
+{
+case 0xa0:
+case 0x1e:
+case 0x1f:
+break;
+default:
+aBuf.append(' ');
+}
 }
 return aBuf.makeStringAndClear();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED][REVIEW:3-5] fdo#38176 fix RTF export of non-breaking space/hyphen/optional hyphen

2012-05-02 Thread Caolán McNamara
On Wed, 2012-05-02 at 11:40 +0200, Miklos Vajna wrote:
 Hi,
 
 See
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=ef7cc64
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=dfc7c67
 
 Regression from OOo 3.2; backported patch attached.

ok, pushed attachment to 3-5.

C.

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


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

2012-05-02 Thread Caolán McNamara
 oox/source/helper/textinputstream.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6ad690ea62829fcbb7d4b270ba02c1aaba02bcde
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue May 1 18:46:14 2012 +0200

Resolves: fdo#49324 (Does not recognize VBA macro in JAPANESE...)

Thank you Caolán for your advice!

Change-Id: I72c5ae37d04961e261b275ba4625d3a376629d49
(cherry picked from commit d04fb45caa46db829d21a7f9b96878655ce0f479)

Signed-off-by: Caolán McNamara caol...@redhat.com

diff --git a/oox/source/helper/textinputstream.cxx 
b/oox/source/helper/textinputstream.cxx
index e98ed86..f64f0e6 100644
--- a/oox/source/helper/textinputstream.cxx
+++ b/oox/source/helper/textinputstream.cxx
@@ -199,7 +199,7 @@ OUString TextInputStream::readToChar( sal_Unicode cChar, 
bool bIncludeChar )
 const Reference XComponentContext  rxContext, const Reference 
XInputStream  rxInStrm, rtl_TextEncoding eTextEnc )
 {
 Reference XTextInputStream  xTextStrm;
-const char* pcCharset = rtl_getMimeCharsetFromTextEncoding( eTextEnc );
+const char* pcCharset = rtl_getBestMimeCharsetFromTextEncoding( eTextEnc );
 OSL_ENSURE( pcCharset, TextInputStream::createXTextInputStream - 
unsupported text encoding );
 if( rxContext.is()  rxInStrm.is()  pcCharset ) try
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [REVIEWED, PUSHED][REVIEW 3-5] fix proposed for fdo#49324

2012-05-02 Thread Caolán McNamara
On Tue, 2012-05-01 at 18:50 +0200, Julien Nabet wrote:
 What about 3.5 branches ?

Sure, cherry-picked to to 3-5 now

C.

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


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

2012-05-02 Thread Michael Meeks
 i18npool/source/breakiterator/breakiterator_unicode.cxx |   27 ++--
 sw/inc/breakit.hxx  |7 +++-
 sw/source/core/bastyp/breakit.cxx   |   19 +++
 sw/source/core/txtnode/txtedt.cxx   |2 -
 4 files changed, 44 insertions(+), 11 deletions(-)

New commits:
commit 5730b57700045c49e039ca9bd357f40c5a43313f
Author: Caolán McNamara caol...@redhat.com
Date:   Tue May 1 16:30:52 2012 +0100

Resolves: fdo#49208 performance problems with very long paragraphs

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

diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx 
b/i18npool/source/breakiterator/breakiterator_unicode.cxx
index aa5e1d8..5e5f6d5 100644
--- a/i18npool/source/breakiterator/breakiterator_unicode.cxx
+++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx
@@ -34,6 +34,7 @@
 #include unicode/udata.h
 #include rtl/strbuf.hxx
 #include rtl/ustring.hxx
+#include string.h
 
 U_CDECL_BEGIN
 extern const char OpenOffice_dat[];
@@ -94,6 +95,24 @@ class OOoRuleBasedBreakIterator : public 
RuleBasedBreakIterator {
 
 };
 
+namespace
+{
+bool isEqual(const UnicodeString rOne, const rtl::OUString rOther)
+{
+sal_Int32 nLength = rOne.length();
+if (nLength != rOther.getLength())
+return false;
+
+//fdo#49208 operator== is implemented by compareTo etc in icu which is
+//horrifically slow when all you want to know is that they're the same
+//or not
+const UChar *pOne = rOne.getBuffer();
+// UChar != sal_Unicode in MinGW
+const UChar *pOther = reinterpret_castconst UChar *(rOther.getStr());
+return memcmp(pOne, pOther, nLength * sizeof(UChar)) == 0;
+}
+}
+
 // loading ICU breakiterator on demand.
 void SAL_CALL BreakIterator_Unicode::loadICUBreakIterator(const 
com::sun::star::lang::Locale rLocale,
 sal_Int16 rBreakType, sal_Int16 rWordType, const sal_Char *rule, const 
OUString rText) throw(uno::RuntimeException)
@@ -199,13 +218,15 @@ void SAL_CALL 
BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star::
 }
 }
 
-if (newBreak || 
icuBI-aICUText.compare(UnicodeString(reinterpret_castconst UChar 
*(rText.getStr()), rText.getLength( {   // UChar != sal_Unicode in MinGW
-icuBI-aICUText=UnicodeString(reinterpret_castconst UChar 
*(rText.getStr()), rText.getLength());
+if (newBreak || !isEqual(icuBI-aICUText, rText))
+{
+// UChar != sal_Unicode in MinGW
+const UChar *pText = reinterpret_castconst UChar *(rText.getStr());
+icuBI-aICUText=UnicodeString(pText, rText.getLength());
 icuBI-aBreakIterator-setText(icuBI-aICUText);
 }
 }
 
-
 sal_Int32 SAL_CALL BreakIterator_Unicode::nextCharacters( const OUString Text,
 sal_Int32 nStartPos, const lang::Locale rLocale,
 sal_Int16 nCharacterIteratorMode, sal_Int32 nCount, sal_Int32 nDone )
diff --git a/sw/inc/breakit.hxx b/sw/inc/breakit.hxx
index 3075fc9..0bdce8c 100644
--- a/sw/inc/breakit.hxx
+++ b/sw/inc/breakit.hxx
@@ -112,7 +112,12 @@ public:
 sal_uInt16 GetRealScriptOfText( const String rTxt, xub_StrLen nPos ) 
const;
 sal_uInt16 GetAllScriptsOfText( const String rTxt ) const;
 
-sal_Int32 getGraphemeCount(const rtl::OUString rStr) const;
+sal_Int32 getGraphemeCount(const rtl::OUString rStr,
+sal_Int32 nStart, sal_Int32 nEnd) const;
+sal_Int32 getGraphemeCount(const rtl::OUString rStr) const
+{
+return getGraphemeCount(rStr, 0, rStr.getLength());
+}
 };
 
 #define SW_BREAKITER()  SwBreakIt::Get()
diff --git a/sw/source/core/bastyp/breakit.cxx 
b/sw/source/core/bastyp/breakit.cxx
index bb93660..c35afa0 100644
--- a/sw/source/core/bastyp/breakit.cxx
+++ b/sw/source/core/bastyp/breakit.cxx
@@ -168,16 +168,23 @@ sal_uInt16 SwBreakIt::GetAllScriptsOfText( const String 
rTxt ) const
 return nRet;
 }
 
-sal_Int32 SwBreakIt::getGraphemeCount(const rtl::OUString rText) const
+sal_Int32 SwBreakIt::getGraphemeCount(const rtl::OUString rText, sal_Int32 
nStart, sal_Int32 nEnd) const
 {
 sal_Int32 nGraphemeCount = 0;
 
-sal_Int32 nCurPos = 0;
-while (nCurPos  rText.getLength())
+sal_Int32 nCurPos = nStart;
+while (nCurPos  nEnd)
 {
-sal_Int32 nCount2 = 1;
-nCurPos = xBreak-nextCharacters(rText, nCurPos, lang::Locale(),
-i18n::CharacterIteratorMode::SKIPCELL, nCount2, nCount2);
+//fdo#49208 cheat and assume that nothing can combine with a space
+//to form a single grapheme
+if (rText[nCurPos] == ' ')
+++nCurPos;
+else
+{
+sal_Int32 nCount2 = 1;
+nCurPos = xBreak-nextCharacters(rText, nCurPos, lang::Locale(),
+i18n::CharacterIteratorMode::SKIPCELL, nCount2, nCount2);
+}
 ++nGraphemeCount;
 }
 
diff --git a/sw/source/core/txtnode/txtedt.cxx 

[PUSHED 3-5] fdo#49208 ridiculous performance on certain .doc

2012-05-02 Thread Michael Meeks
Hi there,

On Tue, 2012-05-01 at 16:43 +0100, Caolán McNamara wrote:
 The .doc has some paragraphs in it that are around the 64k length mark.
 It doesn't *look* like that's the case because they end in vast quantity
 of whitespace and writer implements the word-compatibility thing to let
 empty spaces disappear off the right side of the page rather than wrap.

Fun :-)

 Turns out to be a good test case for our break iterators, couple of
 problems, squashed together as attachment

Good stuff;

 and assume that a space doesn't combine with anything in any exotic way
 to form a single grapheme
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=ae716b07f7218fadf0143de1946cc9e0e2c08744

The idea of 'space' as a grapheme is somewhat counter-intuitive in the
abstract :-) but - anyhow, a great set of fixes !

Can you give an idea of the performance win / speedup ?

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: About DECLARE_LIST fdo#38832

2012-05-02 Thread Caolán McNamara
On Wed, 2012-05-02 at 04:08 -0700, julien2412 wrote:
 Hello,
 
 Searching for DECLARE_LIST in Opengrok in core part gives, except the
 declaration in list.hxx, this :
 in svl/inc/svl/svdde.hxx
  57 #ifndef _SVDDE_NOLISTS
  58 DECLARE_LIST( DdeServices, DdeService* )
  59 #else
  60 typedef List DdeServices;
  61 #endif
 
 I searched about _SVDDE_NOLISTS and it seems nowhere to be seen.

Seeing as nothing is defining _SVDDE_NOLISTS then currently the
DECLARE_LIST branch is unconditionally taken, right ?, not the typedef
branch. So its the typedef branch that's dead.

 Could we just have typedef List DdeServices;, move DECLARE_LIST
 declaration in binfilter part (since there are still some places to be
 converted) and remove completely DECLARE_LIST for core ?

Seeing as its the last DECLARE_LIST left in core it looks like a great
candidate to convert it to vector/list and allow removal of DECLARE_LIST
into binfilter. Watch out though, there's some windows only code in
ddesvr using the DdeServices thing.

C.

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


Re: WebDAV IsReadOnly Property [Was: Re: WebDAV properties namespace]

2012-05-02 Thread Adam Tauno Williams
On Mon, 2012-04-30 at 14:12 -0400, Adam Tauno Williams wrote:
 On Mon, 2012-04-30 at 19:09 +0200, Michael Stahl wrote: 
  On 30/04/12 16:02, Adam Tauno Williams wrote:
   I work on a WebDAV server.  Looking at requests from LibreOffice
   [3.4.5.5-4.5.1 on openSUSE 12.1] I see requests for properties in the
   http://ucb.openoffice.org/dav/props/; namespace.  But the only places I
   can find mention of this namespace are:
   http://code.google.com/p/sabredav/wiki/OpenOffice
   http://www.openoffice.org/ucb/docs/ucp-ref/webdav-ucp.html
   Is there any documentation for the 'format' of these properties?  What
   the client expects?
   And the property I see requested IsReadOnly is not listed on the
   openoffice.org page. 
   I'd like to support these properties, especially IsReadOnly [since that
   one is frequently requested].  But there is no documentation on what a
   proper response looks like.
  looking into this a bit, it was added in commit
  d8aa390b8620613b977dd5421f99d56c0e557f6b.
  the IsReadOnly property is added here in Content::getResourceType:
  http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/webdavcontent.cxx#n3190
  but the ContentProperties::UCBNamesToDAVNames function does not contain
  a mapping to a DAV property name, in contrast to the other properties
  added in Content::getResourceType:
  http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/ContentProperties.cxx#n221
  so... is there some equivalent of is-read-only in WebDAV?
  if not then maybe it was simply added there in error...
 Not to my knowledge.  At least RFC2518 doesn't mention one, and I
 haven't met a 'common' one.  Clients / server frequently implement
 something custom for that [sadly].  Which why I'm happy to add support
 for that property to my server.   But there is no documentation if it
 should be YES/NO, True/False, 0/1, etc...

???


signature.asc
Description: This is a digitally signed message part
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 41883] MinGW port Most Annoying Bugs

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

Bug 41883 depends on bug 42027, which changed state.

Bug 42027 Summary: MinGW: Desktop Icon Installer instead of LibO, all icons 
missing in executables.
https://bugs.freedesktop.org/show_bug.cgi?id=42027

   What|Old Value   |New Value

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


[Libreoffice-commits] .: oox/source

2012-05-02 Thread Caolán McNamara
 oox/source/helper/textinputstream.cxx |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c91b51edc10dae72fc1d1f4bdfe21ef70bb00fde
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 12:13:01 2012 +0100

catch by const ref

Change-Id: Ib1571dfd2e7b821c929ab7efa9077a355471c0b8

diff --git a/oox/source/helper/textinputstream.cxx 
b/oox/source/helper/textinputstream.cxx
index 34c599a..ae28ad3 100644
--- a/oox/source/helper/textinputstream.cxx
+++ b/oox/source/helper/textinputstream.cxx
@@ -146,7 +146,7 @@ bool TextInputStream::isEof() const
 {
 return mxTextStrm-isEOF();
 }
-catch( Exception )
+catch (const Exception)
 {
 }
 return true;
@@ -160,7 +160,7 @@ OUString TextInputStream::readLine()
 been buffered in the previous call of readToChar() (see below). */
 return createFinalString( mxTextStrm-readLine() );
 }
-catch( Exception )
+catch (const Exception)
 {
 mxTextStrm.clear();
 }
@@ -188,7 +188,7 @@ OUString TextInputStream::readToChar( sal_Unicode cChar, 
bool bIncludeChar )
 }
 return aString;
 }
-catch( Exception )
+catch (const Exception)
 {
 mxTextStrm.clear();
 }
@@ -209,7 +209,7 @@ OUString TextInputStream::readToChar( sal_Unicode cChar, 
bool bIncludeChar )
 xTextStrm.set( xDataSink, UNO_QUERY_THROW );
 xTextStrm-setEncoding( OUString::createFromAscii( pcCharset ) );
 }
-catch( Exception )
+catch (const Exception)
 {
 }
 return xTextStrm;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: solenv/gbuild

2012-05-02 Thread David Tardon
 solenv/gbuild/LinkTarget.mk |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 7cc6106badf9bc87ff1d33ed0926795147f52872
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 13:44:44 2012 +0200

let make know about all files created by LinkTarget

Change-Id: Id8af5f63b7a249949286ed35d26d8f4e71a52742

diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index cacafd2..35d4085 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -1042,7 +1042,9 @@ $$(call gb_Output_error,\
 endef
 
 define gb_LinkTarget_add_auxtargets
+$(2) :| $(call gb_LinkTarget_get_target,$(1))
 $(call gb_LinkTarget_get_clean_target,$(1)) : AUXTARGETS += $(2)
+
 endef
 
 define gb_LinkTarget__add_internal_headers
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


help with windows tinbuild and symlinks

2012-05-02 Thread Noel Grandin

Hi

I'm trying to use symlinks to speed up my windows tinderbox.
I've used an NTFS junction point (the windows equivalent of a symlink) 
to make workdir and solver point at a ram-drive.


But the IDL file processing is glitching with the errors below. Any 
ideas where to start looking to fix this?


The LO build is on the C: drive, and the D: drive is a ram-drive.

Thanks, Noel Grandin

[ build XCS ] officecfg/registry/schema/org/openoffice/Office/UI.xcs
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
[ build XCS ] officecfg/registry/schema/org/openoffice/Office/Embedding.xcs
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Setup.xcs] 
Error 4

make[1]: *** Waiting for unfinished jobs
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/Accelerators.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/Common.xcs] 
Error 4
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/SFX.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/DataAccess.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/TableWizard.xcs] 
Error 4
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/UI.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/Embedding.xcs] 
Error 4

log for /cygdrive/c/LibreOffice/libo/officecfg/prj
[ build CUS ] officecfg/registry
[ build XCS ] officecfg/registry/schema/org/openoffice/Setup.xcs
[ build XCS ] 
officecfg/registry/schema/org/openoffice/Office/Accelerators.xcs

[ build XCS ] officecfg/registry/schema/org/openoffice/Office/Common.xcs
[ build XCS ] officecfg/registry/schema/org/openoffice/Office/SFX.xcs
[ build XCS ] officecfg/registry/schema/org/openoffice/Office/DataAccess.xcs
[ build XCS ] 
officecfg/registry/schema/org/openoffice/Office/TableWizard.xcs
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Setup.xcs] 
Error 4

make[1]: *** Waiting for unfinished jobs
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/Accelerators.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 
[/cygdrive/c/LibreOffice/libo/workdir/wntmsci12.pro/XcsTarget/officecfg/registry/schema/org/openoffice/Office/Common.xcs] 
Error 4
warning: failed to load external entity 
/cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl

cannot parse /cygdrive/d/solver/wntmsci12.pro/xml/processing/schema_val.xsl
make[1]: *** 

Re: rtl::O[U]String::operator== - to rtl::O[U]String::equals

2012-05-02 Thread Enrico Weigelt

 I can't thing of a good reason why that might be ?, so now converted
 operator== to simply call equals

Any reason where there's an separate equals() method at all ?


-- 
Mit freundlichen Grüßen / Kind regards 

Enrico Weigelt 
VNC - Virtual Network Consult GmbH 
Head Of Development 

Äußere Bayreuther Str. 55, D - 90409 Nürnberg 
Tel: +49 911 72303-30 
Fax: +49 911 72303-50 

enrico.weig...@vnc.biz; www.vnc.de 
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


How to change zoom from sfx2 appserv?

2012-05-02 Thread Tim Hardeck
Hi,

I am working on a new zoom sub menu which should have the same
functionality as the Zoom dialog.
http://www.mail-archive.com/design@global.libreoffice.org/msg03561.html

I have added the sub menu globally so I am able to react to inputs in
sfx2/source/appl/appserv.cxx but the problem is that I am unable to pass
along the SvxZoomItem because it depends on sfx2.

Does anybody have an idea how to change the Zoom from appserv.cxx? Maybe
it is possible to use the functions of the original zoom dialog (
cui/source/dialogs/zoom.cxx )?

Otherwise I would have to add the menu to every LO app locally and
create the needed Execute points for each of them.

Regards
Tim

-- 
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
T: +49 (0) 911 74053-0  F: +49 (0) 911 74053-483
http://www.suse.de/
From caa4e8ca64c8405f2b30e81899a5f8f9d212c8be Mon Sep 17 00:00:00 2001
From: Tim Hardeck thard...@suse.com
Date: Wed, 2 May 2012 11:39:19 +0200
Subject: [PATCH] Added Zoom sub-menu to View

Added Zoom sub-menu to View with the same entries of the zoom status bar
right mouse button menu.
Additionally the zoom menu entries were sorted in a more logical way.

Change-Id: I88c8fa1af98a89b260adf72e61b1987a42156d67
---
 configmgr/qa/unit/data.xcd |6 +-
 .../org/openoffice/Office/UI/GenericCommands.xcu   |   26 ++-
 reportdesign/uiconfig/dbreport/menubar/menubar.xml |   15 +-
 sc/uiconfig/scalc/menubar/menubar.xml  |   15 +-
 sd/uiconfig/sdraw/menubar/menubar.xml  |   15 +-
 sd/uiconfig/simpress/menubar/menubar.xml   |   15 +-
 sfx2/inc/sfx2/sfxsids.hrc  |   14 +-
 sfx2/sdi/appslots.sdi  |   32 +++
 sfx2/sdi/sfx.sdi   |  222 
 sfx2/source/appl/appserv.cxx   |   12 ++
 starmath/uiconfig/smath/menubar/menubar.xml|   15 +-
 svx/source/stbctrls/stbctrls.src   |   48 ++---
 sw/uiconfig/sglobal/menubar/menubar.xml|   15 +-
 sw/uiconfig/sweb/menubar/menubar.xml   |   15 +-
 sw/uiconfig/swform/menubar/menubar.xml |   15 +-
 sw/uiconfig/swreport/menubar/menubar.xml   |   15 +-
 sw/uiconfig/swriter/menubar/menubar.xml|   15 +-
 sw/uiconfig/swxform/menubar/menubar.xml|   15 +-
 18 files changed, 482 insertions(+), 43 deletions(-)

diff --git a/configmgr/qa/unit/data.xcd b/configmgr/qa/unit/data.xcd
index f4d5461..700339d 100755
--- a/configmgr/qa/unit/data.xcd
+++ b/configmgr/qa/unit/data.xcd
@@ -1787,7 +1787,7 @@
   /node
   node oor:name=.uno:Zoom100Percent oor:op=replace
 prop oor:name=Label oor:type=xs:string
-  value xml:lang=x-no-translate/valuevalue xml:lang=en-USZoom 100%/value
+  value xml:lang=x-no-translate/valuevalue xml:lang=en-US100%/value
 /prop
 prop oor:name=Properties oor:type=xs:int
   value1/value
@@ -1803,7 +1803,7 @@
   /node
   node oor:name=.uno:ZoomPage oor:op=replace
 prop oor:name=Label oor:type=xs:string
-  value xml:lang=x-no-translate/valuevalue xml:lang=en-USZoom Page/value
+  value xml:lang=x-no-translate/valuevalue xml:lang=en-USEntire Page/value
 /prop
 prop oor:name=Properties oor:type=xs:int
   value1/value
@@ -2660,7 +2660,7 @@
   /node
   node oor:name=.uno:ZoomPageWidth oor:op=replace
 prop oor:name=Label oor:type=xs:string
-  value xml:lang=x-no-translate/valuevalue xml:lang=en-USZoom Page Width/value
+  value xml:lang=x-no-translate/valuevalue xml:lang=en-USPage Width/value
 /prop
 prop oor:name=Properties oor:type=xs:int
   value1/value
diff --git a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index 58ad5be..ea498f3 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -1698,14 +1698,34 @@
 value xml:lang=en-US~Options.../value
 /prop
 /node
+node oor:name=.uno:Zoom200Percent oor:op=replace
+prop oor:name=Label oor:type=xs:string
+value xml:lang=en-US200%/value
+/prop
+/node
+node oor:name=.uno:Zoom150Percent oor:op=replace
+prop oor:name=Label oor:type=xs:string
+value xml:lang=en-US150%/value
+/prop
+/node
 node oor:name=.uno:Zoom100Percent oor:op=replace
 prop oor:name=Label oor:type=xs:string
-value xml:lang=en-USZoom 100%/value
+value xml:lang=en-US100%/value
 /prop
 prop 

[Libreoffice-commits] .: vcl/unx

2012-05-02 Thread David Tardon
 vcl/unx/gtk/app/gtksys.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 85211f1ef30b07927d768348ce28ac34ade62f03
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 14:26:11 2012 +0200

fdo#49365 correctly map monitor index back to screen

Change-Id: I396b34119a2686011640d5f15de616fe2a166237

diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 3927dbf..538107f 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -92,7 +92,7 @@ GtkSalSystem::getScreenMonitorFromIdx (GdkDisplay *pDisplay, 
int nIdx, gint nMo
 pScreen = gdk_display_get_screen (pDisplay, i);
 if (!pScreen)
 break;
-if (nIdx  gdk_screen_get_n_monitors (pScreen))
+if (nIdx = gdk_screen_get_n_monitors (pScreen))
 nIdx -= gdk_screen_get_n_monitors (pScreen);
 else
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2012-05-02 Thread Eike Rathke
 i18npool/source/localedata/data/is_IS.xml |   31 +++---
 1 file changed, 16 insertions(+), 15 deletions(-)

New commits:
commit f5080ebb7022c9f5d7d7fdca4fe9d19f9bb8cabf
Author: Eike Rathke er...@redhat.com
Date:   Wed May 2 14:30:37 2012 +0200

swapped DefaultAbbrvName and DefaultFullName in Era elements

diff --git a/i18npool/source/localedata/data/is_IS.xml 
b/i18npool/source/localedata/data/is_IS.xml
index 39e9ed7..8ba0d9d 100644
--- a/i18npool/source/localedata/data/is_IS.xml
+++ b/i18npool/source/localedata/data/is_IS.xml
@@ -291,13 +291,13 @@
   Eras
 Era
   EraIDbc/EraID
-  DefaultAbbrvNamefyrir Krist/DefaultAbbrvName
-  DefaultFullNamef.Kr./DefaultFullName
+  DefaultAbbrvNamef.Kr./DefaultAbbrvName
+  DefaultFullNamefyrir Krist/DefaultFullName
 /Era
 Era
   EraIDad/EraID
-  DefaultAbbrvNameeftir Krist/DefaultAbbrvName
-  DefaultFullNamee.Kr./DefaultFullName
+  DefaultAbbrvNamee.Kr./DefaultAbbrvName
+  DefaultFullNameeftir Krist/DefaultFullName
 /Era
   /Eras
   StartDayOfWeek
commit 60edd10f79cf131532615283d9dc6eecd8207c38
Author: Björgvin Ragnarsson nifgr...@gmail.com
Date:   Wed May 2 03:31:30 2012 +

changes to [is-IS] locale data

diff --git a/i18npool/source/localedata/data/is_IS.xml 
b/i18npool/source/localedata/data/is_IS.xml
index de793b3..39e9ed7 100644
--- a/i18npool/source/localedata/data/is_IS.xml
+++ b/i18npool/source/localedata/data/is_IS.xml
@@ -25,18 +25,19 @@
   LongDateYearSeparator /LongDateYearSeparator
 /Separators
 Markers
-  QuotationStart‘/QuotationStart
-  QuotationEnd’/QuotationEnd
-  DoubleQuotationStart“/DoubleQuotationStart
-  DoubleQuotationEnd”/DoubleQuotationEnd
+  QuotationStart‚/QuotationStart
+  QuotationEnd‘/QuotationEnd
+  DoubleQuotationStart„/DoubleQuotationStart
+  DoubleQuotationEnd“/DoubleQuotationEnd
 /Markers
-TimeAMAM/TimeAM
-TimePMPM/TimePM
+TimeAMf.h./TimeAM
+TimePMe.h./TimePM
 MeasurementSystemmetric/MeasurementSystem
   /LC_CTYPE
   LC_FORMAT
-DateAcceptancePatternD/M//DateAcceptancePattern
 DateAcceptancePatternD.M./DateAcceptancePattern
+DateAcceptancePatternD. M./DateAcceptancePattern
+DateAcceptancePatternD. M. Y/DateAcceptancePattern
 FormatElement msgid=FixedFormatskey1 default=true type=medium 
usage=FIXED_NUMBER formatindex=0
   FormatCodeStandard/FormatCode
 /FormatElement
@@ -290,13 +291,13 @@
   Eras
 Era
   EraIDbc/EraID
-  DefaultAbbrvNameBCE/DefaultAbbrvName
-  DefaultFullNameBC/DefaultFullName
+  DefaultAbbrvNamefyrir Krist/DefaultAbbrvName
+  DefaultFullNamef.Kr./DefaultFullName
 /Era
 Era
   EraIDad/EraID
-  DefaultAbbrvNameCE/DefaultAbbrvName
-  DefaultFullNameAD/DefaultFullName
+  DefaultAbbrvNameeftir Krist/DefaultAbbrvName
+  DefaultFullNamee.Kr./DefaultFullName
 /Era
   /Eras
   StartDayOfWeek
@@ -326,10 +327,10 @@
 ReservedWords
   trueWordRétt/trueWord
   falseWordRangt/falseWord
-  quarter1Word1st fjórðungur/quarter1Word
-  quarter2Word2nd fjórðungur/quarter2Word
-  quarter3Word3rd fjórðungur/quarter3Word
-  quarter4Word4th fjórðungur/quarter4Word
+  quarter1Wordfyrsti fjórðungur/quarter1Word
+  quarter2Wordannar fjórðungur/quarter2Word
+  quarter3Wordþriðji fjórðungur/quarter3Word
+  quarter4Wordfjórði fjórðungur/quarter4Word
   aboveWordyfir/aboveWord
   belowWordundir/belowWord
   quarter1AbbreviationF1/quarter1Abbreviation
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: scp2/source

2012-05-02 Thread Petr Mladek
 scp2/source/calc/module_calc.scp |1 +
 scp2/source/writer/module_writer.scp |1 +
 2 files changed, 2 insertions(+)

New commits:
commit dc12340a18f560ce20f8c1fd6e854f76c11aa968
Author: Petr Mladek pmla...@suse.cz
Date:   Wed May 2 14:37:24 2012 +0200

put VBA stuff into correct subpackages

move vbaobj.uno.so into -calc subpackage and vbaswobj.uno.so
into -writer subpackage to fix dependencies

Change-Id: Id9457d71ee38537b07456816845cb870c7b7a041

diff --git a/scp2/source/calc/module_calc.scp b/scp2/source/calc/module_calc.scp
index 0e5e790..a10c1bb 100644
--- a/scp2/source/calc/module_calc.scp
+++ b/scp2/source/calc/module_calc.scp
@@ -44,6 +44,7 @@ Module gid_Module_Prg_Calc_Bin
 Styles = (HIDDEN_ROOT);
 Files = 
(gid_File_Share_Registry_Calc_Xcd,gid_File_Lib_Calc,gid_File_Lib_Sc,gid_File_Lib_Scui,gid_File_Lib_Scfilt,gid_File_Lib_Scd,gid_File_Extra_Urldesktop_Calc,gid_File_Extra_Urlnew_Calc,gid_File_Extra_Urlstart_Calc,gid_File_Extra_Urltasks_Calc,gid_File_Oo_Office_Filter_Calc_Pkg,gid_File_Share_Config_Sofficecfg_Calc_Menubar_Xml,
 gid_File_Lib_Solver,gid_File_Lib_Lpsolve,
+gid_File_Lib_Vbaobj,
 gid_File_Tmp_Userinstall_Calc_Inf);
 End
 
diff --git a/scp2/source/writer/module_writer.scp 
b/scp2/source/writer/module_writer.scp
index 33b9e44..8ae9869 100644
--- a/scp2/source/writer/module_writer.scp
+++ b/scp2/source/writer/module_writer.scp
@@ -50,6 +50,7 @@ Module gid_Module_Prg_Wrt_Bin
 gid_File_Lib_Msword,
 gid_File_Lib_WpftWriter,
 gid_File_Lib_T602Filter,
+gid_File_Lib_Vbaswobj,
 gid_File_Lib_Writerfilter,
 gid_File_Lib_Wlwp,
 gid_File_Share_Config_Sofficecfg_Writer_Menubar_Xml,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: help with windows tinbuild and symlinks

2012-05-02 Thread Michael Stahl
On 02/05/12 14:06, Noel Grandin wrote:
 Hi
 
 I'm trying to use symlinks to speed up my windows tinderbox.
 I've used an NTFS junction point (the windows equivalent of a symlink) 
 to make workdir and solver point at a ram-drive.
 
 But the IDL file processing is glitching with the errors below. Any 
 ideas where to start looking to fix this?

those xcs files are processed with xsltproc/libxslt, see
solenv/gbuild/Configuration.mk

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


[Libreoffice-commits] .: cui/source

2012-05-02 Thread Caolán McNamara
 cui/source/tabpages/autocdlg.src |  117 ---
 1 file changed, 25 insertions(+), 92 deletions(-)

New commits:
commit 8da9221b02429558bd61168b8f00b16ef714a34c
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 2 13:43:08 2012 +0100

accessibility resources in the wrong dialog definition

Change-Id: Ib3fe9b6a5b0a26343142044be5e638be46276f27

diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src
index 74090a0..67dd19b 100644
--- a/cui/source/tabpages/autocdlg.src
+++ b/cui/source/tabpages/autocdlg.src
@@ -496,30 +496,6 @@ TabPage RID_OFAPAGE_AUTOCORR_EXCEPT
 {
 Text [ en-US ] = Delete words with two initial capitals ;
 };
-String STR_PB_SGL_STD
-{
-Text [ en-US ] = Single quotes default ;
-};
-String STR_PB_DBL_STD
-{
-Text [ en-US ] = Double quotes default ;
-};
-String STR_PB_SGL_START
-{
-Text [ en-US ] = Start quote of single quotes ;
-};
-String STR_PB_DBL_START
-{
-Text [ en-US ] = Start quote of double quotes ;
-};
-String STR_PB_SGL_END
-{
-Text [ en-US ] = End quote of single quotes ;
-};
-String STR_PB_DBL_END
-{
-Text [ en-US ] = End quote of double quotes ;
-};
 };
 /**/
 /**/
@@ -565,7 +541,7 @@ TabPage RID_OFAPAGE_AUTOCORR_QUOTE
 };
 CheckBox CB_SGL_TYPO
 {
-HelpId = cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_SGL_TYPO;
+HelpId = cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_SGL_TYPO;
 Pos = MAP_APPFONT ( 7 , 101 ) ;
 Size = MAP_APPFONT ( 86 , 10 ) ;
 Text [ en-US ] = Repla~ce ;
@@ -688,6 +664,30 @@ TabPage RID_OFAPAGE_AUTOCORR_QUOTE
 {
 Text [ en-US ] = Default ;
 };
+String STR_PB_SGL_STD
+{
+Text [ en-US ] = Single quotes default ;
+};
+String STR_PB_DBL_STD
+{
+Text [ en-US ] = Double quotes default ;
+};
+String STR_PB_SGL_START
+{
+Text [ en-US ] = Start quote of single quotes ;
+};
+String STR_PB_DBL_START
+{
+Text [ en-US ] = Start quote of double quotes ;
+};
+String STR_PB_SGL_END
+{
+Text [ en-US ] = End quote of single quotes ;
+};
+String STR_PB_DBL_END
+{
+Text [ en-US ] = End quote of double quotes ;
+};
 };
 
 /**/
@@ -869,70 +869,3 @@ TabPage RID_OFAPAGE_SMARTTAG_OPTIONS
 };
 
 };
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: rtl::O[U]String::operator== - to rtl::O[U]String::equals

2012-05-02 Thread Michael Stahl
On 02/05/12 14:08, Enrico Weigelt wrote:
 
 I can't thing of a good reason why that might be ?, so now converted
 operator== to simply call equals
 
 Any reason where there's an separate equals() method at all ?

because that's part of the stable URE API

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


[Libreoffice-commits] .: bin/distro-install-file-lists

2012-05-02 Thread Petr Mladek
 bin/distro-install-file-lists |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 78a7968cad096dd5a763bbfbe8b85360dd882cd9
Author: Petr Mladek pmla...@suse.cz
Date:   Tue Sep 6 10:33:08 2011 +0200

really put SDK documentation into the doc subpackage

diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
index 014769c..c36b67c 100755
--- a/bin/distro-install-file-lists
+++ b/bin/distro-install-file-lists
@@ -274,10 +274,10 @@ if test z$OOO_VENDOR != zDebian ; then
 
 if test -f sdk_list.txt ; then
 # in this case we move all entries including directories
-mv_file_between_flists sdk_doc_list.txt sdk_list.txt %dir 
$DOCDIRBASE/sdk/docs.*
-mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIRBASE/sdk/docs.*
-mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIRBASE/sdk/examples
-mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIRBASE/sdk/index.html
+mv_file_between_flists sdk_doc_list.txt sdk_list.txt %dir 
$DOCDIR/sdk/docs.*
+mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIR/sdk/docs.*
+mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIR/sdk/examples
+mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$DOCDIR/sdk/index.html
 mv_file_between_flists sdk_doc_list.txt sdk_list.txt %dir 
$INSTALLDIR/sdk/examples.*
 mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$INSTALLDIR/sdk/docs
 mv_file_between_flists sdk_doc_list.txt sdk_list.txt 
$INSTALLDIR/sdk/examples.*
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: bin/java-set-classpath.in

2012-05-02 Thread Petr Mladek
 bin/java-set-classpath.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82e0acad32f665a34bde0f74b6728f750dc05227
Author: Petr Mladek pmla...@suse.cz
Date:   Wed May 2 14:52:48 2012 +0200

correctly set install path in java-set-classpath

diff --git a/bin/java-set-classpath.in b/bin/java-set-classpath.in
index 4d22a75..6128918 100644
--- a/bin/java-set-classpath.in
+++ b/bin/java-set-classpath.in
@@ -36,7 +36,7 @@ if test z$1 = z ; then
 exit 0;
 fi
 
-JVM_CONFIG_FILE=@OOINSTBASE@/program/fundamentalrc
+JVM_CONFIG_FILE=@INSTALLDIR@/program/fundamentalrc
 
 for path in $@ ; do
 if test z${path%%/*} != z ; then
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Libreoffice] [PATCH] Translate german comments

2012-05-02 Thread Martin Kepplinger
Am 2012-05-01 12:13, schrieb Michael Meeks:
 Hi Martin,
 
 On Thu, 2011-05-19 at 19:21 +0200, Martin Kepplinger wrote:
 Translate german code comments in writer/sw/source/ui/lingu to english!

 This is contributed under the terms of the MPL 1.1 / GPLv3+ / LGPLv3+ triple
 license.
 
   Thanks for all your great work here :-) I'm just reviewing the commit
 that we have assignments for, and the process of correlating all your
 work on the mailing list vs. the eventual commits is a bit large.
 
   What would really help there is if you could send a blanket license
 statement for all your (50+) commits, that we can link into:
 
   http://wiki.documentfoundation.org/Development/Developers
 
   Something like:
 
   All of my past  future contributions to LibreOffice may be
  licensed under the MPL/LGPLv3+ dual license
 
   Thanks !
 
   Michael.
 

No problem. Indeed all of my past and future contributions to
LibreOffice may be licensed under the MPL/LGPLv3+ dual license.

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


[Libreoffice-commits] .: sw/qa

2012-05-02 Thread Miklos Vajna
 sw/qa/extras/ooxmltok/ooxmltok.cxx |6 +-
 sw/qa/extras/rtftok/rtftok.cxx |   96 -
 2 files changed, 45 insertions(+), 57 deletions(-)

New commits:
commit 09008a2433cae77170de30bb5075f9280ff5086f
Author: Miklos Vajna vmik...@suse.cz
Date:   Wed May 2 15:01:05 2012 +0200

sw/qa/extras: get rid of RTL_CONSTASCII_USTRINGPARAM() and a bit more

Change-Id: If2add0d11f16d7206912cadad8ff50a668a14011

diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx 
b/sw/qa/extras/ooxmltok/ooxmltok.cxx
index 65fb287..00aa2c2 100644
--- a/sw/qa/extras/ooxmltok/ooxmltok.cxx
+++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx
@@ -83,7 +83,7 @@ void Test::setUp()
 {
 test::BootstrapFixture::setUp();
 
-
mxDesktop.set(getMultiServiceFactory()-createInstance(OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.frame.Desktop))),
 uno::UNO_QUERY);
+
mxDesktop.set(getMultiServiceFactory()-createInstance(com.sun.star.frame.Desktop),
 uno::UNO_QUERY);
 CPPUNIT_ASSERT(mxDesktop.is());
 }
 
@@ -97,13 +97,13 @@ void Test::tearDown()
 
 void Test::testN751054()
 {
-load(OUString(RTL_CONSTASCII_USTRINGPARAM(n751054.docx)));
+load(n751054.docx);
 
 uno::Referencedrawing::XDrawPageSupplier xDrawPageSupplier(mxComponent, 
uno::UNO_QUERY);
 uno::Referencecontainer::XIndexAccess 
xDraws(xDrawPageSupplier-getDrawPage(), uno::UNO_QUERY);
 uno::Referencebeans::XPropertySet xPropertySet(xDraws-getByIndex(0), 
uno::UNO_QUERY);
 text::TextContentAnchorType eValue;
-
xPropertySet-getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(AnchorType)))
 = eValue;
+xPropertySet-getPropertyValue(AnchorType) = eValue;
 CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER);
 }
 
diff --git a/sw/qa/extras/rtftok/rtftok.cxx b/sw/qa/extras/rtftok/rtftok.cxx
index 82c6010..eba7bea 100644
--- a/sw/qa/extras/rtftok/rtftok.cxx
+++ b/sw/qa/extras/rtftok/rtftok.cxx
@@ -170,7 +170,7 @@ void Test::setUp()
 {
 test::BootstrapFixture::setUp();
 
-
mxDesktop.set(getMultiServiceFactory()-createInstance(OUString(RTL_CONSTASCII_USTRINGPARAM(com.sun.star.frame.Desktop))),
 uno::UNO_QUERY);
+
mxDesktop.set(getMultiServiceFactory()-createInstance(com.sun.star.frame.Desktop),
 uno::UNO_QUERY);
 CPPUNIT_ASSERT(mxDesktop.is());
 }
 
@@ -184,7 +184,7 @@ void Test::tearDown()
 
 void Test::testFdo45553()
 {
-load(OUString(RTL_CONSTASCII_USTRINGPARAM(fdo45553.rtf)));
+load(fdo45553.rtf);
 
 uno::Referencetext::XTextDocument xTextDocument(mxComponent, 
uno::UNO_QUERY);
 uno::Referencecontainer::XEnumerationAccess 
xParaEnumAccess(xTextDocument-getText(), uno::UNO_QUERY);
@@ -201,16 +201,14 @@ void Test::testFdo45553()
 {
 sal_Int32 nMargin = 0;
 uno::Referencebeans::XPropertySet xPropertySet(xRange, 
uno::UNO_QUERY);
-uno::Any aValue = 
xPropertySet-getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ParaTopMargin)));
-aValue = nMargin;
+xPropertySet-getPropertyValue(ParaTopMargin) = nMargin;
 CPPUNIT_ASSERT_EQUAL(sal_Int32(TWIP_TO_MM100(120)), nMargin);
 }
 else if ( aStr == space-after )
 {
 sal_Int32 nMargin = 0;
 uno::Referencebeans::XPropertySet xPropertySet(xRange, 
uno::UNO_QUERY);
-uno::Any aValue = 
xPropertySet-getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(ParaBottomMargin)));
-aValue = nMargin;
+xPropertySet-getPropertyValue(ParaBottomMargin) = nMargin;
 CPPUNIT_ASSERT_EQUAL(sal_Int32(TWIP_TO_MM100(240)), nMargin);
 }
 }
@@ -219,7 +217,7 @@ void Test::testFdo45553()
 
 void Test::testN192129()
 {
-load(OUString(RTL_CONSTASCII_USTRINGPARAM(n192129.rtf)));
+load(n192129.rtf);
 
 // We expect that the result will be 16x16px.
 Size aExpectedSize(16, 16);
@@ -237,13 +235,13 @@ void Test::testN192129()
 
 void Test::testFdo45543()
 {
-load(OUString(RTL_CONSTASCII_USTRINGPARAM(fdo45543.rtf)));
+load(fdo45543.rtf);
 CPPUNIT_ASSERT_EQUAL(5, getLength());
 }
 
 void Test::testN695479()
 {
-load(OUString(RTL_CONSTASCII_USTRINGPARAM(n695479.rtf)));
+load(n695479.rtf);
 
 uno::Referencetext::XTextFramesSupplier xTextFramesSupplier(mxComponent, 
uno::UNO_QUERY);
 uno::Referencecontainer::XIndexAccess 
xIndexAccess(xTextFramesSupplier-getTextFrames(), uno::UNO_QUERY);
@@ -251,12 +249,10 @@ void Test::testN695479()
 
 // Negative ABSH should mean fixed size.
 sal_Int16 nSizeType = 0;
-uno::Any aValue = 
xPropertySet-getPropertyValue(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SizeType)));
-aValue = nSizeType;
+xPropertySet-getPropertyValue(SizeType) = nSizeType;
 CPPUNIT_ASSERT_EQUAL(text::SizeType::FIX, nSizeType);
 sal_Int32 nHeight = 0;
-aValue = 

[Bug 37361] LibreOffice 3.5 most annoying bugs

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

Max fox_vuc...@trashmail.net changed:

   What|Removed |Added

 Depends on||46160

-- 
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-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37361

--- Comment #299 from Max fox_vuc...@trashmail.net 2012-05-02 06:21:02 PDT ---
Nominate https://bugs.freedesktop.org/show_bug.cgi?id=46160 - Time lag makes
Calc unusable for many business spreadsheets.

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


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - 2 commits - vcl/unx

2012-05-02 Thread Michael Meeks
 vcl/unx/gtk/app/gtksys.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0ae56ccf13ce8ed1047df8eeae379670dcbeaa36
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 14:26:11 2012 +0200

fdo#49365 correctly map monitor index back to screen

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

diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 5251cda..42d61b2 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -93,7 +93,7 @@ GtkSalSystem::getScreenMonitorFromIdx (GdkDisplay *pDisplay, 
int nIdx, gint nMo
 pScreen = gdk_display_get_screen (pDisplay, i);
 if (!pScreen)
 break;
-if (nIdx  gdk_screen_get_n_monitors (pScreen))
+if (nIdx = gdk_screen_get_n_monitors (pScreen))
 nIdx -= gdk_screen_get_n_monitors (pScreen);
 else
 break;
commit fb76a7ace7bbde0a410634535d5d96f3de9bca8a
Author: David Tardon dtar...@redhat.com
Date:   Thu Apr 26 06:36:22 2012 +0200

incrementing index twice in one run seems wrong

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

diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 6690d5f..5251cda 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -90,7 +90,7 @@ GtkSalSystem::getScreenMonitorFromIdx (GdkDisplay *pDisplay, 
int nIdx, gint nMo
 GdkScreen *pScreen = NULL;
 for (gint i = 0; i  gdk_display_get_n_screens (pDisplay); i++)
 {
-pScreen = gdk_display_get_screen (pDisplay, i++);
+pScreen = gdk_display_get_screen (pDisplay, i);
 if (!pScreen)
 break;
 if (nIdx  gdk_screen_get_n_monitors (pScreen))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED][patch] [fdo#42986] Presentations in Wide-screen

2012-05-02 Thread Andras Timar
Hi Ivan,

2012/4/23 Ivan Timofeev timofeev@gmail.com:

 Ok, but this breaks the translations:

 --- a/vcl/source/src/print.src
 +++ b/vcl/source/src/print.src
 @@ -513,7 +513,6 @@ StringArray RID_STR_PAPERNAMES
          C6/5 Envelope; ;
          DL Envelope; ;
          Dia Slide; ;
 -         Screen; ;
          C; ;
          D; ;
          E; ;

 Andras, can we create/push patches to the translations repo? Or is there a
 different workflow? Sorry, perhaps a stupid question... :)

Yes, you can push to the translations repo, if you would like. Usually
developers don't care about l10n and incidentally break translations.
Maybe it is already broken in master, regardless of your patch.

3.6 translation has not started yet. When 3.6 translation start, I'll
update the po files in git and in Pootle, so we can start to produce
valid localized builds.

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


[Libreoffice-commits] .: sysui/desktop

2012-05-02 Thread Petr Mladek
 sysui/desktop/share/create_mime_xml.pl |   21 ++---
 1 file changed, 18 insertions(+), 3 deletions(-)

New commits:
commit 515f26384510701be0b3ef21ddd445d1022198cc
Author: Petr Mladek pmla...@suse.cz
Date:   Mon Sep 5 18:57:34 2011 +0200

better detect OASIS MIME types (bnc#711977)

check more elements; also set sub-class-of application/xml for Flat XML

diff --git a/sysui/desktop/share/create_mime_xml.pl 
b/sysui/desktop/share/create_mime_xml.pl
index e1fc890..5141dff 100755
--- a/sysui/desktop/share/create_mime_xml.pl
+++ b/sysui/desktop/share/create_mime_xml.pl
@@ -45,9 +45,24 @@ foreach $component (sort(keys %mimehash)) {
 print (sort({customsort($a) cmp customsort($b)} @{$mimehash{$component}}));
 print 'glob pattern='.$glob.'/';
 if ( $component =~ /oasis/ ) {
-print 'magic'.( $mimetype =~ /-/  ? ' priority=60' : '').'';
-print 'match type=string offset=38 
value='.$mimetype.'/';
-print '/magic';
+if ( $component =~ /flat-xml/ ) {
+print 'sub-class-of type=application/xml/';
+print 'magic'.( $mimetype =~ /-/  ? ' priority=60' : 
'').'';
+print 'match value=lt;?xml type=string offset=0';
+print 'match value=office:document type=string 
offset=4:100';
+print 'match value=office:mimetype=quot;' . 
$mimetype . 'quot; type=string offset=100:4000/';
+print '/match';
+print '/match';
+print '/magic';
+} else {
+print 'magic'.( $mimetype =~ /-/  ? ' priority=60' : 
'').'';
+print 'match value=PK\003\004 type=string 
offset=0';
+print 'match value=mimetype type=string 
offset=30';
+print 'match value=' . $mimetype . ' 
type=string offset=38/';
+print '/match';
+print '/match';
+print '/magic';
+}
 }
 print '  /mime-type';
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED][patch] [fdo#42986] Presentations in Wide-screen

2012-05-02 Thread Andras Timar
2012/5/2 Ivan Timofeev timofeev@gmail.com:
 On 02.05.2012 17:30, Andras Timar wrote:

 Yes, you can push to the translations repo, if you would like. Usually
 developers don't care about l10n and incidentally break translations.
 Maybe it is already broken in master, regardless of your patch.

 3.6 translation has not started yet. When 3.6 translation start, I'll
 update the po files in git and in Pootle, so we can start to produce
 valid localized builds.


 And those updated po files will be correct automatically? No need to take
 care of them just right now?


Yes. When I extract en-US strings and run po migration scripts, po
files will be correct automatically.

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


Re: About DECLARE_LIST fdo#38832

2012-05-02 Thread Julien Nabet

On 02/05/2012 13:24, Caolán McNamara wrote:

On Wed, 2012-05-02 at 04:08 -0700, julien2412 wrote:

Hello,

Searching for DECLARE_LIST in Opengrok in core part gives, except the
declaration in list.hxx, this :
in svl/inc/svl/svdde.hxx
  57 #ifndef _SVDDE_NOLISTS
  58 DECLARE_LIST( DdeServices, DdeService* )
  59 #else
  60 typedef List DdeServices;
  61 #endif

I searched about _SVDDE_NOLISTS and it seems nowhere to be seen.

Seeing as nothing is defining _SVDDE_NOLISTS then currently the
DECLARE_LIST branch is unconditionally taken, right ?, not the typedef
branch. So its the typedef branch that's dead.

You're absolutely right, I was too eager to remove it :-)

Could we just have typedef List DdeServices;, move DECLARE_LIST
declaration in binfilter part (since there are still some places to be
converted) and remove completely DECLARE_LIST for core ?

Seeing as its the last DECLARE_LIST left in core it looks like a great
candidate to convert it to vector/list and allow removal of DECLARE_LIST
into binfilter. Watch out though, there's some windows only code in
ddesvr using the DdeServices thing.
Yes it seems that the only thing compiled in unix platforms is 
svl/unx/source/svdde/ddedummy.cxx
Since I can't compile on Windows and I'm really not sure to do it well, 
I prefer not removing this DECLARE_LIST myself.



C.

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


[Bug 37361] LibreOffice 3.5 most annoying bugs

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

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

   What|Removed |Added

 Depends on||49342

--- Comment #300 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-05-02 07:44:46 PDT ---
Add Bug 49342 - CRASH EDITING TABLE when merge cells in .sxw because of crash

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


[Libreoffice-commits] .: 3 commits - solenv/gbuild writerfilter/source

2012-05-02 Thread Lubos Lunak
 solenv/gbuild/gbuild.mk  |   40 ++-
 writerfilter/source/dmapper/NumberingManager.cxx |   27 ++-
 2 files changed, 50 insertions(+), 17 deletions(-)

New commits:
commit 9911ee515dd3d1e077dbf9c1fb4fd5c42a3c49b6
Author: Luboš Luňák l.lu...@suse.cz
Date:   Wed May 2 16:41:42 2012 +0200

make sure manual override on cmdline enables symbols

so that e.g. 'make dbglevel=2' works even if --enable-symbols disabled
it for the specific target

Change-Id: If2fff3ef8e42c3b35545b5d8101ef87380412cc7

diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
index 6b1d184..c7167a6 100644
--- a/solenv/gbuild/gbuild.mk
+++ b/solenv/gbuild/gbuild.mk
@@ -79,10 +79,19 @@ else
 gb_PRODUCT := $(false)
 endif
 
-ifneq ($(strip $(ENABLE_SYMBOLS)$(enable_symbols)),)
-gb_SYMBOL := $(true)
-else
 gb_SYMBOL := $(false)
+ifneq ($(strip $(ENABLE_SYMBOLS)),)
+gb_SYMBOL := $(true)
+# make sure symbols are enabled if overriden using the command line
+ifeq ($(origin ENABLE_SYMBOLS),command line)
+ENABLE_SYMBOLS_FOR = all
+endif
+endif
+ifneq ($(strip $(enable_symbols)),)
+gb_SYMBOL := $(true)
+ifeq ($(origin enable_symbols),command line)
+ENABLE_SYMBOLS_FOR = all
+endif
 endif
 
 gb_TIMELOG := 0
@@ -91,17 +100,32 @@ gb_TIMELOG := 1
 endif
 
 gb_DEBUGLEVEL := 0
-ifneq ($(strip $(DEBUG)$(debug)),)
+ifneq ($(strip $(DEBUG)),)
+gb_DEBUGLEVEL := 1
+ifeq ($(origin DEBUG),command line)
+ENABLE_SYMBOLS_FOR = all
+endif
+endif
+ifneq ($(strip $(debug)),)
 gb_DEBUGLEVEL := 1
-else ifeq ($(gb_PRODUCT),$(false))
+ifeq ($(origin debug),command line)
+ENABLE_SYMBOLS_FOR = all
+endif
+endif
+ifeq ($(gb_PRODUCT),$(false))
 gb_DEBUGLEVEL := 1
 endif
 
-ifneq ($(strip $(DBGLEVEL)$(dbglevel)),)
+ifneq ($(strip $(DBGLEVEL)),)
+gb_DEBUGLEVEL := $(strip $(DBGLEVEL))
+ifeq ($(origin DBGLEVEL),command line)
+ENABLE_SYMBOLS_FOR = all
+endif
+endif
 ifneq ($(strip $(dbglevel)),)
 gb_DEBUGLEVEL := $(strip $(dbglevel))
-else
-gb_DEBUGLEVEL := $(strip $(DBGLEVEL))
+ifeq ($(origin dbglevel),command line)
+ENABLE_SYMBOLS_FOR = all
 endif
 endif
 
commit d776f9433b6ca51472f4d6099526f71400b7bfda
Author: Luboš Luňák l.lu...@suse.cz
Date:   Mon Apr 30 18:38:17 2012 +0200

set as outline numbering only those ones that are for headings (bnc#751028)

w:pStyle in a numbering does not necessarily mean it is for outlines,
normal styles can specify numbering too

Change-Id: I0953d94833760ddf4edbe759a19192c477a57bf3

diff --git a/writerfilter/source/dmapper/NumberingManager.cxx 
b/writerfilter/source/dmapper/NumberingManager.cxx
index 45af950..2f0e784 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -596,15 +596,26 @@ void ListDef::CreateNumberingRules( DomainMapper 
rDMapper,
 StyleSheetEntryPtr pParaStyle = pAbsLevel-GetParaStyle( );
 if ( pParaStyle.get( ) )
 {
-uno::Reference text::XChapterNumberingSupplier  
xOutlines (
-xFactory, uno::UNO_QUERY_THROW );
-uno::Reference container::XIndexReplace  xOutlineRules =
-xOutlines-getChapterNumberingRules( );
+// AFAICT .docx spec does not identify which numberings or 
paragraph
+// styles are actually the ones to be used for outlines 
(chapter numbering),
+// it only kind of says somewhere that they should be 
named Heading1 to Heading9.
+const OUString styleId = pParaStyle-sStyleIdentifierD;
+if( styleId.getLength() == RTL_CONSTASCII_LENGTH( 
Heading1 )
+ styleId.match( Heading, 0 )
+ styleId[ RTL_CONSTASCII_LENGTH( Heading ) ] = '1'
+ styleId[ RTL_CONSTASCII_LENGTH( Heading ) ] = 
'9' )
+{
+uno::Reference text::XChapterNumberingSupplier  
xOutlines (
+xFactory, uno::UNO_QUERY_THROW );
+uno::Reference container::XIndexReplace  
xOutlineRules =
+xOutlines-getChapterNumberingRules( );
 
-aLvlProps.realloc( aLvlProps.getLength() + 1 );
-aLvlProps[aLvlProps.getLength( ) - 1] = MAKE_PROPVAL( 
PROP_HEADING_STYLE_NAME, pParaStyle-sConvertedStyleName );
+aLvlProps.realloc( aLvlProps.getLength() + 1 );
+aLvlProps[aLvlProps.getLength( ) - 1] = MAKE_PROPVAL( 
PROP_HEADING_STYLE_NAME,
+pParaStyle-sConvertedStyleName );
 
-xOutlineRules-replaceByIndex( nLevel, uno::makeAny( 
aLvlProps ) );
+xOutlineRules-replaceByIndex( nLevel, uno::makeAny( 
aLvlProps ) );
+}
 }
 
 nLevel++;
commit 7d327f66dbf7befa92e5f02c36748ed8b5ba0235

Re: [PUSHED][patch] [fdo#42986] Presentations in Wide-screen

2012-05-02 Thread Ivan Timofeev

On 02.05.2012 18:44, Andras Timar wrote:

Yes. When I extract en-US strings and run po migration scripts, po
files will be correct automatically.


oh, great! :) Thank you!

Ivan



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


[Libreoffice-commits] .: svl/source

2012-05-02 Thread Julien Nabet
 svl/source/svdde/ddesvr.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d9051c4ce5c8302f7739a171b80cd5c9e6bf74b8
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 2 17:09:10 2012 +0200

!= instead of  for comparison with end iterator

Change-Id: I16f3b768cdb3304d3f7a9b3a63a4262377c7c89b

diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index 0d887a3..35a0ba7 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -204,7 +204,7 @@ found:
 {
 pC-pTopic-_Disconnect( (long) hConv );
 for ( ConvList::iterator it = pService-pConv-begin();
-  it  pService-pConv-end();
+  it != pService-pConv-end();
   ++it
 ) {
 if ( *it == pC )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED 3-5] fdo#49208 ridiculous performance on certain .doc

2012-05-02 Thread Caolán McNamara
On Wed, 2012-05-02 at 12:23 +0100, Michael Meeks wrote:
   Can you give an idea of the performance win / speedup ?

On an i7, from about two or three 10 second periods of unresponsiveness
post-load of the document as idle-time word-count and spell-checking hit
the two or three ultra-long-paragraphs to maybe a half-second of lag or
so.

Extra pieces in master make this even faster to an unnoticeable degree,
but slightly more invasive.

C.

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


[Libreoffice-commits] Changes to 'feature/gsoc-calc-perf'

2012-05-02 Thread Kohei Yoshida
New branch 'feature/gsoc-calc-perf' available with the following commits:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Cell Value xlsx import test

2012-05-02 Thread Kohei Yoshida
Hi Daniel,

I just saw that Michael has created a new account for you.  Now on to
the next step...

On Tue, May 1, 2012 at 9:08 PM, Kohei Yoshida kohei.yosh...@gmail.com wrote:

 Once you have an account set up, we'll pick a reasonably buildable
 master snapshot to branch off of.  Then we'll use that branch for your
 project for the rest of your GSoC period.

I just created a new feature branch feature/gsoc-calc-perf.  Please
check out that branch and build it.  I finished building that branch
to make sure it's buildable, and hopefully it is for you as well.

For more infos on how to work with branches in our project, refer to

http://wiki.documentfoundation.org/Development#Switch_to_a_feature_branch

Best,

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


[Libreoffice-commits] .: 2 commits - desktop/Package_soffice_bin.mk solenv/gbuild

2012-05-02 Thread David Tardon
 desktop/Package_soffice_bin.mk  |2 ++
 solenv/gbuild/platform/WNT_INTEL_GCC.mk |1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b1419d37db297a4228bb0df463a1ab06c0c6183d
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 17:36:03 2012 +0200

do not announce exec build twice

Change-Id: If9c68f2bf423d23a53b2e0fa570c9ba55924b289

diff --git a/solenv/gbuild/platform/WNT_INTEL_GCC.mk 
b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
index 155d97b..b1b4fb6 100644
--- a/solenv/gbuild/platform/WNT_INTEL_GCC.mk
+++ b/solenv/gbuild/platform/WNT_INTEL_GCC.mk
@@ -127,7 +127,6 @@ gb_LinkTarget_INCLUDE +=\
$(foreach inc,$(subst ;, ,$(JDKINC)),-I$(inc)) \
 
 define gb_LinkTarget__command_dynamiclinkexecutable
-$(call gb_Output_announce,$(2),$(true),LNK,4)
 $(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(1))  \
$(gb_CXX) $(strip \
commit 86485d4c3785827fe2e3ceb4d3ac3eb82e3bd3b9
Author: David Tardon dtar...@redhat.com
Date:   Wed May 2 17:35:38 2012 +0200

add explicit ordering dependency

Change-Id: Idc7b869a0a3755df7fb10105ce07dca3d076dd43

diff --git a/desktop/Package_soffice_bin.mk b/desktop/Package_soffice_bin.mk
index ad8de3a..725902c 100644
--- a/desktop/Package_soffice_bin.mk
+++ b/desktop/Package_soffice_bin.mk
@@ -33,4 +33,6 @@ ifeq ($(COM),MSC)
 $(eval $(call 
gb_Package_add_file,desktop_soffice_bin,bin/soffice.bin.manifest,soffice_bin$(gb_Executable_EXT).manifest))
 endif
 
+$(call gb_Package_get_target,desktop_soffice_bin) :| $(call 
gb_Executable_get_target,soffice_bin)
+
 # vim: set shiftwidth=4 tabstop=4 noexpandtab:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com sw/inc sw/source writerfilter/source

2012-05-02 Thread Lubos Lunak
 offapi/com/sun/star/text/NumberingLevel.idl  |5 +
 sw/inc/unoprnms.hxx  |4 -
 sw/inc/unosett.hxx   |4 -
 sw/source/core/unocore/unocoll.cxx   |2 
 sw/source/core/unocore/unoprnms.cxx  |1 
 sw/source/core/unocore/unosett.cxx   |   81 ++-
 sw/source/core/unocore/unostyle.cxx  |2 
 writerfilter/source/dmapper/NumberingManager.cxx |   55 +--
 writerfilter/source/dmapper/NumberingManager.hxx |8 +-
 writerfilter/source/dmapper/PropertyIds.cxx  |1 
 writerfilter/source/dmapper/PropertyIds.hxx  |1 
 11 files changed, 103 insertions(+), 61 deletions(-)

New commits:
commit 042da092165eea856596db5ba5f18ea1273b88eb
Author: Luboš Luňák l.lu...@suse.cz
Date:   Wed May 2 17:40:10 2012 +0200

finish handling of w:pStyle in numbering (bnc#751028)

Now each such numbering should be properly assigned to the given paragraph
style.

Change-Id: I97a796dfb3f4a46f0fee0663852b3a40c3eaa922

diff --git a/offapi/com/sun/star/text/NumberingLevel.idl 
b/offapi/com/sun/star/text/NumberingLevel.idl
index 62de9f4..5360033 100644
--- a/offapi/com/sun/star/text/NumberingLevel.idl
+++ b/offapi/com/sun/star/text/NumberingLevel.idl
@@ -176,6 +176,11 @@ published service NumberingLevel
  */
 [property] string HeadingStyleName;
 
+/** contains the name of the paragraph style that should use this 
numbering.
+This is ignored for chapter numbering rules, use HeadingStyleName.
+ */
+[optional, property] string ParagraphStyleName;
+
 /** contains the color for the symbol. This is only valid if the
 numbering type is const 
scope=com::sun::star::styleNumberingType::CHAR_SPECIAL/const.
 */
diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx
index 38911cc..a27dc3a 100644
--- a/sw/inc/unoprnms.hxx
+++ b/sw/inc/unoprnms.hxx
@@ -814,7 +814,9 @@ enum SwPropNameIds
 
 /* 0749 */  UNO_NAME_PARA_CONTEXT_MARGIN,
 
-/* 0750 */  SW_PROPNAME_END
+/* 0750 */  UNO_NAME_PARAGRAPH_STYLE_NAME,
+
+/* 0751 */  SW_PROPNAME_END
 
 // new items in this array must match SwPropNameTab aPropNameTab
 };
diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx
index a3073f2..564ede4 100644
--- a/sw/inc/unosett.hxx
+++ b/sw/inc/unosett.hxx
@@ -154,7 +154,7 @@ class SwXNumberingRules : public cppu::WeakAggImplHelper5
 String  sNewCharStyleNames[MAXLEVEL];
 String  sNewBulletFontNames[MAXLEVEL];
 String  sCreatedNumRuleName; //connects to a numbering 
in SwDoc
-SwDoc*  pDoc; // Only needed for registration.
+SwDoc*  pDoc;
 SwDocShell* pDocShell; // Only if used as chapter 
numbering.
 SwNumRule*  pNumRule;
 const SfxItemPropertySet*   m_pPropertySet;
@@ -167,7 +167,7 @@ protected:
 
 public:
 SwXNumberingRules(SwDocShell rDocSh);  // chapter numbering
-SwXNumberingRules(const SwNumRule rRule); // NumRule for paragraphs, 
numbering styles
+SwXNumberingRules(const SwNumRule rRule, SwDoc* doc = NULL); // NumRule 
for paragraphs, numbering styles
 SwXNumberingRules(SwDoc rDoc); //create a new instance
 
 
diff --git a/sw/source/core/unocore/unocoll.cxx 
b/sw/source/core/unocore/unocoll.cxx
index 1aa58f0..cd341ae 100644
--- a/sw/source/core/unocore/unocoll.cxx
+++ b/sw/source/core/unocore/unocoll.cxx
@@ -1753,7 +1753,7 @@ uno::Any 
SwXNumberingRulesCollection::getByIndex(sal_Int32 nIndex)
 uno::Reference XIndexReplace   xRef;
 if ( nIndex  GetDoc()-GetNumRuleTbl().Count() )
 {
-xRef = new SwXNumberingRules( *GetDoc()-GetNumRuleTbl()[ 
static_cast sal_uInt16 (nIndex) ] );
+xRef = new SwXNumberingRules( *GetDoc()-GetNumRuleTbl()[ 
static_cast sal_uInt16 (nIndex) ], GetDoc());
 aRet.setValue(xRef, 
::getCppuType((uno::ReferenceXIndexReplace*)0));
 }
 
diff --git a/sw/source/core/unocore/unoprnms.cxx 
b/sw/source/core/unocore/unoprnms.cxx
index 9b0f64b..6cecce3 100644
--- a/sw/source/core/unocore/unoprnms.cxx
+++ b/sw/source/core/unocore/unoprnms.cxx
@@ -788,6 +788,7 @@ const SwPropNameTab aPropNameTab = {
 /* 0748 UNO_NAME_LINE_WIDTH */  {MAP_CHAR_LEN(LineWidth)},
 
 /* 0749 PARA_CONTEXT_MARGIN */   {MAP_CHAR_LEN(ParaContextMargin)},
+/* 0750 PARAGRAPH_STYLE_NAME */   {MAP_CHAR_LEN(ParagraphStyleName)},
 
 // new items in this array must match enum SwPropNameIds
 };
diff --git a/sw/source/core/unocore/unosett.cxx 
b/sw/source/core/unocore/unosett.cxx
index 9995cf8..eea9d77 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -74,6 +74,7 @@
 #include com/sun/star/text/LabelFollow.hpp
 #include numrule.hxx
 #include comphelper/servicehelper.hxx
+#include paratr.hxx
 
 using ::rtl::OUString;
 using namespace ::com::sun::star;
@@ 

[Libreoffice-commits] .: sw/qa writerfilter/source

2012-05-02 Thread Miklos Vajna
 sw/qa/extras/rtftok/data/fdo47764.rtf  |4 
 sw/qa/extras/rtftok/rtftok.cxx |   16 
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |1 +
 3 files changed, 21 insertions(+)

New commits:
commit e8706d7a110547c04e6db9ed75b2e7f74bd6d0bd
Author: Miklos Vajna vmik...@suse.cz
Date:   Wed May 2 17:50:55 2012 +0200

fdo#47764 fix RTF import of automatic paragraph background color

Change-Id: I4b3a4bd6ce45cffc5b2c23052c49ff98579c5564

diff --git a/sw/qa/extras/rtftok/data/fdo47764.rtf 
b/sw/qa/extras/rtftok/data/fdo47764.rtf
new file mode 100644
index 000..2a9d367
--- /dev/null
+++ b/sw/qa/extras/rtftok/data/fdo47764.rtf
@@ -0,0 +1,4 @@
+{\rtf1
+\cbpat0\cf0
+bug
+}
diff --git a/sw/qa/extras/rtftok/rtftok.cxx b/sw/qa/extras/rtftok/rtftok.cxx
index eba7bea..137062a 100644
--- a/sw/qa/extras/rtftok/rtftok.cxx
+++ b/sw/qa/extras/rtftok/rtftok.cxx
@@ -91,6 +91,7 @@ public:
 void testFdo48193();
 void testFdo44211();
 void testFdo48037();
+void testFdo47764();
 
 CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
@@ -120,6 +121,7 @@ public:
 CPPUNIT_TEST(testFdo48193);
 CPPUNIT_TEST(testFdo44211);
 CPPUNIT_TEST(testFdo48037);
+CPPUNIT_TEST(testFdo47764);
 #endif
 CPPUNIT_TEST_SUITE_END();
 
@@ -660,6 +662,20 @@ void Test::testFdo48037()
 CPPUNIT_ASSERT_EQUAL(nExpected, nActual);
 }
 
+void Test::testFdo47764()
+{
+load(fdo47764.rtf);
+
+uno::Referencetext::XTextDocument xTextDocument(mxComponent, 
uno::UNO_QUERY);
+uno::Referencecontainer::XEnumerationAccess 
xParaEnumAccess(xTextDocument-getText(), uno::UNO_QUERY);
+uno::Referencecontainer::XEnumeration xParaEnum = 
xParaEnumAccess-createEnumeration();
+uno::Referencebeans::XPropertySet xPropertySet(xParaEnum-nextElement(), 
uno::UNO_QUERY);
+sal_Int32 nValue = 0;
+// \cbpat with zero argument should mean the auto (-1) color, not a 
default color (black)
+xPropertySet-getPropertyValue(ParaBackColor) = nValue;
+CPPUNIT_ASSERT_EQUAL(sal_Int32(-1), nValue);
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 0e1a53f..9bbbcb0 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2331,6 +2331,7 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, 
int nParam)
 }
 break;
 case RTF_CBPAT:
+if (nParam)
 {
 RTFValue::Pointer_t pValue(new 
RTFValue(getColorTable(nParam)));
 lcl_putNestedAttribute(m_aStates.top().aParagraphSprms, 
NS_sprm::LN_PShd, NS_ooxml::LN_CT_Shd_fill, pValue);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2012-05-02 Thread Takeshi Abe
 svx/source/stbctrls/insctrl.cxx |2 
 svx/source/stbctrls/selctrl.cxx |2 
 svx/source/stbctrls/xmlsecctrl.cxx  |3 -
 svx/source/svdraw/svdograf.cxx  |1 
 svx/source/svdraw/svdotxfl.cxx  |6 +-
 svx/source/table/cell.cxx   |   20 
 svx/source/table/svdotable.cxx  |   77 
 svx/source/tbxctrls/fontworkgallery.cxx |   24 -
 svx/source/toolbars/extrusionbar.cxx|2 
 svx/source/toolbars/fontworkbar.cxx |8 ---
 svx/source/unodraw/unoctabl.cxx |   19 ---
 svx/source/unodraw/unoshap2.cxx |3 -
 svx/source/unodraw/unoshap4.cxx |   49 
 svx/source/unodraw/unoshape.cxx |3 -
 14 files changed, 6 insertions(+), 213 deletions(-)

New commits:
commit cbc99cf1de7bc99df41af166e241fdf47f702f5b
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Tue May 1 07:21:08 2012 +0900

include header for ConvertGDIMetaFileToWMF()

Change-Id: Ic80c12a3e9c4cb5e3ce01fa84384e1c7bdbe3057

diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index f3c5548..3c85086 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -70,6 +70,7 @@
 #include basegfx/tools/unotools.hxx
 
 #include comphelper/servicehelper.hxx
+#include svtools/wmf.hxx
 
 using ::rtl::OUString;
 using namespace ::osl;
@@ -85,8 +86,6 @@ using namespace ::com::sun::star::container;
 
 class GDIMetaFile;
 class SvStream;
-sal_Bool ConvertGDIMetaFileToWMF( const GDIMetaFile  rMTF, SvStream  
rTargetStream,
-  FilterConfigItem* pFilterConfigItem = NULL, 
sal_Bool bPlaceable = sal_True );
 
 /***
 * class SvxShapeGroup  *
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index ecd9579..03b723a 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -60,10 +60,7 @@
 #include svx/svdview.hxx
 #include svx/svdglob.hxx
 #include svx/svdstr.hrc
-
-///
-
-extern sal_Bool ConvertGDIMetaFileToWMF( const GDIMetaFile  rMTF, SvStream  
rTargetStream, FilterConfigItem* pFilterConfigItem = NULL, sal_Bool bPlaceable 
= sal_True );
+#include svtools/wmf.hxx
 
 ///
 
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 9db3fa3..16af6ec 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -102,6 +102,7 @@
 #include svx/extrud3d.hxx
 
 #include boost/bind.hpp
+#include svtools/wmf.hxx
 
 using ::rtl::OUString;
 using namespace ::osl;
@@ -115,8 +116,6 @@ using ::svx::IPropertyValueProvider;
 
 class GDIMetaFile;
 class SvStream;
-sal_Bool ConvertGDIMetaFileToWMF( const GDIMetaFile  rMTF, SvStream  
rTargetStream,
-  FilterConfigItem* pFilterConfigItem = NULL, 
sal_Bool bPlaceable = sal_True );
 
 uno::Reference uno::XInterface  SAL_CALL 
SvxUnoGluePointAccess_createInstance( SdrObject* pObject );
 
commit e8abc2e2467aa7da200b9ed02db74cb0651b9306
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Tue May 1 07:19:57 2012 +0900

nuke dead code

Change-Id: I1884cfcbe7276d902ba3f8525ffe39c7f33b729e

diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index d6cbac4..69085ec 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -1062,12 +1062,6 @@ Any SAL_CALL Cell::getPropertyValue( const OUString 
PropertyName ) throw(Unknow
 {
 switch( pMap-nWID )
 {
-/*
-case OWN_ATTR_HASLEVELS:
-{
-return Any( hasLevels() );
-}
-*/
 case OWN_ATTR_STYLE:
 {
 return Any( Reference XStyle ( dynamic_cast SfxUnoStyleSheet* 
( GetStyleSheet() ) ) );
@@ -1280,12 +1274,6 @@ PropertyState SAL_CALL Cell::getPropertyState( const 
OUString PropertyName ) th
 eState = PropertyState_DEFAULT_VALUE;
 }
 }
-/*
-case OWN_ATTR_HASLEVELS:
-{
-return PropertyState_DIRECT_VALUE;
-}
-*/
 case OWN_ATTR_STYLE:
 {
 return PropertyState_DIRECT_VALUE;
@@ -1311,9 +1299,6 @@ PropertyState SAL_CALL Cell::getPropertyState( const 
OUString PropertyName ) th
 case SFX_ITEM_DEFAULT:
 eState = PropertyState_DEFAULT_VALUE;
 break;
-//  case SFX_ITEM_UNKNOWN:
-//  case SFX_ITEM_DONTCARE:
-//  case SFX_ITEM_DISABLED:
 default:
 eState = PropertyState_AMBIGUOUS_VALUE;
 break;
@@ -1412,7 +1397,6 @@ void SAL_CALL Cell::setPropertyToDefault( const OUString 
PropertyName ) throw(U
 mpProperties-ClearObjectItem( XATTR_FILLBMP_TILE );
 

[Libreoffice-commits] .: desktop/source ucb/source

2012-05-02 Thread Stephan Bergmann
 desktop/source/deployment/misc/dp_descriptioninfoset.cxx |   10 ++
 ucb/source/ucp/file/filglob.cxx  |3 +++
 2 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit bd5da80befbd1f7f09aadf4b02122414c010d65b
Author: Stephan Bergmann sberg...@redhat.com
Date:   Wed May 2 18:25:28 2012 +0200

Handle cases where ExtensionDescription is called on nonexisting path

...which happens when installing non-bundle extensions (like a plain .xcu
file), where the path computed for the description.xml contains the path to
the non-bundle extension file itself as a prefix, so access results in
E_NOTDIR.

Change-Id: Ic0f4a34b46d99d1817ceea599bb8b53dbd65bc49

diff --git a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx 
b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
index 14cf7b1..1a5a43a 100644
--- a/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
+++ b/desktop/source/deployment/misc/dp_descriptioninfoset.cxx
@@ -49,7 +49,7 @@
 #include com/sun/star/xml/dom/XNodeList.hpp
 #include com/sun/star/xml/dom/XDocumentBuilder.hpp
 #include com/sun/star/xml/xpath/XXPathAPI.hpp
-#include com/sun/star/ucb/InteractiveAugmentedIOException.hpp
+#include com/sun/star/ucb/InteractiveIOException.hpp
 #include cppuhelper/implbase1.hxx
 #include cppuhelper/implbase2.hxx
 #include cppuhelper/weak.hxx
@@ -206,7 +206,7 @@ ExtensionDescription::ExtensionDescription(
 //throws an com::sun::star::uno::Exception if the file is not available
 Referencecss::io::XInputStream xIn;
 try
-{   //throws com.sun.star.ucb.InteractiveAugmentedIOException
+{   //throws com.sun.star.ucb.InteractiveIOException
 xIn = descContent.openStream();
 }
 catch ( const css::uno::Exception )
@@ -318,8 +318,10 @@ void  FileDoesNotExistFilter::handle(
 {
 css::uno::Any request( xRequest-getRequest() );
 
-css::ucb::InteractiveAugmentedIOException ioexc;
-if ((request= ioexc)  ioexc.Code == css::ucb::IOErrorCode_NOT_EXISTING 
)
+css::ucb::InteractiveIOException ioexc;
+if ((request= ioexc)
+ (ioexc.Code == css::ucb::IOErrorCode_NOT_EXISTING
+|| ioexc.Code == css::ucb::IOErrorCode_NOT_EXISTING_PATH))
 {
 m_bExist = false;
 return;
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index a6176cc..bab84d6 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -323,6 +323,9 @@ namespace fileaccess {
 // No such device
 ioErrorCode = IOErrorCode_INVALID_DEVICE;
 break;
+case FileBase::E_NOTDIR:
+ioErrorCode = IOErrorCode_NOT_EXISTING_PATH;
+break;
 case FileBase::E_NOENT:
 // No such file or directory
 ioErrorCode = IOErrorCode_NOT_EXISTING;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: offapi/com

2012-05-02 Thread Miklos Vajna
 offapi/com/sun/star/text/NumberingLevel.idl |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0ae9489290a6696765634be073a4b88f4c47940a
Author: Miklos Vajna vmik...@suse.cz
Date:   Wed May 2 20:08:45 2012 +0200

offapi: missing @since

diff --git a/offapi/com/sun/star/text/NumberingLevel.idl 
b/offapi/com/sun/star/text/NumberingLevel.idl
index 5360033..d334e54 100644
--- a/offapi/com/sun/star/text/NumberingLevel.idl
+++ b/offapi/com/sun/star/text/NumberingLevel.idl
@@ -178,6 +178,8 @@ published service NumberingLevel
 
 /** contains the name of the paragraph style that should use this 
numbering.
 This is ignored for chapter numbering rules, use HeadingStyleName.
+
+@since LibreOffice 3.6
  */
 [optional, property] string ParagraphStyleName;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: editeng/source filter/source sfx2/source svtools/inc svtools/source svx/source toolkit/source tools/source unotools/source vcl/source

2012-05-02 Thread Julien Nabet
 editeng/source/outliner/outliner.cxx  |2 +-
 filter/source/graphicfilter/icgm/chart.cxx|2 +-
 filter/source/graphicfilter/icgm/elements.cxx |2 +-
 filter/source/msfilter/svdfppt.cxx|4 ++--
 sfx2/source/view/viewsh.cxx   |2 +-
 svtools/inc/svtools/treelist.hxx  |2 +-
 svtools/source/contnr/imivctl1.cxx|2 +-
 svtools/source/contnr/treelist.cxx|2 +-
 svtools/source/filter/filter.cxx  |2 +-
 svtools/source/graphic/grfmgr2.cxx|2 +-
 svx/source/form/fmexpl.cxx|2 +-
 svx/source/gallery2/gallery1.cxx  |4 ++--
 toolkit/source/awt/vclxgraphics.cxx   |2 +-
 tools/source/stream/strmunx.cxx   |2 +-
 unotools/source/config/options.cxx|2 +-
 vcl/source/app/idlemgr.cxx|2 +-
 vcl/source/window/accmgr.cxx  |2 +-
 vcl/source/window/toolbox.cxx |2 +-
 18 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 46c01657d505a021673449ff0f874bc080d23ba6
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 2 21:57:04 2012 +0200

!= instead of  for comparison with end iterator

Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8

diff --git a/editeng/source/outliner/outliner.cxx 
b/editeng/source/outliner/outliner.cxx
index b1690e9..ffefcfb 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -1352,7 +1352,7 @@ OutlinerView* Outliner::RemoveView( OutlinerView* pView )
 {
 DBG_CHKTHIS(Outliner,0);
 
-for ( ViewList::iterator it = aViewList.begin(); it  aViewList.end(); 
++it )
+for ( ViewList::iterator it = aViewList.begin(); it != aViewList.end(); 
++it )
 {
 if ( *it == pView )
 {
diff --git a/filter/source/graphicfilter/icgm/chart.cxx 
b/filter/source/graphicfilter/icgm/chart.cxx
index 7e34fdf..4651a04 100644
--- a/filter/source/graphicfilter/icgm/chart.cxx
+++ b/filter/source/graphicfilter/icgm/chart.cxx
@@ -71,7 +71,7 @@ void CGMChart::DeleteTextEntry( TextEntry* pTextEntry )
 }
 delete pTextEntry;
 ::std::vector TextEntry* ::iterator it;
-for ( it = maTextEntryList.begin(); it  maTextEntryList.end(); ++it )
+for ( it = maTextEntryList.begin(); it != maTextEntryList.end(); ++it )
 {
 if ( *it == pTextEntry )
 {
diff --git a/filter/source/graphicfilter/icgm/elements.cxx 
b/filter/source/graphicfilter/icgm/elements.cxx
index a3f5892..07fef99 100644
--- a/filter/source/graphicfilter/icgm/elements.cxx
+++ b/filter/source/graphicfilter/icgm/elements.cxx
@@ -357,7 +357,7 @@ Bundle* CGMElements::InsertBundle( BundleList rList, 
Bundle rBundle )
 Bundle* pBundle = GetBundle( rList, rBundle.GetIndex() );
 if ( pBundle )
 {
-for ( BundleList::iterator it = rList.begin(); it  rList.end(); ++it 
) {
+for ( BundleList::iterator it = rList.begin(); it != rList.end(); ++it 
) {
 if ( *it == pBundle ) {
 rList.erase( it );
 delete pBundle;
diff --git a/filter/source/msfilter/svdfppt.cxx 
b/filter/source/msfilter/svdfppt.cxx
index 7f36b99..d61ab39 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -6721,12 +6721,12 @@ PPTTextObj::PPTTextObj( SvStream rIn, 
SdrPowerPointImport rSdrPowerPointImport
 {
 // sorting fields ( hi  lo )
 ::std::vector PPTFieldEntry* ::iterator 
it = FieldList.begin();
-for( ; it  FieldList.end(); ++it ) {
+for( ; it != FieldList.end(); ++it ) {
 if ( (*it)-nPos  pEntry-nPos ) {
 break;
 }
 }
-if ( it  FieldList.end() ) {
+if ( it != FieldList.end() ) {
 FieldList.insert( it, pEntry );
 } else {
 FieldList.push_back( pEntry );
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index b961592..d4cb20b 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -433,7 +433,7 @@ SAL_DLLPRIVATE void SfxViewShell::IPClientGone_Impl( 
SfxInPlaceClient *pIPClient
 {
 SfxInPlaceClientList* pClientList = GetIPClientList_Impl(sal_True);
 
-for( SfxInPlaceClientList::iterator it = pClientList-begin(); it  
pClientList-end(); ++it )
+for( SfxInPlaceClientList::iterator it = pClientList-begin(); it != 
pClientList-end(); ++it )
 {
 if ( *it == pIPClient )
 {
diff --git 

[Libreoffice-commits] .: 3 commits - sot/inc sot/source sw/source tools/inc tools/source uui/source

2012-05-02 Thread Caolán McNamara
 sot/inc/sot/stg.hxx|3 +++
 sot/inc/sot/storage.hxx|1 +
 sot/source/sdstor/stg.cxx  |7 +++
 sot/source/sdstor/storage.cxx  |7 +++
 sot/source/sdstor/ucbstorage.cxx   |5 +
 sw/source/core/inc/scriptinfo.hxx  |8 
 sw/source/core/text/porlay.cxx |   22 +++---
 tools/inc/tools/stream.hxx |3 ++-
 tools/source/stream/stream.cxx |6 +++---
 uui/source/iahndl-errorhandler.cxx |2 +-
 uui/source/iahndl-ssl.cxx  |6 +++---
 uui/source/iahndl.cxx  |7 +++
 uui/source/iahndl.hxx  |   20 +---
 13 files changed, 51 insertions(+), 46 deletions(-)

New commits:
commit d726281e9020ebaddfdf6659ecfe7a0454014dff
Author: Caolán McNamara caol...@redhat.com
Date:   Thu May 3 00:05:37 2012 +0100

Related: fdo#47644 compound storage backend is poor at knowing stream size

Change-Id: Ie4aa6939f9f37e04fda5425a6e28c5d846a9cb62

diff --git a/sot/inc/sot/stg.hxx b/sot/inc/sot/stg.hxx
index 225c89e..ab567f3 100644
--- a/sot/inc/sot/stg.hxx
+++ b/sot/inc/sot/stg.hxx
@@ -94,6 +94,7 @@ public:
 virtual sal_BoolCommit() = 0;
 virtual sal_BoolRevert() = 0;
 virtual sal_BoolEquals( const BaseStorageStream rStream ) const = 0;
+virtual sal_SizeremainingSize() = 0;
 };
 
 class BaseStorage : public StorageBase
@@ -178,6 +179,7 @@ public:
 virtual sal_BoolValidateMode( StreamMode ) const;
 const SvStream* GetSvStream() const;
 virtual sal_BoolEquals( const BaseStorageStream rStream ) const;
+virtual sal_SizeremainingSize();
 };
 
 class UCBStorageStream;
@@ -270,6 +272,7 @@ public:
 virtual sal_BoolRevert();
 virtual sal_BoolValidate( sal_Bool=sal_False ) const;
 virtual sal_BoolValidateMode( StreamMode ) const;
+virtual sal_SizeremainingSize();
 const SvStream* GetSvStream() const;
 virtual sal_BoolEquals( const BaseStorageStream rStream ) 
const;
 sal_BoolSetProperty( const String rName, const 
::com::sun::star::uno::Any rValue );
diff --git a/sot/inc/sot/storage.hxx b/sot/inc/sot/storage.hxx
index b77d6dd..925ae42 100644
--- a/sot/inc/sot/storage.hxx
+++ b/sot/inc/sot/storage.hxx
@@ -95,6 +95,7 @@ public:
 sal_BoolGetProperty( const String rName, 
::com::sun::star::uno::Any rValue );
 ::com::sun::star::uno::Reference ::com::sun::star::io::XInputStream 
 GetXInputStream() const;
+virtual sal_Size remainingSize();
 };
 
 #ifndef SOT_DECL_SOTSTORAGESTREAM_DEFINED
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 27c95c8..4f4e991 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -234,6 +234,13 @@ sal_uLong StorageStream::Seek( sal_uLong n )
 return n;
 }
 
+sal_Size StorageStream::remainingSize()
+{
+if( Validate() )
+return pEntry-GetSize() - Tell();
+return 0;
+}
+
 void StorageStream::Flush()
 {
 // Flushing means committing, since streams are never transacted
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 1006b7c..67b270f 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -286,6 +286,13 @@ sal_uInt32 SotStorageStream::GetSize() const
 return nSize;
 }
 
+sal_Size SotStorageStream::remainingSize()
+{
+if (pOwnStm)
+return pOwnStm-remainingSize();
+return SvStream::remainingSize();
+}
+
 /*
 |*SotStorageStream::CopyTo()
 |*
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 0254ef2..2a1a000 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -1554,6 +1554,11 @@ sal_Bool UCBStorageStream::GetProperty( const String 
rName, ::com::sun::star::u
 return sal_False;
 }
 
+sal_Size UCBStorageStream::remainingSize()
+{
+return pImp-GetSize() - Tell();
+}
+
 UCBStorage::UCBStorage( SvStream rStrm, sal_Bool bDirect )
 {
 String aURL = GetLinkedFile( rStrm );
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index dc4505a..d60f9e6 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -374,7 +374,7 @@ public:
 sal_SizeSeekRel( sal_sSize nPos );
 sal_SizeTell() const { return nBufFilePos+nBufActualPos;  }
 //length between current (Tell()) pos and end of stream
-sal_SizeremainingSize();
+virtual sal_Size remainingSize();
 voidFlush();
 sal_BoolIsEof() const { return bIsEof; }
 // next Tell() = nSize
@@ -789,6 +789,7 @@ public:
 sal_BoolIsObjectMemoryOwner() { return bOwnsData; }
 voidSetResizeOffset( sal_Size nNewResize ) { nResize = 
nNewResize; }
 

[GSOC] Template UI Dialog

2012-05-02 Thread Rafael Dominguez
Hello, im Rafael Dominguez, im from venezuela, first i would like to thank
all the gsoc mentors for selecting me!!! Im really looking foward to work
on the selected project.

My proposal is refactor and design a new dialog to manage libreoffice
templates (New templates picking UI). This templates could be fetched from
local repositories or remote ones using the CMIS protocol.


In a general sense, the schedule will be something like this:


1. - Evaluate the current design proposal in
https://wiki.documentfoundation.org/Design/Templates_and_documents_rework,
discuss missing ideas or known issues with UX team and finish working on
the spec draft.

- Specially these types of questions


   - Can we retrieve ratings??


   - Is it possible to import styles/color schemes or something similar?

 2. - Draft required elements needed in the template dialog and repository,
like information to be stored on the repos, how to access, information
required to store locally (where and how).

   -  A good idea would just be to save the template locally and only
   keep like a sort of link to the user folders created by the user to save
   space and memory.


   -  In the preview option we could save an example picture of how the
   template looks like since that will always keep constant.


   - What type of metadata we gonna use?

3. - Study how current template system works and which functionality could
be reused or not.

4. - Implement template dialog with the final spec and use cases.

5. - Implement repository management functionality.


   - Add, remove, change, list, set active repositories.

 6. - Integrate libreoffice template webpage with template manager thought
CMIS.


   - Setup infrastucture locally to work and test and then go remote for
   final testings.

 7. - Optional (enable template libreoffice page to work with CMIS)

8. - Optimize if needed.

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


[Libreoffice-commits] .: 2 commits - desktop/Package_soffice_bin.mk sw/source

2012-05-02 Thread David Tardon
 desktop/Package_soffice_bin.mk |2 +-
 sw/source/core/tox/tox.cxx |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c92c5c6beed1c1c1004ced1e90b57393f62a0a31
Author: David Tardon dtar...@redhat.com
Date:   Thu May 3 07:21:47 2012 +0200

use right target to force ordering

Change-Id: I57ed1971414789e6efbe76e69bb3fabb8b51e22d

diff --git a/desktop/Package_soffice_bin.mk b/desktop/Package_soffice_bin.mk
index 725902c..04378d7 100644
--- a/desktop/Package_soffice_bin.mk
+++ b/desktop/Package_soffice_bin.mk
@@ -33,6 +33,6 @@ ifeq ($(COM),MSC)
 $(eval $(call 
gb_Package_add_file,desktop_soffice_bin,bin/soffice.bin.manifest,soffice_bin$(gb_Executable_EXT).manifest))
 endif
 
-$(call gb_Package_get_target,desktop_soffice_bin) :| $(call 
gb_Executable_get_target,soffice_bin)
+$(call gb_Package_get_preparation_target,desktop_soffice_bin) :| $(call 
gb_Executable_get_target,soffice_bin)
 
 # vim: set shiftwidth=4 tabstop=4 noexpandtab:
commit e59347cf60825e49f1b6d834a1cfd4f7524d0bae
Author: David Tardon dtar...@redhat.com
Date:   Thu May 3 06:51:15 2012 +0200

valgrind: cond. jump or move depends on uninit. value

Change-Id: I721228fee5349a6b2aa0a652da65d8da67b40144

diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index cc949ed..fb47416 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -580,6 +580,7 @@ SwTOXBase SwTOXBase::CopyTOXBase( SwDoc* pDoc, const 
SwTOXBase rSource )
 nOLEOptions = rSource.nOLEOptions;
 eLanguage = rSource.eLanguage;
 sSortAlgorithm = rSource.sSortAlgorithm;
+bLevelFromChapter = rSource.bLevelFromChapter;
 
 for( sal_uInt16 i = 0; i  MAXLEVEL; ++i )
 aStyleNames[i] = rSource.aStyleNames[i];
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 49362] New: freedesktop.org account request

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

 Bug #: 49362
   Summary: freedesktop.org account request
Classification: Unclassified
   Product: LibreOffice
   Version: LibO Master
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: daniel.dev.libreoff...@gmail.com


Created attachment 60878
  -- https://bugs.freedesktop.org/attachment.cgi?id=60878
ssh pub key

Real Name: Daniel Bankston
Email: daniel.e.banks...@gmail.com
Preferred Account Name: dbank

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49362] freedesktop.org account request

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

--- Comment #1 from Daniel B. daniel.dev.libreoff...@gmail.com 2012-05-01 
23:11:54 PDT ---
Created attachment 60879
  -- https://bugs.freedesktop.org/attachment.cgi?id=60879
gpg pub key

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49362] freedesktop.org account request

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

Daniel B. daniel.dev.libreoff...@gmail.com changed:

   What|Removed |Added

  Attachment #60879|gpg pub key |pgp pub key
description||
  Attachment #60879|gpg_key.pub |pgp_key.pub
   filename||

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 35900] Last page loses headers footers

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

Elmar rob...@iafrica.com changed:

   What|Removed |Added

Version|LibO 3.3.1 release  |LibO 3.5.2 Release

--- Comment #6 from Elmar rob...@iafrica.com 2012-05-01 23:44:29 PDT ---
(In reply to comment #5)
 Created attachment 60859 [details]
 Reconstructed sample document for bug 35900

Yes, Roman is right. 

I come from 20+ years of using MS office tools. Where, as many will know, page
styles are not well implemented.

It would be a time saver if page styles could also inherit from Default (like
paragraph styles can).

Ditto list styles.

But I accept that this would be for a future release.

What would also be helpful (does this exist already?) is if it was possible to
restore a child style to the parent it is linked to through the click of a
button. Sometimes anomalies arise because one modifies a style and then
modifies it back to the attributes that could be inherited from the parent.
Makes for a messy document (esp if this is then turned into a template.)

I am still new to Open Source (having come all the way from MS DOS 1.0), but I
cut my teeth on CP/M and liked the control that Wordstar and WordPerfect gave
one over the format of documents.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49318] FILEOPEN 3.4.4 created spreadsheet stops with error message

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

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||serval2...@yahoo.fr
 Ever Confirmed|0   |1

--- Comment #2 from Julien Nabet serval2...@yahoo.fr 2012-05-02 00:33:41 PDT 
---
I don't reproduce the problem with pc Debian x86-64, master branch (future
3.6).

Did you try by removing/backup your LO profile ? (see
http://wiki.documentfoundation.org/UserProfile)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 48333] Path changed to home (as defined in the users options) with File Save As, FileTemplateEdit, ...

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

--- Comment #16 from Stephan Bergmann sberg...@redhat.com 2012-05-02 00:50:21 
PDT ---
(In reply to comment #14)
 see this commit 
   https://bugs.freedesktop.org/show_bug.cgi?id=43895#c12

Looks more like what fixed it is
http://cgit.freedesktop.org/libreoffice/core/commit/?id=449440706c6db8f10d37321ed1280d986d07b9f3
NOINITIALSELECTION important for Save As rather than
http://cgit.freedesktop.org/libreoffice/core/commit/?id=2d0ff6aa5d6951aaa00e2d6cf3878788b025983e
Related fdo#43895: Fixed shortcommings of FileDialogHelper_Impl::verifyPath
(i.e., not relevant for the 3.5 branch).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 48333] Path changed to home (as defined in the users options) with File Save As, FileTemplateEdit, ...

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

--- Comment #17 from Cor Nouws c...@nouenoff.nl 2012-05-02 00:59:11 PDT ---
(In reply to comment #16)
 Looks more like what fixed it is

Ah well, if you say so :-)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49363] New: I can't acess to file - new document

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

 Bug #: 49363
   Summary: I can't acess to file - new document
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: UI
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: alexandre.lenger...@biblibre.com


Created attachment 60881
  -- https://bugs.freedesktop.org/attachment.cgi?id=60881
Bug libreoffice can't see the menu new file on Ubuntu 12.04 LTS with gnome
shell

I can't access to the new document menue since i made an upgrade of Ubuntu
12.04 LTS i use gnome shell as interface.
In attachement you can see that i can't see the menu.


But if i move the libreoffice window down i can see the menu again.

I think it's a critical bug for UI.

Best regard alexander

In attachement 

1st attachement : The bug i can see the menu


2nd attachement : If i put down the window i can see again the menu.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49363] I can't acess to file - new document

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

--- Comment #1 from Alexandre Lengereau alexandre.lenger...@biblibre.com 
2012-05-02 01:06:52 PDT ---
Created attachment 60882
  -- https://bugs.freedesktop.org/attachment.cgi?id=60882
If i put down the window i can see the menu again

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 47511] PDF: Writer: exporting a document as pdf file will crash Writer.

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

--- Comment #11 from bfoman b...@mailinator.com 2012-05-02 01:08:58 PDT ---
Checked with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 64 bit

Could not reproduce with attached file.

(In reply to comment #10)
 Hi,
 it's not hard to track it down from my opinion, it needs a little 
 organization only.
 As I said some days ago I can help.
 Is there any developer out there available to take this issue?
 If so, please contact me.

Debug screencast: 
http://lists.freedesktop.org/archives/libreoffice/2012-March/027979.html

Debug builds: 
http://dev-builds.libreoffice.org/win32-debug/libreoffice-3-5/

Hope the author of these will make full step by step debug wiki article some
day...
Unfortunately seems he is not available at the moment - not answered yet to
this posting:
http://nabble.documentfoundation.org/Libreoffice-qa-How-to-get-backtrace-on-Windows-tp3922989.html

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49364] New: CRASH when closing window Autocorrect Options, tab Options with keyboard

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

 Bug #: 49364
   Summary: CRASH when closing window Autocorrect Options, tab
Options with keyboard
Classification: Unclassified
   Product: LibreOffice
   Version: LibO Master
  Platform: Other
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Libreoffice
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: c...@nouenoff.nl


Tools  Autocorrect Options, tab Options
Close with mouse 
   Fine
Close with ALt-Enter or Esc
   Crash

found in version 3.6.0alpha0+ Build ID: 87897ea

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49364] CRASH when closing window Autocorrect Options, tab Options with keyboard

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||caol...@redhat.com,
   ||c...@nouenoff.nl
 Ever Confirmed|0   |1

--- Comment #1 from Cor Nouws c...@nouenoff.nl 2012-05-02 01:21:33 PDT ---
Note, this is specific on the tab Options !
Could well be follow up of Bug 47733 ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49365] New: Libreoffice fails to start on second screen with gtk vcl plugin

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

 Bug #: 49365
   Summary: Libreoffice fails to start on second screen with gtk
vcl plugin
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.2 Release
  Platform: Other
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Libreoffice
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: bjoern.michael...@canonical.com
CC: caol...@redhat.com, michael.me...@novell.com


I have dual X screen configuration on Ubuntu 12.04 with NVidia 6600
nvidia-current-updates 295.40-0ubuntu1 and XFCE+Metacity. With libreoffice-gtk
installed libreoffice fails to start on second X screen :0.1. On first X screen
:0.0 it loads successfully. On Ubuntu 11.10 it also worked well on both
screens.

This is the error produced:

#$ libreoffice

(soffice:5545): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion
`monitor_num  screen_x11-n_monitors' failed

(soffice:5545): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion
`monitor_num  screen_x11-n_monitors' failed
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-XTNyXK/pkcs11: Нет
такого файла или каталога
The program 'soffice' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 1595 error_code 8 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libreoffice-gtk 1:3.5.2-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic-pae 3.2.14
Uname: Linux 3.2.0-24-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Sat Apr 28 08:49:11 2012
InstallationMedia: Xubuntu 11.10 Oneiric Ocelot - Release i386 (20111012)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: Upgraded to precise on 2012-04-27 (0 days ago)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49365] Libreoffice fails to start on second screen with gtk vcl plugin

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

Björn Michaelsen bjoern.michael...@canonical.com changed:

   What|Removed |Added

   See Also||https://launchpad.net/bugs/
   ||990294

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49365] Libreoffice fails to start on second screen with gtk vcl plugin

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

Björn Michaelsen bjoern.michael...@canonical.com changed:

   What|Removed |Added

   Keywords||regression

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49298] : LibreOffice-minimal-version dependencies does not work, no error text

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

Stephan Bergmann sberg...@redhat.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||NOTABUG
 CC||sberg...@redhat.com

--- Comment #1 from Stephan Bergmann sberg...@redhat.com 2012-05-02 01:26:33 
UTC ---
The namespace of the LibreOffice-minimal-version element must be
http://libreoffice.org/extensions/description/2011, while the namespace of the
name attribute must be http://openoffice.org/extensions/description/2006.  See
http://cgit.freedesktop.org/libreoffice/core/tree/desktop/test/deployment/dependencies/loversion35.oxt?id=8a993919377f0b602b7db88d1de6696b21a11cbf
desktop/test/deployment/dependencies/loversion35.oxt for a working example.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 35900] Last page loses headers footers

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

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

   What|Removed |Added

 OS/Version|Linux (All) |All
Version|LibO 3.5.2 Release  |LibO 3.3.1 release

--- Comment #7 from Roman Eisele b...@eikota.de 2012-05-02 01:53:49 PDT ---
Reset 'Version' to LibO 3.3.1 release: 'Version' should show the FIRST version
of LibreOffice which shows the problem, not the last one.

Changed 'Platform' to 'All': according to comment #4, not a Linux-specific
issue, but a general issue.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43758] Printing Envelopes

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

--- Comment #5 from sasha.libreoff...@gmail.com 2012-05-02 01:58:49 PDT ---
Thanks for additional testing

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42327] Envelope center position landscape prints portrait

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

--- Comment #12 from sasha.libreoff...@gmail.com 2012-05-02 02:10:05 PDT ---
Thanks for additional testing
 How do you want to handle this bug?
Meanwhile, use workaround from that bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49149] [PRINTING]: LibreOffice always uses CUPS default settings instead of what I choose for printing

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

--- Comment #3 from le viavant yann.le-viav...@wanadoo.fr 2012-05-02 02:23:45 
PDT ---
I have so the same problem with libreoffice 3.4 : it's impossible to choose the
correct tray with printers which have multiple source trays. The problem don't
exist with libreoffice version 3.3.4 that I used on another pc with the same
network printer.
I used gentoo on a pc with libreoffice 3.3.4 without problem.
I used openSuse on another pc with libreoffice 3.4.5 with the problem. 
My network printer, for the 2 pc, is a lexmark optra t610 with 3 trays.
Others softwares, like xournal, okular, evince, etc., can print with the
correct tray.
Cordialement,
Yann

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 48851] VIEWING, UI: Random display corruption of headers in document

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

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

   What|Removed |Added

 CC||b...@eikota.de

--- Comment #8 from Roman Eisele b...@eikota.de 2012-05-02 02:57:17 PDT ---
@Jon Grossart:
A simple question, just in order to prevent misunderstandings: When I look at
the screenshots, I get the impression that the *headline* display is corrupted,
not the (page) header/footer display. Is this correct, i.e., by headers in
document you mean the headlines and subheads, not the page header? Thank you!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46518] UI: Header, footer and page break indicators in multipage view

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

--- Comment #4 from Roman Eisele b...@eikota.de 2012-05-02 03:00:24 PDT ---
Seems related to bug 44725 - VIEWING: Heading - Footer - Pagebreak lines
appear somewhere in the page.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44725] VIEWING: Heading - Footer - Pagebreak lines appear somewhere in the page

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

--- Comment #5 from Roman Eisele b...@eikota.de 2012-05-02 03:01:41 PDT ---
Seems related to bug 46518 - UI: Header, footer  and page break indicators in
multipage view.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 43539] EDITING: Chrash if first header / footer get inserted in certain order

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

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

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||WORKSFORME
 CC||b...@eikota.de

--- Comment #2 from Roman Eisele b...@eikota.de 2012-05-02 03:20:12 PDT ---
Not reproducible with LibreOffice 3.5.3.2 (Build-ID:
235ab8a-3802056-4a8fed3-2d66ea8-e241b80), German UI, on MacOS 10.6.8.

It is even impossible to follow the steps to reproduce exactly, because if
the curser stays in the header (as step 2 requires) while you scroll down (step
3), the Footer (default) + tab does NOT pop up, as required by step 4;
instead, you have to close the header (by clicking in the main text area, etc.)
before the Footer (default) + tab can appear.

Therefore, I think this bug has been fixed in between -- there have been quite
some fixes to the new header/footer indicators and handling since 2011-12-05
when Christoph noticed the problem (cf. comment #1).

I close this bug as RESOLVED/WORSKFORME. Feel free to re-open it if the problem
is still/again reproducible for you.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 41311] UI: Crash when opening Format-Page dialog

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

--- Comment #5 from sasha.libreoff...@gmail.com 2012-05-02 03:23:58 PDT ---
Thanks for additional testing.
Please, verify if on another computer problem persist, if available

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 37361] LibreOffice 3.5 most annoying bugs

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

Bug 37361 depends on bug 47406, which changed state.

Bug 47406 Summary: Almost all graphics that have internal circuits are not 
rending correctly.
https://bugs.freedesktop.org/show_bug.cgi?id=47406

   What|Old Value   |New Value

 Resolution||WONTFIX
 Status|REOPENED|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.
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 46223] Layout problem of localized help of Presenters Screen

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

--- Comment #9 from Gábor Stefanik netrolller...@gmail.com 2012-05-02 
03:29:52 UTC ---
Still unable to reproduce using the latest trunk; Presenter Console help screen
is English no matter what UI language I set.

I can, however, reproduce this on my distro-shipped 3.4.5 build.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 41311] UI: Crash when opening Format-Page dialog

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

--- Comment #6 from Petr Motejlek petr.motej...@inventix.cz 2012-05-02 
03:32:02 PDT ---
(In reply to comment #5)
 Thanks for additional testing.
 Please, verify if on another computer problem persist, if available

Hi ;).

It is not a problem on any other computer in our network. It is local to only
this particular one :(. We had also some trouble with firefox dying whenever it
had to display something transparent in its GUI, but that has been resolved
already - https://bugzilla.mozilla.org/show_bug.cgi?id=690058

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 49298] : LibreOffice-minimal-version dependencies does not work, no error text

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

--- Comment #2 from Laurent BP jumbo4...@yahoo.fr 2012-05-02 03:35:25 PDT ---
@Stephan: many thanks for your help. Everything works well with namespace at
the right place ;)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


  1   2   3   >