[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - extras/Package_extensions.mk

2013-05-05 Thread Kalman Szalai - KAMI
 extras/Package_extensions.mk |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit bb925573298d8be9c63f348cb4c13ff689634224
Author: Kalman Szalai - KAMI kami...@gmail.com
Date:   Sun May 5 08:00:04 2013 +0200

Copy extensions as extensions to the solver

Change-Id: I7eb75450f42c895e58920b5b8c58d7a9eb4cb580

diff --git a/extras/Package_extensions.mk b/extras/Package_extensions.mk
index 37205a5..39f0c8d 100644
--- a/extras/Package_extensions.mk
+++ b/extras/Package_extensions.mk
@@ -27,22 +27,22 @@ ifneq ($(NUMBERTEXT_EXTENSION_PACK),)
 $(eval $(call 
gb_Package_add_file,extras_extensions,bin/numbertext.oxt,$(NUMBERTEXT_EXTENSION_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_DE_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-de,$(SUNTEMPLATES_DE_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-de.oxt,$(SUNTEMPLATES_DE_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_EN_US_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-en-US,$(SUNTEMPLATES_EN_US_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-en-US.oxt,$(SUNTEMPLATES_EN_US_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_ES_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-es,$(SUNTEMPLATES_ES_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-es.oxt,$(SUNTEMPLATES_ES_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_FR_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-fr,$(SUNTEMPLATES_FR_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-fr.oxt,$(SUNTEMPLATES_FR_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_HU_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-hu,$(SUNTEMPLATES_HU_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-hu.oxt,$(SUNTEMPLATES_HU_PACK)))
 endif
 ifneq ($(SUNTEMPLATES_IT_PACK),)
-$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-it,$(SUNTEMPLATES_IT_PACK)))
+$(eval $(call 
gb_Package_add_file,extras_extensions,bin/Sun-ODF-Template-Pack-it.oxt,$(SUNTEMPLATES_IT_PACK)))
 endif
 ifneq ($(TYPO_EXTENSION_PACK),)
 $(eval $(call 
gb_Package_add_file,extras_extensions,bin/typo.oxt,$(TYPO_EXTENSION_PACK)))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - configure.ac

2013-05-05 Thread Riccardo Magliocchetti
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ca6943b8462b843a5f99fc3291cef86454f4ac7a
Author: Riccardo Magliocchetti riccardo.magliocche...@gmail.com
Date:   Sat May 4 19:24:40 2013 +0200

configure: don't enable ENABLE_NPAPI_FROM_BROWSER with --enable-headless

This fix a build error since otherwise X libraries are required
Backport of 759cc27530a5f58b43721f2d760c9429561a12fd

Change-Id: Iba718969dca90563ba9e60aa16944e6de67c7141
Reviewed-on: https://gerrit.libreoffice.org/3786
Reviewed-by: Andras Timar ati...@suse.com
Tested-by: Andras Timar ati...@suse.com

diff --git a/configure.ac b/configure.ac
index 390b3eb..b196fe9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8304,7 +8304,7 @@ dnl 
===
 dnl Check for NPAPI interface to plug browser plugins into LibreOffice 
documents
 dnl ===
 AC_MSG_CHECKING([whether to plug browser plugins into LibreOffice documents])
-if test $_os != Android -a $_os != iOS
+if test $_os != Android -a $_os != iOS -a $enable_headless != yes
 then
 AC_MSG_RESULT([yes])
 ENABLE_NPAPI_FROM_BROWSER=YES
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED libreoffice-4-0] configure: don't enable ENABLE_NPAPI_FROM_BROWSER with --ena...

2013-05-05 Thread Andras Timar (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/3786

Approvals:
  Andras Timar: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba718969dca90563ba9e60aa16944e6de67c7141
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Riccardo Magliocchetti riccardo.magliocche...@gmail.com
Gerrit-Reviewer: Andras Timar ati...@suse.com

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


[PATCH] fdo#63878 fix the zoom problem when the sheet are RTL

2013-05-05 Thread Faisal al-otaibi (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/3789

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/89/3789/1

fdo#63878 fix the zoom problem when the sheet are RTL

Change-Id: Ie451b7a84b5481e9209c5b6d6d439844de5082fd
---
M sc/source/ui/view/drawview.cxx
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index e249e8c..2fe614c 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -782,6 +782,9 @@
 Point aCurPos =  pViewData-GetScrPos(  aOldStt.Col(), aOldStt.Row(), 
eWhich, sal_True );
 Point aCurPosHmm = pGridWin-PixelToLogic(aCurPos, aDrawMode );
 Point aGridOff = ( aCurPosHmm - aOldPos );
+// fdo#63878 Fix the X position for RTL Sheet
+if( aGridOff.getX()  0 )
+aGridOff.setX( aCurPosHmm.getX() + aOldPos.getX() );
 pObj-SetGridOffset( aGridOff );
 }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie451b7a84b5481e9209c5b6d6d439844de5082fd
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Faisal al-otaibi fmalota...@kacst.edu.sa

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


[Libreoffice-commits] core.git: 3 commits - connectivity/AllLangResTarget_hsqldb.mk connectivity/source filter/source postprocess/CustomTarget_images.mk scp2/source solenv/gbuild

2013-05-05 Thread David Tardon
 connectivity/AllLangResTarget_hsqldb.mk |   29 ---
 connectivity/source/drivers/hsqldb/hsqlui.ilst  |1 
 connectivity/source/drivers/hsqldb/hsqlui.src   |   39 
--
 filter/source/config/fragments/filters/draw_flash_Export.xcu|2 
 filter/source/config/fragments/filters/impress_flash_Export.xcu |2 
 postprocess/CustomTarget_images.mk  |2 
 scp2/source/graphicfilter/file_graphicfilter.scp|1 
 scp2/source/graphicfilter/module_graphicfilter.scp  |1 
 solenv/gbuild/UnoApi.mk |   11 --
 9 files changed, 7 insertions(+), 81 deletions(-)

New commits:
commit b777604017afa02471313404c7ed13dcc378c423
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 09:21:19 2013 +0200

drop pointless build of a resource file

Change-Id: Ic3d554bbcc8bdbad85c868c06d451bd6f12def54

diff --git a/connectivity/AllLangResTarget_hsqldb.mk 
b/connectivity/AllLangResTarget_hsqldb.mk
deleted file mode 100644
index 315c5bb..000
--- a/connectivity/AllLangResTarget_hsqldb.mk
+++ /dev/null
@@ -1,29 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call gb_AllLangResTarget_AllLangResTarget,hsqldb))
-
-$(eval $(call gb_AllLangResTarget_set_reslocation,hsqldb,database))
-
-$(eval $(call gb_AllLangResTarget_add_srs,hsqldb,\
-   hsqldb/res \
-))
-
-$(eval $(call gb_SrsTarget_SrsTarget,hsqldb/res))
-
-$(eval $(call gb_SrsTarget_set_include,hsqldb/res,\
-   -I$(SRCDIR)/connectivity/source/drivers/hsqldb \
-   $$(INCLUDE) \
-))
-
-$(eval $(call gb_SrsTarget_add_nonlocalized_files,hsqldb/res,\
-   connectivity/source/drivers/hsqldb/hsqlui.src \
-))
-
-# vim: set noet sw=4 ts=4:
diff --git a/connectivity/source/drivers/hsqldb/hsqlui.ilst 
b/connectivity/source/drivers/hsqldb/hsqlui.ilst
new file mode 100644
index 000..9590ff4
--- /dev/null
+++ b/connectivity/source/drivers/hsqldb/hsqlui.ilst
@@ -0,0 +1 @@
+%MODULE%/database/linked_text_table.png
diff --git a/connectivity/source/drivers/hsqldb/hsqlui.src 
b/connectivity/source/drivers/hsqldb/hsqlui.src
deleted file mode 100644
index 3e31fe7..000
--- a/connectivity/source/drivers/hsqldb/hsqlui.src
+++ /dev/null
@@ -1,39 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the License); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include hsqlui.hrc
-
-// Note:
-// The resource file built here (hsqldb.res, finally) is *not* included
-// in the final OOo installation. Instead, it is only built to ensure that
-// the image below is included in the application-wide image repository
-// (images.zip). This way, they can be accessed at runtime, but without the
-// indirection via a resource file - the GraphicProvider service supports
-// a private:imagerepository/* protocol meanwhile, which allows this.
-//
-// If there were another possibility to ensure that the images are
-// put into the repository, instead of creating a resource file for them,
-// then we would use this other way ...
-
-Image 1000
-{
-ImageBitmap = Bitmap { File = LINKED_TEXT_TABLE_IMAGE_RESOURCE; };
-};
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/postprocess/CustomTarget_images.mk 
b/postprocess/CustomTarget_images.mk
index 7c59b03..8dcc689 100644
--- a/postprocess/CustomTarget_images.mk
+++ b/postprocess/CustomTarget_images.mk
@@ -31,6 +31,7 @@ $(packimages_DIR)/%.zip : \
$(packimages_DIR)/sorted.lst \
$(packimages_DIR)/commandimagelist.ilst \
$(call gb_Helper_optional,HELP,$(helpimages_DIR)/helpimg.ilst) \
+   $(call gb_Helper_optional,DBCONNECTIVITY,$(if 
$(SOLAR_JAVA),$(SRCDIR)/connectivity/source/drivers/hsqldb/hsqlui.ilst)) \
$(call gb_Postprocess_get_target,AllResources) \
$(call 

[Libreoffice-commits] core.git: connectivity/Module_connectivity.mk

2013-05-05 Thread David Tardon
 connectivity/Module_connectivity.mk |1 -
 1 file changed, 1 deletion(-)

New commits:
commit f995c1ce83f964c511c40adced6618e53ec8aef7
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 09:38:26 2013 +0200

oops. drop ALRT_hsqldb from Module too

Change-Id: I5f67cef527fe54030fd848d0411e82c30cc06713

diff --git a/connectivity/Module_connectivity.mk 
b/connectivity/Module_connectivity.mk
index df23c15..b10575a 100644
--- a/connectivity/Module_connectivity.mk
+++ b/connectivity/Module_connectivity.mk
@@ -35,7 +35,6 @@ $(eval $(call gb_Module_add_targets,connectivity,\
 
 ifneq ($(SOLAR_JAVA),)
 $(eval $(call gb_Module_add_targets,connectivity,\
-   AllLangResTarget_hsqldb \
Configuration_hsqldb \
Configuration_jdbc \
Jar_sdbc_hsqldb \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - src/docrecord.py src/docstream.py

2013-05-05 Thread Miklos Vajna
 src/docrecord.py |8 +++-
 src/docstream.py |7 ++-
 2 files changed, 5 insertions(+), 10 deletions(-)

New commits:
commit 73fb8a5546b17f97075ba73c106b30943f848d82
Author: Miklos Vajna vmik...@suse.cz
Date:   Sun May 5 10:04:16 2013 +0200

PlcfHdd is already implemented

diff --git a/src/docstream.py b/src/docstream.py
index d87982c..396a8bb 100644
--- a/src/docstream.py
+++ b/src/docstream.py
@@ -404,7 +404,7 @@ class WordDocumentStream(DOCDirStream):
 value = self.readInt32()
 if i[0] == fcClx:
 self.printAndSet(i[0], value, silent = True)
-if i[0] == lcbClx:
+elif i[0] == lcbClx:
 self.printAndSet(i[0], value, silent = True)
 i[1](silent = True)
 self.pos = posOrig
@@ -414,8 +414,6 @@ class WordDocumentStream(DOCDirStream):
 hasHandler = len(i)  1
 # the spec says these must be ignored
 needsIgnoring = [lcbStshfOrig, lcbPlcfBteLvc]
-if self.ccpHdd == 0:
-needsIgnoring.append(lcbPlcfHdd)
 # a member needs handling if it defines the size of a struct and 
it's non-zero
 needsHandling = i[0].startswith(lcb) and value != 0 and (not 
i[0] in needsIgnoring)
 self.printAndSet(i[0], value, end = ((not hasHandler) and (not 
needsHandling)), offset = True)
commit f7cdf755184d6f697fe13d1242d2ca2594e3c40f
Author: Miklos Vajna vmik...@suse.cz
Date:   Sun May 5 09:59:56 2013 +0200

PlcfBkf / PlcfBkl works with CPs as well

diff --git a/src/docrecord.py b/src/docrecord.py
index 9fda05f..34e66cb 100644
--- a/src/docrecord.py
+++ b/src/docrecord.py
@@ -107,11 +107,10 @@ class PlcfBkf(DOCDirStream, PLC):
 
 def dump(self):
 print 'plcfBkf type=PlcfBkf offset=%d size=%d bytes' % 
(self.pos, self.size)
-offset = self.mainStream.fcMin
 pos = self.pos
 for i in range(self.getElements()):
 # aCp
-start = offset + self.getuInt32(pos = pos)
+start = self.getuInt32(pos = pos)
 self.aCP.append(start)
 print 'aCP index=%d bookmarkStart=%d' % (i, start)
 pos += 4
@@ -193,14 +192,13 @@ class PlcfBkl(DOCDirStream, PLC):
 
 def dump(self):
 print 'plcfBkl type=PlcfBkl offset=%d size=%d bytes' % 
(self.pos, self.size)
-offset = self.mainStream.fcMin
 pos = self.pos
 for i in range(self.getElements()):
 # aCp
-end = offset + self.getuInt32(pos = pos)
+end = self.getuInt32(pos = pos)
 print 'aCP index=%d bookmarkEnd=%d' % (i, end)
 start = self.start.aCP[i]
-print 'transformed value=%s/' % 
self.quoteAttr(self.mainStream.retrieveOffset(start, end))
+print 'transformed value=%s/' % 
self.quoteAttr(self.mainStream.retrieveCPs(start, end))
 pos += 4
 print '/aCP'
 print '/plcfBkl'
diff --git a/src/docstream.py b/src/docstream.py
index d98e0ea..d87982c 100644
--- a/src/docstream.py
+++ b/src/docstream.py
@@ -153,8 +153,7 @@ class WordDocumentStream(DOCDirStream):
 
 self.printAndSet(reserved3, self.readuInt16())
 self.printAndSet(reserved4, self.readuInt16())
-# reserved5 in the spec, offset of first character of text according 
to LO ww8 import filter
-self.printAndSet(fcMin, self.readuInt32())
+self.printAndSet(reserved5, self.readuInt32())
 self.printAndSet(reserved6, self.readuInt32())
 
 print '/%s' % name
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: scp2/source

2013-05-05 Thread David Tardon
 scp2/source/graphicfilter/module_graphicfilter.scp |1 -
 scp2/source/ooo/module_lang_template.scp   |1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c458ea6d15465d9dada06f259946f854e9e5ccfb
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 10:08:21 2013 +0200

shove the new .res to the other res files

I do not want to create a new optional module just for one file.

Change-Id: I5a96a71eadaebff045ecc6ef1a5dd240014d6953

diff --git a/scp2/source/graphicfilter/module_graphicfilter.scp 
b/scp2/source/graphicfilter/module_graphicfilter.scp
index bb2692b..cd7e4a6 100644
--- a/scp2/source/graphicfilter/module_graphicfilter.scp
+++ b/scp2/source/graphicfilter/module_graphicfilter.scp
@@ -38,6 +38,5 @@ Module gid_Module_Optional_Grfflt
 gid_File_Lib_Flash,
 gid_File_Lib_WpftDraw,
 gid_File_Lib_Graphic,
-gid_File_Res_Flash,
 gid_File_Share_Registry_Graphicfilter_Xcd);
 End
diff --git a/scp2/source/ooo/module_lang_template.scp 
b/scp2/source/ooo/module_lang_template.scp
index 328e8a5..1b8e45f 100644
--- a/scp2/source/ooo/module_lang_template.scp
+++ b/scp2/source/ooo/module_lang_template.scp
@@ -80,6 +80,7 @@ Module gid_Module_Langpack_Resource_Template
  gid_File_Res_Dkt,
  gid_File_Res_Editeng,
  gid_File_Res_Eur,
+ gid_File_Res_Flash,
  gid_File_Res_For,
  gid_File_Res_Forui,
  gid_File_Res_Fps_Office,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] pastespecial.ui widget

2013-05-05 Thread Aliah Almusaireae (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/3790

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/90/3790/1

pastespecial.ui widget

Change-Id: I1e26bfe16a64aee8d94dc6a8042a8a4cd722ade1
---
A sd/uiconfig/sdraw/ui/pastespecial.ui
1 file changed, 181 insertions(+), 0 deletions(-)



diff --git a/sd/uiconfig/sdraw/ui/pastespecial.ui 
b/sd/uiconfig/sdraw/ui/pastespecial.ui
new file mode 100644
index 000..6d5f04a
--- /dev/null
+++ b/sd/uiconfig/sdraw/ui/pastespecial.ui
@@ -0,0 +1,181 @@
+?xml version=1.0 encoding=UTF-8?
+interface
+  !-- interface-requires gtk+ 3.0 --
+  object class=GtkDialog id=PasteSpecial
+property name=can_focusFalse/property
+property name=border_width6/property
+property name=title translatable=yesPaste Special/property
+property name=type_hintdialog/property
+child internal-child=vbox
+  object class=GtkBox id=dialog-vbox3
+property name=can_focusFalse/property
+property name=spacing12/property
+child internal-child=action_area
+  object class=GtkButtonBox id=dialog-action_area3
+property name=can_focusFalse/property
+property name=orientationvertical/property
+property name=layout_stylestart/property
+child
+  object class=GtkButton id=ok
+property name=labelgtk-ok/property
+property name=visibleTrue/property
+property name=can_focusTrue/property
+property name=can_defaultTrue/property
+property name=has_defaultTrue/property
+property name=receives_defaultTrue/property
+property name=use_action_appearanceFalse/property
+property name=use_stockTrue/property
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property name=position0/property
+  /packing
+/child
+child
+  object class=GtkButton id=cancel
+property name=labelgtk-cancel/property
+property name=visibleTrue/property
+property name=can_focusTrue/property
+property name=receives_defaultTrue/property
+property name=use_action_appearanceFalse/property
+property name=use_stockTrue/property
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property name=position1/property
+  /packing
+/child
+child
+  object class=GtkButton id=help
+property name=labelgtk-help/property
+property name=visibleTrue/property
+property name=can_focusTrue/property
+property name=receives_defaultTrue/property
+property name=use_action_appearanceFalse/property
+property name=use_stockTrue/property
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property name=position2/property
+  /packing
+/child
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property name=pack_typeend/property
+property name=position0/property
+  /packing
+/child
+child
+  object class=GtkBox id=box1
+property name=visibleTrue/property
+property name=can_focusFalse/property
+property name=orientationvertical/property
+child
+  object class=GtkBox id=box2
+property name=visibleTrue/property
+property name=can_focusFalse/property
+child
+  object class=GtkLabel id=label2
+property name=visibleTrue/property
+property name=can_focusFalse/property
+property name=label 
translatable=yesSource:/property
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property name=position0/property
+  /packing
+/child
+child
+  object class=GtkLabel id=label3
+property name=visibleTrue/property
+property name=can_focusFalse/property
+property name=label translatable=yeslabel/property
+  /object
+  packing
+property name=expandFalse/property
+property name=fillTrue/property
+property 

.docx file immediately crashes LibreOffice 4.0.2.2

2013-05-05 Thread Manuel Reimer

Hello,

I have a .docx file which immediately crashes LibreOffice.

Can someone please tell me where I can send this file to so a developer can have 
a look at this file? I can't publish the file on the internet, as the content in 
this file is copyright protected.


Would be great if one of the developers could give me his mail address, so I can 
send him my file and he (or the group of developers) can check why LibreOffice 
crashes.


Thanks in advance

Yours

Manuel

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


[Libreoffice-commits] core.git: 13 commits - desktop/Module_desktop.mk desktop/Package_scripts_install.mk desktop/Package_scripts.mk desktop/scripts instsetoo_native/config instsetoo_native/CustomTarg

2013-05-05 Thread David Tardon
 Repository.mk|   10 +--
 desktop/Module_desktop.mk|5 ++-
 desktop/Package_scripts.mk   |3 --
 desktop/Package_scripts_install.mk   |   32 +++
 desktop/scripts/mozwrapper.sh|   25 -
 desktop/scripts/smaster.sh   |4 --
 desktop/scripts/sweb.sh  |4 --
 instsetoo_native/CustomTarget_setup.mk   |   12 
 instsetoo_native/Package_config.mk   |2 -
 instsetoo_native/Package_rdb.mk  |   18 +++-
 instsetoo_native/Package_setup.mk|1 
 instsetoo_native/config/unorc.ure|   13 -
 instsetoo_native/util/openoffice.lst.in  |   12 
 jvmfwk/Module_jvmfwk.mk  |7 +
 jvmfwk/Package_jreproperties_install.mk  |   16 +++
 jvmfwk/Package_rcfiles_install.mk|   32 +++
 liblangtag/ExternalPackage_liblangtag_data.mk|8 +
 nss/ExternalPackage_nss.mk   |2 -
 officecfg/registry/data/org/openoffice/Setup.xcu |2 -
 postprocess/Package_registry_install.mk  |5 +++
 pyuno/Module_pyuno.mk|6 
 pyuno/Package_python_scripts_install.mk  |   20 ++
 solenv/gbuild/UnoApiTarget.mk|4 +-
 ure/Module_ure.mk|1 
 ure/Package_install.mk   |   18 
 25 files changed, 194 insertions(+), 68 deletions(-)

New commits:
commit ed665f24ff62bc00acd41620f91cb9dc458c8a2e
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 15:27:49 2013 +0200

copy pyuno files to instdir

Change-Id: I62fa315b942c5b2383ee83c644ecbcbca3d6c40f

diff --git a/instsetoo_native/CustomTarget_setup.mk 
b/instsetoo_native/CustomTarget_setup.mk
index 366f1a9..a669fd5 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -11,6 +11,7 @@ $(eval $(call 
gb_CustomTarget_CustomTarget,instsetoo_native/setup))
 
 $(eval $(call gb_CustomTarget_register_targets,instsetoo_native/setup,\
ooenv \
+   $(if $(filter TRUE,$(DISABLE_PYTHON)),,pythonloader.unorc) \
ure-link \
versionrc \
 ))
@@ -31,6 +32,17 @@ $(call 
gb_CustomTarget_get_workdir,instsetoo_native/setup)/ooenv :
echo 'export OOO_DISABLE_RECOVERY=1' \
)  $@
 
+$(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/pythonloader.unorc :
+   $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),ECH,1)
+   ( \
+   echo '[Bootstrap]'  \
+   $(if $(filter YES,$(SYSTEM_PYTHON)),\
+   echo PYUNO_LOADER_PYTHONPATH='$$ORIGIN',\
+   echo 
PYUNO_LOADER_PYTHONHOME='$$ORIGIN/python-core-$(PYTHON_VERSION)'  \
+   echo PYUNO_LOADER_PYTHONPATH='$(foreach dir,lib 
lib/lib-dynload lib/lib-tk 
lib/site-packages,$$ORIGIN/python-core-$(PYTHON_VERSION)/$(dir)) $$ORIGIN' \
+   ) \
+   )  $@
+
 $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/ure-link :
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LN ,1)
rm -f $@  \
diff --git a/instsetoo_native/Package_setup.mk 
b/instsetoo_native/Package_setup.mk
index 9f8ca30..aaba1e5 100644
--- a/instsetoo_native/Package_setup.mk
+++ b/instsetoo_native/Package_setup.mk
@@ -13,6 +13,7 @@ $(eval $(call 
gb_Package_set_outdir,instsetoo_native_setup,$(INSTDIR)))
 
 $(eval $(call gb_Package_add_files,instsetoo_native_setup,program,\
ooenv \
+   $(if $(filter TRUE,$(DISABLE_PYTHON)),,pythonloader.unorc) \
versionrc \
 ))
 
diff --git a/pyuno/Module_pyuno.mk b/pyuno/Module_pyuno.mk
index 536ba40..05aefa6 100644
--- a/pyuno/Module_pyuno.mk
+++ b/pyuno/Module_pyuno.mk
@@ -60,6 +60,12 @@ endif
 
 endif # SYSTEM_PYTHON
 
+ifneq ($(gb_RUNNABLE_INSTDIR),)
+$(eval $(call gb_Module_add_targets,pyuno,\
+   Package_python_scripts_install \
+))
+endif
+
 endif # DISABLE_PYTHON
 
 # vim:set noet sw=4 ts=4:
diff --git a/pyuno/Package_python_scripts_install.mk 
b/pyuno/Package_python_scripts_install.mk
new file mode 100644
index 000..dc2f08e
--- /dev/null
+++ b/pyuno/Package_python_scripts_install.mk
@@ -0,0 +1,20 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call 
gb_Package_Package,pyuno_python_scripts_install,$(SRCDIR)/pyuno/source))
+
+$(eval $(call gb_Package_set_outdir,pyuno_python_scripts_install,$(INSTDIR)))
+
+$(eval $(call 

[Libreoffice-commits] core.git: helpcontent2

2013-05-05 Thread David Tardon
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ebfcf864e5f7d498e08de3261e90c994e5fd7a48
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 16:56:54 2013 +0200

Updated core
Project: help  dd11e905ed069b1a0e14d5cb3076e5a048d4e842

diff --git a/helpcontent2 b/helpcontent2
index cdf274d..dd11e90 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit cdf274d40fc7142166dc0f1e44200577513ff537
+Subproject commit dd11e905ed069b1a0e14d5cb3076e5a048d4e842
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Module_helpcontent2.mk Package_hid.mk

2013-05-05 Thread David Tardon
 Module_helpcontent2.mk |1 -
 Package_hid.mk |   14 --
 2 files changed, 15 deletions(-)

New commits:
commit dd11e905ed069b1a0e14d5cb3076e5a048d4e842
Author: David Tardon dtar...@redhat.com
Date:   Sun May 5 16:56:54 2013 +0200

help.hid is not used for install--don't deliver

Change-Id: I690d20dac7180d8f8de31148cf88cb7e07778db4

diff --git a/Module_helpcontent2.mk b/Module_helpcontent2.mk
index b4ccfd4..321169c 100644
--- a/Module_helpcontent2.mk
+++ b/Module_helpcontent2.mk
@@ -20,7 +20,6 @@ $(eval $(call gb_Module_add_targets,helpcontent2,\
AllLangHelp_smath \
AllLangHelp_swriter \
CustomTarget_imagelist \
-   Package_hid \
Package_imagelist \
 ))
 
diff --git a/Package_hid.mk b/Package_hid.mk
deleted file mode 100644
index 8247a97..000
--- a/Package_hid.mk
+++ /dev/null
@@ -1,14 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call 
gb_Package_Package,helpcontent2_hid,$(SRCDIR)/helpcontent2/helpers))
-
-$(eval $(call gb_Package_add_file,helpcontent2_hid,bin/hid.lst,help_hid.lst))
-
-# vim: set noet sw=4 ts=4:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] coverity#1000604: Dereference after null check

2013-05-05 Thread Julien Nabet (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/3791

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/91/3791/1

coverity#1000604: Dereference after null check

Change-Id: Id9c3b7eb29c58c55c100db6da644b232ada550ee
---
M sw/source/core/layout/trvlfrm.cxx
1 file changed, 11 insertions(+), 11 deletions(-)



diff --git a/sw/source/core/layout/trvlfrm.cxx 
b/sw/source/core/layout/trvlfrm.cxx
index eee460f..0d9fd9c 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -283,6 +283,7 @@
 SwCntntNode* pTextNd = aTextPos.nNode.GetNode( ).GetCntntNode( );
 double nTextDistance = 0;
 bool bValidTextDistance = false;
+bool bConsiderBackground = true;
 if ( pTextNd )
 {
 SwCntntFrm* pTextFrm = pTextNd-getLayoutFrm( getRootFrm( ) );
@@ -291,19 +292,18 @@
 
 nTextDistance = lcl_getDistance( rTextRect, rPoint );
 bValidTextDistance = true;
-}
 
-bool bConsiderBackground = true;
-// If the text position is a clickable field, then that should 
have priority.
-if (pTextNd-IsTxtNode())
-{
-SwTxtNode* pTxtNd = pTextNd-GetTxtNode();
-SwTxtAttr* pTxtAttr = 
pTxtNd-GetTxtAttrForCharAt(aTextPos.nContent.GetIndex(), RES_TXTATR_FIELD);
-if (pTxtAttr)
+// If the text position is a clickable field, then that should 
have priority.
+if (pTextNd-IsTxtNode())
 {
-const SwField* pField = pTxtAttr-GetFld().GetFld();
-if (pField-IsClickable())
-bConsiderBackground = false;
+SwTxtNode* pTxtNd = pTextNd-GetTxtNode();
+SwTxtAttr* pTxtAttr = 
pTxtNd-GetTxtAttrForCharAt(aTextPos.nContent.GetIndex(), RES_TXTATR_FIELD);
+if (pTxtAttr)
+{
+const SwField* pField = pTxtAttr-GetFld().GetFld();
+if (pField-IsClickable())
+bConsiderBackground = false;
+}
 }
 }
 

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

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

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


Annoyance (Bug?) in Page Preview while Gallery is displayed (Writer 4.0.2)

2013-05-05 Thread CVAlkan
I'm not sure if this is where bugs should be posted, but FWIW ...

I'm using LibreOffice Writer Version 4.0.2.2 (Build ID: 400m0(Build:2)) on
Ubuntu 12.04 64 bit.

If I create a document, and have the Gallery opened, and have chosen a
folder of images from the panel on the left side of the Gallery, I can place
a graphic in the document as expected.

If I then use Page Preview from the icon above the document, this works
fine but, upon return to the document, the left hand panel of the Gallery is
reset to the first item in the list. It seems to me that as long as I
haven't actually closed the document or the Gallery itself, the Gallery
choice should return to the position it was in.

If I actually Print the document, the Gallery choice stays where it was as I
would expect.




--
View this message in context: 
http://nabble.documentfoundation.org/Annoyance-Bug-in-Page-Preview-while-Gallery-is-displayed-Writer-4-0-2-tp4053959.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


Re: Annoyance (Bug?) in Page Preview while Gallery is displayed (Writer 4.0.2)

2013-05-05 Thread Noel Grandin
If you plan on developing a fix for the bug, then this is the right place.
Otherwise,
  https://www.libreoffice.org/bugzilla/
or
 disc...@documentfoundation.org
is where you want to be.

On Sun, May 5, 2013 at 6:32 PM, CVAlkan fobe...@enteract.com wrote:
 I'm not sure if this is where bugs should be posted, but FWIW ...

 I'm using LibreOffice Writer Version 4.0.2.2 (Build ID: 400m0(Build:2)) on
 Ubuntu 12.04 64 bit.

 If I create a document, and have the Gallery opened, and have chosen a
 folder of images from the panel on the left side of the Gallery, I can place
 a graphic in the document as expected.

 If I then use Page Preview from the icon above the document, this works
 fine but, upon return to the document, the left hand panel of the Gallery is
 reset to the first item in the list. It seems to me that as long as I
 haven't actually closed the document or the Gallery itself, the Gallery
 choice should return to the position it was in.

 If I actually Print the document, the Gallery choice stays where it was as I
 would expect.




 --
 View this message in context: 
 http://nabble.documentfoundation.org/Annoyance-Bug-in-Page-Preview-while-Gallery-is-displayed-Writer-4-0-2-tp4053959.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 mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - cui/source

2013-05-05 Thread Caolán McNamara
 cui/source/inc/macroass.hxx  |1 +
 cui/source/tabpages/macroass.cxx |   31 +++
 2 files changed, 24 insertions(+), 8 deletions(-)

New commits:
commit cfe7f8750ce4b63e48a69557c8aed6d8523f8896
Author: Caolán McNamara caol...@redhat.com
Date:   Fri May 3 17:17:10 2013 +0100

fdo#62797 fix macro assign dialog

Which was empty of contents e.g. from autotext-macro...

because of 5d84af7e83404f22d3c9cd0b0bb88fb84d0550e7
fdo#57553: Picture dialog Macro tab page: lazily init

which was because of bd2c14ec78a7549d4a19738154cdd5ea890f61c4
we have to have all tabpages in all modes now

which was because we need to create all tabpages in order to determine their
size for layout.

Change-Id: I01fe03abf3e4582e87927729286a21d0bac7037c

Change-Id: Ic662f6a927225b56820ccebf135b82ab1631974d
Signed-off-by: Andras Timar ati...@suse.com

diff --git a/cui/source/inc/macroass.hxx b/cui/source/inc/macroass.hxx
index b7477422..11185dd 100644
--- a/cui/source/inc/macroass.hxx
+++ b/cui/source/inc/macroass.hxx
@@ -69,6 +69,7 @@ public:
 virtual voidPageCreated (SfxAllItemSet aSet);
 using TabPage::ActivatePage; // FIXME WTF is this nonsense?
 virtual voidActivatePage( const SfxItemSet );
+voidLaunchFillGroup();
 
 // - inherit from the base -
 virtual sal_BoolFillItemSet( SfxItemSet rSet );
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index e91d3fb..4e20432 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -216,6 +216,16 @@ sal_Bool _SfxMacroTabPage::FillItemSet( SfxItemSet rSet )
 return sal_False;
 }
 
+void _SfxMacroTabPage::LaunchFillGroup()
+{
+if (!mpImpl-maFillGroupTimer.GetTimeoutHdl().IsSet())
+{
+mpImpl-maFillGroupTimer.SetTimeoutHdl( STATIC_LINK( this, 
_SfxMacroTabPage, TimeOut_Impl ) );
+mpImpl-maFillGroupTimer.SetTimeout( 0 );
+mpImpl-maFillGroupTimer.Start();
+}
+}
+
 void _SfxMacroTabPage::ActivatePage( const SfxItemSet )
 {
 // fdo#57553 lazily init script providers, because it is annoying if done
@@ -223,13 +233,9 @@ void _SfxMacroTabPage::ActivatePage( const SfxItemSet )
 if (!mpImpl-m_bDummyActivated)
 {
 mpImpl-m_bDummyActivated = true;
+return;
 }
-else if (!mpImpl-maFillGroupTimer.GetTimeoutHdl().IsSet())
-{
-mpImpl-maFillGroupTimer.SetTimeoutHdl( STATIC_LINK( this, 
_SfxMacroTabPage, TimeOut_Impl ) );
-mpImpl-maFillGroupTimer.SetTimeout( 0 );
-mpImpl-maFillGroupTimer.Start();
-}
+LaunchFillGroup();
 }
 
 void _SfxMacroTabPage::PageCreated (SfxAllItemSet aSet)
@@ -481,17 +487,26 @@ SfxMacroTabPage::SfxMacroTabPage( Window* pParent, const 
ResId rResId, const Re
 ScriptChanged();
 }
 
+namespace
+{
+SfxMacroTabPage* CreateSfxMacroTabPage( Window* pParent, const SfxItemSet 
rAttrSet )
+{
+return new SfxMacroTabPage( pParent, CUI_RES( RID_SVXPAGE_EVENTASSIGN 
), NULL, rAttrSet );
+}
+}
+
 SfxTabPage* SfxMacroTabPage::Create( Window* pParent, const SfxItemSet 
rAttrSet )
 {
-return new SfxMacroTabPage( pParent, CUI_RES( RID_SVXPAGE_EVENTASSIGN ), 
NULL, rAttrSet );
+return CreateSfxMacroTabPage(pParent, rAttrSet);
 }
 
 SfxMacroAssignDlg::SfxMacroAssignDlg( Window* pParent, const Reference XFrame 
 rxDocumentFrame, const SfxItemSet rSet )
 : SfxSingleTabDialog( pParent, rSet, 0 )
 {
-SfxTabPage* pPage = SfxMacroTabPage::Create( this, rSet );
+SfxMacroTabPage* pPage = CreateSfxMacroTabPage(this, rSet);
 pPage-SetFrame( rxDocumentFrame );
 SetTabPage( pPage );
+pPage-LaunchFillGroup();
 }
 
 SfxMacroAssignDlg::~SfxMacroAssignDlg()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 7 commits - oox/source

2013-05-05 Thread Markus Mohrhard
 oox/source/export/chartexport.cxx |  101 +++---
 1 file changed, 53 insertions(+), 48 deletions(-)

New commits:
commit a4b6f261489817737fd974dee123ab6b76a66c49
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun May 5 19:31:03 2013 +0200

another validation error in chart OOXML export

Change-Id: I2edd5cb877fdf66926483c866382480f7ae3d36f

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index 3f65ef2..2d1b930 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2200,14 +2200,6 @@ void ChartExport::_exportAxis(
 FSEND );
 }
 
-if( nAxisType == XML_catAx )
-{
-// FIXME: seems not support? lblAlgn
-const char* sLblAlgn = ctr;
-pFS-singleElement( FSNS( XML_c, XML_lblAlgn ),
-XML_val, sLblAlgn,
-FSEND );
-}
 if( ( nAxisType == XML_catAx )
 || ( nAxisType == XML_dateAx ) )
 {
@@ -2217,6 +2209,15 @@ void ChartExport::_exportAxis(
 XML_val, isAuto,
 FSEND );
 
+if( nAxisType == XML_catAx )
+{
+// FIXME: seems not support? lblAlgn
+const char* sLblAlgn = ctr;
+pFS-singleElement( FSNS( XML_c, XML_lblAlgn ),
+XML_val, sLblAlgn,
+FSEND );
+}
+
 // FIXME: seems not support? lblOffset
 sal_Int32 nLblOffset = 100;
 pFS-singleElement( FSNS( XML_c, XML_lblOffset ),
commit d28d25d0903f94ce9485c04e72400e493db44618
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun May 5 19:10:31 2013 +0200

respect element order in OOXML chart export, fdo#59857

The chart part of the document passes validation now.

Change-Id: I52c946c0ad399038e5f908a117f2693c55b5

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index cae4dd2..3f65ef2 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -918,9 +918,6 @@ void ChartExport::exportTitle( Reference XShape  xShape )
 FSHelperPtr pFS = GetFS();
 pFS-startElement( FSNS( XML_c, XML_title ),
 FSEND );
-// TODO:customize layout
-pFS-singleElement( FSNS( XML_c, XML_layout ),
-FSEND );
 
 pFS-startElement( FSNS( XML_c, XML_tx ),
 FSEND );
@@ -963,6 +960,11 @@ void ChartExport::exportTitle( Reference XShape  xShape )
 
 pFS-endElement( FSNS( XML_c, XML_rich ) );
 pFS-endElement( FSNS( XML_c, XML_tx ) );
+
+// TODO:customize layout
+pFS-singleElement( FSNS( XML_c, XML_layout ),
+FSEND );
+
 pFS-endElement( FSNS( XML_c, XML_title ) );
 }
 
commit 3ed3d39230f5664ae38ecf683da133034901cbbf
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun May 5 19:08:01 2013 +0200

respect element order in OOXML chart export, related fdo#59857

Change-Id: Iecb47635cb8c854ec6c12a12f895972fcf099009

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index ba17b04..cae4dd2 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2042,10 +2042,6 @@ void ChartExport::_exportAxis(
 
 pFS-endElement( FSNS( XML_c, XML_scaling ) );
 
-// title
-if( xAxisTitle.is() )
-exportTitle( xAxisTitle );
-
 sal_Bool bVisible = sal_True;
 if( xAxisProp.is() )
 {
@@ -2079,6 +2075,10 @@ void ChartExport::_exportAxis(
 pFS-endElement( FSNS( XML_c, XML_minorGridlines ) );
 }
 
+// title
+if( xAxisTitle.is() )
+exportTitle( xAxisTitle );
+
 // majorTickMark
 sal_Int32 nValue = 0;
 if(GetProperty( xAxisProp, Marks ) )
commit a927086f9a3c94bb7b6b8edec37ae723a6b243aa
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun May 5 19:03:48 2013 +0200

respect element order in OOXML export, related fdo#59857

Change-Id: I00bb173010419a47ee30c9d6ae1173bb1ea0e370

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index 1a7a3ca..ba17b04 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1127,6 +1127,20 @@ void ChartExport::exportBarChart( Reference 
chart2::XChartType  xChartType )
 exportSeries( xChartType, nAttachedAxis );
 
 Reference XPropertySet  xTypeProp( xChartType, uno::UNO_QUERY );
+
+if( xTypeProp.is()  GetProperty( xTypeProp, GapwidthSequence) )
+{
+uno::Sequence sal_Int32  aBarPositionSequence;
+mAny = aBarPositionSequence;
+if( aBarPositionSequence.getLength() )
+{
+sal_Int32 nGapWidth = aBarPositionSequence[0];
+pFS-singleElement( FSNS( XML_c, XML_gapWidth ),
+XML_val, I32S( nGapWidth ),
+FSEND );
+}
+}
+
 if( mbIs3DChart )
 {
 // Shape
commit 010f58c4ef9a5e36d1c703ff20f8293bed90100a
Author: 

[Libreoffice-commits] core.git: Branch 'libreoffice-3-6' - editeng/source

2013-05-05 Thread Lionel Elie Mamane
 editeng/source/items/frmitems.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1e2fed7ab5886b2899b14eed4cb8c3b238524289
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Fri May 3 17:42:12 2013 +0200

fdo#64150 don't segfault when there is no line

Change-Id: Iab36de3d407925cdb0e092afae457907f0261b3e
Reviewed-on: https://gerrit.libreoffice.org/3768
Reviewed-by: Chris Sherlock chris.sherloc...@gmail.com
Reviewed-by: Andras Timar ati...@suse.com
Tested-by: Andras Timar ati...@suse.com

diff --git a/editeng/source/items/frmitems.cxx 
b/editeng/source/items/frmitems.cxx
index da4ca7d..2afb045 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -1980,7 +1980,8 @@ bool SvxBoxItem::PutValue( const uno::Any rVal, 
sal_uInt8 nMemberId )
 for (int n(0); n != SAL_N_ELEMENTS(aBorders); ++n)
 {
 editeng::SvxBorderLine* pLine = const_cast 
editeng::SvxBorderLine* ( GetLine( aBorders[n] ) );
-pLine-SetWidth( nWidth );
+if( pLine )
+pLine-SetWidth( nWidth );
 }
 }
 return sal_True;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED libreoffice-3-6] fdo#64150 don't segfault when there is no line

2013-05-05 Thread Andras Timar (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/3768

Approvals:
  Andras Timar: Verified; Looks good to me, approved
  Chris Sherlock: Looks good to me, but someone else must approve


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iab36de3d407925cdb0e092afae457907f0261b3e
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Lionel Elie Mamane lio...@mamane.lu
Gerrit-Reviewer: Andras Timar ati...@suse.com
Gerrit-Reviewer: Chris Sherlock chris.sherloc...@gmail.com

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


Re: .docx file immediately crashes LibreOffice 4.0.2.2

2013-05-05 Thread Manuel Reimer

Manuel Reimer wrote:

I have a .docx file which immediately crashes LibreOffice.

Can someone please tell me where I can send this file to so a developer can have
a look at this file? I can't publish the file on the internet, as the content in
this file is copyright protected.


I asked the author and I got the permission to publish the file, so I filed a 
bug here:

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

Yours

Manuel

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


[Libreoffice-commits] core.git: vcl/source

2013-05-05 Thread Christian M . Heller
 vcl/source/edit/textund2.hxx |6 -
 vcl/source/edit/textundo.cxx |   53 +--
 vcl/source/edit/textview.cxx |  146 ---
 vcl/source/edit/vclmedit.cxx |   38 ---
 vcl/source/edit/xtextedt.cxx |   35 --
 5 files changed, 108 insertions(+), 170 deletions(-)

New commits:
commit b27ec833fe14527e810014f682e036cbfc0ddc1d
Author: Christian M. Heller christian.helle...@gmail.com
Date:   Sat May 4 16:34:02 2013 -0400

fdo#39468 Translate German Comments - rest of vcl/source/edit/...

Change-Id: I6cb657853cf3e8d4e35c0dc09be6a4a15ba3a336

diff --git a/vcl/source/edit/textund2.hxx b/vcl/source/edit/textund2.hxx
index 17a2918..396317e 100644
--- a/vcl/source/edit/textund2.hxx
+++ b/vcl/source/edit/textund2.hxx
@@ -26,9 +26,9 @@
 class TextUndoDelPara : public TextUndo
 {
 private:
-sal_BoolmbDelObject;
-sal_uLong   mnPara;
-TextNode*   mpNode; // Zeigt auf das gueltige, nicht zerstoerte Objekt!
+sal_BoolmbDelObject;
+sal_uLong   mnPara;
+TextNode*   mpNode; // points at the valid not-destroyed object
 
 public:
 TYPEINFO();
diff --git a/vcl/source/edit/textundo.cxx b/vcl/source/edit/textundo.cxx
index 3cbb85d..51b3826 100644
--- a/vcl/source/edit/textundo.cxx
+++ b/vcl/source/edit/textundo.cxx
@@ -65,10 +65,6 @@ void Shorten (OUString rString)
 
 } // namespace
 
-//
-// TextUndoManager
-// ===
-//
 
 TextUndoManager::TextUndoManager( TextEngine* p )
 {
@@ -115,9 +111,6 @@ sal_Bool TextUndoManager::Redo()
 void TextUndoManager::UndoRedoStart()
 {
 DBG_ASSERT( GetView(), Undo/Redo: Active View? );
-
-//  if ( GetView() )
-//  GetView()-HideSelection();
 }
 
 void TextUndoManager::UndoRedoEnd()
@@ -134,12 +127,6 @@ void TextUndoManager::UndoRedoEnd()
 mpTextEngine-FormatAndUpdate( GetView() );
 }
 
-
-//
-// TextUndo
-// 
-//
-
 TextUndo::TextUndo( TextEngine* p )
 {
 mpTextEngine = p;
@@ -160,12 +147,6 @@ void TextUndo::SetSelection( const TextSelection rSel )
 GetView()-ImpSetSelection( rSel );
 }
 
-
-//
-// TextUndoDelPara
-// ===
-//
-
 TextUndoDelPara::TextUndoDelPara( TextEngine* pTextEngine, TextNode* pNode, 
sal_uLong nPara )
 : TextUndo( pTextEngine )
 {
@@ -183,7 +164,7 @@ TextUndoDelPara::~TextUndoDelPara()
 void TextUndoDelPara::Undo()
 {
 GetTextEngine()-InsertContent( mpNode, mnPara );
-mbDelObject = sal_False;// gehoert wieder der Engine
+mbDelObject = sal_False;// belongs again to the engine
 
 if ( GetView() )
 {
@@ -194,18 +175,17 @@ void TextUndoDelPara::Undo()
 
 void TextUndoDelPara::Redo()
 {
-// pNode stimmt nicht mehr, falls zwischendurch Undos, in denen
-// Absaetze verschmolzen sind.
+// pNode is not valid anymore in case an Undo joined paragraphs
 mpNode = GetDoc()-GetNodes().GetObject( mnPara );
 
 delete GetTEParaPortions()-GetObject( mnPara );
 GetTEParaPortions()-Remove( mnPara );
 
-// Node nicht loeschen, haengt im Undo!
+// do not delete Node because of Undo!
 GetDoc()-GetNodes().Remove( mnPara );
 GetTextEngine()-ImpParagraphRemoved( mnPara );
 
-mbDelObject = sal_True; // gehoert wieder dem Undo
+mbDelObject = sal_True; // belongs again to the Undo
 
 sal_uLong nParas = GetDoc()-GetNodes().Count();
 sal_uLong n = mnPara  nParas ? mnPara : (nParas-1);
@@ -219,12 +199,6 @@ OUString TextUndoDelPara::GetComment () const
 return ResId(STR_TEXTUNDO_DELPARA, *ImplGetResMgr());
 }
 
-
-//
-// TextUndoConnectParas
-// 
-//
-
 TextUndoConnectParas::TextUndoConnectParas( TextEngine* pTextEngine, sal_uLong 
nPara, sal_uInt16 nPos )
 :   TextUndo( pTextEngine )
 {
@@ -253,12 +227,6 @@ OUString TextUndoConnectParas::GetComment () const
 return ResId(STR_TEXTUNDO_CONNECTPARAS, *ImplGetResMgr());
 }
 
-
-//
-// TextUndoSplitPara
-// =
-//
-
 TextUndoSplitPara::TextUndoSplitPara( TextEngine* pTextEngine, sal_uLong 
nPara, sal_uInt16 nPos )
 : TextUndo( pTextEngine )
 {
@@ -287,12 +255,6 @@ OUString TextUndoSplitPara::GetComment () const
 return ResId(STR_TEXTUNDO_SPLITPARA, *ImplGetResMgr());
 }
 
-
-//
-// TextUndoInsertChars
-// ===
-//
-
 TextUndoInsertChars::TextUndoInsertChars( TextEngine* pTextEngine, const 
TextPaM rTextPaM, const XubString rStr )
 : TextUndo( pTextEngine ),
 maTextPaM( rTextPaM ), maText( rStr )
@@ -342,13 +304,6 @@ OUString TextUndoInsertChars::GetComment () const
 return OUString(ResId(STR_TEXTUNDO_INSERTCHARS, 
*ImplGetResMgr())).replaceAll($1, sText);
 }
 
-
-
-//
-// TextUndoRemoveChars
-// ===
-//
-
 TextUndoRemoveChars::TextUndoRemoveChars( TextEngine* pTextEngine, const 
TextPaM rTextPaM, const XubString rStr )
 : TextUndo( pTextEngine ),
 

[PUSHED] fdo#39468 Translate German Comments - rest of vcl/source/edi...

2013-05-05 Thread Philipp Riemer (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/3787


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6cb657853cf3e8d4e35c0dc09be6a4a15ba3a336
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Christian M. Heller christian.helle...@gmail.com
Gerrit-Reviewer: Andras Timar ati...@suse.com
Gerrit-Reviewer: Philipp Riemer ruderphil...@gmail.com

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


[Libreoffice-commits] core.git: moz/Module_moz.mk

2013-05-05 Thread Andras Timar
 moz/Module_moz.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 919f853278c3187e30484c8e542beb92b3165e2b
Author: Andras Timar ati...@suse.com
Date:   Sun May 5 12:05:43 2013 -0700

moz: build fix

Change-Id: I1a8685ec5fff2e78aa9eb97ba9b331a1a2a99e74

diff --git a/moz/Module_moz.mk b/moz/Module_moz.mk
index 3be2c18..d2cad17 100644
--- a/moz/Module_moz.mk
+++ b/moz/Module_moz.mk
@@ -14,9 +14,9 @@ ifeq ($(WITH_MOZAB4WIN),YES)
 $(eval $(call gb_Module_add_targets,moz,\
ExternalPackage_moz_lib \
ExternalPackage_runtime \
-   Package_runtime \
UnpackedTarball_moz_inc \
UnpackedTarball_moz_lib \
+   UnpackedTarball_mozruntime \
 ))
 
 endif
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/sidebar' - officecfg/registry

2013-05-05 Thread Armin Le Grand
 officecfg/registry/schema/org/openoffice/Office/Common.xcs |  127 -
 1 file changed, 47 insertions(+), 80 deletions(-)

New commits:
commit 37686d17025f73d281bb0e6da876e4a9499fa3ea
Author: Armin Le Grand a...@apache.org
Date:   Tue Apr 16 16:09:17 2013 +

Related: #i122041# Adapted the descriptions in Common.xcs slightly

(cherry picked from commit df8441aab1ea0d6df5619f2c7403a65dfacad125)

Conflicts:
officecfg/registry/schema/org/openoffice/Office/Common.xcs

Change-Id: Ia107a029b431d54739fc5524c6978bb53b53a785

diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs 
b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index 8233795..560c0a9 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -618,86 +618,6 @@
 /constraints
 value1/value
   /prop
-  prop oor:name=ColorValueSetMaximumRowCount oor:type=xs:short
-info
-  authorALG/author
-  descDefines the maximum row count for ColorValueSets. If more rows 
are needed, a Scrollbar will be used./desc
-  labelA Scrollbar will be used when more rows are needed./label
-/info
-constraints
-  minInclusive oor:value=10
-info
-  descSpecifies the minimum number of rows before a Scrollbar 
will be used./desc
-/info
-  /minInclusive
-  maxInclusive oor:value=99
-info
-  descSpecifies the maximum number of rows before a Scrollbar 
will be used./desc
-/info
-  /maxInclusive
-/constraints
-value40/value
-  /prop
-  prop oor:name=ColorValueSetEntryEdgeLength oor:type=xs:short
-info
-  authorALG/author
-  descDefines the EdgeLength in Pixels for Entries generated inside 
of ColorValueSets. The Entries are quadratic for Colors./desc
-  labelEntries in ColorValueSets will have this quadratic size in 
Pixels./label
-/info
-constraints
-  minInclusive oor:value=8
-info
-  descSpecifies the minimum EdgeLength for Entries in 
ColorValueSets./desc
-/info
-  /minInclusive
-  maxInclusive oor:value=18
-info
-  descSpecifies the minimum EdgeLength for Entries in 
ColorValueSets./desc
-/info
-  /maxInclusive
-/constraints
-value14/value
-  /prop
-  prop oor:name=ColorValueSetColumnCount oor:type=xs:short
-info
-  authorALG/author
-  descDefines how many colums are to be used in ColorValueSets. The 
idea is to use this defined count to have a good visualisation in 
ColorValueSets which offers the used ColorTable schema nicely layouted to the 
User./desc
-  labelThe ColumnCount used in ColorValueSets./label
-/info
-constraints
-  minInclusive oor:value=12
-info
-  descSpecifies the perfect number of columns for ColorValueSet 
layout./desc
-/info
-  /minInclusive
-  maxInclusive oor:value=24
-info
-  descSpecifies a maximum number of columns for ColorValueSet 
layout./desc
-/info
-  /maxInclusive
-/constraints
-value12/value
-  /prop
-  prop oor:name=EdgeBlending oor:type=xs:short
-info
-  authorALG/author
-  descOption to use EdgeBlending for previews in the UI (for 
ColorValueSet, ColorDropDown, FillStyle/LineStyle previews, etc...). 
EdgeBlending will visualize a one pixel border on the preview object so that a 
noce 3D effect is shown. It is a percent value describing how strong the effect 
shall be. The value 0% switches it off, while the value 100% will cover the 
preview object completely on it's borders./desc
-  labelDefines the EdgeBlending for Previews in percent./label
-/info
-constraints
-  minInclusive oor:value=0
-info
-  descSpecifies that no EdgeBlending shall happen./desc
-/info
-  /minInclusive
-  maxInclusive oor:value=99
-info
-  descSpecifies that EdgeBlending will cover the edges of 
Previews completely./desc
-/info
-  /maxInclusive
-/constraints
-value35/value
-  /prop
 /group
 group oor:name=ObjectNames
   info
@@ -6317,6 +6237,53 @@
 /info
 valuefalse/value
   /prop
+  prop oor:name=ColorValueSetMaximumRowCount oor:type=xs:short
+info
+  authorALG/author
+  desc
+Defines the maximum row count for ColorValueSets. If more rows are 
needed, a Scrollbar will be used.
+  /desc
+  labelA Scrollbar will be used when more rows are needed./label
+/info
+value40/value
+  /prop
+  prop 

[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - df/8441aab1ea0d6df5619f2c7403a65dfacad125

2013-05-05 Thread Caolán McNamara
 df/8441aab1ea0d6df5619f2c7403a65dfacad125 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3eae075d72bb498599c8cc418e35adcf6a5608d9
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:08:32 2013 +0100

Notes added by 'git notes add'

diff --git a/df/8441aab1ea0d6df5619f2c7403a65dfacad125 
b/df/8441aab1ea0d6df5619f2c7403a65dfacad125
new file mode 100644
index 000..a5b8525
--- /dev/null
+++ b/df/8441aab1ea0d6df5619f2c7403a65dfacad125
@@ -0,0 +1 @@
+merged as: 37686d17025f73d281bb0e6da876e4a9499fa3ea
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - d7/3e77acab38d87418de38890e27ab3188725e3a

2013-05-05 Thread Caolán McNamara
 d7/3e77acab38d87418de38890e27ab3188725e3a |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3bb961e3d35912d60b0c75a873bbe6b4afc7222f
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:09:17 2013 +0100

Notes added by 'git notes add'

diff --git a/d7/3e77acab38d87418de38890e27ab3188725e3a 
b/d7/3e77acab38d87418de38890e27ab3188725e3a
new file mode 100644
index 000..b0e0f1d
--- /dev/null
+++ b/d7/3e77acab38d87418de38890e27ab3188725e3a
@@ -0,0 +1 @@
+prefer: 85f49fdccddef6b5a5bdc1b95f5b04714179c898
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 9e/fe7b16c664c558e234707498e38ccc2b744766

2013-05-05 Thread Caolán McNamara
 9e/fe7b16c664c558e234707498e38ccc2b744766 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1ad10356383421339cc99303ed1dcebfb6b84c07
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:10:11 2013 +0100

Notes added by 'git notes add'

diff --git a/9e/fe7b16c664c558e234707498e38ccc2b744766 
b/9e/fe7b16c664c558e234707498e38ccc2b744766
new file mode 100644
index 000..b0e0f1d
--- /dev/null
+++ b/9e/fe7b16c664c558e234707498e38ccc2b744766
@@ -0,0 +1 @@
+prefer: 85f49fdccddef6b5a5bdc1b95f5b04714179c898
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/sidebar' - include/svx svx/source

2013-05-05 Thread Armin Le Grand
 include/svx/dlgctrl.hxx   |   18 +-
 svx/source/dialog/dlgctrl.cxx |   41 ++---
 2 files changed, 47 insertions(+), 12 deletions(-)

New commits:
commit c41fed97f212a6b8cd53830e1f5ded0bb9e60bf0
Author: Armin Le Grand a...@apache.org
Date:   Wed Apr 17 10:51:23 2013 +

Resolves: #i122042# corrected adding default values in LineStyleListBox

(cherry picked from commit 33242bbc8350f2b253fae2d4261561796d848455)

Conflicts:
svx/inc/svx/dlgctrl.hxx
svx/source/dialog/dlgctrl.cxx

Change-Id: I4391164c0dbdd99c64fe7eca1bdd10cd92e32128

diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index d24c38f..549b273 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -307,15 +307,23 @@ public:
 
 class SVX_DLLPUBLIC LineLB : public ListBox
 {
+private:
+/// bitfield
+/// defines if standard fields (none, solid) are added, default is true
+boolmbAddStandardFields : 1;
 
 public:
- LineLB( Window* pParent, ResId Id ) : ListBox( pParent, Id ) {}
- LineLB( Window* pParent, WinBits aWB ) : ListBox( pParent, aWB ) {}
+LineLB(Window* pParent, ResId Id);
+LineLB(Window* pParent, WinBits aWB);
+virtual ~LineLB();
 
-virtual void Fill( const XDashListRef pList );
+virtual void Fill(const XDashListRef pList);
+bool getAddStandardFields() const { return mbAddStandardFields; }
+void setAddStandardFields(bool bNew);
 
-void Append( XDashEntry* pEntry, const Bitmap* pBmp = NULL );
-void Modify( XDashEntry* pEntry, sal_uInt16 nPos, const Bitmap* pBmp = 
NULL );
+void Append(XDashEntry* pEntry, const Bitmap* pBmp = 0);
+void Modify(XDashEntry* pEntry, sal_uInt16 nPos, const Bitmap* pBmp = 0);
+void SelectEntryByList(const XDashList* pList, const String rStr, const 
XDash rDash, sal_uInt16 nDist = 0);
 };
 
 //
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index c12dc7f..b863c34 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -1486,22 +1486,49 @@ void FillTypeLB::Fill()
 SetUpdateMode( sal_True );
 }
 
+LineLB::LineLB(Window* pParent, ResId Id)
+:   ListBox(pParent, Id),
+mbAddStandardFields(true)
+{
+}
+
+LineLB::LineLB(Window* pParent, WinBits aWB)
+:   ListBox(pParent, aWB),
+mbAddStandardFields(true)
+{
+}
+
+LineLB::~LineLB()
+{
+}
+
+void LineLB::setAddStandardFields(bool bNew)
+{
+if(getAddStandardFields() != bNew)
+{
+mbAddStandardFields = bNew;
+}
+}
+
 // Fills the listbox (provisional) with strings
 
 void LineLB::Fill( const XDashListRef pList )
 {
 Clear();
 
-// entry for 'none'
-InsertEntry(pList-GetStringForUiNoLine());
+if( !pList.is() )
+return;
 
-// entry for solid line
-InsertEntry(pList-GetStringForUiSolidLine(), 
pList-GetBitmapForUISolidLine());
+if(getAddStandardFields())
+{
+// entry for 'none'
+InsertEntry(pList-GetStringForUiNoLine());
 
-// entries for dashed lines
+// entry for solid line
+InsertEntry(pList-GetStringForUiSolidLine(), 
pList-GetBitmapForUISolidLine());
+}
 
-if( !pList.is() )
-return;
+// entries for dashed lines
 
 long nCount = pList-Count();
 XDashEntry* pEntry;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 33/242bbc8350f2b253fae2d4261561796d848455

2013-05-05 Thread Caolán McNamara
 33/242bbc8350f2b253fae2d4261561796d848455 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit e819bf2f747c0f6e65a4e0a25f7cfb0b2c300a92
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:21:24 2013 +0100

Notes added by 'git notes add'

diff --git a/33/242bbc8350f2b253fae2d4261561796d848455 
b/33/242bbc8350f2b253fae2d4261561796d848455
new file mode 100644
index 000..c730f0a
--- /dev/null
+++ b/33/242bbc8350f2b253fae2d4261561796d848455
@@ -0,0 +1 @@
+merged as: c41fed97f212a6b8cd53830e1f5ded0bb9e60bf0
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: vcl/generic

2013-05-05 Thread Khaled Hosny
 vcl/generic/glyphs/gcach_layout.cxx |9 +
 1 file changed, 9 insertions(+)

New commits:
commit 784cd10c31e4378e5b9d03791154e01d23867120
Author: Khaled Hosny khaledho...@eglug.org
Date:   Sun May 5 21:10:52 2013 +0200

[harfbuzz] Fix vertical text layout

Fixed in the sense that it works exactly like the non-HarfBuzz case,
but that is already a bit broken. Need to get rid if the little OpenType
layout engine in ServerFont::ApplyGSUB() and use HarfBuzz's vertical
text layout capabilities.

Change-Id: I32abe385575bd5d1b66e573dfe2fc7f412d02254

diff --git a/vcl/generic/glyphs/gcach_layout.cxx 
b/vcl/generic/glyphs/gcach_layout.cxx
index fab66ac..f7b6907 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -501,6 +501,15 @@ bool HbLayoutEngine::layout(ServerFontLayout rLayout, 
ImplLayoutArgs rArgs)
 continue;
 }
 
+// apply vertical flags and glyph substitution
+// XXX: Use HB_DIRECTION_TTB above and apply whatever flags magic
+// FixupGlyphIndex() is doing, minus the GSUB part.
+if (nCharPos = 0)
+{
+sal_UCS4 aChar = rArgs.mpStr[nCharPos];
+nGlyphIndex = rFont.FixupGlyphIndex(nGlyphIndex, aChar);
+}
+
 bool bInCluster = false;
 if (i  0  pHbGlyphInfos[i].cluster == pHbGlyphInfos[i - 
1].cluster)
 bInCluster = true;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/sidebar' - cui/source

2013-05-05 Thread Armin Le Grand
 cui/source/tabpages/tplnedef.cxx |   16 
 1 file changed, 12 insertions(+), 4 deletions(-)

New commits:
commit 8df0f2347041d75dd4cb03abffdd80b2a71ddf00
Author: Armin Le Grand a...@apache.org
Date:   Wed Apr 17 10:51:39 2013 +

Related: #i122042# corrected adding default values in LineStyleListBox

(cherry picked from commit 246d57106712df34b05c2522c145d244df2d31eb)

Conflicts:
cui/source/tabpages/tplnedef.cxx

Change-Id: I6fde45b3e5a5d0a25a549ea03ec50302c8541195

diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index 563fa72..44fe3f1 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -141,6 +141,10 @@ SvxLineDefTabPage::SvxLineDefTabPage
 aLbLineStyles.SetSelectHdl(
 LINK( this, SvxLineDefTabPage, SelectLinestyleHdl_Impl ) );
 
+// #i122042# switch off default adding of 'none' and 'solid' entries
+// for this ListBox; we want to select only editable/dashed styles
+aLbLineStyles.setAddStandardFields(false);
+
 // absolute (in mm) or relative (in %)
 aCbxSynchronize.SetClickHdl(
 LINK( this, SvxLineDefTabPage, ChangeMetricHdl_Impl ) );
@@ -168,6 +172,7 @@ SvxLineDefTabPage::SvxLineDefTabPage
 
 void SvxLineDefTabPage::Construct()
 {
+// Line style fill; do *not* add default fields here
 aLbLineStyles.Fill( pDashList );
 }
 
@@ -349,14 +354,17 @@ SfxTabPage* SvxLineDefTabPage::Create( Window* pWindow,
 
 IMPL_LINK( SvxLineDefTabPage, SelectLinestyleHdl_Impl, void *, p )
 {
-if( pDashList-Count()  0 )
+if(pDashList-Count())
 {
 int nTmp = aLbLineStyles.GetSelectEntryPos();
-if( nTmp == LISTBOX_ENTRY_NOTFOUND )
+
+if(LISTBOX_ENTRY_NOTFOUND == nTmp)
 {
+OSL_ENSURE(false, OOps, non-existent LineDash selected (!));
+nTmp = 1;
 }
-else
-aDash = pDashList-GetDash( nTmp )-GetDash();
+
+aDash = pDashList-GetDash( nTmp )-GetDash();
 
 FillDialog_Impl();
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 24/6d57106712df34b05c2522c145d244df2d31eb

2013-05-05 Thread Caolán McNamara
 24/6d57106712df34b05c2522c145d244df2d31eb |1 +
 1 file changed, 1 insertion(+)

New commits:
commit a34ae7605a9da34ed4545b97de114f47d365
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:25:38 2013 +0100

Notes added by 'git notes add'

diff --git a/24/6d57106712df34b05c2522c145d244df2d31eb 
b/24/6d57106712df34b05c2522c145d244df2d31eb
new file mode 100644
index 000..65ff4e6
--- /dev/null
+++ b/24/6d57106712df34b05c2522c145d244df2d31eb
@@ -0,0 +1 @@
+merged as: 8df0f2347041d75dd4cb03abffdd80b2a71ddf00
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/sidebar' - svx/source

2013-05-05 Thread Zheng Fan
 svx/source/sidebar/paragraph/ParaPropertyPanel.cxx |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 46027d1156d6d39c62cac17ec40dcaf621816ae8
Author: Zheng Fan zheng...@apache.org
Date:   Mon Apr 22 04:17:31 2013 +

Resolves: #i122054# for change the drop down list issue

(cherry picked from commit 07c075acd60e93962c785d066c84f2a80a47e958)

Change-Id: Ide6bdd5177298a345bed90af68a24e0edcda1cd1

diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx 
b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
index ff26838..b68c7fd 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx
@@ -369,12 +369,14 @@ void ParaPropertyPanel::EndSpacingPopupMode (void)
 
 void ParaPropertyPanel::EndBulletsPopupMode (void)
 {
-//maUnderlinePopup.Hide();
+//i122054, Missed following line, for collapse the bullets popup
+maBulletsPopup.Hide();
 }
 
 void ParaPropertyPanel::EndNumberingPopupMode (void)
 {
-//maUnderlinePopup.Hide();
+//i122054, Missed following line, for collapse the numbering popup
+maNumberingPopup.Hide();
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 07/c075acd60e93962c785d066c84f2a80a47e958

2013-05-05 Thread Caolán McNamara
 07/c075acd60e93962c785d066c84f2a80a47e958 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3adc1c54f7fb4a906c607166bd6f3f53b67d9c27
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:30:32 2013 +0100

Notes added by 'git notes add'

diff --git a/07/c075acd60e93962c785d066c84f2a80a47e958 
b/07/c075acd60e93962c785d066c84f2a80a47e958
new file mode 100644
index 000..16b9a69
--- /dev/null
+++ b/07/c075acd60e93962c785d066c84f2a80a47e958
@@ -0,0 +1 @@
+merged as: 46027d1156d6d39c62cac17ec40dcaf621816ae8
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/sidebar' - svx/source

2013-05-05 Thread Zheng Fan
 svx/source/sidebar/paragraph/ParaPropertyPanel.src |   64 +++--
 1 file changed, 34 insertions(+), 30 deletions(-)

New commits:
commit 816fd3cfbe328eb6bef4fb5bdc77c7533ec9695a
Author: Zheng Fan zheng...@apache.org
Date:   Mon Apr 22 04:20:08 2013 +

Resolves: #i122118# changed for incorrect tips for bullets drop down

(cherry picked from commit 947c734dfcb6fe78c9838f9c88bf89b186a424de)

Conflicts:
svx/source/sidebar/paragraph/ParaPropertyPanel.src

Change-Id: I3e5a5650264d280206f57c8b8ff146c696b2a88d

diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.src 
b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
index cd82977..c946c9b 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.src
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.src
@@ -848,123 +848,127 @@ String RID_SVXSTR_NUMBULLET_NONE
 Text [en-US] = None;
 };
 
+//i122118, Seems the bullets graphic order and count is changed in the gallary,
+//Following descriptions should be changed accordingly.
+
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
 {
-Text [en-US] = Dark Red Circle;
+Text [en-US] = Black Pearl;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
 {
-Text [en-US] = Blue Ball;
+Text [en-US] = Blue Arrow 1;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
 {
-Text [en-US] = Green Ball;
+Text [en-US] = Blue Ball;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
 {
-Text [en-US] = Black Square;
+Text [en-US] = Blue Diamond;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
 {
-Text [en-US] = Orange;
+Text [en-US] = Blue Red;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
 {
-Text [en-US] = Purple Square;
+Text [en-US] = Blue Square;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
 {
-Text [en-US] = Diamond Blue;
+Text [en-US] = Blue Star;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
 {
-Text [en-US] = Light Blue Diamond;
+Text [en-US] = Dark Red Circle;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
 {
-Text [en-US] = Red Diamond;
+Text [en-US] = Blue Circle;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
 {
-Text [en-US] = Yellow Star;
+Text [en-US] = Green Circle;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
 {
-Text [en-US] = Blue Star;
+Text [en-US] = Black Square;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
 {
-Text [en-US] = Blue Triangle;
+Text [en-US] = Orange Square;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
 {
-Text [en-US] = Dark Green Triangle;
+Text [en-US] = Purple Square;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
 {
-Text [en-US] = Red Arrow;
+Text [en-US] = Blue Diamond;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
 {
-Text [en-US] = Blue Arrow;
+Text [en-US] = Light Blue Diamond;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
 {
-Text [en-US] = Blue Box;
+Text [en-US] = Red Diamond;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
 {
-Text [en-US] = Red Box;
+Text [en-US] = Yellow Star;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
 {
-Text [en-US] = Light Blue Asterisk;
+Text [en-US] = Blue Star;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
 {
-Text [en-US] = Red Leaves;
+Text [en-US] = Blue Triangle;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
 {
-Text [en-US] = Blue Target;
+Text [en-US] = Dark Green Triangle;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
 {
-Text [en-US] = Blue Arrow;
+Text [en-US] = Red Arrow;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
 {
-Text [en-US] = Dark Blue Arrow;
+Text [en-US] = Blue Arrow 2;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
 {
-Text [en-US] = Brown Arrow;
+Text [en-US] = Blue Box;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
 {
-Text [en-US] = Red Flag;
+Text [en-US] = Red Box;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
 {
-Text [en-US] = Green Flag;
+Text [en-US] = Light Blue Asterisk;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
 {
-Text [en-US] = Red X;
+Text [en-US] = Red Leaves;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
 {
-Text [en-US] = Black X;
+Text [en-US] = Blue Target;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
 {
-Text [en-US] = Green Checkmark;
+Text [en-US] = Blue Arrow 3;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
 {
-Text [en-US] = Blue Checkmark;
+Text [en-US] = Dark Blue Arrow;
 };
 String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
 {
-Text [en-US] = Dark Red Square;
+Text [en-US] = Brown Arrow;
 };
+//i122118
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 94/7c734dfcb6fe78c9838f9c88bf89b186a424de

2013-05-05 Thread Caolán McNamara
 94/7c734dfcb6fe78c9838f9c88bf89b186a424de |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 289b008ac883adfb00e9aa8d69ecdead21fc7e58
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:32:39 2013 +0100

Notes added by 'git notes add'

diff --git a/94/7c734dfcb6fe78c9838f9c88bf89b186a424de 
b/94/7c734dfcb6fe78c9838f9c88bf89b186a424de
new file mode 100644
index 000..70a7894
--- /dev/null
+++ b/94/7c734dfcb6fe78c9838f9c88bf89b186a424de
@@ -0,0 +1 @@
+merged as: 816fd3cfbe328eb6bef4fb5bdc77c7533ec9695a
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 82/05d028b8c3ba343d53e0da5d3c4d37122679bb

2013-05-05 Thread Caolán McNamara
 82/05d028b8c3ba343d53e0da5d3c4d37122679bb |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1a5261bcc70149cc13471dc93260c2be9da2f1ec
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:36:56 2013 +0100

Notes added by 'git notes add'

diff --git a/82/05d028b8c3ba343d53e0da5d3c4d37122679bb 
b/82/05d028b8c3ba343d53e0da5d3c4d37122679bb
new file mode 100644
index 000..0369564
--- /dev/null
+++ b/82/05d028b8c3ba343d53e0da5d3c4d37122679bb
@@ -0,0 +1 @@
+prefer: a3ce60eb3c8bb5c69ab41556398efa8316286477
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - f8/471fdc7a914f8d260029902e2feecd0b9009dd

2013-05-05 Thread Caolán McNamara
 f8/471fdc7a914f8d260029902e2feecd0b9009dd |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2aab04f420efda19cfa0eebd2e3a23aa0c6849ea
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:37:45 2013 +0100

Notes added by 'git notes add'

diff --git a/f8/471fdc7a914f8d260029902e2feecd0b9009dd 
b/f8/471fdc7a914f8d260029902e2feecd0b9009dd
new file mode 100644
index 000..7834389
--- /dev/null
+++ b/f8/471fdc7a914f8d260029902e2feecd0b9009dd
@@ -0,0 +1 @@
+prefer: 314be21c91aaa05271003482bfdbfe2bede85a3f
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - c5/97180bd15a3c05aac5d30e8e2773d1c6d02f28

2013-05-05 Thread Caolán McNamara
 c5/97180bd15a3c05aac5d30e8e2773d1c6d02f28 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6d35771456336428bba07628124343bc7fea4892
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:38:48 2013 +0100

Notes added by 'git notes add'

diff --git a/c5/97180bd15a3c05aac5d30e8e2773d1c6d02f28 
b/c5/97180bd15a3c05aac5d30e8e2773d1c6d02f28
new file mode 100644
index 000..7ae8dc0
--- /dev/null
+++ b/c5/97180bd15a3c05aac5d30e8e2773d1c6d02f28
@@ -0,0 +1 @@
+prefer: ec765081b7eceb28fff8b545e7433b14a995c2eb
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 72/e409cabd52ff27367ee70027ad4a9bcd70cf8d

2013-05-05 Thread Caolán McNamara
 72/e409cabd52ff27367ee70027ad4a9bcd70cf8d |1 +
 1 file changed, 1 insertion(+)

New commits:
commit a046cb5b45a08a58ad381f782c50600f2c2ea146
Author: Caolán McNamara caol...@redhat.com
Date:   Sun May 5 20:41:36 2013 +0100

Notes added by 'git notes add'

diff --git a/72/e409cabd52ff27367ee70027ad4a9bcd70cf8d 
b/72/e409cabd52ff27367ee70027ad4a9bcd70cf8d
new file mode 100644
index 000..34821d5
--- /dev/null
+++ b/72/e409cabd52ff27367ee70027ad4a9bcd70cf8d
@@ -0,0 +1 @@
+prefer: 2858219ddd43c3d30fc402900b784d59d73d3418
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: moz/UnpackedTarball_mozruntime.mk

2013-05-05 Thread Andras Timar
 moz/UnpackedTarball_mozruntime.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3805ee5f21ad30e02159769e914e250314335bae
Author: Andras Timar ati...@suse.com
Date:   Sun May 5 12:43:06 2013 -0700

moz: build fix

Change-Id: I85e573add83d46550822e55e691b61fc2729475a

diff --git a/moz/UnpackedTarball_mozruntime.mk 
b/moz/UnpackedTarball_mozruntime.mk
index 228890c..ac181db 100644
--- a/moz/UnpackedTarball_mozruntime.mk
+++ b/moz/UnpackedTarball_mozruntime.mk
@@ -9,6 +9,6 @@
 
 $(eval $(call gb_UnpackedTarball_UnpackedTarball,mozruntime))
 
-$(eval $(call gb_UnpackedTarball_set_tarball,mozruntime,$(MOZ_ZIP_RUNTIME)))
+$(eval $(call gb_UnpackedTarball_set_tarball,mozruntime,$(MOZ_ZIP_RUNTIME),0))
 
 # vim: set noet sw=4 ts=4:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sw/source

2013-05-05 Thread Julien Nabet
 sw/source/core/layout/trvlfrm.cxx |   22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 81870e5333722ceb33e9a326af5faa7bc08f89d6
Author: Julien Nabet serval2...@yahoo.fr
Date:   Sun May 5 18:26:51 2013 +0200

coverity#1000604: Dereference after null check

Change-Id: Id9c3b7eb29c58c55c100db6da644b232ada550ee
Reviewed-on: https://gerrit.libreoffice.org/3791
Reviewed-by: Norbert Thiebaud nthieb...@gmail.com
Tested-by: Norbert Thiebaud nthieb...@gmail.com

diff --git a/sw/source/core/layout/trvlfrm.cxx 
b/sw/source/core/layout/trvlfrm.cxx
index eee460f..0d9fd9c 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -283,6 +283,7 @@ sal_Bool SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point 
rPoint,
 SwCntntNode* pTextNd = aTextPos.nNode.GetNode( ).GetCntntNode( );
 double nTextDistance = 0;
 bool bValidTextDistance = false;
+bool bConsiderBackground = true;
 if ( pTextNd )
 {
 SwCntntFrm* pTextFrm = pTextNd-getLayoutFrm( getRootFrm( ) );
@@ -291,19 +292,18 @@ sal_Bool SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point 
rPoint,
 
 nTextDistance = lcl_getDistance( rTextRect, rPoint );
 bValidTextDistance = true;
-}
 
-bool bConsiderBackground = true;
-// If the text position is a clickable field, then that should 
have priority.
-if (pTextNd-IsTxtNode())
-{
-SwTxtNode* pTxtNd = pTextNd-GetTxtNode();
-SwTxtAttr* pTxtAttr = 
pTxtNd-GetTxtAttrForCharAt(aTextPos.nContent.GetIndex(), RES_TXTATR_FIELD);
-if (pTxtAttr)
+// If the text position is a clickable field, then that should 
have priority.
+if (pTextNd-IsTxtNode())
 {
-const SwField* pField = pTxtAttr-GetFld().GetFld();
-if (pField-IsClickable())
-bConsiderBackground = false;
+SwTxtNode* pTxtNd = pTextNd-GetTxtNode();
+SwTxtAttr* pTxtAttr = 
pTxtNd-GetTxtAttrForCharAt(aTextPos.nContent.GetIndex(), RES_TXTATR_FIELD);
+if (pTxtAttr)
+{
+const SwField* pField = pTxtAttr-GetFld().GetFld();
+if (pField-IsClickable())
+bConsiderBackground = false;
+}
 }
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED] coverity#1000604: Dereference after null check

2013-05-05 Thread Norbert Thiebaud (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/3791

Approvals:
  Norbert Thiebaud: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9c3b7eb29c58c55c100db6da644b232ada550ee
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Norbert Thiebaud nthieb...@gmail.com

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


[Libreoffice-commits] core.git: sw/source

2013-05-05 Thread Joren De Cuyper
 sw/source/filter/ww8/ww8scan.cxx |  398 +--
 1 file changed, 181 insertions(+), 217 deletions(-)

New commits:
commit 2e109641648bed508318d3b65a385f5b9e78edf7
Author: Joren De Cuyper joren.libreoff...@telenet.be
Date:   Sun May 5 01:30:08 2013 +0200

Partially translate german comments in sw/source/filter/ww8/

Please, only apply this patch if you are a native speaking German.
I'm not a native speaker, so a double check is really necessary and 
appreciated.

Thanks in advance!

Change-Id: I9493d128e124d319391aa851ae364aefeb27c512
Reviewed-on: https://gerrit.libreoffice.org/3788
Reviewed-by: Norbert Thiebaud nthieb...@gmail.com
Tested-by: Norbert Thiebaud nthieb...@gmail.com

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 7894120..eb649b0 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -112,7 +112,7 @@ const wwSprmSearcher *wwSprmParser::GetWW2SprmSearcher()
 // WW7- Sprms
 static const SprmInfo aSprms[] =
 {
-{  0, 0, L_FIX}, // Default-sprm,  wird uebersprungen
+{  0, 0, L_FIX}, // Default-sprm, will be skipped
 {  2, 1, L_FIX}, // sprmPIstd,  pap.istd (style code)
 {  3, 0, L_VAR}, // sprmPIstdPermute pap.istd permutation
 {  4, 1, L_FIX}, // sprmPIncLv1 pap.istddifference
@@ -939,13 +939,10 @@ const sal_uInt8* WW8SprmIter::FindSprm(sal_uInt16 nId)
 return 0;   // SPRM _not_ found
 }
 
-//-
-//  temporaerer Test
-//-
-// WW8PLCFx_PCDAttrs halten sich an WW8PLCF_Pcd fest und besitzen deshalb keine
-// eigenen Iteratoren. Alle sich auf Iteratoren beziehenden Methoden
-// sind deshalb Dummies.
-
+// temporary test
+// WW8PLCFx_PCDAttrs cling to WW8PLCF_Pcd and therefore do not have their own 
iterators.
+// All relating to iterators methods are therefore dummies.
+// All iterators related to methods are consequently dummies.
 WW8PLCFx_PCDAttrs::WW8PLCFx_PCDAttrs(ww::WordVersion eVersion,
 WW8PLCFx_PCD* pPLCFx_PCD, const WW8ScannerBase* pBase)
 : WW8PLCFx(eVersion, true), pPcdI(pPLCFx_PCD-GetPLCFIter()),
@@ -1013,16 +1010,16 @@ void WW8PLCFx_PCDAttrs::GetSprms(WW8PLCFxDesc* p)
 }
 else
 {
-// PRM Variante 1:  Sprm wird direkt in Member-Var abgelegt
+// SPRM is deposited directly into members-Var
 /*
-Dies sind die Attr, die in der Piece-Table stehen, statt im Text !
+These are the attr that are in the piece-table, instead of in the 
text!
 */
 
 if (IsSevenMinus(GetFIBVersion()))
 {
 aShortSprm[0] = (sal_uInt8)( ( nPrm  0xfe)  1 );
 aShortSprm[1] = (sal_uInt8)(   nPrm  8 );
-p-nSprmsLen = ( nPrm ) ? 2 : 0;// Laenge
+p-nSprmsLen = ( nPrm ) ? 2 : 0;// length
 
 // store Postion of internal mini storage in Data Pointer
 p-pMemPos = aShortSprm;
@@ -1034,7 +1031,7 @@ void WW8PLCFx_PCDAttrs::GetSprms(WW8PLCFxDesc* p)
 sal_uInt8 nSprmListIdx = (sal_uInt8)((nPrm  0xfe)  1);
 if( nSprmListIdx )
 {
-// process Sprm Id Matching as explained in MS Doku
+// process Sprm Id Matching as explained in MS Documentation
 //
 // ''Property Modifier(variant 1) (PRM)''
 // see file: s62f39.htm
@@ -1132,13 +1129,11 @@ void WW8PLCFx_PCDAttrs::GetSprms(WW8PLCFxDesc* p)
 }
 }
 
-//
-
 WW8PLCFx_PCD::WW8PLCFx_PCD(ww::WordVersion eVersion, WW8PLCFpcd* pPLCFpcd,
 WW8_CP nStartCp, bool bVer67P)
 : WW8PLCFx(eVersion, false), nClipStart(-1)
 {
-// eigenen Iterator konstruieren
+// construct own iterator
 pPcdI = new WW8PLCFpcd_Iter(*pPLCFpcd, nStartCp);
 bVer67= bVer67P;
 }
@@ -1190,7 +1185,7 @@ long WW8PLCFx_PCD::GetNoSprms( WW8_CP rStart, WW8_CP 
rEnd, sal_Int32 rLen )
 
 void WW8PLCFx_PCD::advance()
 {
-OSL_ENSURE(pPcdI , pPcdI fehlt);
+OSL_ENSURE(pPcdI , missing pPcdI);
 if (pPcdI)
 pPcdI-advance();
 }
@@ -1240,7 +1235,7 @@ WW8_CP WW8PLCFx_PCD::AktPieceStartFc2Cp( WW8_FC nStartPos 
)
 void* pData;
 if ( !pPcdI-Get( nCpStart, nCpEnd, pData ) )
 {
-OSL_ENSURE( !this, AktPieceStartFc2Cp() - Fehler );
+OSL_ENSURE( !this, AktPieceStartFc2Cp() - error );
 return WW8_CP_MAX;
 }
 bool bIsUnicode = false;
@@ -1259,10 +1254,7 @@ WW8_CP WW8PLCFx_PCD::AktPieceStartFc2Cp( WW8_FC 
nStartPos )
 return nCpStart + (nStartPos - nFcStart) / nUnicodeFactor;
 }
 
-//-
-//  Hilfsroutinen fuer alle
-//-
-
+//  Helper routines for all
 short WW8_BRC::DetermineBorderProperties(bool 

[PUSHED] Partially translate german comments in sw/source/filter/ww8/

2013-05-05 Thread Norbert Thiebaud (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/3788

Approvals:
  Norbert Thiebaud: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9493d128e124d319391aa851ae364aefeb27c512
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joren De Cuyper joren.libreoff...@telenet.be
Gerrit-Reviewer: Norbert Thiebaud nthieb...@gmail.com

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


[Libreoffice-commits] core.git: sw/source

2013-05-05 Thread Philipp Riemer
 sw/source/filter/ww8/ww8scan.cxx |  163 ++-
 1 file changed, 78 insertions(+), 85 deletions(-)

New commits:
commit bcb662a210f5e0c0e760bab1ba7c3d4b5d002c6c
Author: Philipp Riemer ruderphil...@gmail.com
Date:   Sun May 5 23:18:17 2013 +0200

follow up to commit 2e109641648bed508318d3b65a385f5b9e78edf7

Norbert cherry-picked the original patch [1] without changes. However
some sentences in it where translated misleadingly. So here I am merging my
remarks/corrections to it, plus some minor changes regarding whitespaces
in front of punctuations.

[1] see https://gerrit.libreoffice.org/3788

Change-Id: If5fa033c48b2bd16fc0b83195ba4d46f5051414b

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index eb649b0..5afa08f 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -941,8 +941,7 @@ const sal_uInt8* WW8SprmIter::FindSprm(sal_uInt16 nId)
 
 // temporary test
 // WW8PLCFx_PCDAttrs cling to WW8PLCF_Pcd and therefore do not have their own 
iterators.
-// All relating to iterators methods are therefore dummies.
-// All iterators related to methods are consequently dummies.
+// All methods relating to iterators are therefore dummies.
 WW8PLCFx_PCDAttrs::WW8PLCFx_PCDAttrs(ww::WordVersion eVersion,
 WW8PLCFx_PCD* pPLCFx_PCD, const WW8ScannerBase* pBase)
 : WW8PLCFx(eVersion, true), pPcdI(pPLCFx_PCD-GetPLCFIter()),
@@ -1010,9 +1009,9 @@ void WW8PLCFx_PCDAttrs::GetSprms(WW8PLCFxDesc* p)
 }
 else
 {
-// SPRM is deposited directly into members-Var
+// SPRM is stored directly into members var
 /*
-These are the attr that are in the piece-table, instead of in the 
text!
+These are the attr that are in the piece-table instead of in the 
text!
 */
 
 if (IsSevenMinus(GetFIBVersion()))
@@ -1255,6 +1254,7 @@ WW8_CP WW8PLCFx_PCD::AktPieceStartFc2Cp( WW8_FC nStartPos 
)
 }
 
 //  Helper routines for all
+
 short WW8_BRC::DetermineBorderProperties(bool bVer67, short *pSpace,
 sal_uInt8 *pCol, short *pIdx) const
 {
@@ -1714,7 +1714,7 @@ WW8ScannerBase::WW8ScannerBase( SvStream* pSt, SvStream* 
pTblSt,
 break;
 }
 
-// PLCF for TextBox-Stories in main text
+// PLCF for TextBox stories in main text
 sal_uInt32 nLenTxBxS = (8  pWw8Fib-nVersion) ? 0 : 22;
 if( pWwFib-fcPlcftxbxTxt  pWwFib-lcbPlcftxbxTxt )
 {
@@ -1722,7 +1722,7 @@ WW8ScannerBase::WW8ScannerBase( SvStream* pSt, SvStream* 
pTblSt,
 pWwFib-lcbPlcftxbxTxt, nLenTxBxS );
 }
 
-// PLCF for TextBox-Stories in Header/Footer range
+// PLCF for TextBox stories in Header/Footer range
 if( pWwFib-fcPlcfHdrtxbxTxt  pWwFib-lcbPlcfHdrtxbxTxt )
 {
 pHdFtTxbx = new WW8PLCFspecial( pTblSt, pWwFib-fcPlcfHdrtxbxTxt,
@@ -1765,21 +1765,20 @@ WW8ScannerBase::~WW8ScannerBase()
 delete [] pExtendedAtrds;
 }
 
-
-//  Fields
+// Fields
 
 static bool WW8SkipField(WW8PLCFspecial rPLCF)
 {
 void* pData;
 WW8_CP nP;
 
-if (!rPLCF.Get(nP, pData))  // End of PLCFspecial ?
+if (!rPLCF.Get(nP, pData))  // End of PLCFspecial?
 return false;
 
 rPLCF.advance();
 
-ifsal_uInt8*)pData)[0]  0x1f ) != 0x13 )// No begin ?
-return true;// Do not break on error
+ifsal_uInt8*)pData)[0]  0x1f ) != 0x13 )// No beginning?
+return true;// Do not terminate on error
 
 if( !rPLCF.Get( nP, pData ) )
 return false;
@@ -1804,7 +1803,7 @@ static bool WW8SkipField(WW8PLCFspecial rPLCF)
 
 while sal_uInt8*)pData)[0]  0x1f ) == 0x13)
 {
-// still new (nested) beginnings ?
+// still new (nested) beginnings?
 WW8SkipField( rPLCF );  // nested Field in Results
 if( !rPLCF.Get( nP, pData ) )
 return false;
@@ -1822,12 +1821,12 @@ static bool WW8GetFieldPara(WW8PLCFspecial rPLCF, 
WW8FieldDesc rF)
 
 rF.nLen = rF.nId = rF.nOpt = rF.bCodeNest = rF.bResNest = 0;
 
-if( !rPLCF.Get( rF.nSCode, pData ) ) // end of PLCFspecial ?
+if( !rPLCF.Get( rF.nSCode, pData ) ) // end of PLCFspecial?
 goto Err;
 
 rPLCF.advance();
 
-ifsal_uInt8*)pData)[0]  0x1f ) != 0x13 )// No begin ?
+ifsal_uInt8*)pData)[0]  0x1f ) != 0x13 )// No beginning?
 goto Err;
 
 rF.nId = ((sal_uInt8*)pData)[1];
@@ -1836,8 +1835,8 @@ static bool WW8GetFieldPara(WW8PLCFspecial rPLCF, 
WW8FieldDesc rF)
 goto Err;
 
 rF.nSRes = rF.nLCode;   // Default
-rF.nSCode++;// ohne Marken
-rF.nLCode -= rF.nSCode; // Pos zu Laenge
+rF.nSCode++;// without markers
+rF.nLCode -= 

Re: Master branch now requires liborcus 0.5.0 or higher.

2013-05-05 Thread Mat M
Le Tue, 23 Apr 2013 11:59:39 +0200, Bjoern Michaelsen  
bjoern.michael...@canonical.com a écrit:



Hi,

On Mon, Apr 22, 2013 at 10:14:50PM +0200, Mat M wrote:

A glossary of the functions and a pointer to a Good Use(tm) of it in
an existing makefile may help a lot.


Looking at the replies we seem to actually have quite a bit of docs,  
they are

just distributed all over the net and some might be a bit outdated.

Are you maybe interested in updating:

 https://wiki.documentfoundation.org/Development/Build_System

to link and collect them all?

Best,

Bjoern


I started doing it. Check  
https://wiki.documentfoundation.org/Development/Build_System to be sure  
you see it without looking to page history :)


If I have questions about gbuild (and be sure I will :) ), what is the  
preferred way:

- Asking the list through a dedicated thread
- Private mails to gbuild experts (Volunteers, one step ahead)
- Asking list + CCing gbuild experts
- TOBECONFIRMED tags in the wiki
- any other mean I did not thought about which is still convenient for  
akser and answerer :)


I am CEST timed and could not reach IRC during work hours, alas. BTW, I am  
not sure it will be the best way.


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


[Libreoffice-commits] core.git: 4 commits - oox/source

2013-05-05 Thread Markus Mohrhard
 oox/source/export/chartexport.cxx |2 +-
 oox/source/export/drawingml.cxx   |   21 -
 2 files changed, 17 insertions(+), 6 deletions(-)

New commits:
commit 09d486b897c0e2ba407e833462ac5f9db6188463
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon May 6 01:32:32 2013 +0200

data label export does not work with bar charts

Excel just removes the chart during import. Additionally we should work
on only exporting the data label information for points that really
contain data labels.

Change-Id: I80aef8effe27c729feb69c25c319ca129dc961a5

diff --git a/oox/source/export/chartexport.cxx 
b/oox/source/export/chartexport.cxx
index 2d1b930..32edd25 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1533,7 +1533,7 @@ void ChartExport::exportSeries( Reference 
chart2::XChartType  xChartType, sal_
 // export data labels
 // Excel does not like our current data label export
 // for scatter charts
-if( eChartType != chart::TYPEID_SCATTER )
+if( eChartType != chart::TYPEID_SCATTER  eChartType != 
chart::TYPEID_BAR )
 exportDataLabels( uno::Reference beans::XPropertySet 
( aSeriesSeq[nSeriesIdx], uno::UNO_QUERY ), nSeriesLength );
 
 // export data points
commit 062b9f0bdc6fc5328fb76a3b19e1036e1e017ce7
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon May 6 01:15:47 2013 +0200

remove unnecessary explicit namespaces

Change-Id: Idb6bf5704a3b569ae4ae19d35526f19528ab63a6

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index c6cb94a..3157eac 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1536,16 +1536,16 @@ void DrawingML::WriteFill( Reference XPropertySet  
xPropSet )
 
 switch( aFillStyle )
 {
-case ::com::sun::star::drawing::FillStyle_SOLID :
+case FillStyle_SOLID :
 WriteSolidFill( xPropSet );
 break;
-case ::com::sun::star::drawing::FillStyle_GRADIENT :
+case FillStyle_GRADIENT :
 WriteGradientFill( xPropSet );
 break;
-case ::com::sun::star::drawing::FillStyle_BITMAP :
+case FillStyle_BITMAP :
 WriteBlipFill( xPropSet, FillBitmapURL );
 break;
-case ::com::sun::star::drawing::FillStyle_NONE:
+case FillStyle_NONE:
 mpFS-singleElementNS( XML_a, XML_noFill, FSEND );
 break;
 default:
commit 6e2292b3cdd032edff21f0016b7f61e9bb420699
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon May 6 01:11:36 2013 +0200

map full transparent solid fill to no fill, fdo#64224

Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index cbabf5b..c6cb94a 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1525,6 +1525,15 @@ void DrawingML::WriteFill( Reference XPropertySet  
xPropSet )
 if( aFillStyle == FillStyle_HATCH )
 return;
 
+if ( aFillStyle == FillStyle_SOLID  GetProperty( xPropSet, 
FillTransparence ) )
+{
+// map full transparent background to no fill
+sal_Int16 nVal;
+xPropSet-getPropertyValue( FillTransparence ) = nVal;
+if ( nVal == 100 )
+aFillStyle = FillStyle_NONE;
+}
+
 switch( aFillStyle )
 {
 case ::com::sun::star::drawing::FillStyle_SOLID :
commit 93abb2082ad3cae1432d69b65a89dace6646785a
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun May 5 21:35:07 2013 +0200

let us be explicit about default values

Different MSO versions behave differently in respect to the default
values. 2007 is not compliant to OOXML and is what our export filter
expects, 2010+ are compliant to OOXML and therefore our charts look
awful.

Change-Id: If301d878a1603ed9835884cfbb9ed9c902526ba0

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index cad8ea1..cbabf5b 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1522,8 +1522,7 @@ void DrawingML::WriteFill( Reference XPropertySet  
xPropSet )
 FillStyle aFillStyle( FillStyle_NONE );
 xPropSet-getPropertyValue( FillStyle ) = aFillStyle;
 
-if( aFillStyle == FillStyle_NONE ||
-aFillStyle == FillStyle_HATCH )
+if( aFillStyle == FillStyle_HATCH )
 return;
 
 switch( aFillStyle )
@@ -1537,6 +1536,9 @@ void DrawingML::WriteFill( Reference XPropertySet  
xPropSet )
 case ::com::sun::star::drawing::FillStyle_BITMAP :
 WriteBlipFill( xPropSet, FillBitmapURL );
 break;
+case ::com::sun::star::drawing::FillStyle_NONE:
+mpFS-singleElementNS( XML_a, XML_noFill, FSEND );
+break;
 default:
 ;
 }

[Libreoffice-commits] core.git: 2 commits - vcl/generic vcl/inc vcl/source

2013-05-05 Thread Khaled Hosny
 vcl/generic/glyphs/gcach_ftyp.cxx   |   29 +++--
 vcl/generic/glyphs/gcach_layout.cxx |8 +---
 vcl/inc/generic/glyphcache.hxx  |2 +-
 vcl/source/gdi/sallayout.cxx|5 -
 4 files changed, 21 insertions(+), 23 deletions(-)

New commits:
commit 9a8f125fa7e63b829471a6722dae3006bb1f57d2
Author: Khaled Hosny khaledho...@eglug.org
Date:   Mon May 6 01:40:06 2013 +0200

[harfbuzz] Support Unicode variation selectors

Change-Id: I8c56f45505327857613c39b28da3ae7cc3ad201c

diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx 
b/vcl/generic/glyphs/gcach_ftyp.cxx
index 09a00db..c1d6ddb 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -1177,7 +1177,7 @@ int ServerFont::ApplyGlyphTransform( int nGlyphFlags,
 
 // ---
 
-int ServerFont::GetRawGlyphIndex( sal_UCS4 aChar ) const
+int ServerFont::GetRawGlyphIndex(sal_UCS4 aChar, sal_UCS4 aVS) const
 {
 if( mpFontInfo-IsSymbolFont() )
 {
@@ -1216,18 +1216,27 @@ int ServerFont::GetRawGlyphIndex( sal_UCS4 aChar ) const
 aChar = aChar*256 + (aTempArray[i]  0xFF);
 }
 
-// cache glyph indexes in font info to share between different sizes
-int nGlyphIndex = mpFontInfo-GetGlyphIndex( aChar );
-if( nGlyphIndex  0 )
+int nGlyphIndex = 0;
+// If asked, check first for variant glyph with the given Unicode variation
+// selector. This is quite uncommon so we don't bother with caching here.
+if (aVS)
+nGlyphIndex = FT_Face_GetCharVariantIndex(maFaceFT, aChar, aVS);
+
+if (nGlyphIndex == 0)
 {
-nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar );
-if( !nGlyphIndex)
+// cache glyph indexes in font info to share between different sizes
+nGlyphIndex = mpFontInfo-GetGlyphIndex( aChar );
+if( nGlyphIndex  0 )
 {
-// check if symbol aliasing helps
-if( (aChar = 0x00FF)  mpFontInfo-IsSymbolFont() )
-nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar | 0xF000 );
+nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar );
+if( !nGlyphIndex)
+{
+// check if symbol aliasing helps
+if( (aChar = 0x00FF)  mpFontInfo-IsSymbolFont() )
+nGlyphIndex = FT_Get_Char_Index( maFaceFT, aChar | 0xF000 
);
+}
+mpFontInfo-CacheGlyphIndex( aChar, nGlyphIndex );
 }
-mpFontInfo-CacheGlyphIndex( aChar, nGlyphIndex );
 }
 
 return nGlyphIndex;
diff --git a/vcl/generic/glyphs/gcach_layout.cxx 
b/vcl/generic/glyphs/gcach_layout.cxx
index f7b6907..cb6c195 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -246,13 +246,7 @@ static hb_bool_t getFontGlyph(hb_font_t* /*font*/, void* 
pFontData,
 void* /*pUserData*/)
 {
 ServerFont* pFont = (ServerFont*) pFontData;
-*nGlyphIndex = 0;
-
-if (vs)
-*nGlyphIndex = pFont-GetRawGlyphIndex(ch /*, vs*/); // XXX handle 
variation selectors
-
-if (*nGlyphIndex == 0)
-*nGlyphIndex = pFont-GetRawGlyphIndex(ch);
+*nGlyphIndex = pFont-GetRawGlyphIndex(ch, vs);
 
 return *nGlyphIndex != 0;
 }
diff --git a/vcl/inc/generic/glyphcache.hxx b/vcl/inc/generic/glyphcache.hxx
index cb4ffce..a7e52d9 100644
--- a/vcl/inc/generic/glyphcache.hxx
+++ b/vcl/inc/generic/glyphcache.hxx
@@ -211,7 +211,7 @@ public:
 #endif
 
 int GetGlyphIndex( sal_UCS4 ) const;
-int GetRawGlyphIndex( sal_UCS4 ) const;
+int GetRawGlyphIndex( sal_UCS4, sal_UCS4 = 0 ) const;
 int FixupGlyphIndex( int nGlyphIndex, sal_UCS4 ) const;
 boolGetGlyphOutline( int nGlyphIndex, 
::basegfx::B2DPolyPolygon ) const;
 boolGetAntialiasAdvice( void ) const;
commit 26ec39fc9f4fecd826983b08b64990ca608e48c4
Author: Khaled Hosny khaledho...@eglug.org
Date:   Mon May 6 01:29:33 2013 +0200

Revert #i103131# in doubt treat unicode variation selectors as 
invisible(cherry picked from commit 179f88dfe5a1eb2ebd051d73b50f1e0af9c12fd9)

This reverts commit 6840ba613cc46ee65d58612ecabe748d539de9f5.

We don't want this since we can now support variation selectors with
HarfBuzz.

diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index d4696c7..e90f782 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -337,11 +337,6 @@ inline bool IsControlChar( sal_UCS4 cChar )
 // byte order markers and invalid unicode
 if( (cChar == 0xFEFF) || (cChar == 0xFFFE) || (cChar == 0x) )
 return true;
-// variation selectors
-if( (0xFE00 = cChar)  (cChar = 0xFE0F) )
-return true;
-if( (0xE0100 = cChar)  (cChar = 0xE01EF) )
-return true;
 return false;
 }
 
___

[PATCH libreoffice-4-0] map full transparent solid fill to no fill, fdo#64224

2013-05-05 Thread Markus Mohrhard (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/3792

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/92/3792/1

map full transparent solid fill to no fill, fdo#64224

Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e
(cherry picked from commit 6e2292b3cdd032edff21f0016b7f61e9bb420699)
---
M oox/source/export/drawingml.cxx
1 file changed, 9 insertions(+), 0 deletions(-)



diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 4eefc90..00c869f 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1504,6 +1504,15 @@
 aFillStyle == FillStyle_HATCH )
 return;
 
+if ( aFillStyle == FillStyle_SOLID  GetProperty( xPropSet, 
FillTransparence ) )
+{
+// map full transparent background to no fill
+sal_Int16 nVal;
+xPropSet-getPropertyValue( FillTransparence ) = nVal;
+if ( nVal == 100 )
+aFillStyle = FillStyle_NONE;
+}
+
 switch( aFillStyle )
 {
 case ::com::sun::star::drawing::FillStyle_SOLID :

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com

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


[PATCH libreoffice-4-0] let us be explicit about default values

2013-05-05 Thread Markus Mohrhard (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/3793

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/93/3793/1

let us be explicit about default values

Different MSO versions behave differently in respect to the default
values. 2007 is not compliant to OOXML and is what our export filter
expects, 2010+ are compliant to OOXML and therefore our charts look
awful.

Change-Id: If301d878a1603ed9835884cfbb9ed9c902526ba0
(cherry picked from commit 93abb2082ad3cae1432d69b65a89dace6646785a)
---
M oox/source/export/drawingml.cxx
1 file changed, 4 insertions(+), 2 deletions(-)



diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 4eefc90..611dcbe 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1500,8 +1500,7 @@
 FillStyle aFillStyle( FillStyle_NONE );
 xPropSet-getPropertyValue( S( FillStyle ) ) = aFillStyle;
 
-if( aFillStyle == FillStyle_NONE ||
-aFillStyle == FillStyle_HATCH )
+if( aFillStyle == FillStyle_HATCH )
 return;
 
 switch( aFillStyle )
@@ -1515,6 +1514,9 @@
 case ::com::sun::star::drawing::FillStyle_BITMAP :
 WriteBlipFill( xPropSet, S( FillBitmapURL ) );
 break;
+case ::com::sun::star::drawing::FillStyle_NONE:
+mpFS-singleElementNS( XML_a, XML_noFill, FSEND );
+break;
 default:
 ;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If301d878a1603ed9835884cfbb9ed9c902526ba0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com

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


Re: .docx file immediately crashes LibreOffice 4.0.2.2

2013-05-05 Thread Norbert Thiebaud
On Sun, May 5, 2013 at 12:55 PM, Manuel Reimer
manuel.s...@nurfuerspam.de wrote:
 Manuel Reimer wrote:

 I have a .docx file which immediately crashes LibreOffice.

 Can someone please tell me where I can send this file to so a developer
 can have
 a look at this file? I can't publish the file on the internet, as the
 content in
 this file is copyright protected.


 I asked the author and I got the permission to publish the file, so I filed
 a bug here:
 https://bugs.freedesktop.org/show_bug.cgi?id=64249

Yep, that is the way to go :-)

the patch below worked around the crash for me... :

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index b5a5baa..2efc636 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1647,6 +1647,8 @@ void DomainMapper_Impl::PushShapeContext( const
uno::Reference drawing::XShape
 if (m_aTextAppendStack.empty())
 return;
 uno::Referencetext::XTextAppend xTextAppend =
m_aTextAppendStack.top().xTextAppend;
+appendTableManager( );
+appendTableHandler( );
 try
 {
 uno::Reference lang::XServiceInfo  xSInfo( xShape,
uno::UNO_QUERY_THROW );
@@ -1705,15 +1707,12 @@ void DomainMapper_Impl::PushShapeContext(
const uno::Reference drawing::XShape
 xProps-setPropertyValue( rPropNameSupplier.GetName(
PROP_ANCHOR_TYPE ), bIsGraphic  ?  uno::makeAny(
text::TextContentAnchorType_AS_CHARACTER ) : uno::makeAny(
text::TextContentAnchorType_AT_PARAGRAPH ) );
 }
 }
-
-appendTableManager( );
-appendTableHandler( );
-getTableManager().startLevel();
 }
 catch ( const uno::Exception e )
 {
 SAL_WARN(writerfilter, Exception when adding shape:   e.Message);
 }
+getTableManager().startLevel();
 }

it seems that that was introduced as a side effect of
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d4fd86e3a48defbff29bfbabfbf0d2c5d95d39f5

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


[Libreoffice-commits] core.git: sc/source

2013-05-05 Thread Markus Mohrhard
 sc/source/filter/excel/xestream.cxx |   16 
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 5aa9cfedc3e1e2f191a3fc86342dd851e5ef3d3f
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Mon May 6 02:56:40 2013 +0200

make Excel happy

Why the f*cking hell do we need file format specs if they are ignored
and we just write into an implementers note what we want to see in the
spec. And at least if there is an implementers note file make sure to
mention all the cases and save me the reverse engineering time.

Change-Id: I08c2c9963fc6f2780e49a89f988a758665e007fa

diff --git a/sc/source/filter/excel/xestream.cxx 
b/sc/source/filter/excel/xestream.cxx
index 29d5bd7..64e0ee7 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -950,16 +950,16 @@ sax_fastparser::FSHelperPtr XclXmlUtils::WriteFontData( 
sax_fastparser::FSHelper
 const char* pUnderline = lcl_GetUnderlineStyle( 
rFontData.GetScUnderline(), bHaveUnderline );
 const char* pVertAlign = lcl_ToVerticalAlignmentRun( 
rFontData.GetScEscapement(), bHaveVertAlign );
 
-lcl_WriteValue( pStream, nFontId,XclXmlUtils::ToOString( 
rFontData.maName ).getStr() );
-lcl_WriteValue( pStream, XML_charset,rFontData.mnCharSet != 0 ? 
OString::valueOf( (sal_Int32) rFontData.mnCharSet ).getStr() : NULL );
-lcl_WriteValue( pStream, XML_family, OString::valueOf( (sal_Int32) 
rFontData.mnFamily ).getStr() );
 lcl_WriteValue( pStream, XML_b,  rFontData.mnWeight  400 ? 
XclXmlUtils::ToPsz( rFontData.mnWeight  400 ) : NULL );
 lcl_WriteValue( pStream, XML_i,  rFontData.mbItalic ? 
XclXmlUtils::ToPsz( rFontData.mbItalic ) : NULL );
 lcl_WriteValue( pStream, XML_strike, rFontData.mbStrikeout ? 
XclXmlUtils::ToPsz( rFontData.mbStrikeout ) : NULL );
-lcl_WriteValue( pStream, XML_outline,rFontData.mbOutline ? 
XclXmlUtils::ToPsz( rFontData.mbOutline ) : NULL );
-lcl_WriteValue( pStream, XML_shadow, rFontData.mbShadow ? 
XclXmlUtils::ToPsz( rFontData.mbShadow ) : NULL );
 // OOXTODO: lcl_WriteValue( rStream, XML_condense, );// mac 
compatibility setting
 // OOXTODO: lcl_WriteValue( rStream, XML_extend, );  // compatibility 
setting
+lcl_WriteValue( pStream, XML_outline,rFontData.mbOutline ? 
XclXmlUtils::ToPsz( rFontData.mbOutline ) : NULL );
+lcl_WriteValue( pStream, XML_shadow, rFontData.mbShadow ? 
XclXmlUtils::ToPsz( rFontData.mbShadow ) : NULL );
+lcl_WriteValue( pStream, XML_u,  bHaveUnderline ? pUnderline : 
NULL );
+lcl_WriteValue( pStream, XML_vertAlign,  bHaveVertAlign ? pVertAlign : 
NULL );
+lcl_WriteValue( pStream, XML_sz, OString::valueOf( (double) 
(rFontData.mnHeight / 20.0) ).getStr() );  // Twips-Pt
 if( rFontData.maColor != Color( 0xFF, 0xFF, 0xFF, 0xFF ) )
 pStream-singleElement( XML_color,
 // OOXTODO: XML_auto,   bool
@@ -968,9 +968,9 @@ sax_fastparser::FSHelperPtr XclXmlUtils::WriteFontData( 
sax_fastparser::FSHelper
 // OOXTODO: XML_theme,  index into clrScheme/
 // OOXTODO: XML_tint,   double
 FSEND );
-lcl_WriteValue( pStream, XML_sz, OString::valueOf( (double) 
(rFontData.mnHeight / 20.0) ).getStr() );  // Twips-Pt
-lcl_WriteValue( pStream, XML_u,  bHaveUnderline ? pUnderline : 
NULL );
-lcl_WriteValue( pStream, XML_vertAlign,  bHaveVertAlign ? pVertAlign : 
NULL );
+lcl_WriteValue( pStream, nFontId,XclXmlUtils::ToOString( 
rFontData.maName ).getStr() );
+lcl_WriteValue( pStream, XML_family, OString::valueOf( (sal_Int32) 
rFontData.mnFamily ).getStr() );
+lcl_WriteValue( pStream, XML_charset,rFontData.mnCharSet != 0 ? 
OString::valueOf( (sal_Int32) rFontData.mnCharSet ).getStr() : NULL );
 
 return pStream;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - svx/source

2013-05-05 Thread Pavel Janík
 svx/source/sidebar/insert/InsertPropertyPanel.cxx |2 --
 svx/source/sidebar/insert/SimpleToolBoxController.cxx |2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 4fba97b33858a6fc610b5540ab0277370e4147bf
Author: Pavel Janík pavelja...@apache.org
Date:   Sun May 5 18:51:49 2013 +

Initialize variable to prevent compiler warning.

diff --git a/svx/source/sidebar/insert/SimpleToolBoxController.cxx 
b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
index 6b4e5c2..dda97d9 100755
--- a/svx/source/sidebar/insert/SimpleToolBoxController.cxx
+++ b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
@@ -68,7 +68,7 @@ void SAL_CALL SimpleToolBoxController::statusChanged (const 
css::frame::FeatureS
 nItemBits = ~TIB_CHECKABLE;
 TriState eState = STATE_NOCHECK;
 
-sal_Bool bValue;
+sal_Bool bValue = sal_False;
 if (rEvent.State = bValue)
 {
 // Boolean, treat it as checked/unchecked
commit ceba7a4b3c50eb62544bfa9626f88013a4b9917b
Author: Pavel Janík pavelja...@apache.org
Date:   Sun May 5 18:49:42 2013 +

Remove duplicated macro definition.

diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.cxx 
b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
index d2baaa3..4f4c3bb 100755
--- a/svx/source/sidebar/insert/InsertPropertyPanel.cxx
+++ b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
@@ -46,8 +46,6 @@ using namespace css;
 using namespace cssu;
 using ::rtl::OUString;
 
-#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
-
 namespace svx { namespace sidebar {
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[ABANDONED] fdo56995 Created global option to disable presenter console

2013-05-05 Thread Manik Malhotra (via Code Review)
Manik Malhotra has abandoned this change.

Change subject: fdo56995 Created global option to disable presenter console
..


Patch Set 1: Abandoned

New patch was created 
https://gerrit.libreoffice.org/3762

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

Gerrit-MessageType: abandon
Gerrit-Change-Id: I61e8ea96383b6486caac6651134d1e40731f50b7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Manik Malhotra manik10...@iiitd.ac.in
Gerrit-Reviewer: Thorsten Behrens tbehr...@suse.com

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


[Libreoffice-bugs] [Bug 62803] border of a frame is not printed if document was created with LibO 3.6 and an image is within the document

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62803

walburg.fr...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from walburg.fr...@gmail.com ---
error is solved in version 4.0.3.3

-- 
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 49840] XLSX FILEOPEN Text in cells is lost

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49840

Urmas davian...@gmail.com changed:

   What|Removed |Added

   Priority|medium  |high
Summary|XLSX FORMATTING bug: text   |XLSX FILEOPEN Text in cells
   |not shown   |is lost

-- 
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 40073] Bug with translation of standard styles Libreoffice

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40073

--- Comment #4 from sophie gautier.sop...@gmail.com ---
Hi, So tested with Version 4.0.3.1 (Build ID:
a67943cd4d125208f4ea7fa29439551825cfb39) and the bug is still here. Of course
it's not a l10n issue. I'll investigate further and come back to give more
context. Regards - Sophie

-- 
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 63817] Base crashes quite frequently, often when re-opening an ODB, with a JRE error

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63817

t...@tim-passingham.co.uk changed:

   What|Removed |Added

 CC||t...@tim-passingham.co.uk

--- Comment #2 from t...@tim-passingham.co.uk ---
Thanks for responding - that's very helpful.

I haven't got any hsqldb files, so I don't know if it happens with them.

I have 2 local mysql databases and it happens with both of them, using jdbc or
mysql connector.  I'm now on mysql 5.5.31, but it happened with earlier
versions as well.  I will the maintenance as you suggest.

phpmyadmin seems OK.

I can't reproduce the fault, it just happens sometimes.  Base quite often fails
to start cleanly, and sometimes crashes when running, but only occasionally
does it produce a dump like the one I reported.  I'm unlikely to be able to get
a backtrace, but will see what I can do.

-- 
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 57230] LibreOffice does not print all pages

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57230

--- Comment #2 from Bernd Kloss kloss.mail...@gmail.com ---
Meanwhile I am working with 4.0.3.1, but the problem is still existing.
If you are printing parts of a document in writer with more than one page, you
get errors like
'no page selected'
For example:
document with 5 pages and you try to print all then only page 1 is being
printed and a second dialogue opens that alows you to print pages 1 - 4
There has to be an extra page added to print pages 1-5

The last page of a n-page document is not prinable. n+1 has to be added to get
page n

This problem does not occur using MS Office 2011

Regards
Bernd

-- 
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 63817] Base crashes quite frequently, often when re-opening an ODB, with a JRE error

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63817

--- Comment #3 from Julien Nabet serval2...@yahoo.fr ---
Tim: thank you for your feedback. Did you run maintenance on Mysql Base?

Also, you may give a try to 4.0.2 (4.0.3 will be released in very few days).

-- 
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 64228] Request for Calc: Create a variable name to a cell and reference that name by clicking on it

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64228

GerardF gerard.farg...@orange.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Severity|normal  |enhancement
 CC||gerard.farg...@orange.fr
 Ever confirmed|0   |1

--- Comment #1 from GerardF gerard.farg...@orange.fr ---
It could be a nice feature.
Set to enhancement.

-- 
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 63817] Base crashes quite frequently, often when re-opening an ODB, with a JRE error

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63817

--- Comment #4 from t...@tim-passingham.co.uk ---
I will run maintenance later today (I need a little time to make sure I have
the right backups).

I can't move to LO 4 at all because of #63398, which is rather a nuisance.

-- 
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 64232] New: FILEOPEN: [FILEOPEN] [FORMATTING] [DATALOSS] Importing DOCX with default font 'Times New Roman' - shown as different font in Writer

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64232

  Priority: medium
Bug ID: 64232
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FILEOPEN: [FILEOPEN] [FORMATTING] [DATALOSS] Importing
DOCX with default font 'Times New Roman' - shown as
different font in Writer
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: rattles2...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Writer
   Product: LibreOffice

Created attachment 78873
  -- https://bugs.freedesktop.org/attachment.cgi?id=78873action=edit
DOCX with single text with default 'Times New Roman' font

Problem description: 
A DOCX file was created in Word 2013 with a single sentence (no font was
selected, so default font in Word is 'Times New Roman').
When opening the DOCX in LibreOffice - it looks like a different font
(defiantly not 'Times New Roman').
In addition, the font combo-box appears empty.

In addition - when saving the file back to a new DOCX - Word cannot open the
file (file is corrupt). When Word tries to recover the corrupt file - it opens
with the font 'Calibri' selected for the text.

Steps to reproduce:
1. Create a DOCX in Word without changing font (or download the attached
document)
2. Open the DOCX in LibreOffice 

Current behavior:
- No font is selected in 'font combo-box'
- Font rendered is not 'Times New Roman'
- When saving to DOCX - file is corrupt

Expected behavior:
- Selected font in 'font combo-box' should be 'Times New Roman'
- Font rendered should be 'Times New Roman'
- When saving to DOCX - should not corrupt the file

Operating System: Windows 8
Version: 4.0.2.2 release

-- 
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 64232] FILEOPEN: [FILEOPEN] [FORMATTING] [DATALOSS] Importing DOCX with default font 'Times New Roman' - shown as different font in Writer

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64232

--- Comment #1 from Adam CloudOn rattles2...@gmail.com ---
Created attachment 78874
  -- https://bugs.freedesktop.org/attachment.cgi?id=78874action=edit
LibreOffice Font Bug - Screenshot

-- 
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 64233] New: CONFIGURATION: Clicking the Menu 'Tools Customize' no response

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64233

  Priority: medium
Bug ID: 64233
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: CONFIGURATION: Clicking the Menu 'Tools Customize' no
response
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: wingtong...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.3.2 rc
 Component: Writer
   Product: LibreOffice

Problem description: 
Clicking the Menu 'Tools Customize' no response 

Steps to reproduce:
1. Select Menu 'Tools Customize', Nothing happen
2. Workaround: Right click on the tools bar can called up the dialogue.
3. This problem is not found in 4.0.2 version. Two versions 4.02 and 4.03 have
been tested separately on ubuntu 13.04
4. The locale of the system is zh-tw.
5. Even after entering the customize dialogue, the program become very
slugglish. You have to wait for every click. However the operation can still be
done successfully. 

Current behavior:
'Tools Customize' no response 

Expected behavior:
'Customize' dialogue should pop up


Operating System: Ubuntu
Version: 4.0.3.2 rc

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


[Libreoffice-bugs] [Bug 64232] FILEOPEN: [FILEOPEN] [FORMATTING] [DATALOSS] Importing DOCX with default font 'Times New Roman' - shown as different font in Writer

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64232

Jorendc joren.libreoff...@telenet.be changed:

   What|Removed |Added

 CC||jmadero@gmail.com,
   ||joren.libreoffice@telenet.b
   ||e

--- Comment #2 from Jorendc joren.libreoff...@telenet.be ---
@Joel: Sorry to ping you in your vacation. Do you mind to test with Office
2013?

Thanks!
Joren

-- 
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 64234] New: Feature request- Footnote NUmber font config

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64234

  Priority: medium
Bug ID: 64234
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Feature request- Footnote NUmber font config
  Severity: enhancement
Classification: Unclassified
OS: All
  Reporter: bivouacrecord...@live.com
  Hardware: All
Status: UNCONFIRMED
   Version: unspecified
 Component: Writer
   Product: LibreOffice

I would like to request that the footnote automatic numbers be able to be
modified either independently or with the character formatting of its
accompanying text.

At the moment, I cannot change the automatic numbering to an italicized number.

Thanks!

-- 
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 63713] FILEOPEN Oracle DB with 21535 DB Objects takes about 30 Secs to open

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63713

--- Comment #4 from jo...@netzagentur.at ---
(In reply to comment #3)
 Which LO version do you use? FYI, last one is 4.0.2 and 4.0.3 is gonna be
 released in a few days (see
 https://wiki.documentfoundation.org/ReleasePlan#4.0_release)

Actually this has been since I've been using LibreOffice Base with Oracle DB.
Now I'm using version 4.0.2.
As soon as possible I'll change to version 4.0.3 but the change log doesn't
describe any feature change.

-- 
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 60061] Crash when applying a master page when undone another master page

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60061

--- Comment #5 from Ruslan Kabatsayev b7.10110...@gmail.com ---
Still crashes with Version: 4.1.0.0.alpha0+
Build ID: e61ea2d79f96a96314f0135ad6cf820b6ae57b5

-- 
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 63878] [FORMATTING] On an RTL spreadsheet, changing zoom level moves charts

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63878

Faisal Menawer fmalota...@kacst.edu.sa changed:

   What|Removed |Added

 Depends on||64011

-- 
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 38101] EDITING - image resizing; not disappearing frame

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38101

A stgohi-lob...@yahoo.de changed:

   What|Removed |Added

 Status|ASSIGNED|NEEDINFO

--- Comment #2 from A stgohi-lob...@yahoo.de ---
Thank you very much for your bug report.

I tried it several times but unfortunately it was for me not reproducible with
LO 4.0.2.2 (Win7 Home, 64bit).

Does this issue still persist for you with the lastest release of LO?  If we
can not reproduce it now, then I would propose to close this issue and to
reopen it if it appears again in a future release of LO.

changed the status

-- 
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 37697] [UI] Using icons for buttons object alignment

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37697

A stgohi-lob...@yahoo.de changed:

   What|Removed |Added

 Status|ASSIGNED|NEW

--- Comment #12 from A stgohi-lob...@yahoo.de ---
for me a buggy behavior is reproducible with LO 4.0.2.2 (Win7 Home, 64bit)

Steps Done:
1. Open with WRITER the attached sample document sample.odt from Rainer
2. Click the text frame in the document and assure that the FRAME and ALIGN
toolsbar are shown/activated (go to the menu VIEW - TOOLBARS)
3. Now use the TOP and BOTTOM toolbar icons from the ALIGN and FRAME toolbar

Result: TOP moves the text frame down and BOTTOM moves the text frame up in
both toolbars - this is inconsistent for me


changed the status

-- 
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 64235] New: EDITING: Crash Writer when copy/paste

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64235

  Priority: medium
Bug ID: 64235
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: EDITING: Crash Writer when copy/paste
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: mikael.jonas...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Writer
   Product: LibreOffice

Problem description: WinDbg gets triggered

Steps to reproduce:
1. Open a odt
2. Copy/paste some txt one or a few times.
3. Wait

Current behavior: Not always happening

Expected behavior: Let me copy and paste as much as I need without crashing

While trying to replicate I copied and paste some stuff in a document, then
just closed it without saving. R6025 - pure virtual function call.

Some background info. I currently have Virtualbox running with Host to Guest
shared clipboard. But this bug happens on the Host. (not tried the Guest)
I have Panda Cloud Antivirus Pro installed.
Nothing else out of the ordinary.

I have saved a dmp file.
Operating System: Windows 8
Version: 4.0.2.2 release

-- 
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 64235] EDITING: Crash Writer when copy/paste

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64235

--- Comment #1 from Mikael Jonasson mikael.jonas...@gmail.com ---
Created attachment 78875
  -- https://bugs.freedesktop.org/attachment.cgi?id=78875action=edit
WinDbg and Process Hacker verifying that Libre is crashed

-- 
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 57011] Formatting: spell checker jumps to cursor after closing and doesn't stay at the last checked word

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57011

--- Comment #2 from Markus Grob sno...@ilnet.ch ---
I think, you don't need a document. I hope, if I describe it right, you will
understand, what my problem is.

If I work with a big document and have the cursor on the first page and start
the spellchecker, the document scrolls down, while I'm correcting the words or
committing them into the checker.

Now my case starts:

After 5 sites I see an error in the document and will correct it outside the
spellchecker. For this, I stop the spellchecker, but the document don't stops
there, it scolls back to where it starts (first page).

After this, I have to scroll down and tries to find the error again.

- I prefer, that the spellchecker doesn't scroll back to the cursor position,
but stays at the given document position, after closing it.

Was this understandable?

Example:

text
-Cursor   (jumps back after closing)
text   |
...lot of text...  |
... 4 pages with text ...  |
...|
error - spellchecker is here--|

-- 
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 64235] EDITING: Crash Writer when copy/paste

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64235

--- Comment #2 from Mikael Jonasson mikael.jonas...@gmail.com ---
Dump file.

https://dl.dropboxusercontent.com/u/32908561/libre1.7z

-- 
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 40073] Bug with translation of standard styles Libreoffice

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40073

--- Comment #5 from sophie gautier.sop...@gmail.com ---
So, we have reproduced it also under Windows 7/64 4.0.3.1 (Build ID:
a67943cd4d125208f4ea7fa29439551825cfb39).
To simply reproduce it,
- install the FR pack and set LO to French UI
- File  New  Text
- Format  Page  Left margin set to 5 cm
- Modify Frame style 'Marginalia', under the Type area, Horizontal position :
From left 1.5 cm for the Left page margin
- Insert  Frame  OK
- Apply the Frame Style Marginalia
- The frame is set to the margin
- Save, close, reopen
- The frame is at the center of the page
then
- Just set the UI to English
- close, reopen
- the frame is set to the margin
So the bug is confirmed. Sophie

-- 
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 33692] Drag and drop copying

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33692

A stgohi-lob...@yahoo.de changed:

   What|Removed |Added

 Status|ASSIGNED|NEEDINFO

--- Comment #4 from A stgohi-lob...@yahoo.de ---
I tried it as described, but it does not work for me with LO 4.0.2.2 (Win7
Home, 64bit.

Steps Done:
1. Open the attachment with WRITER
2. Press the Ctrl Key and make a left mouse click on the ellipse in the
document
3. Try to move the ellipse with the mouse pointer (still holding the Ctrl key)
somewhere to the left
4. Press the PAGE PREVIEW button in the top toolbar and alternatively go to the
menu FILE - PRINT - tab GENERAL

Result:
The ellipse was not copied, also not after pressing the PAGE PREVIEW button and
also not with the PRINT PREVIEW.

Is there maybe a misunderstanding from my side?
Could you please provide more information how to reproduce it?

changed the status

-- 
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 64234] Feature request- Footnote NUmber font config

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64234

A stgohi-lob...@yahoo.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from A stgohi-lob...@yahoo.de ---
I think this would be a further interesting and good enhancement.

Steps to Reproduce:
1. Open WRITER
2. Go to the menu INSERT - FOOTNOTE/ENDNOTE and press ok

Result: The footnote is inserted at the bottom, but it is not possible to
change the font of the footnote number itself.

-- 
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 63713] FILEOPEN Oracle DB with 21535 DB Objects takes about 30 Secs to open

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63713

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

   What|Removed |Added

Version|unspecified |4.0.2.2 release

--- Comment #5 from Julien Nabet serval2...@yahoo.fr ---
josef: thank you for your feedback. I'll put 4.0.2 for the moment for Version
field.
About 4.0.3, it was just for information, I don't know if something related to
your problem has been modified/fixed in this version.

-- 
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 64236] New: EDITING: Comment entry changes toolbar placement(s) and scrolls sheet up/down

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64236

  Priority: medium
Bug ID: 64236
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: EDITING: Comment entry changes toolbar placement(s)
and scrolls sheet up/down
  Severity: minor
Classification: Unclassified
OS: Mac OS X (All)
  Reporter: trevor.jenk...@suneidesis.com
  Hardware: All
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Spreadsheet
   Product: LibreOffice

Editing a cell comment (Insert  Comment or Cmd+Alt+C) scrolls the sheet down a
few rows. When editing of the comment has finished the sheet scrolls up a few
rows. This is caused by toolbars being rearranged. It appears to be those
toolbars that are inappropriate during Insert  Comment, such as Insert Cell.
If the user changes the location of the toolbar when the Comment is open then
Calc messes with the layout after the comment is closed. The movement of the
sheet is highly distracting.

-- 
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 38101] EDITING - image resizing; not disappearing frame

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38101

--- Comment #3 from Dmitry udv.my...@gmail.com ---
Yes, it does still exists at 3.6.5.2 (ID: 5b93205).
By steps:
1. insert 2 images
2. select the first image
3. click on copy formatting
4. apply to the second image
5. move the second image
Linux 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linux
Maybe this depends on videocard (notebook lenovov z565, ATI Mobility Radeon HD
5000 Series).

-- 
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 64237] New: Crash when scrolling in the text of a particular ODT file

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64237

  Priority: medium
Bug ID: 64237
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Crash when scrolling in the text of a particular ODT
file
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: jbf.fa...@sud-ouest.org
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: 4.1.0.0.alpha0+ Master
 Component: Writer
   Product: LibreOffice

Created attachment 78878
  -- https://bugs.freedesktop.org/attachment.cgi?id=78878action=edit
bugdoc which crashes the master

Open the attached bugdoc with the master (for me : Version: 4.1.0.0.alpha0+
Build ID: 19fe3be985a0d13c9818f920cb8e540ff658425 build on Ubuntu 12.04 x86-64)
It opens around page 17. 
Then scroll up with the scrollbar. 
At a moment LO freezes. If you can look at memory consumption you can see that
LO is eating all the available RAM and swap. At the end it crashes.
To not have to wait too long, I launched LO in a terminal after the following
command:
ulimit -S -v 300
(my PC has 4 GB of RAM) and with the option --backtrace. I will attach the
gbdtrace.log I have got.

Best regards. JBF

-- 
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 64237] Crash when scrolling in the text of a particular ODT file

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64237

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

   What|Removed |Added

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

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
Comment on attachment 78878
  -- https://bugs.freedesktop.org/attachment.cgi?id=78878
bugdoc which crashes the master

Mimetype fixed

-- 
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 64237] Crash when scrolling in the text of a particular ODT file

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64237

--- Comment #2 from Jean-Baptiste Faure jbf.fa...@sud-ouest.org ---
Created attachment 78879
  -- https://bugs.freedesktop.org/attachment.cgi?id=78879action=edit
backtrace

backtrace of the crash

-- 
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 64238] New: FILEOPEN: Writer shows footer elements that are hidden in Word

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64238

  Priority: medium
Bug ID: 64238
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FILEOPEN: Writer shows footer elements that are hidden
in Word
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: rattles2...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Writer
   Product: LibreOffice

Created attachment 78880
  -- https://bugs.freedesktop.org/attachment.cgi?id=78880action=edit
File containing 'hidden' footer

Problem description: 
A file with header and footer was created in Word.
After that - the header and footer were removed in Word (using the Ribbon -
Header - Remove Header, Footer - Remove Footer).
When opening the DOCX in Writer - the footer is shown.
Also - when saving the file to a new DOCX and opening in Word - the footer
appears (instead of being hidden).

Steps to reproduce:
1. Open the attached DOCX in Word - the footer is empty
2. Open the attached DOCX in LO - the footer is not empty
3. In LO - save as new DOCX
4. Open new DOCX in Word - the footer is not empty

Current behavior:
When opening DOCX in LO - footer is not empty
When saving as new DOCX and opening it in Word - footer is not empty

Expected behavior:
Footer should be empty like in Word (it is probably hidden in Word)

Operating System: Windows 8
Version: 4.0.2.2 release

-- 
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 64237] Crash when scrolling in the text of a particular ODT file

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64237

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

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||serval2...@yahoo.fr
 Ever confirmed|0   |1

--- Comment #3 from Julien Nabet serval2...@yahoo.fr ---
I noticed this console log repeated a lot:
warn:legacy.osl:7269:1:sw/source/core/text/guess.cxx:497: Somebody, somebody,
somebody put something in my string

I put it at New since there's a bt.

-- 
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 64239] New: FILESAVE: lines not saved correctly after opened from Power Point / lines not possible to delete on slides

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64239

  Priority: medium
Bug ID: 64239
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FILESAVE: lines not saved correctly after opened from
Power Point / lines not possible to delete on slides
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: lili...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Presentation
   Product: LibreOffice

Created attachment 78881
  -- https://bugs.freedesktop.org/attachment.cgi?id=78881action=edit
Drawing objects not shown correctly (imported from Power point) and how it
should look (drawn in LibreOffice). Lines are not possible to delete.

Problem description: 

Presentation was created in Power Point 2007. LibreOffice opened it perfectly
(no mistakes). After saving it in LibreOffice format, some lines are not
showing correctly and it is not possible to remove those lines and to draw them
again in LibreOfffice. 

Steps to reproduce:
1. Draw lines as attached in Power Point using Free Form tool
2. Save presentation 
3. Open it in LibreOffice Impress
4. Save it in LibreOffice Impress format
5. Open it again in LibreOffice 

Current behavior:

Expected behavior:


Operating System: Ubuntu
Version: 4.0.2.2 release

-- 
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 64235] EDITING: Crash Writer when copy/paste

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64235

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

   What|Removed |Added

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

--- Comment #3 from Julien Nabet serval2...@yahoo.fr ---
Did you install any LO specific extensions?
Could you rename your LO directory profile (see
https://wiki.documentfoundation.org/UserProfile) and give it a new try?

-- 
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 64240] New: DOC import: problem with table formatting

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64240

  Priority: medium
Bug ID: 64240
CC: quest...@o2.pl
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: DOC import: problem with table formatting
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: rak...@wp.pl
  Hardware: x86 (IA32)
Status: UNCONFIRMED
   Version: 4.0.3.3 rc
 Component: Writer
   Product: LibreOffice

Created attachment 78882
  -- https://bugs.freedesktop.org/attachment.cgi?id=78882action=edit
document

When I open strony prawe.doc:
LO 3.6.4 add empty page but document looks good.
LO 4.0.3 add empty page but third and fourth page is merged.

-- 
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 51818] Word count: Numbers should include thousands separator (according to locale)

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51818

Muhammad Haggag mhag...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|mhag...@gmail.com   |libreoffice-b...@lists.free
   ||desktop.org

-- 
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 64240] DOC import: problem with table formatting

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64240

--- Comment #1 from Konrad rak...@wp.pl ---
Created attachment 78883
  -- https://bugs.freedesktop.org/attachment.cgi?id=78883action=edit
correct view

-- 
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 64171] Writer crashed when the subtittles of some figures are not showed (randomly).

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64171

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

   What|Removed |Added

  Attachment #78799|text/plain  |image/png
  mime type||

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
Comment on attachment 78799
  -- https://bugs.freedesktop.org/attachment.cgi?id=78799
All three figures have a subtittle, but one of them is not showed.

Mimetype fixed

-- 
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 51818] Word count: Numbers should include thousands separator (according to locale)

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51818

Muhammad Haggag mhag...@gmail.com changed:

   What|Removed |Added

 CC||mhag...@gmail.com

--- Comment #3 from Muhammad Haggag mhag...@gmail.com ---
I worked on it for a bit, but dropped it due to life distractions. I've
reverted the assignment so that people can pick it up if they're interested.
I'll look into it if I get some time.

-- 
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 64171] Writer crashed when the subtittles of some figures are not showed (randomly).

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64171

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 ---
Would it be possible you attach the odt file so we can try to reproduce this?
Could you attach a backtrace (see
https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_on_Linux)?

-- 
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 64240] DOC import: problem with table formatting

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64240

Konrad rak...@wp.pl changed:

   What|Removed |Added

  Attachment #78882|document|sorce file
description||

-- 
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 64235] EDITING: Crash Writer when copy/paste

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64235

--- Comment #4 from Mikael Jonasson mikael.jonas...@gmail.com ---
I have not added anything after a regular installation. But I'll rename it
anyway and see if it can be replicated after that.

-- 
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 64241] New: : Crash with Mail Merge Wizard

2013-05-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64241

  Priority: medium
Bug ID: 64241
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: : Crash with Mail Merge Wizard
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: serval2...@yahoo.fr
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.1.0.0.alpha0+ Master
 Component: Libreoffice
   Product: LibreOffice

Problem description: 
On pc Debian x86-64 with master sources updated today and a brand new LO
profile, I tried to reproduce fdo#64024 and had a crash

Steps to reproduce:
1. Open Writer
2. Menu Tools/Mail Merge Wizard
3. Click Next twice = you'll be at step 3
4. Click on button Select Address List

Current behavior:
Crash

Expected behavior:
No crash

Operating System: Debian
Version: 4.1.0.0.alpha0+ Master

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