LibreOffice Gerrit News for submodules on 2014-05-07

2014-05-07 Thread gerrit
Moin!



~~ Project dictionaries ~~

Nothing moved in the project for the last 25 hours

~~ Project translations ~~

Nothing moved in the project for the last 25 hours

~~ Project help ~~

* Open changes on master for project help changed in the last 25 hours:

None

* Merged changes on master for project help changed in the last 25 hours:

+ add comments in margins option to PDF export
  in https://gerrit.libreoffice.org/9243 from Stanislav Horáček
+ fdo#70998 change terms graphics/picture to image
  in https://gerrit.libreoffice.org/9244 from Stanislav Horáček


* Abandoned changes on master for project help changed in the last 25 hours:

None

* Open changes needing tweaks, but being untouched for more than a week:

None

Best,

Your friendly LibreOffice Gerrit Digest Mailer

Note: The bot generating this message can be found and improved here:
   
https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


LibreOffice Gerrit News for core on 2014-05-07

2014-05-07 Thread gerrit
Moin!

* Open changes on master for project core changed in the last 25 hours:

+ Translate German comments, fix some ws
  in https://gerrit.libreoffice.org/9263 from Philipp Weissenbacher
  about module sc
+ fdo#43157 [API CHANGE] Remove OSL_POSTCOND, prefer SAL_WARN_IF
  in https://gerrit.libreoffice.org/8883 from Michaël Lefèvre
  about module basic, dbaccess, fpicker, include, sal, shell, store
+ move INetContentTypes::scan() to INetURLObject::scanContentType()
  in https://gerrit.libreoffice.org/9212 from Christina Roßmanith
  about module include, svl, tools


* Merged changes on master for project core changed in the last 25 hours:

+ fdo#77739 UI trendline: limit max values of Degree and Period
  in https://gerrit.libreoffice.org/9116 from Laurent BP
+ fdo#78241 PDF Import: add dashes support
  in https://gerrit.libreoffice.org/9246 from Vort
+ Avoid the annoying line wrapping
  in https://gerrit.libreoffice.org/9258 from Tor Lillqvist
+ fdo#77887 :  Floating Table positions are not preserved when doing Export
  in https://gerrit.libreoffice.org/9185 from Ravindra Vidhate


* Abandoned changes on master for project core changed in the last 25 hours:

None

* Open changes needing tweaks, but being untouched for more than a week:

+ external: revert java 1.6 stuff (at least until we'd get a real check in 
  in https://gerrit.libreoffice.org/8801 from Douglas Mencken
+ cppunittest_filter_xslt: fix fdo#77893
  in https://gerrit.libreoffice.org/9177 from Douglas Mencken
+ DrawWaveLine/ImplDrawWaveLine fixes:   - try to avoid huge looping due to
  in https://gerrit.libreoffice.org/9174 from Douglas Mencken
+ FDO#74886: Data labels are not preserved for Column Chart in RT file
  in https://gerrit.libreoffice.org/8098 from Umesh Kadam
+ move inettype.{hc}xx from svl to tools
  in https://gerrit.libreoffice.org/8926 from Christina Roßmanith
+ new method INetURLObject::getData() for data urls
  in https://gerrit.libreoffice.org/8737 from Christina Roßmanith
+ fdo#67544 Slide transistion sound(other sound) is not included in present
  in https://gerrit.libreoffice.org/8700 from Vishv Brahmbhatt
+ fdo#57950: Replace chained O(U)StringBuffer::append() with operator+
  in https://gerrit.libreoffice.org/8699 from Tharindu Lakmal
+ Refactored
  in https://gerrit.libreoffice.org/8683 from Tharindu Lakmal
+ fdo#75757 Remove inheritance to std::map from PropertyMap
  in https://gerrit.libreoffice.org/8656 from Krisztian Pinter
+ Remove visual noise from ios
  in https://gerrit.libreoffice.org/8274 from Alexander Wilms
+ FDO#75205 : Charts - Up Down bars are getting added to Line Chart.
  in https://gerrit.libreoffice.org/8360 from Umesh Kadam
+ WIP: Converting ExtensionUpdate dialog for new format
  in https://gerrit.libreoffice.org/8506 from Rodolfo Ribeiro Gomes
+ Refactored swooxmlexport tests cases. Added function to check contents.
  in https://gerrit.libreoffice.org/8390 from Nikhil Walvekar
+ fdo#71984 fix first line indentation in footnotes for MS Word documents
  in https://gerrit.libreoffice.org/8160 from Andras Timar
+ Lots of changes to Tango icons
  in https://gerrit.libreoffice.org/7987 from Miroslav Mazel
+ sw/docx export: fix handling of document with header and section(s)
  in https://gerrit.libreoffice.org/6248 from Pierre-Eric Pelloux-Prayer
+ fdo#51525 Fix duplicate Paste Special entries in Calc.
  in https://gerrit.libreoffice.org/7784 from Andrzej Hunt
+ fdo#72661: Check ‘Hyphenation active’ automatically
  in https://gerrit.libreoffice.org/7291 from Jiwoong Youn
+ WIP fdo#72987 Use firebird backup format for .odb
  in https://gerrit.libreoffice.org/7299 from Andrzej Hunt
+ WIP: fdo#33980 Preserve selection across all slide sorters.
  in https://gerrit.libreoffice.org/6633 from Andrzej Hunt


Best,

Your friendly LibreOffice Gerrit Digest Mailer

Note: The bot generating this message can be found and improved here:
   
https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=gerritbot/send-daily-digest
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [patch] [solved] build failure

2014-05-07 Thread David Tardon
Hi,

On Tue, May 06, 2014 at 03:35:32AM -0700, julien2412 wrote:
 Sorry Terrence, my fault here :-(
 Thanks to Kohei, I could fix these at the beginning of the morning (UTC+2)
 
 It could be useful to force building in C++98 or at least put an option in
 autogen.input.

You do not need an option for that. All you need is to add

CXX=g++ -std=c++98

to autogen.input. Or run

export CXX='g++ -std=c++98'

before ./autogen.sh .

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


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

2014-05-07 Thread Tomaž Vajngerl
 chart2/source/controller/dialogs/dlg_ObjectProperties.cxx |2 
 chart2/source/inc/RegressionCalculationHelper.hxx |  123 ++
 chart2/source/tools/RegressionCalculationHelper.hxx   |  123 --
 3 files changed, 124 insertions(+), 124 deletions(-)

New commits:
commit 65f127f687916c8166d483a2769d2c344b0314e6
Author: Tomaž Vajngerl tomaz.vajng...@collabora.com
Date:   Wed May 7 09:28:01 2014 +0200

chart2: move RegressionCalculationHelper.hxx to inc

Change-Id: Ie49a9e20f72c8e2f81b2d169f5fd19964811c193

diff --git a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx 
b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
index 9e707cb..b279f05 100644
--- a/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
+++ b/chart2/source/controller/dialogs/dlg_ObjectProperties.cxx
@@ -46,7 +46,7 @@
 #include ExplicitCategoriesProvider.hxx
 #include ChartModel.hxx
 #include CommonConverters.hxx
-#include ../../tools/RegressionCalculationHelper.hxx
+#include RegressionCalculationHelper.hxx
 
 #include com/sun/star/chart2/XAxis.hpp
 #include com/sun/star/chart2/XChartType.hpp
diff --git a/chart2/source/tools/RegressionCalculationHelper.hxx 
b/chart2/source/inc/RegressionCalculationHelper.hxx
similarity index 100%
rename from chart2/source/tools/RegressionCalculationHelper.hxx
rename to chart2/source/inc/RegressionCalculationHelper.hxx
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Pallavi Jadhav
 sw/qa/extras/ooxmlexport/data/fdo77812.docx |binary
 sw/qa/extras/ooxmlexport/ooxmlexport.cxx|   17 +
 sw/source/filter/ww8/wrtww8.cxx |   15 +++
 3 files changed, 32 insertions(+)

New commits:
commit f6eb92406bd366c557bc07810649e7ab3d1db614
Author: Pallavi Jadhav pallavi.jad...@synerzip.com
Date:   Tue Apr 29 18:44:16 2014 +0530

fdo#77812 :FILESAVE :DOCX : Extra Section Break gets added in file

Issue :
LO was exporting DOCX containing MultiColumns with additional
Section break Continuos.

Implementation :
1] Added check for Column_count in MSWordExportBase::WriteText()
   If Column_count  1 and Text node is empty then do not
   export Section Break.
2] Written Export unit test case.

Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/9200

Change-Id: Ibf3e6bd2d4827aa77a659b1600939cc56d65a63b

diff --git a/sw/qa/extras/ooxmlexport/data/fdo77812.docx 
b/sw/qa/extras/ooxmlexport/data/fdo77812.docx
new file mode 100644
index 000..48fb498
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/fdo77812.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index 8c99382..acd3d06 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -3215,7 +3215,24 @@ DECLARE_OOXMLEXPORT_TEST(testFDO77725, fdo77725.docx)
 assertXPath(pXmlFootnotes, 
//w:footnotes[1]/w:footnote[3]/w:p[3]/w:r[1]/w:br[1], 0);
 assertXPath(pXmlFootnotes, 
//w:footnotes[1]/w:footnote[3]/w:p[3]/w:r[1]/w:br[2], 0);
 assertXPath(pXmlFootnotes, 
//w:footnotes[1]/w:footnote[3]/w:p[3]/w:r[1]/w:br[3], 0);
+}
+
+DECLARE_OOXMLEXPORT_TEST(testFDO77812, fdo77812.docx)
+{
+/* Additional sectPr was getting inserted and hence Column properties
+ * were getting added into this additional sectPr instead of Default setPr.
+ */
+xmlDocPtr pXmlDoc = parseExport(word/document.xml);
+if (!pXmlDoc)
+return;
+
+// Check no additional section break is inserted.
+assertXPath(pXmlDoc, /w:document/w:body/w:p[6]/w:pPr/w:sectPr, 0);
 
+// Check w:cols comes under Default sectPr
+assertXPath(pXmlDoc, /w:document/w:body/w:sectPr/w:cols, num, 2);
+assertXPath(pXmlDoc, /w:document/w:body/w:sectPr/w:cols/w:col[1], 1);
+assertXPath(pXmlDoc, /w:document/w:body/w:sectPr/w:cols/w:col[2], 1);
 }
 
 DECLARE_OOXMLEXPORT_TEST(testContentTypeOLE, fdo77759.docx)
diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 718761a..916d33f 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -114,6 +114,7 @@
 #include editeng/charrotateitem.hxx
 #include WW8FibData.hxx
 #include numrule.hxx
+#include fmtclds.hxx
 
 using namespace css;
 using namespace sw::util;
@@ -2597,6 +2598,20 @@ void MSWordExportBase::WriteText()
 }
 }
 }
+else
+{
+/* Do not export Section Break in case DOCX containing 
MultiColumn and
+ * aIdx.GetNode().IsTxtNode() is False i.e. Text node is 
NULL.
+ */
+const SwFrmFmt* pPgFmt = rSect.GetFmt();
+const SwFmtCol rCol = pPgFmt-GetCol();
+sal_uInt16 nColumnCount = rCol.GetNumCols();
+if(nColumnCount  1)
+{
+bNeedExportBreakHere = sal_False;
+}
+}
+
 if (bNeedExportBreakHere)  //#120140# End of check
 {
 ReplaceCr( (char)0xc ); // indicator for Page/Section-Break
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Thomas Arnhold
 sc/inc/drawattr.hxx|8 -
 sc/source/ui/view/drawattr.cxx |   61 -
 sc/source/ui/view/tabvwsh.cxx  |1 
 3 files changed, 70 deletions(-)

New commits:
commit a7a2fa9303c226aef409ac032272908c6c08e4ee
Author: Thomas Arnhold tho...@arnhold.org
Date:   Wed May 7 09:51:58 2014 +0200

remove uncompiled source files

Maybe this can be completely replaced by SfxEnumItem

Change-Id: I049dcd3e5a03f859f8b1dddad801db4ca772ef6a

diff --git a/sc/inc/drawattr.hxx b/sc/inc/drawattr.hxx
index 8f9237f..a908277 100644
--- a/sc/inc/drawattr.hxx
+++ b/sc/inc/drawattr.hxx
@@ -33,17 +33,9 @@ public:
 SvxDrawToolItem(sal_uInt16 nWhichP) : SfxEnumItem(nWhichP){}
 
 
-virtual OUStringGetValueText() const;
-
-
-virtual OUStringGetValueText(sal_uInt16 nVal) const;
 virtual sal_uInt16  GetValueCount() const SAL_OVERRIDE
 {return((sal_uInt16)SVX_SNAP_DRAW_TEXT);}
 
-virtual SfxPoolItem*Clone( SfxItemPool *pPool = 0 ) const 
SAL_OVERRIDE;
-
-virtual SfxPoolItem*Create( SvStream rStream, sal_uInt16 nVer ) 
const SAL_OVERRIDE;
-
 inline SvxDrawToolItem operator=(const  SvxDrawToolItem
 rDrawTool)
 {
diff --git a/sc/source/ui/view/drawattr.cxx b/sc/source/ui/view/drawattr.cxx
deleted file mode 100644
index 653b1b8..000
--- a/sc/source/ui/view/drawattr.cxx
+++ /dev/null
@@ -1,61 +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 drawattr.hxx
-#include global.hxx
-
-OUString SvxDrawToolItem::GetValueText() const
-{
-return GetValueText(GetValue());
-}
-
-OUString SvxDrawToolItem::GetValueText( sal_uInt16 nVal ) const
-{
-const sal_Char* p;
-
-switch (nVal)
-{
-case 0  : p = SVX_SNAP_DRAW_SELECT; break;
-
-case 1  : p = SVX_SNAP_DRAW_LINE  ; break;
-case 2  : p = SVX_SNAP_DRAW_RECT  ; break;
-case 3  : p = SVX_SNAP_DRAW_ELLIPSE   ; break;
-case 4  : p = SVX_SNAP_DRAW_POLYGON   ; break;
-case 5  : p = SVX_SNAP_DRAW_ARC   ; break;
-case 6  : p = SVX_SNAP_DRAW_PIE   ; break;
-case 7  : p = SVX_SNAP_DRAW_CIRCLECUT ; break;
-case 8  : p = SVX_SNAP_DRAW_TEXT  ; break;
-default : return EMPTY_OUSTRING;
-}
-return OUString::createFromAscii( p );
-}
-
-SfxPoolItem* SvxDrawToolItem::Clone( SfxItemPool * ) const
-{
-return new SvxDrawToolItem(*this);
-}
-
-SfxPoolItem* SvxDrawToolItem::Create( SvStream rStream, sal_uInt16 nVer ) 
const
-{
-sal_uInt16 nVal;
-rStream  nVal;
-return new SvxDrawToolItem(nVal);
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/tabvwsh.cxx b/sc/source/ui/view/tabvwsh.cxx
index 7dc93c8..42baf8d 100644
--- a/sc/source/ui/view/tabvwsh.cxx
+++ b/sc/source/ui/view/tabvwsh.cxx
@@ -38,7 +38,6 @@
 #include scresid.hxx
 #include dwfunctr.hxx
 #include sc.hrc
-#include drawattr.hxx
 #include spelldialog.hxx
 
 #define ScTabViewShell
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: fdo#63315: sign windows binaries during build

2014-05-07 Thread David Tardon
Hi,

On Tue, May 06, 2014 at 02:24:15PM +0200, Christian Lohmaier wrote:
 Hi *,
 
 On Tue, May 6, 2014 at 11:23 AM, Andras Timar tima...@gmail.com wrote:
  Hi,
 
  On Tue, May 6, 2014 at 1:56 AM, Mathias MICHEL
  mathias-mic...@laposte.net wrote:
 
  See https://bugs.freedesktop.org/show_bug.cgi?id=63315
  From the Cloph's comment it seems the issue is fixed but with room for
  improvement.
 
 The room for improvement is in the general build, not specific to
 signing (i.e. copying files individually instead of using for example
 tar, or at least copy with multiple files at once/recursive copy,
 touching lots and lots of files,...) calling cp x times (creating a
 process that often), instead of once for x files is slow as hell on
 windows/cygwin.

I would strongly object to any change that improves performance of the
release builds at the expense of incremental builds, e.g., by dropping
precise dependencies in order to copy more files at once. I really do
not want to go back to the world of compatible vs. incompatible
builds...

 
 LO's patched version of make did make some touch and cp builtin
 functionality, but since gbuildification those rules don't match the
 majority of cases.

I do not really understand that... Does that mean there is something
that actively prevents make to use the builtin functions?

 
  Should we close it or not ?
 
  I'm interested in stability in this area and the current functionality
  is good enough for me, so I'd say let's close it.
 
 Yes, close it.
 
 Signing needs exclusive lock on the file, so signing will fail when
 the file is opened by another process - so this is another problem
 that would likely occur if the signing was done after each creation.

No, it would not. It is the current state, which does the signing at
arbitrary time, that has this inherent problem. The proposal in that
easy hack is to sign every library during linking; _nothing_ can be
using the library at that point, unless there are missing dependencies.

 (see 
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=ea391abb3f2eb0ffaa892f9d7437dcf33bda6440
 that made singing depend on slowchecks being done, as otherwise
 signing would fail)

And I strongly suspect the next stop will be gallery creation, as gengal
is internal tool which needs a zillion libraries... If we really want to
continue to use this script for signing, IMHO it should be done as a
separate step after build.

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


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

2014-05-07 Thread Thomas Arnhold
 sw/source/ui/fldui/javaedit.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 710da5b12d52abfd96527b43f5959ae31b8e7407
Author: Thomas Arnhold tho...@arnhold.org
Date:   Wed May 7 09:42:18 2014 +0200

WaE: C4389: '!=' : signed/unsigned mismatch

Change-Id: I6a2e0992077b185107f8d7190478d95f8d898e9e
Reviewed-on: https://gerrit.libreoffice.org/9266
Reviewed-by: Stephan Bergmann sberg...@redhat.com
Tested-by: Stephan Bergmann sberg...@redhat.com

diff --git a/sw/source/ui/fldui/javaedit.cxx b/sw/source/ui/fldui/javaedit.cxx
index bbc4f00..6841271 100644
--- a/sw/source/ui/fldui/javaedit.cxx
+++ b/sw/source/ui/fldui/javaedit.cxx
@@ -219,7 +219,7 @@ void SwJavaEditDialog::SetFld()
 
 bool SwJavaEditDialog::IsUpdate() const
 {
-return pFld  ( (bIsUrl ? 1 : 0) != pFld-GetFormat() || pFld-GetPar2() 
!= aType || pFld-GetPar1() != aText );
+return pFld  ( sal_uInt32(bIsUrl ? 1 : 0) != pFld-GetFormat() || 
pFld-GetPar2() != aType || pFld-GetPar1() != aText );
 }
 
 IMPL_LINK_NOARG(SwJavaEditDialog, RadioButtonHdl)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: fdo#63315: sign windows binaries during build

2014-05-07 Thread Christian Lohmaier
Hi David, *,

On Wed, May 7, 2014 at 10:17 AM, David Tardon dtar...@redhat.com wrote:
 On Tue, May 06, 2014 at 02:24:15PM +0200, Christian Lohmaier wrote:
 On Tue, May 6, 2014 at 11:23 AM, Andras Timar tima...@gmail.com wrote:
  On Tue, May 6, 2014 at 1:56 AM, Mathias MICHEL
  mathias-mic...@laposte.net wrote:
 
  See https://bugs.freedesktop.org/show_bug.cgi?id=63315
  From the Cloph's comment it seems the issue is fixed but with room for
  improvement.

 The room for improvement is in the general build, not specific to
 signing (i.e. copying files individually instead of using for example
 tar, or at least copy with multiple files at once/recursive copy,
 touching lots and lots of files,...) calling cp x times (creating a
 process that often), instead of once for x files is slow as hell on
 windows/cygwin.

 I would strongly object to any change that improves performance of the
 release builds at the expense of incremental builds, e.g., by dropping
 precise dependencies in order to copy more files at once.

Building SDK or Helpcontent or translations is not affected by
incremental builds usually. And of course you won't lose dependencies
by copying multiple stuff at once. You might waste some time doing i/o
by shoving around files that weren't changed, but for stuff like sdk
documentation that is created by doxygen that injects timestamps into
every file (i.e. stuff is always changed) this doesn't matter from my
POV.
Same for help. Changing help means regenerating index, so everything
will be looked up anyway, so having it in the filesystem cache doesn't
hurt for linux. But copying this in one go will help the build on
linux.

 I really do
 not want to go back to the world of compatible vs. incompatible
 builds...

That won't be the case. Copying more stuff at once for those will not
mess with dependendencies. It might result in more disk-activity, but
the areas where it matters most (sdk, help, translations) aren't
touched in everyday development, aren't even enabled in everyday
development builds.

 LO's patched version of make did make some touch and cp builtin
 functionality, but since gbuildification those rules don't match the
 majority of cases.

 I do not really understand that... Does that mean there is something
 that actively prevents make to use the builtin functions?

No, not preventing. The code that identifies candidates that could be
handled by patched make just need adjustments to match.

https://gerrit.libreoffice.org/gitweb?p=gnu-make-lo.git;a=blob;f=runbuiltin.c;hb=refs/heads/gnu-make-lo-3.82#l454

But this is only a workaround to hide the problem with the many
processes. Removing the tons of touch calls would be real
improvement. And I don't see a reason why a stuff need to depend on a
touch-pseudo-target the created object itself.

[...]
 (see 
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=ea391abb3f2eb0ffaa892f9d7437dcf33bda6440
 that made singing depend on slowchecks being done, as otherwise
 signing would fail)

 And I strongly suspect the next stop will be gallery creation, as gengal
 is internal tool which needs a zillion libraries...

Well, even if rhetorical: If that turns out to be a problem: Yes.
Still preferred over spawning zillions of processes on windows.

 If we really want to
 continue to use this script for signing, IMHO it should be done as a
 separate step after build.

Which in effect it is. After slowcheck it is more or less separate.
Having it after the build as separate /manual step is pointless, as
then you woudn't only need to sign, but also rebuild the installsets.

And building installests on windows also is slow. So I object to
making it an after make finished thing.

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


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

2014-05-07 Thread Tor Lillqvist
 sw/source/filter/ww8/wrtww8.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit eac9586b22ca1cddaa80a0b040c57fbed3616420
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 11:52:57 2014 +0300

WaE: implicit conversion of literal of type 'sal_Bool' to 'bool'

Change-Id: Ia02481046640248bc8a62ab0f93bf4e0bb49cca8

diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx
index 916d33f..bbf5af0 100644
--- a/sw/source/filter/ww8/wrtww8.cxx
+++ b/sw/source/filter/ww8/wrtww8.cxx
@@ -2608,7 +2608,7 @@ void MSWordExportBase::WriteText()
 sal_uInt16 nColumnCount = rCol.GetNumCols();
 if(nColumnCount  1)
 {
-bNeedExportBreakHere = sal_False;
+bNeedExportBreakHere = false;
 }
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 37361] LibreOffice 3.5 most annoying bugs

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

Bug 37361 depends on bug 45260, which changed state.

Bug 45260 Summary: EDITING: Pasted object not same position w.r.t. original 
object if border thickness greater 0
https://bugs.freedesktop.org/show_bug.cgi?id=45260

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

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


Re: About Svgreader

2014-05-07 Thread Thorsten Behrens
Miklos Vajna wrote:
 AFAIK the filter one is used when you open a .svg file (which opens in
 Draw), and the svgio one is used to handle embedded SVG files.
 
Yep.

 svgio is the newer code, it came in via
 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70, the filter one much older,
 dates back to 2002. No idea if there are any plans (in the near future)
 to fix svgio up enough that the filter one can be dropped.
 
The filter one originated from a HackWeek project of Fridrich and
yours truly, and still has some value I think, with its attempted
direct mapping to ODF. There (was?) also an option to have a
standalone binary built for that.

Both implementations make different judgement calls, which are a bit
hard to consolidate. The svgio one is always erring towards perfect
rendering, whereas the filter one tries hard to maintain editability.

Cheers,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: configure.ac

2014-05-07 Thread Tor Lillqvist
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c6fdd34c16f415629222348631141c3e13af6d4a
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 12:09:03 2014 +0300

Build libgltf for Android, too

It won't be used for now, anyway, as libgltf is used only in avmedia and we
don't build any avmedia for Android. But just to make sure the code stays
portable.

Change-Id: I7a4e5ee3d22f28a407d400a65a1704c23dcb1107

diff --git a/configure.ac b/configure.ac
index f9f1ec5..7520ea9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10397,7 +10397,7 @@ dnl 
===
 
 ENABLE_GLTF=
 AC_MSG_CHECKING([whether to enable glTF support])
-if test $_os != iOS -a $_os != Android -a  x$enable_gltf != xno; then
+if test $_os != iOS -a  x$enable_gltf != xno; then
 ENABLE_GLTF=TRUE
 AC_MSG_RESULT([yes])
 BUILD_TYPE=$BUILD_TYPE LIBGLTF
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: fdo#63315: sign windows binaries during build

2014-05-07 Thread Thorsten Behrens
David Tardon wrote:
 If we really want to continue to use this script for signing, IMHO
 it should be done as a separate step after build.
 
Might be a good idea anyway. Defined point in time when keys are used,
less code involved, etc etc.

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [patch] [solved] build failure

2014-05-07 Thread Miklos Vajna
Hi,

On Wed, May 07, 2014 at 08:29:26AM +0200, David Tardon dtar...@redhat.com 
wrote:
 You do not need an option for that. All you need is to add
 
 CXX=g++ -std=c++98
 
 to autogen.input. Or run

Though, then e.g. SAL_OVERRIDE will evaluate to an empty macro, and you
can introduce build issues which are only visible with a C++11
compiler... So as far as I see, there is no silver bullet here. (Till
baseline on all 3 platforms supports C++11.)

Miklos


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2014-05-07 Thread Miklos Vajna
 sw/source/core/docnode/nodedump.cxx |   14 ++
 sw/source/core/layout/atrfrm.cxx|2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

New commits:
commit 0c5c0cd534b12254d71c874d80ee8d4637ff2d0b
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Wed May 7 11:34:53 2014 +0200

SwFrmFmts::dumpAsXml: dump which id

Change-Id: I66d7c8444c1a89c21ea2ce5e42fb3cd97fd39b7c

diff --git a/sw/source/core/docnode/nodedump.cxx 
b/sw/source/core/docnode/nodedump.cxx
index 6a53433..31d9821 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -527,6 +527,20 @@ void SwFrmFmts::dumpAsXml(xmlTextWriterPtr w)
 OString aName = OUStringToOString(pFmt-GetName(), 
RTL_TEXTENCODING_UTF8);
 writer.writeFormatAttribute(name, %s, 
BAD_CAST(aName.getStr()));
 
+writer.writeFormatAttribute(whichId, TMP_FORMAT, pFmt-Which());
+const char* pWhich = 0;
+switch (pFmt-Which())
+{
+case RES_FLYFRMFMT:
+pWhich = fly frame format;
+break;
+case RES_DRAWFRMFMT:
+pWhich = draw frame format;
+break;
+}
+if (pWhich)
+writer.writeFormatAttribute(which, %s, BAD_CAST(pWhich));
+
 lcl_dumpSfxItemSet(writer, pFmt-GetAttrSet());
 writer.endElement();
 }
commit 3273d800cd50e6f80b629262198f3508fb5bbc7d
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Wed May 7 10:29:31 2014 +0200

SwFmtCntnt::operator==: most probably bool was intended here

The code here counted the numerical XOR of the two pointer values, but
most probably the logical XOR was intended (in case only we or only they
have a node index, then we are not equal).

Change-Id: I261b8c4b498eb860fa0e0fa72ba5a5e0758064e6

diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 428a906..558ddbd 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -560,7 +560,7 @@ void SwFmtCntnt::SetNewCntntIdx( const SwNodeIndex *pIdx )
 bool SwFmtCntnt::operator==( const SfxPoolItem rAttr ) const
 {
 OSL_ENSURE( SfxPoolItem::operator==( rAttr ), keine gleichen Attribute );
-if( (sal_IntPtr)pStartNode ^ (sal_IntPtr)((SwFmtCntnt)rAttr).pStartNode )
+if( (bool)pStartNode ^ (bool)((SwFmtCntnt)rAttr).pStartNode )
 return false;
 if( pStartNode )
 return ( *pStartNode == *((SwFmtCntnt)rAttr).GetCntntIdx() );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: include/touch

2014-05-07 Thread Tor Lillqvist
 include/touch/touch.h |3 ---
 1 file changed, 3 deletions(-)

New commits:
commit c59fce8b51dfdd901da2a5902702271914f1e6bb
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 13:15:18 2014 +0300

There is no touch_lo_render_windows() any more

Change-Id: I5a918a6ae4159dd561e46116f612037e194a4847

diff --git a/include/touch/touch.h b/include/touch/touch.h
index fd713fe..a2b0452 100644
--- a/include/touch/touch.h
+++ b/include/touch/touch.h
@@ -254,9 +254,6 @@ void touch_lo_selection_attempt_resize(const void 
*documentHandle,
MLORect *selectedRectangles,
int numberOfRectangles);
 
-// Special case: synchronous: waits for the rendering to complete
-void touch_lo_render_windows(void *context, int minX, int minY, int width, int 
height);
-
 // Special case: This is the function that is called in the newly
 // created LO thread to run the LO code.
 void touch_lo_runMain();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Stephan Bergmann
 sw/source/core/layout/atrfrm.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3703e3985e0aa9325cf9256a78bab6e62a24ede4
Author: Stephan Bergmann sberg...@redhat.com
Date:   Wed May 7 12:31:45 2014 +0200

loplugin:implicitboolconversion

Change-Id: I0dacaa9fb08062aba758613bd25ebcf7039f36e0

diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 558ddbd..4b38b4f 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -560,7 +560,7 @@ void SwFmtCntnt::SetNewCntntIdx( const SwNodeIndex *pIdx )
 bool SwFmtCntnt::operator==( const SfxPoolItem rAttr ) const
 {
 OSL_ENSURE( SfxPoolItem::operator==( rAttr ), keine gleichen Attribute );
-if( (bool)pStartNode ^ (bool)((SwFmtCntnt)rAttr).pStartNode )
+if( (bool)pStartNode != (bool)((SwFmtCntnt)rAttr).pStartNode )
 return false;
 if( pStartNode )
 return ( *pStartNode == *((SwFmtCntnt)rAttr).GetCntntIdx() );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Caolán McNamara
 sfx2/source/dialog/dinfdlg.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 087fcc43b13985b03d935dfd1e25a0d36d58cb1e
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 12:25:33 2014 +0100

Resolves: fdo#68600 limit comment width

Change-Id: I7060ae18a98e0793a936834b398f1e232d336672

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 2dc137c..2d0b3d5 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -626,7 +626,6 @@ bool SfxDocumentInfoItem::PutValue( const Any rVal, 
sal_uInt8 nMemberId )
 return bRet;
 }
 
-
 SfxDocumentDescPage::SfxDocumentDescPage( Window * pParent, const SfxItemSet 
rItemSet )
 : SfxTabPage(pParent, DescriptionInfoPage, 
sfx/ui/descriptioninfopage.ui, rItemSet)
 , m_pInfoItem   ( NULL )
@@ -636,9 +635,10 @@ SfxDocumentDescPage::SfxDocumentDescPage( Window * 
pParent, const SfxItemSet rI
 get(m_pThemaEd, subject);
 get(m_pKeywordsEd, keywords);
 get(m_pCommentEd, comments);
+
m_pCommentEd-set_width_request(m_pKeywordsEd-get_preferred_size().Width());
+m_pCommentEd-set_height_request(m_pCommentEd-GetTextHeight() * 16);
 }
 
-
 SfxTabPage *SfxDocumentDescPage::Create(Window *pParent, const SfxItemSet 
rItemSet)
 {
  return new SfxDocumentDescPage(pParent, rItemSet);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: LibreOffice fails to build on Mac OS

2014-05-07 Thread florino
In the mean time the problem is solved.

I did an update to the macports tree, as I saw that many packages were
outdated. Before this I did NOT use the system libxml2 because the
autogen.sh said it can't find it so I changed configure.ac to use the
internal libxml2 for Darwin OS too.

After the macports tree update and another git clone autogen.sh found the
system's libxml2 and those errors did not appear any more.

Thank you for your replies.



--
View this message in context: 
http://nabble.documentfoundation.org/LibreOffice-fails-to-build-on-Mac-OS-tp4107660p4107877.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: 2 commits - configure.ac postprocess/Rdb_services.mk RepositoryModule_host.mk

2014-05-07 Thread Tor Lillqvist
 RepositoryModule_host.mk|2 +-
 configure.ac|2 +-
 postprocess/Rdb_services.mk |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 21e2f5b0b1bc86c5032242ee3505f8e07b54affa
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 13:52:47 2014 +0300

No fpicker needed for non-DESKTOP surely?

Sure, not a lot of code, but best to not even compile it, to catch
eventual usage attempts.

Change-Id: I7462ea9a5fbe6080fcec2f424d1a1b80ad0afe21

diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk
index a7e176e..bc456b9 100644
--- a/RepositoryModule_host.mk
+++ b/RepositoryModule_host.mk
@@ -52,7 +52,7 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
filter \
$(call gb_Helper_optional,DBCONNECTIVITY,forms) \
formula \
-   fpicker \
+   $(call gb_Helper_optional,DESKTOP,fpicker) \
framework \
$(call gb_Helper_optional,DESKTOP,helpcompiler) \
$(call gb_Helper_optional,HELP,helpcontent2) \
diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
index 15ca776..3acd027 100644
--- a/postprocess/Rdb_services.mk
+++ b/postprocess/Rdb_services.mk
@@ -42,7 +42,7 @@ $(eval $(call gb_Rdb_add_components,services,\
filter/source/xsltdialog/xsltdlg \
filter/source/xsltfilter/xsltfilter \
formula/util/for \
-   fpicker/source/office/fps_office \
+   $(call gb_Helper_optional,DESKTOP,fpicker/source/office/fps_office) \
framework/util/fwk \
framework/util/fwl \
framework/util/fwm \
commit 171d001a89e70cb08b389ad58f1c9683c1adefa8
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 13:06:18 2014 +0300

Build libgltf (and freetype) for iOS, too

They won't be used for now, but just to enforce portability of the
libgltf code a bit.

Change-Id: Ie5d2b9125eb0f4a2e432dcb8b55d5f494a5ed34d

diff --git a/configure.ac b/configure.ac
index 7520ea9..682aee6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10397,7 +10397,7 @@ dnl 
===
 
 ENABLE_GLTF=
 AC_MSG_CHECKING([whether to enable glTF support])
-if test $_os != iOS -a  x$enable_gltf != xno; then
+if test x$enable_gltf != xno; then
 ENABLE_GLTF=TRUE
 AC_MSG_RESULT([yes])
 BUILD_TYPE=$BUILD_TYPE LIBGLTF
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 68600, which changed state.

Bug 68600 Summary: properties dialog expands to screen size if long comment is 
entered
https://bugs.freedesktop.org/show_bug.cgi?id=68600

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

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


Re: fdo#63315: sign windows binaries during build

2014-05-07 Thread David Tardon
Hi,

On Wed, May 07, 2014 at 10:41:59AM +0200, Christian Lohmaier wrote:
 Hi David, *,
 
 On Wed, May 7, 2014 at 10:17 AM, David Tardon dtar...@redhat.com wrote:
  On Tue, May 06, 2014 at 02:24:15PM +0200, Christian Lohmaier wrote:
  On Tue, May 6, 2014 at 11:23 AM, Andras Timar tima...@gmail.com wrote:
   On Tue, May 6, 2014 at 1:56 AM, Mathias MICHEL
   mathias-mic...@laposte.net wrote:
  
   See https://bugs.freedesktop.org/show_bug.cgi?id=63315
   From the Cloph's comment it seems the issue is fixed but with room for
   improvement.
 
  The room for improvement is in the general build, not specific to
  signing (i.e. copying files individually instead of using for example
  tar, or at least copy with multiple files at once/recursive copy,
  touching lots and lots of files,...) calling cp x times (creating a
  process that often), instead of once for x files is slow as hell on
  windows/cygwin.
 
  I would strongly object to any change that improves performance of the
  release builds at the expense of incremental builds, e.g., by dropping
  precise dependencies in order to copy more files at once.
 
 Building SDK or Helpcontent or translations is not affected by
 incremental builds usually. And of course you won't lose dependencies
 by copying multiple stuff at once. You might waste some time doing i/o
 by shoving around files that weren't changed, but for stuff like sdk
 documentation that is created by doxygen that injects timestamps into
 every file (i.e. stuff is always changed) this doesn't matter from my
 POV.

SDK docs are already delivered using gb_GeneratedPackage, which copies
whole directories, because the file names are random.

 Same for help. Changing help means regenerating index, so everything
 will be looked up anyway, so having it in the filesystem cache doesn't
 hurt for linux. But copying this in one go will help the build on
 linux.

Actually copying all the generated help files at once would even make
the gbuild code simpler... I will add this to my TODO list.

 
 [...]
  (see 
  http://cgit.freedesktop.org/libreoffice/core/commit/?id=ea391abb3f2eb0ffaa892f9d7437dcf33bda6440
  that made singing depend on slowchecks being done, as otherwise
  signing would fail)
 
  And I strongly suspect the next stop will be gallery creation, as gengal
  is internal tool which needs a zillion libraries...
 
 Well, even if rhetorical: If that turns out to be a problem: Yes.
 Still preferred over spawning zillions of processes on windows.
 
  If we really want to
  continue to use this script for signing, IMHO it should be done as a
  separate step after build.
 
 Which in effect it is. After slowcheck it is more or less separate.

Except that it isn't. There are still tasks that are not needed by unit
tests, so they could end up running in parallel with the signing. I have
already mentioned gallery creation, but there is generation of help, UI
file translations and possibly others. All of these use internal tools,
therefore they use some internal libraries.

The only way to ensure there will be no problems in this area is to move
the signing to instsetoo_native and let the target depend on
$(call gb_Postprocess_get_target,AllModulesButInstsetNative)
Which puts it outside of the normal build anyway.

 Having it after the build as separate /manual step is pointless, as
 then you woudn't only need to sign, but also rebuild the installsets.
 
 And building installests on windows also is slow. So I object to
 making it an after make finished thing.

Well, there is no reason why the installsets must be created directly as
part of build. There could be a separate make target for that.

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


Re: Questions about getCppuType

2014-05-07 Thread Stephan Bergmann

On 05/05/2014 09:07 AM, sberg wrote:

On 04/25/2014 11:06 PM, julien2412 [via Document Foundation Mail
Archive] wrote:
  I've begun to replace some parts and had this when I've changed this:
  else if ( pType == ::getCppuType((const sal_uInt16*)0) )
  into this:
  else if ( pType == cppu::UnoTypeconst sal_uInt16::get() )

That's the problem with getCppuType, that sal_uInt16 (representing UNO
UNSIGNED SHORT) and sal_Unicode (representing UNO CHAR) can be typedefs
for one and the same type, so getCppuType arbitrarily has to decide for
one of those.

With cppu::UnoType, instead use cppu::UnoUnsignedShortType and
cppu::UnoCharType as template arguments, respectively.


And for completeness:  Use cppu::UnoSequenceType instead of 
css::uno::Sequence when the (recursive) element type is one of those 
special UnoUnsignedShortType/UnoCharType.  (Cf. 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=127a5f5e12d33203f871ee810e4b7ef557b7764b 
SequenceUnoUnsignedShortType - UnoSequenceTypeUnoUnsignedShortType.)


(And, finally, css::uno::Reference is redundant there, so

  cppu::UnoTypeXComponentContext::get()

is shorthand for

  cppu::UnoTypeReferenceXComponentContext::get()

and probably preferable.)

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


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - dbaccess/source forms/source fpicker/source include/svx sd/source

2014-05-07 Thread Stephan Bergmann
 dbaccess/source/ui/inc/sbagrid.hxx|2 +-
 forms/source/component/Edit.hxx   |2 +-
 forms/source/component/FormattedField.hxx |2 +-
 fpicker/source/office/commonpicker.hxx|2 +-
 include/svx/gridctrl.hxx  |4 ++--
 sd/source/ui/inc/slideshow.hxx|2 +-
 sd/source/ui/slideshow/SlideShowRestarter.hxx |2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit f18882b8a75017295c10fec276aa4488aa2af45a
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue May 6 18:14:30 2014 +0200

Application::PostUserEvent returns a pointer dressed as sal_uLong

cherry picked from commit ce53796bfaf6df5c4415fda8f641cad8a3e144a6, plus 
more
cases from 93f5d5a9190e0e03bf4822663652a4b068c44f75: The opaque 
PostUserEvent
IDs are actually pointers so declare them as such.  This avoids the 
recurring
mistake of storing such IDs as sal_uInt32, truncating in 64 bit 
environments,
causing RemoveUserEvent to potentially not remove the event, it thus firing 
'too
late' and probably causing a crash.

Change-Id: Ia5ca45e35766a7cebf0b53bcac1bd9dff29ad6ea
Reviewed-on: https://gerrit.libreoffice.org/9259
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/dbaccess/source/ui/inc/sbagrid.hxx 
b/dbaccess/source/ui/inc/sbagrid.hxx
index 2d482a3..9cd7015 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -222,7 +222,7 @@ namespace dbaui
 ::svx::ODataAccessDescriptorm_aDataDescriptor;
 SbaGridListener*m_pMasterListener;
 
-sal_Int32   m_nAsyncDropEvent;
+sal_uLong   m_nAsyncDropEvent;
 
 sal_uInt16  m_nCurrentActionColId;
 // ui actions (e.g. a context menu) may be performed on columns 
which aren't the current one
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx
index 4e280eda..5dcb173 100644
--- a/forms/source/component/Edit.hxx
+++ b/forms/source/component/Edit.hxx
@@ -132,7 +132,7 @@ class OEditControl : public OBoundControl
 m_aChangeListeners;
 
 OUString m_aHtmlChangeValue;
-sal_uInt32  m_nKeyEvent;
+sal_uLong  m_nKeyEvent;
 
 public:
 OEditControl(const ::com::sun::star::uno::Reference 
::com::sun::star::uno::XComponentContext _rxContext);
diff --git a/forms/source/component/FormattedField.hxx 
b/forms/source/component/FormattedField.hxx
index 1ea82f6..737402a 100644
--- a/forms/source/component/FormattedField.hxx
+++ b/forms/source/component/FormattedField.hxx
@@ -151,7 +151,7 @@ namespace frm
 class OFormattedControl :public OBoundControl
 ,public OFormattedControl_BASE
 {
-sal_uInt32  m_nKeyEvent;
+sal_uLong  m_nKeyEvent;
 
 public:
 OFormattedControl(const ::com::sun::star::uno::Reference 
::com::sun::star::uno::XComponentContext _rxContext);
diff --git a/fpicker/source/office/commonpicker.hxx 
b/fpicker/source/office/commonpicker.hxx
index 5008f68..fb5bc56 100644
--- a/fpicker/source/office/commonpicker.hxx
+++ b/fpicker/source/office/commonpicker.hxx
@@ -65,7 +65,7 @@ namespace svt
 // /properties
 
 SvtFileDialog*  m_pDlg;
-sal_uInt32  m_nCancelEvent;
+sal_uLong   m_nCancelEvent;
 sal_Boolm_bExecuting;
 
 ::com::sun::star::uno::Reference ::com::sun::star::awt::XWindow   
m_xDialogParent;
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index e3e59f1..905b9cd 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -233,7 +233,7 @@ private:
 
 m_xEmptyRow;// record set to insert
 
-sal_uInt32  m_nAsynAdjustEvent;
+sal_uLong  m_nAsynAdjustEvent;
 
 // if we modify the row for the new record, we automatically insert a new 
new row.
 // But if somebody else inserts a new record into the data source, we have 
to do the same.
@@ -272,7 +272,7 @@ private:
 
 BrowserMode m_nMode;
 sal_Int32   m_nCurrentPos;  // Current position;
-sal_uInt32  m_nDeleteEvent; // EventId for asychronous 
deletion of rows
+sal_uLong   m_nDeleteEvent; // EventId for asychronous 
deletion of rows
 sal_uInt16  m_nOptions; // What is the able to do (Insert, 
Update, Delete)
 // default readonly
 sal_uInt16  m_nOptionMask;  // the mask of options to be 
enabled in setDataSource
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index f6567e1..19b5256 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -214,7 +214,7 @@ 

[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - vcl/unx

2014-05-07 Thread Jacobo Aragunde Pérez
 vcl/unx/gtk/a11y/atkwrapper.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 67dab7c4b851573747e41def560e26dacdb8ceac
Author: Jacobo Aragunde Pérez jaragu...@igalia.com
Date:   Tue May 6 10:45:30 2014 +0200

fdo#39944: improve mapping between ATK and UNO roles

* UNO role GROUP_BOX was not mapped to any ATK role, now it's mapped
  to ATK_ROLE_GROUPING.

* UNO role COMMENT was mapped to ATK_ROLE_SCROLL_PANE, we replaced it
  with ATK_ROLE_COMMENT.

We use registerRole method to map these instead of doing a direct
association to prevent a failure in case the installed version of ATK
doesn't contain these roles.

(cherry-picked from e031c8ae1ac046fcf165213d80e83311d80a71f5 to
address fdo#77682)

Change-Id: I7e266a7e92d59b282c51934df05b53414588cc7e
Reviewed-on: https://gerrit.libreoffice.org/9267
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/vcl/unx/gtk/a11y/atkwrapper.cxx b/vcl/unx/gtk/a11y/atkwrapper.cxx
index a87fe6c..a568953 100644
--- a/vcl/unx/gtk/a11y/atkwrapper.cxx
+++ b/vcl/unx/gtk/a11y/atkwrapper.cxx
@@ -287,11 +287,12 @@ static AtkRole mapToAtkRole( sal_Int16 nRole )
 roleMap[accessibility::AccessibleRole::PAGE] = registerRole(page);
 roleMap[accessibility::AccessibleRole::SECTION] = 
registerRole(section);
 roleMap[accessibility::AccessibleRole::FORM] = registerRole(form);
+roleMap[accessibility::AccessibleRole::GROUP_BOX] = 
registerRole(grouping);
+roleMap[accessibility::AccessibleRole::COMMENT] = 
registerRole(comment);
 
 // these don't exist in ATK yet
 roleMap[accessibility::AccessibleRole::END_NOTE] = registerRole(end 
note);
 roleMap[accessibility::AccessibleRole::FOOTNOTE] = registerRole(foot 
note);
-roleMap[accessibility::AccessibleRole::GROUP_BOX] = 
registerRole(group box);
 roleMap[accessibility::AccessibleRole::HYPER_LINK] = 
registerRole(hyper link);
 roleMap[accessibility::AccessibleRole::SHAPE] = registerRole(shape);
 roleMap[accessibility::AccessibleRole::TEXT_FRAME] = 
registerRole(text frame);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 39944] ACCESSIBILITY: Implement new ATK Roles

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39944

Commit Notification libreoffice-comm...@lists.freedesktop.org changed:

   What|Removed |Added

 Whiteboard|EasyHack|EasyHack
   |DifficultyInteresting   |DifficultyInteresting
   |SkillCpp target:4.3.0   |SkillCpp target:4.3.0
   ||target:4.2.5

--- Comment #19 from Commit Notification 
libreoffice-comm...@lists.freedesktop.org ---
Jacobo Aragunde Perez committed a patch related to this issue.
It has been pushed to libreoffice-4-2:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=67dab7c4b851573747e41def560e26dacdb8ceach=libreoffice-4-2

fdo#39944: improve mapping between ATK and UNO roles


It will be available in LibreOffice 4.2.5.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


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

2014-05-07 Thread Vort
 sdext/source/pdfimport/inc/pdfihelper.hxx|1 +
 sdext/source/pdfimport/misc/pdfihelper.cxx   |   11 ---
 sdext/source/pdfimport/tree/drawtreevisiting.cxx |   11 ++-
 3 files changed, 15 insertions(+), 8 deletions(-)

New commits:
commit d7fc306cd72c4b1d36389ff4211216f6efde4869
Author: Vort vv...@yandex.ru
Date:   Wed May 7 10:20:41 2014 +0300

fdo#78382 PDF Import: add opacity support for fill and stroke

Change-Id: I76375280ee4726c1d497858165f38f4e8b4224cb
Reviewed-on: https://gerrit.libreoffice.org/9268
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/sdext/source/pdfimport/inc/pdfihelper.hxx 
b/sdext/source/pdfimport/inc/pdfihelper.hxx
index 259e3bd..b5c9b8c 100644
--- a/sdext/source/pdfimport/inc/pdfihelper.hxx
+++ b/sdext/source/pdfimport/inc/pdfihelper.hxx
@@ -72,6 +72,7 @@ namespace pdfi
 
 /// Convert color to #FEFEFE color notation
 OUString getColorString( const ::com::sun::star::rendering::ARGBColor );
+OUString getPercentString(double value);
 
 double GetAverageTransformationScale(const basegfx::B2DHomMatrix matrix);
 void FillDashStyleProps(PropertyMap props, const std::vectordouble 
dashArray, double scale);
diff --git a/sdext/source/pdfimport/misc/pdfihelper.cxx 
b/sdext/source/pdfimport/misc/pdfihelper.cxx
index 862f11b..692ba87 100644
--- a/sdext/source/pdfimport/misc/pdfihelper.cxx
+++ b/sdext/source/pdfimport/misc/pdfihelper.cxx
@@ -96,12 +96,17 @@ OUString pdfi::getColorString( const rendering::ARGBColor 
rCol )
 aBuf.append( '0' );
 aBuf.append( sal_Int32(nBlue), 16 );
 
-// TODO(F3): respect alpha transparency (polygons etc.)
-OSL_ASSERT(rCol.Alpha == 1.0);
-
 return aBuf.makeStringAndClear();
 }
 
+OUString pdfi::getPercentString(double value)
+{
+OUStringBuffer buf(32);
+buf.append(value);
+buf.appendAscii(%);
+return buf.makeStringAndClear();
+}
+
 OUString pdfi::unitMMString( double fMM )
 {
 OUStringBuffer aBuf( 32 );
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx 
b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 49c1959..008711d 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -808,6 +808,8 @@ void DrawXmlFinalizer::visit( PolyPolyElement elem, const 
std::list Element* 
 }
 
 aGCProps[ svg:stroke-color ] = getColorString(rGC.LineColor);
+if (rGC.LineColor.Alpha != 1.0)
+aGCProps[svg:stroke-opacity] = 
getPercentString(rGC.LineColor.Alpha * 100.0);
 aGCProps[ svg:stroke-width ] = 
convertPixelToUnitString(rGC.LineWidth * scale);
 aGCProps[ draw:stroke-linejoin ] = rGC.GetLineJoinString();
 aGCProps[ svg:stroke-linecap ] = rGC.GetLineCapString();
@@ -821,7 +823,9 @@ void DrawXmlFinalizer::visit( PolyPolyElement elem, const 
std::list Element* 
 if( elem.Action  (PATH_FILL | PATH_EOFILL) )
 {
 aGCProps[ draw:fill ]   = solid;
-aGCProps[ draw:fill-color ] = getColorString( rGC.FillColor );
+aGCProps[ draw:fill-color ] = getColorString(rGC.FillColor);
+if (rGC.FillColor.Alpha != 1.0)
+aGCProps[draw:opacity] = getPercentString(rGC.FillColor.Alpha * 
100.0);
 }
 else
 {
@@ -904,10 +908,7 @@ void DrawXmlFinalizer::visit( TextElement elem, const 
std::list Element* ::co
 if (((textScale = 1)  (textScale = 99)) ||
 ((textScale = 101)  (textScale = 999)))
 {
-OUStringBuffer aBuf(32);
-aBuf.append(textScale);
-aBuf.appendAscii(%);
-aFontProps[ style:text-scale ] = aBuf.makeStringAndClear();
+aFontProps[ style:text-scale ] = getPercentString(textScale);
 }
 
 StyleContainer::Style aStyle( style:style, aProps );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: cui/uiconfig

2014-05-07 Thread Caolán McNamara
 cui/uiconfig/ui/linetabpage.ui |  129 -
 1 file changed, 66 insertions(+), 63 deletions(-)

New commits:
commit 9bd4bd431cefda3602701ea648e221be01af7a5d
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 13:43:25 2014 +0100

Resolves: fdo#78323 consistent left spacing for previews

Change-Id: I9bfbde0f5abad6d6f297fc18e24f6b20be914ce4

diff --git a/cui/uiconfig/ui/linetabpage.ui b/cui/uiconfig/ui/linetabpage.ui
index 670dfba..c43b2ed 100644
--- a/cui/uiconfig/ui/linetabpage.ui
+++ b/cui/uiconfig/ui/linetabpage.ui
@@ -1,7 +1,8 @@
 ?xml version=1.0 encoding=UTF-8?
+!-- Generated with glade 3.16.1 --
 interface
-  !-- interface-requires gtk+ 3.0 --
   !-- interface-requires LibreOffice 1.0 --
+  requires lib=gtk+ version=3.0/
   object class=GtkAdjustment id=adjustmentPERCENT
 property name=upper100/property
 property name=step_increment5/property
@@ -17,6 +18,54 @@
 property name=step_increment0.050003/property
 property name=page_increment1/property
   /object
+  object class=GtkListStore id=liststoreCAP_STYLE
+columns
+  !-- column-name gchararray1 --
+  column type=gchararray/
+  !-- column-name guint1 --
+  column type=guint/
+/columns
+data
+  row
+col id=0 translatable=yesFlat/col
+col id=10/col
+  /row
+  row
+col id=0 translatable=yesRound/col
+col id=11/col
+  /row
+  row
+col id=0 translatable=yesSquare/col
+col id=12/col
+  /row
+/data
+  /object
+  object class=GtkListStore id=liststoreEDGE_STYLE
+columns
+  !-- column-name gchararray1 --
+  column type=gchararray/
+  !-- column-name guint1 --
+  column type=guint/
+/columns
+data
+  row
+col id=0 translatable=yesRounded/col
+col id=10/col
+  /row
+  row
+col id=0 translatable=yes- none -/col
+col id=11/col
+  /row
+  row
+col id=0 translatable=yesMitered/col
+col id=12/col
+  /row
+  row
+col id=0 translatable=yesBeveled/col
+col id=13/col
+  /row
+/data
+  /object
   object class=GtkBox id=LineTabPage
 property name=visibleTrue/property
 property name=can_focusFalse/property
@@ -150,7 +199,6 @@
 property name=can_focusTrue/property
 property name=halignstart/property
 property name=invisible_char•/property
-property name=invisible_char_setTrue/property
 property 
name=adjustmentadjustmentWIDTH/property
 property name=digits2/property
   /object
@@ -193,7 +241,6 @@
 property name=can_focusTrue/property
 property name=halignstart/property
 property name=invisible_char•/property
-property name=invisible_char_setTrue/property
 property 
name=adjustmentadjustmentPERCENT/property
   /object
   packing
@@ -343,7 +390,6 @@
 property name=can_focusFalse/property
 property name=halignstart/property
 property 
name=invisible_char•/property
-property 
name=invisible_char_setTrue/property
 property 
name=adjustmentadjustmentWIDTH/property
 property name=digits2/property
   /object
@@ -405,7 +451,6 @@
 property name=can_focusFalse/property
 property name=halignstart/property
 property 
name=invisible_char•/property
-property 
name=invisible_char_setTrue/property
 property 
name=adjustmentadjustmentWIDTH/property
 property name=digits2/property
   /object
@@ -686,7 +731,6 @@
 property name=visibleTrue/property
 property name=can_focusFalse/property
 property name=invisible_char•/property
-property 
name=invisible_char_setTrue/property
 property 
name=adjustmentadjustmentWIDTH_SYMBOL/property
 property name=digits2/property
   /object
@@ -741,12 +785,19 @@
   /packing
 /child
 child
-  object class=svxlo-SvxXLinePreview id=CTL_PREVIEW:border
+  object class=GtkAlignment id=alignment6
 property name=visibleTrue/property

[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - wizards/com

2014-05-07 Thread Stephan Bergmann
 wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py |2 -
 wizards/com/sun/star/wizards/ui/WizardDialog.py   |   12 --
 2 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit bf355f47f49eb352985c129544c60c27814f450b
Author: Stephan Bergmann sberg...@redhat.com
Date:   Mon Mar 3 11:57:34 2014 +0100

Resolves: fdo#77899 fax etc wizards don't start

Wizards should look for templates in Template_internal, not Template_user

...as only the former reliably denotes the share/template tree where the
wizard templates are stored.  (Presumably the latter defaulted to the 
former as
long as it wasn't explicitly set in the past, but is now always explicitly 
set
since 838b77f5f3d6d8fd98891e99a23ff78a6a357cb2 Resolves: rhbz#1065807 use 
xdg
~/Templates for default Template location.)

Change-Id: I7d1ac47d821c778fe342865465d0505a94b824bf
(cherry picked from commit 97822e3cbc63d3bd110bc3c654b3fbb4d4d1904c)

actively search for wizards dir in all internal templates

(cherry picked from commit 5fa18dc21644f2a719bf39ec948a586fa8837b6a)
Signed-off-by: Stephan Bergmann sberg...@redhat.com

Conflicts:
wizards/com/sun/star/wizards/ui/WizardDialog.py

Change-Id: I4ef6da4d9d1931917e0aaa6e110fd273bd917b26
Signed-off-by: Stephan Bergmann sberg...@redhat.com

diff --git a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py 
b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
index 1ff5f1c..76921d0 100644
--- a/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
+++ b/wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
@@ -773,7 +773,7 @@ class LetterWizardDialogImpl(LetterWizardDialog):
 return None
 
 def initializeTemplates(self, xMSF):
-sLetterPath = self.sTemplatePath + /../common/wizard/letter
+sLetterPath = self.sTemplatePath + /wizard/letter
 self.BusinessFiles = \
 FileAccess.getFolderTitles(
 xMSF, bus, sLetterPath, self.resources.dictBusinessTemplate)
diff --git a/wizards/com/sun/star/wizards/ui/WizardDialog.py 
b/wizards/com/sun/star/wizards/ui/WizardDialog.py
index fc1ce41..08a8c2d 100644
--- a/wizards/com/sun/star/wizards/ui/WizardDialog.py
+++ b/wizards/com/sun/star/wizards/ui/WizardDialog.py
@@ -23,6 +23,7 @@ from .UnoDialog2 import UnoDialog2, Desktop, PropertyNames, 
UIConsts, \
 from .event.CommonListener import TerminateListenerProcAdapter
 from ..common.Resource import Resource
 from ..common.HelpIds import HelpIds
+from ..common.FileAccess import FileAccess
 from ..document.OfficeDocument import OfficeDocument
 from ..text.TextDocument import TextDocument
 
@@ -114,10 +115,17 @@ class WizardDialog(UnoDialog2):
 def initializePaths(self):
 xPropertySet = \
 self.xMSF.createInstance(com.sun.star.util.PathSettings)
-self.sTemplatePath = \
-xPropertySet.getPropertyValue(Template_user)[0]
 self.sUserTemplatePath = \
 xPropertySet.getPropertyValue(Template_writable)
+myFA = FileAccess(self.xMSF)
+aInternalPaths = xPropertySet.getPropertyValue(Template_internal)
+self.sTemplatePath = 
+for path in aInternalPaths:
+if myFA.exists(path + /wizard, False):
+self.sTemplatePath = path
+break
+if self.sTemplatePath == :
+raise Exception(could not find wizard templates)
 
 def addRoadmap(self):
 try:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 77899, which changed state.

Bug 77899 Summary: Can't launch Fax, Agenda or Letter wizard
https://bugs.freedesktop.org/show_bug.cgi?id=77899

   What|Removed |Added

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

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


[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 75519, which changed state.

Bug 75519 Summary: EDITING: CrossReference as Chapter becomes ??
https://bugs.freedesktop.org/show_bug.cgi?id=75519

   What|Removed |Added

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

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


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

2014-05-07 Thread Michael Stahl
 sw/source/core/fields/chpfld.cxx |   31 ---
 1 file changed, 31 deletions(-)

New commits:
commit cc0a7699bb79efad488094e33464d4793758ee3f
Author: Michael Stahl mst...@redhat.com
Date:   Wed May 7 14:54:54 2014 +0200

fdo#75519: fix chapter cross references

It would be possible to modify the condition in
SwChapterField::ChangeExpansion() to check for rTxtNd.GetNumRule() as
well and make the bugdoc work again, but do we really want to use
chapter reference to refer to plain numbering?  Perhaps it would be
better to add a numbering reference field type; without investigating
what Word actually does here and what the actual problem is that was
supposedly fixed here (which is not possible given there's no reproducer
document) it's best for now to just revert it.

(regression from commit 6319803762d051c4aa645692cde7245a1bbcf7ee)

Change-Id: I7eb9ea46e42729c53c350ff450d49a1eb84ee8eb

diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index 475efa7..4dc1816 100644
--- a/sw/source/core/fields/chpfld.cxx
+++ b/sw/source/core/fields/chpfld.cxx
@@ -122,41 +122,11 @@ void SwChapterField::ChangeExpansion(const SwFrm* pFrm,
 
 void SwChapterField::ChangeExpansion(const SwTxtNode rTxtNd, bool bSrchNum)
 {
-//i120759,this function is for both the reference chapter field and normal 
chapter field
-//bSrchNum can distinguish the two types,to the latter type,the outline 
num rule is must...
 sNumber = OUString();
 sTitle = OUString();
 sPost = OUString();
 sPre = OUString();
-//The reference chapter field of normal num rule will be handled in this 
code segment
-if (bSrchNum  !rTxtNd.IsOutline())
-{
-SwNumRule* pRule(rTxtNd.GetNumRule());
-if (rTxtNd.IsCountedInList()  pRule)
-{
-sNumber = rTxtNd.GetNumString(false);
-
-int nListLevel = rTxtNd.GetActualListLevel();
-
-if (nListLevel  0)
-nListLevel = 0;
 
-if (nListLevel = MAXLEVEL)
-nListLevel = MAXLEVEL - 1;
-
-const SwNumFmt rNFmt = pRule-Get(static_castunsigned 
short(nListLevel));
-sPost = rNFmt.GetSuffix();
-sPre = rNFmt.GetPrefix();
-}
-else
-{
-sNumber = ??;
-}
-sTitle = removeControlChars(rTxtNd.GetExpandTxt());
-}
-else
-{
-//End
 SwDoc* pDoc = (SwDoc*)rTxtNd.GetDoc();
 const SwTxtNode *pTxtNd = rTxtNd.FindOutlineNodeOfLevel( nLevel );
 if( pTxtNd )
@@ -222,7 +192,6 @@ void SwChapterField::ChangeExpansion(const SwTxtNode 
rTxtNd, bool bSrchNum)
 sTitle = removeControlChars(pTxtNd-GetExpandTxt(0, -1, false, false, 
false, false));
 
 }
-}
 }
 
 bool SwChapterField::QueryValue( uno::Any rAny, sal_uInt16 nWhichId ) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'private/moggi/chart-opengl-window-version2' - 2 commits - chart2/source

2014-05-07 Thread Markus Mohrhard
 chart2/source/view/charttypes/GL3DBarChart.cxx |   11 +++
 chart2/source/view/inc/GL3DBarChart.hxx|6 +++---
 chart2/source/view/inc/GL3DRenderer.hxx|4 ++--
 chart2/source/view/main/ChartView.cxx  |2 +-
 4 files changed, 13 insertions(+), 10 deletions(-)

New commits:
commit 0aa8bccb46a082754d26178d8c2613940194702b
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 15:47:17 2014 +0200

set the size to context and renderer before rendering

Change-Id: I2945a7b8647d0a40270b1e65cde2a0eb936ab1d1

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx 
b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 9c4264d..e21a34b 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -67,6 +67,9 @@ void GL3DBarChart::create3DShapes()
 void GL3DBarChart::render()
 {
 mrWindow.getContext()-makeCurrent();
+Size aSize = mrWindow.GetSizePixel();
+mpRenderer-SetSize(aSize);
+mrWindow.getContext()-setWinSize(aSize);
 for(boost::ptr_vectoropengl3D::Renderable3DObject::iterator itr = 
maShapes.begin(),
 itrEnd = maShapes.end(); itr != itrEnd; ++itr)
 {
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx 
b/chart2/source/view/inc/GL3DRenderer.hxx
index 0c5c078..0a9d674 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -249,9 +249,9 @@ private:
 double m_dFreq;
 #endif
 
-int m_iWidth;
+sal_Int32 m_iWidth;
 
-int m_iHeight;
+sal_Int32 m_iHeight;
 
 float m_fZmax;
 
commit c0255a6e4d5c2aead2988a5c01e4cbb78c42fdbc
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 15:34:51 2014 +0200

let us pass the window to get the size correct

Change-Id: I8bd8a319e67cdcf7266d3c8f86d1bf132163d665

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx 
b/chart2/source/view/charttypes/GL3DBarChart.cxx
index f19ab64..9c4264d 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -20,10 +20,10 @@
 namespace chart {
 
 GL3DBarChart::GL3DBarChart(const std::vectorVDataSeries* rDataSeries,
-OpenGLContext rContext):
+OpenGLWindow rWindow):
 maDataSeries(rDataSeries),
 mpRenderer(new opengl3D::OpenGL3DRenderer()),
-mrContext(rContext)
+mrWindow(rWindow)
 {
 }
 
@@ -66,13 +66,13 @@ void GL3DBarChart::create3DShapes()
 
 void GL3DBarChart::render()
 {
-mrContext.makeCurrent();
+mrWindow.getContext()-makeCurrent();
 for(boost::ptr_vectoropengl3D::Renderable3DObject::iterator itr = 
maShapes.begin(),
 itrEnd = maShapes.end(); itr != itrEnd; ++itr)
 {
 itr-render();
 }
-mrContext.swapBuffers();
+mrWindow.getContext()-swapBuffers();
 }
 
 }
diff --git a/chart2/source/view/inc/GL3DBarChart.hxx 
b/chart2/source/view/inc/GL3DBarChart.hxx
index 6efc86c..06b1be5 100644
--- a/chart2/source/view/inc/GL3DBarChart.hxx
+++ b/chart2/source/view/inc/GL3DBarChart.hxx
@@ -14,7 +14,7 @@
 #include boost/ptr_container/ptr_vector.hpp
 #include VDataSeries.hxx
 
-#include vcl/opengl/OpenGLContext.hxx
+#include vcl/openglwin.hxx
 
 namespace chart {
 
@@ -32,7 +32,7 @@ class TemporaryContext;
 class GL3DBarChart
 {
 public:
-GL3DBarChart(const std::vectorVDataSeries* rDataSeries, OpenGLContext 
rContext);
+GL3DBarChart(const std::vectorVDataSeries* rDataSeries, OpenGLWindow 
rContext);
 ~GL3DBarChart();
 
 void create3DShapes();
@@ -45,7 +45,7 @@ private:
 boost::ptr_vectoropengl3D::Renderable3DObject maShapes;
 
 boost::scoped_ptropengl3D::OpenGL3DRenderer mpRenderer;
-OpenGLContext mrContext;
+OpenGLWindow mrWindow;
 };
 
 }
diff --git a/chart2/source/view/main/ChartView.cxx 
b/chart2/source/view/main/ChartView.cxx
index 98c9b91..79eec7b 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -3149,7 +3149,7 @@ void ChartView::createShapes3D()
 if(!pWindow)
 return;
 
-GL3DBarChart aBarChart(aDataSeries, *pWindow-getContext());
+GL3DBarChart aBarChart(aDataSeries, *pWindow);
 aBarChart.create3DShapes();
 aBarChart.render();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: dictionaries

2014-05-07 Thread Julien Nabet
 dictionaries |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a0f77cbfe2b8b51097af797009705fa79f1fe44e
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu May 1 18:49:19 2014 +0200

Updated core
Project: dictionaries  d478664ac0a8e8997d8d17a76a39d2704f7a254d

diff --git a/dictionaries b/dictionaries
index 9bc8a1c..d478664 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 9bc8a1ce80cb0714c15d32e783db54d3cd852789
+Subproject commit d478664ac0a8e8997d8d17a76a39d2704f7a254d
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dictionaries.git: en/dialog

2014-05-07 Thread Julien Nabet
 en/dialog/en.xdl |   38 +++---
 1 file changed, 19 insertions(+), 19 deletions(-)

New commits:
commit d478664ac0a8e8997d8d17a76a39d2704f7a254d
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu May 1 18:49:19 2014 +0200

Resolves: fdo#76692 LightProof: Italian translation too long in options

I also tested with French UI and German UI which had some pbs too
Also, I updated the tabindex

Change-Id: I861bea9ee2118ec4c2a698f64c03c912281447c0

diff --git a/en/dialog/en.xdl b/en/dialog/en.xdl
index 6e161bd..86019ce 100644
--- a/en/dialog/en.xdl
+++ b/en/dialog/en.xdl
@@ -3,24 +3,24 @@
 dlg:window xmlns:dlg=http://openoffice.org/2000/dialog; 
xmlns:script=http://openoffice.org/2000/script; dlg:id=en dlg:left=101 
dlg:top=52 dlg:width=196 dlg:height=72 dlg:closeable=true 
dlg:moveable=true dlg:withtitlebar=false
  dlg:bulletinboard
 dlg:fixedline dlg:id=spelling dlg:tab-index=0 dlg:left=5 dlg:top=5 
dlg:width=240 dlg:height=10 dlg:value=amp;spelling/
-dlg:checkbox dlg:id=grammar dlg:tab-index=1 dlg:left=10 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;grammar dlg:checked=false 
dlg:help-text=amp;hlp_grammar/
-dlg:checkbox dlg:id=cap dlg:tab-index=2 dlg:left=70 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;cap dlg:checked=false 
dlg:help-text=amp;hlp_cap/
-dlg:checkbox dlg:id=dup dlg:tab-index=3 dlg:left=130 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;dup dlg:checked=false 
dlg:help-text=amp;hlp_dup/
-dlg:checkbox dlg:id=pair dlg:tab-index=4 dlg:left=190 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;pair dlg:checked=false 
dlg:help-text=amp;hlp_pair/
-dlg:fixedline dlg:id=punctuation dlg:tab-index=6 dlg:left=5 
dlg:top=25 dlg:width=240 dlg:height=10 dlg:value=amp;punctuation/
-dlg:checkbox dlg:id=spaces dlg:tab-index=7 dlg:left=10 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces dlg:checked=true 
dlg:help-text=amp;hlp_spaces/
-dlg:checkbox dlg:id=mdash dlg:tab-index=8 dlg:left=70 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;mdash dlg:checked=false 
dlg:help-text=amp;hlp_mdash/
-dlg:checkbox dlg:id=quotation dlg:tab-index=9 dlg:left=130 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;quotation dlg:checked=false 
dlg:help-text=amp;hlp_quotation/
-dlg:checkbox dlg:id=times dlg:tab-index=10 dlg:left=190 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;times dlg:checked=true 
dlg:help-text=amp;hlp_times/
-dlg:checkbox dlg:id=spaces2 dlg:tab-index=12 dlg:left=10 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces2 dlg:checked=false 
dlg:help-text=amp;hlp_spaces2/
-dlg:checkbox dlg:id=ndash dlg:tab-index=13 dlg:left=70 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;ndash dlg:checked=false 
dlg:help-text=amp;hlp_ndash/
-dlg:checkbox dlg:id=apostrophe dlg:tab-index=14 dlg:left=130 
dlg:top=45 dlg:width=60 dlg:height=10 dlg:value=amp;apostrophe 
dlg:checked=false dlg:help-text=amp;hlp_apostrophe/
-dlg:checkbox dlg:id=ellipsis dlg:tab-index=15 dlg:left=190 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;ellipsis dlg:checked=false 
dlg:help-text=amp;hlp_ellipsis/
-dlg:checkbox dlg:id=spaces3 dlg:tab-index=17 dlg:left=10 dlg:top=55 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces3 dlg:checked=false 
dlg:help-text=amp;hlp_spaces3/
-dlg:checkbox dlg:id=minus dlg:tab-index=18 dlg:left=70 dlg:top=55 
dlg:width=60 dlg:height=10 dlg:value=amp;minus dlg:checked=false 
dlg:help-text=amp;hlp_minus/
-dlg:fixedline dlg:id=others dlg:tab-index=20 dlg:left=5 dlg:top=65 
dlg:width=240 dlg:height=10 dlg:value=amp;others/
-dlg:checkbox dlg:id=metric dlg:tab-index=21 dlg:left=10 dlg:top=75 
dlg:width=120 dlg:height=10 dlg:value=amp;metric dlg:checked=false 
dlg:help-text=amp;hlp_metric/
-dlg:checkbox dlg:id=numsep dlg:tab-index=22 dlg:left=130 dlg:top=75 
dlg:width=120 dlg:height=10 dlg:value=amp;numsep dlg:checked=false 
dlg:help-text=amp;hlp_numsep/
-dlg:checkbox dlg:id=nonmetric dlg:tab-index=24 dlg:left=10 dlg:top=85 
dlg:width=240 dlg:height=10 dlg:value=amp;nonmetric dlg:checked=false 
dlg:help-text=amp;hlp_nonmetric/
+dlg:checkbox dlg:id=grammar dlg:tab-index=1 dlg:left=10 dlg:top=15 
dlg:width=100 dlg:height=10 dlg:value=amp;grammar dlg:checked=false 
dlg:help-text=amp;hlp_grammar/
+dlg:checkbox dlg:id=cap dlg:tab-index=2 dlg:left=120 dlg:top=15 
dlg:width=100 dlg:height=10 dlg:value=amp;cap dlg:checked=false 
dlg:help-text=amp;hlp_cap/
+dlg:checkbox dlg:id=dup dlg:tab-index=3 dlg:left=10 dlg:top=25 
dlg:width=100 dlg:height=10 dlg:value=amp;dup dlg:checked=false 
dlg:help-text=amp;hlp_dup/
+dlg:checkbox dlg:id=pair dlg:tab-index=4 dlg:left=120 dlg:top=25 
dlg:width=100 dlg:height=10 dlg:value=amp;pair dlg:checked=false 
dlg:help-text=amp;hlp_pair/
+dlg:fixedline dlg:id=punctuation dlg:tab-index=5 dlg:left=5 
dlg:top=35 dlg:width=240 dlg:height=10 dlg:value=amp;punctuation/
+dlg:checkbox dlg:id=spaces dlg:tab-index=6 dlg:left=10 dlg:top=45 
dlg:width=100 dlg:height=10 dlg:value=amp;spaces 

[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - dictionaries

2014-05-07 Thread Julien Nabet
 dictionaries |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d91899f612fddd70425d1170248ed1a29cc02209
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu May 1 18:49:19 2014 +0200

Updated core
Project: dictionaries  06217fb7e4e03bca013563558c61cc10b8437eb7

diff --git a/dictionaries b/dictionaries
index a042ec006..06217fb 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit a042ec0063d8f6976de5c28d12dd035b67142ad2
+Subproject commit 06217fb7e4e03bca013563558c61cc10b8437eb7
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dictionaries.git: Branch 'libreoffice-4-2' - en/dialog

2014-05-07 Thread Julien Nabet
 en/dialog/en.xdl |   38 +++---
 1 file changed, 19 insertions(+), 19 deletions(-)

New commits:
commit 06217fb7e4e03bca013563558c61cc10b8437eb7
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu May 1 18:49:19 2014 +0200

Resolves: fdo#76692 LightProof: Italian translation too long in options

I also tested with French UI and German UI which had some pbs too
Also, I updated the tabindex

Change-Id: I861bea9ee2118ec4c2a698f64c03c912281447c0
(cherry picked from commit d478664ac0a8e8997d8d17a76a39d2704f7a254d)

diff --git a/en/dialog/en.xdl b/en/dialog/en.xdl
index 6e161bd..86019ce 100644
--- a/en/dialog/en.xdl
+++ b/en/dialog/en.xdl
@@ -3,24 +3,24 @@
 dlg:window xmlns:dlg=http://openoffice.org/2000/dialog; 
xmlns:script=http://openoffice.org/2000/script; dlg:id=en dlg:left=101 
dlg:top=52 dlg:width=196 dlg:height=72 dlg:closeable=true 
dlg:moveable=true dlg:withtitlebar=false
  dlg:bulletinboard
 dlg:fixedline dlg:id=spelling dlg:tab-index=0 dlg:left=5 dlg:top=5 
dlg:width=240 dlg:height=10 dlg:value=amp;spelling/
-dlg:checkbox dlg:id=grammar dlg:tab-index=1 dlg:left=10 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;grammar dlg:checked=false 
dlg:help-text=amp;hlp_grammar/
-dlg:checkbox dlg:id=cap dlg:tab-index=2 dlg:left=70 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;cap dlg:checked=false 
dlg:help-text=amp;hlp_cap/
-dlg:checkbox dlg:id=dup dlg:tab-index=3 dlg:left=130 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;dup dlg:checked=false 
dlg:help-text=amp;hlp_dup/
-dlg:checkbox dlg:id=pair dlg:tab-index=4 dlg:left=190 dlg:top=15 
dlg:width=60 dlg:height=10 dlg:value=amp;pair dlg:checked=false 
dlg:help-text=amp;hlp_pair/
-dlg:fixedline dlg:id=punctuation dlg:tab-index=6 dlg:left=5 
dlg:top=25 dlg:width=240 dlg:height=10 dlg:value=amp;punctuation/
-dlg:checkbox dlg:id=spaces dlg:tab-index=7 dlg:left=10 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces dlg:checked=true 
dlg:help-text=amp;hlp_spaces/
-dlg:checkbox dlg:id=mdash dlg:tab-index=8 dlg:left=70 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;mdash dlg:checked=false 
dlg:help-text=amp;hlp_mdash/
-dlg:checkbox dlg:id=quotation dlg:tab-index=9 dlg:left=130 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;quotation dlg:checked=false 
dlg:help-text=amp;hlp_quotation/
-dlg:checkbox dlg:id=times dlg:tab-index=10 dlg:left=190 dlg:top=35 
dlg:width=60 dlg:height=10 dlg:value=amp;times dlg:checked=true 
dlg:help-text=amp;hlp_times/
-dlg:checkbox dlg:id=spaces2 dlg:tab-index=12 dlg:left=10 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces2 dlg:checked=false 
dlg:help-text=amp;hlp_spaces2/
-dlg:checkbox dlg:id=ndash dlg:tab-index=13 dlg:left=70 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;ndash dlg:checked=false 
dlg:help-text=amp;hlp_ndash/
-dlg:checkbox dlg:id=apostrophe dlg:tab-index=14 dlg:left=130 
dlg:top=45 dlg:width=60 dlg:height=10 dlg:value=amp;apostrophe 
dlg:checked=false dlg:help-text=amp;hlp_apostrophe/
-dlg:checkbox dlg:id=ellipsis dlg:tab-index=15 dlg:left=190 dlg:top=45 
dlg:width=60 dlg:height=10 dlg:value=amp;ellipsis dlg:checked=false 
dlg:help-text=amp;hlp_ellipsis/
-dlg:checkbox dlg:id=spaces3 dlg:tab-index=17 dlg:left=10 dlg:top=55 
dlg:width=60 dlg:height=10 dlg:value=amp;spaces3 dlg:checked=false 
dlg:help-text=amp;hlp_spaces3/
-dlg:checkbox dlg:id=minus dlg:tab-index=18 dlg:left=70 dlg:top=55 
dlg:width=60 dlg:height=10 dlg:value=amp;minus dlg:checked=false 
dlg:help-text=amp;hlp_minus/
-dlg:fixedline dlg:id=others dlg:tab-index=20 dlg:left=5 dlg:top=65 
dlg:width=240 dlg:height=10 dlg:value=amp;others/
-dlg:checkbox dlg:id=metric dlg:tab-index=21 dlg:left=10 dlg:top=75 
dlg:width=120 dlg:height=10 dlg:value=amp;metric dlg:checked=false 
dlg:help-text=amp;hlp_metric/
-dlg:checkbox dlg:id=numsep dlg:tab-index=22 dlg:left=130 dlg:top=75 
dlg:width=120 dlg:height=10 dlg:value=amp;numsep dlg:checked=false 
dlg:help-text=amp;hlp_numsep/
-dlg:checkbox dlg:id=nonmetric dlg:tab-index=24 dlg:left=10 dlg:top=85 
dlg:width=240 dlg:height=10 dlg:value=amp;nonmetric dlg:checked=false 
dlg:help-text=amp;hlp_nonmetric/
+dlg:checkbox dlg:id=grammar dlg:tab-index=1 dlg:left=10 dlg:top=15 
dlg:width=100 dlg:height=10 dlg:value=amp;grammar dlg:checked=false 
dlg:help-text=amp;hlp_grammar/
+dlg:checkbox dlg:id=cap dlg:tab-index=2 dlg:left=120 dlg:top=15 
dlg:width=100 dlg:height=10 dlg:value=amp;cap dlg:checked=false 
dlg:help-text=amp;hlp_cap/
+dlg:checkbox dlg:id=dup dlg:tab-index=3 dlg:left=10 dlg:top=25 
dlg:width=100 dlg:height=10 dlg:value=amp;dup dlg:checked=false 
dlg:help-text=amp;hlp_dup/
+dlg:checkbox dlg:id=pair dlg:tab-index=4 dlg:left=120 dlg:top=25 
dlg:width=100 dlg:height=10 dlg:value=amp;pair dlg:checked=false 
dlg:help-text=amp;hlp_pair/
+dlg:fixedline dlg:id=punctuation dlg:tab-index=5 dlg:left=5 
dlg:top=35 dlg:width=240 dlg:height=10 dlg:value=amp;punctuation/
+dlg:checkbox dlg:id=spaces dlg:tab-index=6 dlg:left=10 

[Libreoffice-commits] core.git: 21 commits - basctl/source chart2/source sd/source sfx2/source svx/source sw/source vcl/source xmlsecurity/source

2014-05-07 Thread Caolán McNamara
 basctl/source/basicide/baside2b.cxx|3 +--
 chart2/source/view/main/OpenglShapeFactory.cxx |8 +---
 sd/source/ui/app/sdmod1.cxx|   12 
 sd/source/ui/dlg/animobjs.cxx  |   12 +++-
 sd/source/ui/func/futhes.cxx   |4 ++--
 sd/source/ui/unoidl/unomodel.cxx   |2 +-
 sfx2/source/appl/sfxpicklist.cxx   |2 +-
 sfx2/source/dialog/tplcitem.cxx|7 +--
 svx/source/dialog/_bmpmask.cxx |7 +++
 svx/source/dialog/_contdlg.cxx |   10 +++---
 svx/source/dialog/imapdlg.cxx  |   11 ++-
 svx/source/dialog/imapwnd.cxx  |2 +-
 sw/source/core/doc/docnum.cxx  |3 ++-
 sw/source/core/txtnode/ndtxt.cxx   |3 ++-
 sw/source/core/unocore/unosect.cxx |6 +++---
 sw/source/filter/html/htmlbas.cxx  |4 +++-
 sw/source/filter/xml/xmlexpit.cxx  |6 +++---
 vcl/source/window/builder.cxx  |3 +++
 xmlsecurity/source/dialogs/macrosecurity.cxx   |2 +-
 19 files changed, 60 insertions(+), 47 deletions(-)

New commits:
commit 8c4acc98d192afbcad7654e63361593acd25b49c
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 15:26:31 2014 +0100

coverity#735932 Explicit null dereferenced

Change-Id: I35ccc5ba619f7e861fca2c5e78de86d88480017d

diff --git a/sw/source/filter/html/htmlbas.cxx 
b/sw/source/filter/html/htmlbas.cxx
index 051ade2..63467af 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -276,7 +276,9 @@ void SwHTMLWriter::OutBasic()
 for( sal_uInt16 j=0; jpModules-Count(); j++ )
 {
 const SbModule *pModule = PTR_CAST( SbModule, pModules-Get(j) );
-OSL_ENSURE( pModule, Wo ist das Modul? );
+assert(pModule); //Wo ist das Modul?
+if (!pModule)
+continue;
 
 OUString sLang(SVX_MACRO_LANGUAGE_STARBASIC);
 ScriptType eType = STARBASIC;
commit b5e8833f57786336013b1607b9b92498aa554da4
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 13:20:28 2014 +0100

coverity#735924 Explicit null dereferenced

Change-Id: I77044f6f9e99ddaa64cf69ba22205d6536a90b1b

diff --git a/sw/source/core/unocore/unosect.cxx 
b/sw/source/core/unocore/unosect.cxx
index f2eb49a..4d403a7 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -1115,11 +1115,11 @@ throw (beans::UnknownPropertyException, 
lang::WrappedTargetException,
 {
 pEnclosingSection = pEnclosingSection-GetParent();
 }
-if (pEnclosingSection)
+SwTOXBaseSection* const pTOXBaseSect = pEnclosingSection ?
+PTR_CAST(SwTOXBaseSection, pEnclosingSection) : NULL;
+if (pTOXBaseSect)
 {
 // convert section to TOXBase and get SwXDocumentIndex
-SwTOXBaseSection *const pTOXBaseSect =
-PTR_CAST(SwTOXBaseSection, pEnclosingSection);
 const uno::Referencetext::XDocumentIndex xIndex =
 SwXDocumentIndex::CreateXDocumentIndex(
 *pTOXBaseSect-GetFmt()-GetDoc(), *pTOXBaseSect);
commit f36614bb7892af1c0aabe49c95bf3824a746e6f9
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 12:09:39 2014 +0100

coverity#735860 Explicit null dereferenced

Change-Id: I2c031ffc70e7ddacde52f120513f9dd5ff1a4c50

diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index d6f2dad..f062407 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -86,11 +86,12 @@ void SvxIMapDlgItem::StateChanged( sal_uInt16 nSID, 
SfxItemState /*eState*/,
 if ( ( nSID == SID_IMAP_EXEC )  pItem )
 {
 const SfxBoolItem* pStateItem = PTR_CAST( SfxBoolItem, pItem );
-
-DBG_ASSERT( pStateItem || pItem == 0, SfxBoolItem expected);
-
-// Disable Float if possible
-rIMap.SetExecState( !pStateItem-GetValue() );
+assert(pStateItem); //SfxBoolItem expected
+if (pStateItem)
+{
+// Disable Float if possible
+rIMap.SetExecState( !pStateItem-GetValue() );
+}
 }
 }
 
commit 88613ffedac1211c76c73ca9a979cf920fbd3c52
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 12:07:47 2014 +0100

coverity#735859 Explicit null dereferenced

Change-Id: I8edbf48bc981b4636dd55b5f4cd2b314d387486d

diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index c81d40f..817202e 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -62,16 +62,12 @@ void SvxContourDlgItem::StateChanged( sal_uInt16 nSID, 
SfxItemState /*eState*/,
 if ( 

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

2014-05-07 Thread Takeshi Abe
 sc/source/ui/view/printfun.cxx |   15 +--
 sc/source/ui/view/tabvwsh3.cxx |   14 --
 sc/source/ui/view/tabvwshf.cxx |   19 +++
 sc/source/ui/view/viewfun2.cxx |   22 --
 sc/source/ui/view/viewfun3.cxx |   19 +--
 5 files changed, 33 insertions(+), 56 deletions(-)

New commits:
commit 34ae7b16d7ef365f4b63dd3d4a9e756e2b77e7bd
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Thu May 8 00:09:02 2014 +0900

Avoid possible memory leaks in case of exceptions

Change-Id: Idf1460e5207e0797390593535f2b2c080609a77b

diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 2f76e43..f3cb9b6 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -523,14 +523,14 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc, 
OutputDevice* pDev, double /* nPr
 
 // #114135#
 ScDrawLayer* pModel = pDoc-GetDrawLayer();
-FmFormView* pDrawView = NULL;
+boost::scoped_ptrFmFormView pDrawView;
 
 if( pModel )
 {
-pDrawView = new FmFormView( pModel, pDev );
+pDrawView.reset(new FmFormView( pModel, pDev ));
 pDrawView-ShowSdrPage(pDrawView-GetModel()-GetPage(nTab));
 pDrawView-SetPrintPreview( true );
-aOutputData.SetDrawView( pDrawView );
+aOutputData.SetDrawView( pDrawView.get() );
 }
 
 //! SetUseStyleColor ??
@@ -594,9 +594,6 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc, 
OutputDevice* pDev, double /* nPr
 aOutputData.PrintDrawingLayer(SC_LAYER_FRONT, aMMOffset);
 aOutputData.PrintDrawingLayer(SC_LAYER_INTERN, aMMOffset);
 aOutputData.PostPrintDrawingLayer(aMMOffset); // #i74768#
-
-// #114135#
-delete pDrawView;
 }
 
 
@@ -1346,7 +1343,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, 
long nScrW, long nScrH,
 
 if (pBorderData)
 {
-ScDocument* pBorderDoc = new ScDocument( SCDOCMODE_UNDO );
+boost::scoped_ptrScDocument pBorderDoc(new ScDocument( 
SCDOCMODE_UNDO ));
 pBorderDoc-InitUndo( pDoc, 0,0, true,true );
 if (pBorderData)
 pBorderDoc-ApplyAttr( 0,0,0, *pBorderData );
@@ -1360,14 +1357,12 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, 
long nScrW, long nScrH,
 aTabInfo.mpRowInfo[0].pCellInfo[1].nWidth =
 aTabInfo.mpRowInfo[1].pCellInfo[1].nWidth = (sal_uInt16) nEffWidth;
 
-ScOutputData aOutputData( pDev, OUTTYPE_PRINTER, aTabInfo, pBorderDoc, 
0,
+ScOutputData aOutputData( pDev, OUTTYPE_PRINTER, aTabInfo, 
pBorderDoc.get(), 0,
 nScrX+nLeft, nScrY+nTop, 0,0, 0,0, 
nScaleX, nScaleY );
 aOutputData.SetUseStyleColor( bUseStyleColor );
 
 if (pBorderData)
 aOutputData.DrawFrame();
-
-delete pBorderDoc;
 }
 }
 
diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 2b66df4..7c2a2c2 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -647,7 +647,7 @@ void ScTabViewShell::Execute( SfxRequest rReq )
 {
 SfxItemSet  aSet ( GetPool(), SID_ATTR_ZOOM, 
SID_ATTR_ZOOM );
 SvxZoomItem aZoomItem( eOldZoomType, nOldZoom, 
SID_ATTR_ZOOM );
-AbstractSvxZoomDialog* pDlg = NULL;
+boost::scoped_ptrAbstractSvxZoomDialog pDlg;
 ScMarkData rMark = GetViewData()-GetMarkData();
 sal_uInt16  nBtnFlags =   SVX_ZOOM_ENABLE_50
 | SVX_ZOOM_ENABLE_75
@@ -665,7 +665,7 @@ void ScTabViewShell::Execute( SfxRequest rReq )
 SvxAbstractDialogFactory* pFact = 
SvxAbstractDialogFactory::Create();
 if(pFact)
 {
-pDlg = pFact-CreateSvxZoomDialog(GetDialogParent(), 
aSet );
+
pDlg.reset(pFact-CreateSvxZoomDialog(GetDialogParent(), aSet ));
 OSL_ENSURE(pDlg, Dialogdiet fail!);
 }
 if (pDlg)
@@ -685,8 +685,6 @@ void ScTabViewShell::Execute( SfxRequest rReq )
 eNewZoomType = rZoomItem.GetType();
 nZoom = rZoomItem.GetValue();
 }
-
-delete pDlg;
 }
 }
 
@@ -966,7 +964,6 @@ void ScTabViewShell::Execute( SfxRequest rReq )
 case FID_PROTECT_DOC:
 {
 ScDocument* pDoc = GetViewData()-GetDocument();
-SfxPasswordDialog*  pDlg;
 
 if( pReqArgs )
 {
@@ -989,7 +986,7 @@ void ScTabViewShell::Execute( SfxRequest rReq )
 {
 OUString aText(ScResId(SCSTR_PASSWORD));
 
-pDlg = new SfxPasswordDialog(GetDialogParent(), 
aText);
+

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

2014-05-07 Thread Caolán McNamara
 sd/source/ui/inc/ViewShell.hxx |1 +
 sd/source/ui/view/viewshe2.cxx |   27 +++
 sd/source/ui/view/viewshel.cxx |1 +
 3 files changed, 29 insertions(+)

New commits:
commit b179235f702e474b115ca479b603052f422346fd
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 16:16:17 2014 +0100

center slide after changing zoom

Change-Id: I08698b06d0485d2cd3573af665e0621b42d37349

diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index ce5ea31..87edbc5 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -206,6 +206,7 @@ public:
 virtual void UpdateScrollBars (void);
 voidScroll(long nX, long nY);
 voidScrollLines(long nX, long nY);
+voidScrollCenter();
 virtual voidSetZoom(long nZoom);
 virtual voidSetZoomRect(const Rectangle rZoomRect);
 voidInitWindows(const Point rViewOrigin, const Size rViewSize,
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index 5f98d68..8f91d6c 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -365,6 +365,33 @@ void ViewShell::SetZoom(long nZoom)
 UpdateScrollBars();
 }
 
+namespace
+{
+void CenterScrollBar(ScrollBar *pBar)
+{
+long nVisSize = pBar-GetVisibleSize();
+long nMin = pBar-GetRangeMin();
+long nMax = pBar-GetRangeMax();
+long nLen = nMax - nMin - nVisSize;
+long nPos = nMin + nLen/2;
+pBar-DoScroll(nPos);
+}
+}
+
+void ViewShell::ScrollCenter()
+{
+if (mpHorizontalScrollBar.get() != NULL)
+CenterScrollBar(mpHorizontalScrollBar.get());
+
+//zoom mode with no panning of the current slide, i.e. the
+//scrollbar is in change slide mode not pan slide mode
+if (IsPageFlipMode())
+return;
+
+if (mpVerticalScrollBar.get() != NULL)
+CenterScrollBar(mpVerticalScrollBar.get());
+}
+
 /**
  * Set zoom rectangle for active window. Sets all split windows to the same 
zoom
  * factor.
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 28e272e..17bcf5f 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -683,6 +683,7 @@ bool ViewShell::HandleScrollCommand(const CommandEvent 
rCEvt, ::sd::Window* pWi
 nNewZoom = std::min( (long) pWin-GetMaxZoom(), 
basegfx::zoomtools::zoomIn( nOldZoom ));
 
 SetZoom( nNewZoom );
+ScrollCenter(); //center slide after changing zoom
 Invalidate( SID_ATTR_ZOOM );
 Invalidate( SID_ATTR_ZOOMSLIDER );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Michael Stahl
 sw/inc/ndtxt.hxx |3 +++
 sw/source/core/doc/doccomp.cxx   |   13 +
 sw/source/core/txtnode/ndtxt.cxx |   12 +---
 3 files changed, 25 insertions(+), 3 deletions(-)

New commits:
commit bba3c94155c1c3b56a0d475bb2cd293a5ef370c0
Author: Michael Stahl mst...@redhat.com
Date:   Wed May 7 17:57:17 2014 +0200

SwTxtNode::CopyText(): actually check hints of destination node too

Change-Id: I1bb883502ccd4c6fb5bdfd93f2fa5a04de0b2701

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index fa12315..386e4c5 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -1783,6 +1783,7 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
 }
 
 CHECK_SWPHINTS(this);
+CHECK_SWPHINTS(pDest);
 }
 
 OUString SwTxtNode::InsertText( const OUString  rStr, const SwIndex  rIdx,
commit 80b131038d2375c9855ee5fbe225e75bdad2645e
Author: Michael Stahl mst...@redhat.com
Date:   Wed May 7 17:52:16 2014 +0200

fdo#74790: sw: Compare Document: fix assertions about RSID-only hints

For ordinary documents the SwTxtNode::MakeFrm() would set the
m_bFormatIgnoreStart/End flags of the RSID-only hints, but the document
loaded by Compare Document (and Merge Document) is special because it
is loaded, there are editing operations on it, but it has no layout,
so the assertions about these flags trigger.

(regression from 6db39dbd7378351f6476f6db25eb7110c9cfb291)

Change-Id: I8a6e02b68f22e609640adbe93ff194e4081d9856

diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index 2bcc64b..b7af846 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -277,6 +277,9 @@ public:
 // delete all attributes from SwpHintsArray.
 voidClearSwpHintsArr( bool bDelFields );
 
+/// initialize the hints after file loading (which takes shortcuts)
+voidFileLoadedInitHints();
+
 /// Insert pAttr into hints array. @return true iff inserted successfully
 boolInsertHint( SwTxtAttr * const pAttr,
   const SetAttrMode nMode = nsSetAttrMode::SETATTR_DEFAULT );
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index 2472cab..3a6e4f3 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -1757,12 +1757,23 @@ void SwCompareData::SetRedlinesToDoc( bool bUseDocInfo )
 }
 }
 
+static bool lcl_MergePortions(SwNode *const pNode, void *)
+{
+if (pNode-IsTxtNode())
+{
+pNode-GetTxtNode()-FileLoadedInitHints();
+}
+return true;
+}
+
 // Returns (the difference count?) if something is different
 long SwDoc::CompareDoc( const SwDoc rDoc )
 {
 if( rDoc == this )
 return 0;
 
+const_castSwDoc(rDoc).GetNodes().ForEach(lcl_MergePortions);
+
 long nRet = 0;
 
 // Get comparison options
@@ -2004,6 +2015,8 @@ long SwDoc::MergeDoc( const SwDoc rDoc )
 
 long nRet = 0;
 
+const_castSwDoc(rDoc).GetNodes().ForEach(lcl_MergePortions);
+
 GetIDocumentUndoRedo().StartUndo(UNDO_EMPTY, NULL);
 
 SwDoc rSrcDoc = (SwDoc)rDoc;
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index d6de6d5..fa12315 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -255,14 +255,19 @@ SwTxtNode::~SwTxtNode()
 InitSwParaStatistics( false );
 }
 
-SwCntntFrm *SwTxtNode::MakeFrm( SwFrm* pSib )
+void SwTxtNode::FileLoadedInitHints()
 {
-// fdo#52028: ODF file import does not result in MergePortions being called
-// for every attribute, since that would be inefficient.  So call it here.
 if (m_pSwpHints)
 {
 m_pSwpHints-MergePortions(*this);
 }
+}
+
+SwCntntFrm *SwTxtNode::MakeFrm( SwFrm* pSib )
+{
+// fdo#52028: ODF file import does not result in MergePortions being called
+// for every attribute, since that would be inefficient.  So call it here.
+FileLoadedInitHints();
 SwCntntFrm *pFrm = new SwTxtFrm( this, pSib );
 return pFrm;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 74790, which changed state.

Bug 74790 Summary: Document comparison crashes Writer
https://bugs.freedesktop.org/show_bug.cgi?id=74790

   What|Removed |Added

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

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


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

2014-05-07 Thread Chris Sherlock
 vcl/source/app/svapp.cxx |7 +++
 1 file changed, 7 insertions(+)

New commits:
commit d32b2863be915999472485b1df21c21e84448ea5
Author: Chris Sherlock chris.sherloc...@gmail.com
Date:   Thu May 8 00:02:48 2014 +1000

Handle non-initialized pImplSVData in InitAppFontData

If pSVData-maWinData.mpFirstFrame is null in
Application::InitAppFontData() then we need to create a new WorkWindow.

Change-Id: I6665ff6525321554c8fd4943ec623978ce35f168
Reviewed-on: https://gerrit.libreoffice.org/9272
Reviewed-by: Tor Lillqvist t...@collabora.com
Tested-by: Tor Lillqvist t...@collabora.com

diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 5177aa1..a750ad0 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1659,6 +1659,9 @@ void Application::InitAppFontData()
 
 Window *pWindow = pSVData-mpDefaultWin;
 
+if (!pWindow)
+   pWindow = new WorkWindow( NULL, 0 );
+
 long nTextHeight = pWindow-GetTextHeight();
 long nTextWidth = pWindow-approximate_char_width() * 8;
 long nSymHeight = nTextHeight*4;
@@ -1698,6 +1701,10 @@ void Application::InitAppFontData()
 pSVData-maGDIData.mnRealAppFontX = pSVData-maGDIData.mnAppFontX;
 if ( pSVData-maAppData.mnDialogScaleX )
 pSVData-maGDIData.mnAppFontX += 
(pSVData-maGDIData.mnAppFontX*pSVData-maAppData.mnDialogScaleX)/100;
+
+// a temporary WorkWindow was created, we need to delete it
+if (!pSVData-mpDefaultWin  pWindow)
+delete pWindow;
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Contribution to LibreOffice

2014-05-07 Thread Apostolos Syropoulos
  Dear Developers,


 I have submitted some patches to the tree of LO and I would like to
state that all of my past  future contributions to LibreOffice may be

 licensed under the MPLv2/LGPLv3+ dual license.
 
   Sincerely,

   Apostolos Syropoulos


--
Apostolos Syropoulos
Xanthi, Greece
http://asyropoulos.eu
http://asyropoulos.wordpress.com
http://hypercomputation.blogspot.com/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 37361] LibreOffice 3.5 most annoying bugs

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

Bug 37361 depends on bug 45260, which changed state.

Bug 45260 Summary: EDITING: Pasted object not same position w.r.t. original 
object if border thickness greater 0
https://bugs.freedesktop.org/show_bug.cgi?id=45260

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

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


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

2014-05-07 Thread Kohei Yoshida
 sc/source/ui/docshell/docfunc.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c369a60b60dfeaa12a688d2182c78bc8d4efb38e
Author: Kohei Yoshida kohei.yosh...@collabora.com
Date:   Wed May 7 00:34:06 2014 -0400

fdo#77944: No need to store updated formulas in undo document when moving.

This causes crash with dbgutil build, and I'm sure would cause issues with 
the
release build as well.

We now use broadcasting to handle reference update during undo of block 
move,
so this old way of handling undo for block move is redundant and obviously
causes issues.

(cherry picked from commit 6cc92a2fead337eef3d9cc3e5818cfcc505e4651)

Conflicts:
sc/source/ui/docshell/docfunc.cxx

Change-Id: I9dcbb9d9e3808da3f8510eab16ad21b626f881d9
Reviewed-on: https://gerrit.libreoffice.org/9265
Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com
Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com

diff --git a/sc/source/ui/docshell/docfunc.cxx 
b/sc/source/ui/docshell/docfunc.cxx
index bcb45b6..2d85309 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -2728,7 +2728,7 @@ sal_Bool ScDocFunc::MoveBlock( const ScRange rSource, 
const ScAddress rDestPos
 ScDrawLayer::MoveCells() which may move away inserted objects to wrong
 positions (e.g. if source and destination range overlaps).*/
 pDoc-CopyFromClip( aPasteDest, aDestMark, IDF_ALL  ~(IDF_OBJECTS),
-pRefUndoDoc, pClipDoc, sal_True, false, 
bIncludeFiltered );
+NULL, pClipDoc, true, false, bIncludeFiltered );
 
 
 // skipped rows and merged cells don't mix
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'private/moggi/chart-opengl-window-version2' - 2 commits - chart2/source sc/source

2014-05-07 Thread Markus Mohrhard
 chart2/source/view/charttypes/GL3DBarChart.cxx |6 +-
 chart2/source/view/inc/3DChartObjects.hxx  |2 +-
 chart2/source/view/main/3DChartObjects.cxx |3 ++-
 sc/source/ui/drawfunc/fuins2.cxx   |2 +-
 4 files changed, 9 insertions(+), 4 deletions(-)

New commits:
commit 98aa0b2f0893e1fb02849e2b867c424bf2efc455
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 20:37:15 2014 +0200

provide bar color for 3D OGL chart

Change-Id: Ia41748cabba89a0257c62f66a280810adc56960e

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx 
b/chart2/source/view/charttypes/GL3DBarChart.cxx
index e21a34b..12a5417 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -17,6 +17,8 @@
 #include 3DChartObjects.hxx
 #include GL3DRenderer.hxx
 
+using namespace com::sun::star;
+
 namespace chart {
 
 GL3DBarChart::GL3DBarChart(const std::vectorVDataSeries* rDataSeries,
@@ -53,11 +55,13 @@ void GL3DBarChart::create3DShapes()
 float nXPos = nIndex * (nBarSizeX + nBarDistanceX);
 float nYPos = nSeriesIndex * (nBarSizeY + nBarDistanceY);
 
+sal_Int32 nColor = COL_BLUE;
+
 glm::mat4 aBarPosition;
 aBarPosition = glm::scale(aBarPosition, nBarSizeX, nBarSizeY, 
nVal);
 aBarPosition = glm::translate(aBarPosition, nXPos, nYPos, nVal/2);
 
-maShapes.push_back(new opengl3D::Bar(mpRenderer.get(), 
aBarPosition, nId++));
+maShapes.push_back(new opengl3D::Bar(mpRenderer.get(), 
aBarPosition, nColor, nId++));
 }
 
 ++nSeriesIndex;
diff --git a/chart2/source/view/inc/3DChartObjects.hxx 
b/chart2/source/view/inc/3DChartObjects.hxx
index e9490e3..666d097 100644
--- a/chart2/source/view/inc/3DChartObjects.hxx
+++ b/chart2/source/view/inc/3DChartObjects.hxx
@@ -37,7 +37,7 @@ protected:
 class Bar : public Renderable3DObject
 {
 public:
-Bar(OpenGL3DRenderer* pRenderer, const glm::mat4 rPosition, sal_uInt32 
nId);
+Bar(OpenGL3DRenderer* pRenderer, const glm::mat4 rPosition, sal_Int32 
nColor, sal_uInt32 nId);
 
 virtual void render() SAL_OVERRIDE;
 private:
diff --git a/chart2/source/view/main/3DChartObjects.cxx 
b/chart2/source/view/main/3DChartObjects.cxx
index 86f9c63..c43b999 100644
--- a/chart2/source/view/main/3DChartObjects.cxx
+++ b/chart2/source/view/main/3DChartObjects.cxx
@@ -24,10 +24,11 @@ void Renderable3DObject::render()
 (void) mnUniqueId;
 }
 
-Bar::Bar(OpenGL3DRenderer* pRenderer, const glm::mat4 rPosition, sal_uInt32 
nId)
+Bar::Bar(OpenGL3DRenderer* pRenderer, const glm::mat4 rPosition, sal_Int32 
aColor, sal_uInt32 nId)
 : Renderable3DObject(pRenderer, nId)
 , mbRoundedCorners(false)
 , maPos(rPosition)
+, maColor(aColor)
 {
 }
 
commit 65109f43338f2ee7b5b295cd28123f04d51f96e3
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 20:35:42 2014 +0200

fix crash when canceling the chart wizard

Change-Id: Iebd9db279e9db22bc273509cf480737d7c7a1dd6

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 873588d..0c941b2 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -724,7 +724,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, 
Window* pWin, ScDrawView*
 sal_Int16 nDialogRet = xDialog-execute();
 if( nDialogRet == 
ui::dialogs::ExecutableDialogResults::CANCEL )
 {
-delete pWindow;
+delete pChildWindow;
 // leave OLE inplace mode and unmark
 OSL_ASSERT( pViewShell );
 OSL_ASSERT( pView );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: cui/uiconfig

2014-05-07 Thread Andras Timar
 cui/uiconfig/ui/hangulhanjaoptdialog.ui |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3307a63bb19bd6ae4d424f16a59f07f2b7a472b0
Author: Andras Timar andras.ti...@collabora.com
Date:   Wed May 7 20:59:45 2014 +0200

typo fix

Change-Id: Ia692d095c024ed4bf4713e9d31083e6cff5c9ded

diff --git a/cui/uiconfig/ui/hangulhanjaoptdialog.ui 
b/cui/uiconfig/ui/hangulhanjaoptdialog.ui
index c2b4e0e..eccf90d 100644
--- a/cui/uiconfig/ui/hangulhanjaoptdialog.ui
+++ b/cui/uiconfig/ui/hangulhanjaoptdialog.ui
@@ -204,7 +204,7 @@
 property name=row_spacing6/property
 child
   object class=GtkCheckButton id=ignorepost
-property name=label translatable=yesIgnore 
post-positional wordIgnore post-positional word/property
+property name=label translatable=yesIgnore 
post-positional word/property
 property name=visibleTrue/property
 property name=can_focusTrue/property
 property name=receives_defaultFalse/property
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'private/moggi/chart-opengl-window-version2' - 2 commits - chart2/source sc/source

2014-05-07 Thread Markus Mohrhard
 chart2/source/view/main/ChartView.cxx |   10 ++
 sc/source/ui/drawfunc/fuins2.cxx  |   13 +++--
 sc/source/ui/inc/gridwin.hxx  |7 +++
 sc/source/ui/view/gridwin5.cxx|5 +
 4 files changed, 33 insertions(+), 2 deletions(-)

New commits:
commit ab04cf268c0ef482b78f142b8de057f5b25b9239
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 21:01:47 2014 +0200

fix crash on exit

Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 0c941b2..2043ff9 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -82,6 +82,7 @@ using namespace ::com::sun::star;
 #include globstr.hrc
 #include drawview.hxx
 #include markdata.hxx
+#include gridwin.hxx
 
 namespace {
 
@@ -544,11 +545,19 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, 
Window* pWin, ScDrawView*
 ScDocument* pScDoc   = pScDocSh-GetDocument();
 bool bUndo (pScDoc-IsUndoEnabled());
 
-OpenGLWindow* pChildWindow = new OpenGLWindow(pData-GetActiveWin());
+Window* pParentWindow = pData-GetActiveWin();
+ScGridWindow* pGridWindow = dynamic_castScGridWindow*(pParentWindow);
+if(pGridWindow)
+{
+pGridWindow-AddChildWindow(pGridWindow);
+}
+else
+SAL_WARN(sc, not a grid window. Youare in serious trouble);
+OpenGLWindow* pChildWindow = new OpenGLWindow(pParentWindow);
 Size aWindowSize = pChildWindow-LogicToPixel( aSize, MapMode( 
MAP_100TH_MM ) );
 pChildWindow-SetSizePixel(aWindowSize);
 Wallpaper aBackground = pChildWindow-GetBackground();
-aBackground.SetColor(COL_RED);
+aBackground.SetColor(COL_BLUE);
 pChildWindow-SetBackground(aBackground);
 pChildWindow-Show();
 uno::Reference chart2::X3DChartWindowProvider  x3DWindowProvider( 
xChartModel, uno::UNO_QUERY_THROW );
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 63e930b..5170e25 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -32,6 +32,7 @@
 #include boost/scoped_ptr.hpp
 #include boost/unordered_map.hpp
 #include boost/ptr_container/ptr_map.hpp
+#include boost/ptr_container/ptr_vector.hpp
 
 namespace editeng {
 struct MisspellRanges;
@@ -129,6 +130,7 @@ class ScGridWindow : public Window, public 
DropTargetHelper, public DragSourceHe
 VisibleRange maVisibleRange;
 
 boost::scoped_ptrsc::SpellCheckContext mpSpellCheckCxt;
+boost::ptr_vectorWindow maChildWindows;
 
 ScViewData* pViewData;
 ScSplitPos  eWhich;
@@ -409,6 +411,11 @@ public:
 voidUpdateShrinkOverlay();
 voidUpdateAllOverlays();
 
+/**
+ * Takes ownership of the window
+ */
+voidAddChildWindow(Window* pChildWindow);
+
 protected:
 // #114409#
 void ImpCreateOverlayObjects();
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 404ca59..798d34a 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -474,4 +474,9 @@ void ScGridWindow::SwitchView()
 }
 }
 
+void ScGridWindow::AddChildWindow(Window* pWindow)
+{
+maChildWindows.push_back(pWindow);
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit ee8f7b518353538c31e3dabf5bbc1bdf86a48454
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 21:01:28 2014 +0200

hide OpenGLWindow in normal charts

Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38

diff --git a/chart2/source/view/main/ChartView.cxx 
b/chart2/source/view/main/ChartView.cxx
index 79eec7b..93d4133 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2459,6 +2459,14 @@ void ChartView::createShapes()
 createShapes3D();
 return;
 }
+else
+{
+// hide OpenGL window for now in normal charts
+OpenGLWindow* pWindow = mrChartModel.getOpenGLWindow();
+if(pWindow)
+pWindow-Show(false);
+
+}
 #endif
 
 {
@@ -3149,6 +3157,8 @@ void ChartView::createShapes3D()
 if(!pWindow)
 return;
 
+pWindow-Show();
+
 GL3DBarChart aBarChart(aDataSeries, *pWindow);
 aBarChart.create3DShapes();
 aBarChart.render();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 14 commits - chart2/inc chart2/source include/vcl offapi/com offapi/UnoApi_offapi.mk sc/Library_sc.mk sc/source vcl/Library_vclopengl.mk vcl/source

2014-05-07 Thread Markus Mohrhard
 chart2/inc/ChartModel.hxx |   18 +-
 chart2/source/model/main/ChartModel.cxx   |   18 ++
 chart2/source/view/charttypes/GL3DBarChart.cxx|   18 --
 chart2/source/view/inc/3DChartObjects.hxx |   18 --
 chart2/source/view/inc/GL3DBarChart.hxx   |6 +-
 chart2/source/view/inc/GL3DRenderer.hxx   |4 -
 chart2/source/view/main/3DChartObjects.cxx|   31 ---
 chart2/source/view/main/ChartView.cxx |   18 ++
 include/vcl/openglwin.hxx |   35 +
 offapi/UnoApi_offapi.mk   |1 
 offapi/com/sun/star/chart2/X3DChartWindowProvider.idl |   33 
 sc/Library_sc.mk  |1 
 sc/source/ui/drawfunc/fuins2.cxx  |   25 +
 sc/source/ui/inc/gridwin.hxx  |7 ++
 sc/source/ui/view/gridwin5.cxx|5 +
 vcl/Library_vclopengl.mk  |1 
 vcl/source/window/openglwin.cxx   |   47 ++
 17 files changed, 225 insertions(+), 61 deletions(-)

New commits:
commit b2dffb1addc0285c6a00ad3efdbfafff734c260c
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 21:01:47 2014 +0200

fix crash on exit

Change-Id: I31374684a09f1b056154efcaa5c7dfe73bcc1a61

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 0c941b2..2043ff9 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -82,6 +82,7 @@ using namespace ::com::sun::star;
 #include globstr.hrc
 #include drawview.hxx
 #include markdata.hxx
+#include gridwin.hxx
 
 namespace {
 
@@ -544,11 +545,19 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, 
Window* pWin, ScDrawView*
 ScDocument* pScDoc   = pScDocSh-GetDocument();
 bool bUndo (pScDoc-IsUndoEnabled());
 
-OpenGLWindow* pChildWindow = new OpenGLWindow(pData-GetActiveWin());
+Window* pParentWindow = pData-GetActiveWin();
+ScGridWindow* pGridWindow = dynamic_castScGridWindow*(pParentWindow);
+if(pGridWindow)
+{
+pGridWindow-AddChildWindow(pGridWindow);
+}
+else
+SAL_WARN(sc, not a grid window. Youare in serious trouble);
+OpenGLWindow* pChildWindow = new OpenGLWindow(pParentWindow);
 Size aWindowSize = pChildWindow-LogicToPixel( aSize, MapMode( 
MAP_100TH_MM ) );
 pChildWindow-SetSizePixel(aWindowSize);
 Wallpaper aBackground = pChildWindow-GetBackground();
-aBackground.SetColor(COL_RED);
+aBackground.SetColor(COL_BLUE);
 pChildWindow-SetBackground(aBackground);
 pChildWindow-Show();
 uno::Reference chart2::X3DChartWindowProvider  x3DWindowProvider( 
xChartModel, uno::UNO_QUERY_THROW );
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 63e930b..5170e25 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -32,6 +32,7 @@
 #include boost/scoped_ptr.hpp
 #include boost/unordered_map.hpp
 #include boost/ptr_container/ptr_map.hpp
+#include boost/ptr_container/ptr_vector.hpp
 
 namespace editeng {
 struct MisspellRanges;
@@ -129,6 +130,7 @@ class ScGridWindow : public Window, public 
DropTargetHelper, public DragSourceHe
 VisibleRange maVisibleRange;
 
 boost::scoped_ptrsc::SpellCheckContext mpSpellCheckCxt;
+boost::ptr_vectorWindow maChildWindows;
 
 ScViewData* pViewData;
 ScSplitPos  eWhich;
@@ -409,6 +411,11 @@ public:
 voidUpdateShrinkOverlay();
 voidUpdateAllOverlays();
 
+/**
+ * Takes ownership of the window
+ */
+voidAddChildWindow(Window* pChildWindow);
+
 protected:
 // #114409#
 void ImpCreateOverlayObjects();
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 404ca59..798d34a 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -474,4 +474,9 @@ void ScGridWindow::SwitchView()
 }
 }
 
+void ScGridWindow::AddChildWindow(Window* pWindow)
+{
+maChildWindows.push_back(pWindow);
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 945ee344830fe22602cf9beb632a1ad58903e9a4
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Wed May 7 21:01:28 2014 +0200

hide OpenGLWindow in normal charts

Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38

diff --git a/chart2/source/view/main/ChartView.cxx 
b/chart2/source/view/main/ChartView.cxx
index 79eec7b..93d4133 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2459,6 +2459,14 @@ void ChartView::createShapes()
 createShapes3D();
 return;
 }
+else
+{
+// hide OpenGL window for now 

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

2014-05-07 Thread Miklos Vajna
 sw/inc/accmap.hxx|1 -
 sw/source/core/access/accmap.cxx |   18 --
 sw/source/core/doc/acmplwrd.cxx  |5 ++---
 sw/source/filter/ww8/rtfstringbuffer.cxx |   10 +-
 unusedcode.easy  |1 -
 5 files changed, 7 insertions(+), 28 deletions(-)

New commits:
commit ea1a038fe31217b43723b517facc5ac51d6b6959
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Wed May 7 21:37:38 2014 +0200

sw: fix indentation in rtfstringbuffer

Change-Id: Ie1029a03e614aceaeda10a762183cb06e93c1639

diff --git a/sw/source/filter/ww8/rtfstringbuffer.cxx 
b/sw/source/filter/ww8/rtfstringbuffer.cxx
index 1d652db..16535f7 100644
--- a/sw/source/filter/ww8/rtfstringbuffer.cxx
+++ b/sw/source/filter/ww8/rtfstringbuffer.cxx
@@ -11,22 +11,22 @@
 
 RtfStringBufferValue::RtfStringBufferValue()
 : m_aBuffer(),
-m_pFlyFrmFmt(0),
-m_pGrfNode(0)
+  m_pFlyFrmFmt(0),
+  m_pGrfNode(0)
 {
 }
 
 RtfStringBufferValue::RtfStringBufferValue(const SwFlyFrmFmt* pFlyFrmFmt, 
const SwGrfNode* pGrfNode)
 : m_aBuffer(),
-m_pFlyFrmFmt(pFlyFrmFmt),
-m_pGrfNode(pGrfNode)
+  m_pFlyFrmFmt(pFlyFrmFmt),
+  m_pGrfNode(pGrfNode)
 {
 }
 
 void RtfStringBufferValue::makeStringAndClear(RtfAttributeOutput* 
pAttributeOutput)
 {
 if (!isGraphic())
-pAttributeOutput-m_rExport.Strm().WriteCharPtr( 
m_aBuffer.makeStringAndClear().getStr() );
+
pAttributeOutput-m_rExport.Strm().WriteCharPtr(m_aBuffer.makeStringAndClear().getStr());
 else
 pAttributeOutput-FlyFrameGraphic(m_pFlyFrmFmt, m_pGrfNode);
 }
commit c3239f45ddd09937c86724213e34f2046a74ff88
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Wed May 7 21:36:32 2014 +0200

coverity#735892 Unchecked dynamic_cast

Change-Id: I0624dd7d50cc82ddfe76ce5d8219b2fa1c10f002

diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 08b4e3d..2dcd890 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -417,9 +417,8 @@ void SwAutoCompleteWord::DocumentDying(const SwDoc rDoc)
 const bool bDelete = !pACorr-GetSwFlags().bAutoCmpltKeepList;
 for (size_t nPos = m_WordList.size(); nPos; nPos--)
 {
-SwAutoCompleteString *const pCurrent =
-dynamic_castSwAutoCompleteString*(m_WordList[nPos - 1]);
-if(pCurrent-RemoveDocument(rDoc)  bDelete)
+SwAutoCompleteString *const pCurrent = 
dynamic_castSwAutoCompleteString*(m_WordList[nPos - 1]);
+if(pCurrent  pCurrent-RemoveDocument(rDoc)  bDelete)
 {
 m_WordList.erase(nPos - 1);
 SwAutoCompleteStringPtrDeque::iterator it = std::find( 
aLRULst.begin(), aLRULst.end(), pCurrent );
commit 6e2103585e2c01104314fbcf2a7257e7df224b2b
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Wed May 7 20:43:04 2014 +0200

unused SwAccessibleMap::FireSectionChangeEvent

Change-Id: Iabf50f68d06684d36eaf5793251361ccd771ae8d

diff --git a/sw/inc/accmap.hxx b/sw/inc/accmap.hxx
index 20a04ef..aacfcc0 100644
--- a/sw/inc/accmap.hxx
+++ b/sw/inc/accmap.hxx
@@ -208,7 +208,6 @@ public:
 void InvalidateCursorPosition( const SwFrm *pFrm );
 void InvalidateFocus();
 void FirePageChangeEvent(sal_uInt16 nOldPage, sal_uInt16 nNewPage);
-void FireSectionChangeEvent(sal_uInt16 nOldSection, sal_uInt16 
nNewSection);
 void FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 nNewColumn);
 void SetCursorContext(
 const ::rtl::Reference  SwAccessibleContext  rCursorContext );
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index d6b949a..dee4126 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -2770,24 +2770,6 @@ void SwAccessibleMap::FirePageChangeEvent(sal_uInt16 
nOldPage, sal_uInt16 nNewPa
 }
 }
 
-void SwAccessibleMap::FireSectionChangeEvent(sal_uInt16 nOldSection, 
sal_uInt16 nNewSection)
-{
-uno::ReferenceXAccessible xAcc = GetDocumentView( );
-if ( xAcc.is() )
-{
-SwAccessibleDocumentBase *pAcc =
-static_cast SwAccessibleDocumentBase * ( xAcc.get() );
-if (pAcc)
-{
-AccessibleEventObject aEvent;
-aEvent.EventId = AccessibleEventId::SECTION_CHANGED;
-aEvent.OldValue = nOldSection;
-aEvent.NewValue = nNewSection;
-pAcc-FireAccessibleEvent( aEvent );
-
-}
-}
-}
 void SwAccessibleMap::FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 
nNewColumn)
 {
 uno::ReferenceXAccessible xAcc = GetDocumentView( );
diff --git a/unusedcode.easy b/unusedcode.easy
index 3dd021b..b19d035 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -80,7 +80,6 @@ SvxUnoTextBase::SvxUnoTextBase()
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
 SwAccessibleMap::FireColumnChangeEvent(unsigned 

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

2014-05-07 Thread Stephan Bergmann
 include/vcl/openglwin.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cc66dec89e9555c4642f7a1becb14dca653d674c
Author: Stephan Bergmann sberg...@redhat.com
Date:   Wed May 7 21:55:39 2014 +0200

loplugin:saloverride

Change-Id: Ib9ab6ec00c907c2f552d116d261d9bf60d89e397

diff --git a/include/vcl/openglwin.hxx b/include/vcl/openglwin.hxx
index 9c4e611..e7dfb11 100644
--- a/include/vcl/openglwin.hxx
+++ b/include/vcl/openglwin.hxx
@@ -23,7 +23,7 @@ class VCLOPENGL_DLLPUBLIC OpenGLWindow : public 
SystemChildWindow
 {
 public:
 OpenGLWindow(Window* pParent);
-~OpenGLWindow();
+virtual ~OpenGLWindow();
 OpenGLContext* getContext();
 
 private:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sc/CppunitTest_sc_ucalc.mk

2014-05-07 Thread Tor Lillqvist
 sc/CppunitTest_sc_ucalc.mk |1 +
 1 file changed, 1 insertion(+)

New commits:
commit c63e2919ea1a1327e1f45abff964d981927cda23
Author: Tor Lillqvist t...@collabora.com
Date:   Wed May 7 23:06:11 2014 +0300

Need vclopengl now

Change-Id: I6f0aca371212fc51eefa29e526ccb646bdac70c3

diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk
index f46622d..9b3c498 100644
--- a/sc/CppunitTest_sc_ucalc.mk
+++ b/sc/CppunitTest_sc_ucalc.mk
@@ -69,6 +69,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc, \
 utl \
 vbahelper \
 vcl \
+vclopengl \
 xo \
$(gb_UWINAPI) \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Michael Stahl
 svx/source/unodraw/unoshape.cxx |9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 3b566ca82ebbe754902c1837e11da5fba1e6c93d
Author: Michael Stahl mst...@redhat.com
Date:   Wed May 7 22:15:07 2014 +0200

fdo#62176: Revert n757419: Hidden/Non-wrapping text.

This reverts commit 0f8f92a5b6fcba1fef456539bb929819a9162a85.

Negative fo:text-indent values are explicitly allowed by ODF, so
whatever problem was worked around here needs to be fixed differently.

Conflicts:
svx/source/unodraw/unoshape.cxx

Change-Id: I7e2ae38c4c950e37f0c96a32164a5b6ec10fd47d

diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 6b8e7ba..c0df754 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -4246,18 +4246,11 @@ uno::Any SvxItemPropertySet_getPropertyValue( const 
SvxItemPropertySet rPropSet
 
 void SvxItemPropertySet_setPropertyValue( const SvxItemPropertySet rPropSet, 
const SfxItemPropertySimpleEntry* pMap, const uno::Any rVal, SfxItemSet rSet )
 {
-uno::Any aVal(rVal);
 if(!pMap || !pMap-nWID)
 return;
 
 bool bDontConvertNegativeValues = ( pMap-nWID == XATTR_FILLBMP_SIZEX || 
pMap-nWID == XATTR_FILLBMP_SIZEY );
-if( pMap-nWID == EE_PARA_LRSPACE ) // n#757419 Don't import negative 
values
-{
-sal_Int32 nVal = sal_Int32();
-if( (aVal = nVal)  nVal  0 )
-aVal = ( sal_Int32 ) 0;
-}
-rPropSet.setPropertyValue( pMap, aVal, rSet, bDontConvertNegativeValues );
+rPropSet.setPropertyValue( pMap, rVal, rSet, bDontConvertNegativeValues );
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 65675] LibreOffice 4.2 most annoying bugs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=65675

Bug 65675 depends on bug 62176, which changed state.

Bug 62176 Summary: FILEOPEN: Draw/Impress text shapes: Negative indents in 
styles not loaded properly
https://bugs.freedesktop.org/show_bug.cgi?id=62176

   What|Removed |Added

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

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


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

2014-05-07 Thread Julien Nabet
 chart2/source/tools/ObjectIdentifier.cxx |2 +-
 chart2/source/tools/RangeHighlighter.cxx |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2d5581b49a2f1bbb326a3603def697d1ffe8d63d
Author: Julien Nabet serval2...@yahoo.fr
Date:   Wed May 7 23:32:15 2014 +0200

Reference can be removed

See 
http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107883.html

Change-Id: I4d29b9d80f8142792f948c6797006fe7e698a2a4

diff --git a/chart2/source/tools/ObjectIdentifier.cxx 
b/chart2/source/tools/ObjectIdentifier.cxx
index ef399da..9edbdf0 100644
--- a/chart2/source/tools/ObjectIdentifier.cxx
+++ b/chart2/source/tools/ObjectIdentifier.cxx
@@ -263,7 +263,7 @@ ObjectIdentifier::ObjectIdentifier( const Any rAny )
 {
 rAny = m_aObjectCID;
 }
-else if ( rType == cppu::UnoType Reference drawing::XShape  ::get() )
+else if ( rType == cppu::UnoType drawing::XShape ::get() )
 {
 rAny = m_xAdditionalShape;
 }
diff --git a/chart2/source/tools/RangeHighlighter.cxx 
b/chart2/source/tools/RangeHighlighter.cxx
index f9525a2..cc7e431 100644
--- a/chart2/source/tools/RangeHighlighter.cxx
+++ b/chart2/source/tools/RangeHighlighter.cxx
@@ -164,7 +164,7 @@ void RangeHighlighter::determineRanges()
 }
 }
 }
-else if ( rType == cppu::UnoType Reference  drawing::XShape  
::get() )
+else if ( rType == cppu::UnoType drawing::XShape ::get() )
 {
 // #i12587# support for shapes in chart
 Reference drawing::XShape  xShape;
@@ -336,7 +336,7 @@ void SAL_CALL RangeHighlighter::selectionChanged( const 
lang::EventObject /*aEv
 void RangeHighlighter::fireSelectionEvent()
 {
 ::cppu::OInterfaceContainerHelper* pIC = rBHelper.getContainer(
-cppu::UnoType Reference  view::XSelectionChangeListener  ::get() );
+cppu::UnoType view::XSelectionChangeListener ::get() );
 if( pIC )
 {
 lang::EventObject aEvent( static_cast lang::XComponent* ( this ) );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Questions about getCppuType

2014-05-07 Thread julien2412
Thank you Stephan for these information.

In fact, my primary goal was to clean this use of getCppuType because it was
reported by cppcheck (when they were used in if/else if blocks)
Then I wanted to remove all of them. The problem is there are 33 Opengrok
pages of these and I don't know enough about regexp to remove them quickly.
I tried things like this:
fgrep -lR 'getCppuType((const sal_Int32*)0)' |xargs -i sed -i 
's/getCppuType[(][(]const sal_Int32[*])0)/cppu::UnoTypesal_Int32::get()/g'
{}
But it's still too naive to get rid of them. (I wanted to put const
optional but didn't even find how to do it)

Any regexp wizard here?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Questions-about-getCppuType-tp4106361p4107939.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


[Bug 30732] Character formatting not retained in entries of TOC, table lists, etc.

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30732

Tobias Lippert d...@fastmail.fm changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #23 from Tobias Lippert d...@fastmail.fm ---
I am not 100% clear on which formats should be retained. I am currently
retaining super and sub-script, because this is the most important thing for
anyone working in sciences and a major problem for anyone in this field trying
to write a text with libre office.

If more complex logic is required, I would suggest to track this in a separate
bug.

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


[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sfx2/source

2014-05-07 Thread Caolán McNamara
 sfx2/source/dialog/dinfdlg.cxx |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 8943dc062b47df92fbd28dbee2dfd77be6e88775
Author: Caolán McNamara caol...@redhat.com
Date:   Wed May 7 12:25:33 2014 +0100

Resolves: fdo#68600 limit comment width

(cherry picked from commit 087fcc43b13985b03d935dfd1e25a0d36d58cb1e)

Conflicts:
sfx2/source/dialog/dinfdlg.cxx

Change-Id: I7060ae18a98e0793a936834b398f1e232d336672
Reviewed-on: https://gerrit.libreoffice.org/9269
Reviewed-by: Kohei Yoshida libreoff...@kohei.us
Tested-by: Kohei Yoshida libreoff...@kohei.us

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 4975c61..a7c6c95 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -630,19 +630,18 @@ bool SfxDocumentInfoItem::PutValue( const Any rVal, 
sal_uInt8 nMemberId )
 return bRet;
 }
 
-//
 SfxDocumentDescPage::SfxDocumentDescPage( Window * pParent, const SfxItemSet 
rItemSet )
 : SfxTabPage(pParent, DescriptionInfoPage, 
sfx/ui/descriptioninfopage.ui, rItemSet)
 , m_pInfoItem   ( NULL )
-
 {
 get(m_pTitleEd, title);
 get(m_pThemaEd, subject);
 get(m_pKeywordsEd, keywords);
 get(m_pCommentEd, comments);
+
m_pCommentEd-set_width_request(m_pKeywordsEd-get_preferred_size().Width());
+m_pCommentEd-set_height_request(m_pCommentEd-GetTextHeight() * 16);
 }
 
-//
 SfxTabPage *SfxDocumentDescPage::Create(Window *pParent, const SfxItemSet 
rItemSet)
 {
  return new SfxDocumentDescPage(pParent, rItemSet);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Markus Mohrhard
 chart2/source/view/inc/GL3DRenderer.hxx  |4 +---
 chart2/source/view/main/GL3DRenderer.cxx |   10 +-
 vcl/source/opengl/OpenGLContext.cxx  |1 +
 3 files changed, 3 insertions(+), 12 deletions(-)

New commits:
commit 657004ae5c9f4a07b2cdafbb21bc8657842d4d74
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Thu May 8 02:25:18 2014 +0200

we only want fb configs that support double buffered rendering

Change-Id: I808e36ccd2a0d1ad89af2449d709d24a92ecff4f

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 33e2ffb..9db458c 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -711,6 +711,7 @@ SystemWindowData OpenGLContext::generateWinData(Window* 
pParent)
 
 static int visual_attribs[] =
 {
+GLX_DOUBLEBUFFER,
 GLX_RED_SIZE,   8,
 GLX_GREEN_SIZE, 8,
 GLX_BLUE_SIZE,  8,
commit cfcb4a7cefebda88a70336afe15129304f202f6b
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Thu May 8 01:30:30 2014 +0200

this inheritance is no longer needed

Change-Id: I039dd767bcfd0c1343f4230d3fe8e52ab5a6e4fd

diff --git a/chart2/source/view/inc/GL3DRenderer.hxx 
b/chart2/source/view/inc/GL3DRenderer.hxx
index 81c9315..1d103529 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -164,7 +164,7 @@ typedef struct SceneBox
 }SceneBox;
 
 
-class OpenGL3DRenderer : public IOpenGLInfoProvider
+class OpenGL3DRenderer
 {
 public:
 OpenGL3DRenderer();
@@ -174,7 +174,6 @@ public:
 void CreateRenderObj(int, int);
 void LoadShaders();
 void init();
-virtual bool isOpenGLInitialized() SAL_OVERRIDE;
 void Set3DSenceInfo(sal_Int32 color = 255, bool twoSidesLighting = true);
 void SetLightInfo(bool lightOn, sal_Int32 color, const glm::vec4 
direction);
 void AddShapePolygon3DObject(sal_Int32 color, bool lineOnly, sal_Int32 
lineColor,
@@ -244,7 +243,6 @@ private:
 glm::mat4 m_Model;
 // Our ModelViewProjection : multiplication of our 3 matrices
 glm::mat4 m_MVP;
-bool m_IsOpenglInit;
 #if 0
 double m_dFreq;
 #endif
diff --git a/chart2/source/view/main/GL3DRenderer.cxx 
b/chart2/source/view/main/GL3DRenderer.cxx
index 54f5e3d..40a3885 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -56,8 +56,7 @@ int static checkGLError(const char *file, int line)
 }
 
 OpenGL3DRenderer::OpenGL3DRenderer():
-m_IsOpenglInit(false)
-, m_TranslationMatrix(glm::translate(m_Model, glm::vec3(0.0f, 0.0f, 0.0f)))
+m_TranslationMatrix(glm::translate(m_Model, glm::vec3(0.0f, 0.0f, 0.0f)))
 , m_TextProID(0)
 , m_TextMatrixID(0)
 , m_TextVertexID(0)
@@ -253,7 +252,6 @@ void OpenGL3DRenderer::init()
 glBindBuffer(GL_ARRAY_BUFFER, 0);
 CHECK_GL_ERROR();
 Init3DUniformBlock();
-m_IsOpenglInit = true;
 }
 
 void OpenGL3DRenderer::SetSize(const Size rSize)
@@ -262,12 +260,6 @@ void OpenGL3DRenderer::SetSize(const Size rSize)
 m_iHeight = rSize.Height();
 }
 
-bool OpenGL3DRenderer::isOpenGLInitialized()
-{
-return m_IsOpenglInit;
-}
-
-
 void OpenGL3DRenderer::AddVertexData(GLuint vertexBuf)
 {
 glBindBuffer(GL_ARRAY_BUFFER, vertexBuf);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2014-05-07 Thread Markus Mohrhard
 sc/source/ui/drawfunc/fuins2.cxx|   19 ---
 sc/source/ui/inc/gridwin.hxx|1 +
 sc/source/ui/view/gridwin5.cxx  |   13 +
 vcl/source/opengl/OpenGLContext.cxx |3 ++-
 4 files changed, 24 insertions(+), 12 deletions(-)

New commits:
commit 7ee5bd5b98c00e346a4954b03ebf5bd2fbaaec90
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Thu May 8 03:05:49 2014 +0200

we only want a fb that allows window rendering

Change-Id: I13d58c941e6a2411c3840b9efd341a4b827afc93

diff --git a/vcl/source/opengl/OpenGLContext.cxx 
b/vcl/source/opengl/OpenGLContext.cxx
index 89484c7..916d208 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -712,6 +712,7 @@ SystemWindowData OpenGLContext::generateWinData(Window* 
pParent)
 static int visual_attribs[] =
 {
 GLX_DOUBLEBUFFER,   True,
+GLX_X_RENDERABLE,   True,
 GLX_RED_SIZE,   8,
 GLX_GREEN_SIZE, 8,
 GLX_BLUE_SIZE,  8,
commit cdcdeb933448e3519f1b3245f9f8428c941380b7
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Thu May 8 03:03:19 2014 +0200

fix another crash on exit

Change-Id: I580d17b16760516b73ac9f882fd8f9707ce6337b

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 4a4a0ac..1505b28 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -730,7 +730,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, 
Window* pWin, ScDrawView*
 sal_Int16 nDialogRet = xDialog-execute();
 if( nDialogRet == 
ui::dialogs::ExecutableDialogResults::CANCEL )
 {
-delete pChildWindow;
+pGridWindow-DeleteChildWindow(pChildWindow);
 // leave OLE inplace mode and unmark
 OSL_ASSERT( pViewShell );
 OSL_ASSERT( pView );
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index 5170e25..0a01935 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -415,6 +415,7 @@ public:
  * Takes ownership of the window
  */
 voidAddChildWindow(Window* pChildWindow);
+voidDeleteChildWindow(Window* pChildWindow);
 
 protected:
 // #114409#
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index 798d34a..a85a549 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -479,4 +479,17 @@ void ScGridWindow::AddChildWindow(Window* pWindow)
 maChildWindows.push_back(pWindow);
 }
 
+void ScGridWindow::DeleteChildWindow(Window* pWindow)
+{
+for(boost::ptr_vectorWindow::iterator itr = maChildWindows.begin(),
+itrEnd = maChildWindows.end(); itr != itrEnd; ++itr)
+{
+if((*itr) == pWindow)
+{
+maChildWindows.erase(itr);
+return;
+}
+}
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit 702953442ad26802ec47c0f6e1f446c0f1082de8
Author: Markus Mohrhard markus.mohrh...@collabora.co.uk
Date:   Thu May 8 03:02:12 2014 +0200

don't put the parent window as child into itself

Change-Id: I961b92d47c35d63fa852bab2b478b93314e9add7

diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 2043ff9..4a4a0ac 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -546,23 +546,20 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, 
Window* pWin, ScDrawView*
 bool bUndo (pScDoc-IsUndoEnabled());
 
 Window* pParentWindow = pData-GetActiveWin();
-ScGridWindow* pGridWindow = dynamic_castScGridWindow*(pParentWindow);
-if(pGridWindow)
-{
-pGridWindow-AddChildWindow(pGridWindow);
-}
-else
-SAL_WARN(sc, not a grid window. Youare in serious trouble);
 OpenGLWindow* pChildWindow = new OpenGLWindow(pParentWindow);
 Size aWindowSize = pChildWindow-LogicToPixel( aSize, MapMode( 
MAP_100TH_MM ) );
 pChildWindow-SetSizePixel(aWindowSize);
-Wallpaper aBackground = pChildWindow-GetBackground();
-aBackground.SetColor(COL_BLUE);
-pChildWindow-SetBackground(aBackground);
 pChildWindow-Show();
 uno::Reference chart2::X3DChartWindowProvider  x3DWindowProvider( 
xChartModel, uno::UNO_QUERY_THROW );
 sal_uInt64 nWindowPtr = reinterpret_castsal_uInt64(pChildWindow);
 x3DWindowProvider-setWindow(nWindowPtr);
+ScGridWindow* pGridWindow = dynamic_castScGridWindow*(pParentWindow);
+if(pGridWindow)
+{
+pGridWindow-AddChildWindow(pChildWindow);
+}
+else
+SAL_WARN(sc, not a grid window. You are in serious trouble);
 
 if( pReqArgs )
 

[Libreoffice-commits] core.git: 4 commits - chart2/opengl chart2/Package_opengl.mk chart2/source

2014-05-07 Thread Markus Mohrhard
 chart2/Package_opengl.mk   |2 
 chart2/opengl/renderTextureFragmentShader.glsl |   18 ++
 chart2/opengl/renderTextureVertexShader.glsl   |   19 ++
 chart2/source/view/inc/GL3DRenderer.hxx|   15 +
 chart2/source/view/inc/StaticGeometry.h|   31 +++
 chart2/source/view/main/3DChartObjects.cxx |5 
 chart2/source/view/main/GL3DRenderer.cxx   |  213 -
 7 files changed, 259 insertions(+), 44 deletions(-)

New commits:
commit 2ca8dbba58a44d4b65cbe78508d7ad0ef76cffa0
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu May 8 05:22:45 2014 +0200

add include guards

Change-Id: I42ba4a97de241637b36704958fcf7b32d308a8a1

diff --git a/chart2/source/view/inc/StaticGeometry.h 
b/chart2/source/view/inc/StaticGeometry.h
index cbfbcce..e734ade 100644
--- a/chart2/source/view/inc/StaticGeometry.h
+++ b/chart2/source/view/inc/StaticGeometry.h
@@ -1,3 +1,15 @@
+/* -*- 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/.
+ */
+
+#ifndef INCLUDED_CHART2_STATIC_GEOMETRY_H
+#define INCLUDED_CHART2_STATIC_GEOMETRY_H
+
 #define TOP_SURFACE 0
 #define MIDDLE_SURFACE 1
 #define BOTTOM_SURFACE 2
@@ -127,4 +139,6 @@ static GLfloat squareVertices[] = {
 -1.0f,  1.0f, -1.0
 };
 
+#endif
 
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit a63ad6f2749f054270671285d1f49057c3013d56
Author: weigao wei...@multicorewareinc.com
Date:   Wed May 7 15:10:42 2014 +0800

add reverse image shader

Change-Id: Ibd3aff8aeb71626dada762b53cde8f50f7fbf812

diff --git a/chart2/Package_opengl.mk b/chart2/Package_opengl.mk
index 626a50f..d96a1ce 100644
--- a/chart2/Package_opengl.mk
+++ b/chart2/Package_opengl.mk
@@ -22,6 +22,8 @@ $(eval $(call 
gb_Package_add_files,chart2_opengl_shader,$(LIBO_BIN_FOLDER)/openg
textVertexShader.glsl \
shape3DFragmentShader.glsl \
shape3DVertexShader.glsl \
+   renderTextureVertexShader.glsl \
+   renderTextureFragmentShader.glsl \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/chart2/opengl/renderTextureFragmentShader.glsl 
b/chart2/opengl/renderTextureFragmentShader.glsl
new file mode 100644
index 000..a6c71f4
--- /dev/null
+++ b/chart2/opengl/renderTextureFragmentShader.glsl
@@ -0,0 +1,18 @@
+/* -*- 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/.
+ */
+
+uniform sampler2D RenderTex;
+varying vec2 vTexCoord;
+
+void main()
+{
+gl_FragColor = vec4(texture2D(RenderTex, vTexCoord).rgb, 1.0);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/opengl/renderTextureVertexShader.glsl 
b/chart2/opengl/renderTextureVertexShader.glsl
new file mode 100644
index 000..dd11b15
--- /dev/null
+++ b/chart2/opengl/renderTextureVertexShader.glsl
@@ -0,0 +1,19 @@
+/* -*- 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/.
+ */
+
+attribute vec4 vPosition;
+attribute vec2 texCoord;
+varying vec2 vTexCoord;
+void main()
+{
+gl_Position =  vPosition;
+vTexCoord = texCoord;
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx 
b/chart2/source/view/inc/GL3DRenderer.hxx
index c47357c..928fa25 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -235,6 +235,7 @@ private:
int iSubDivZ, float width, float height, float 
depth);
 void CreateSceneBoxView();
 void CreateBMPHeader(sal_uInt8 *bmpHeader, int xsize, int ysize);
+void RenderTexture(GLuint TexID);
 private:
 // Projection matrix : default 45 degree Field of View, 4:3 ratio, display 
range : 0.1 unit - 100 units
 glm::mat4 m_Projection;
@@ -353,6 +354,17 @@ private:
 GLint m_2DVertexID;
 GLint m_2DColorID;
 
+GLint m_RenderProID;
+
+GLuint m_RenderVertexBuf;
+
+GLuint m_RenderTexCoordBuf;
+
+GLint m_RenderTexID;
+
+GLint m_RenderVertexID;
+
+GLint m_RenderTexCoordID;
 //TODO: moggi: kill the following parts
 // don't add anything below or I will remove it
 #if 0
diff --git a/chart2/source/view/inc/StaticGeometry.h 
b/chart2/source/view/inc/StaticGeometry.h

Re: [Libreoffice-qa] Running LO 4.3 alpha in Windows XP...

2014-05-07 Thread Christian Lohmaier
Hi Pedro, *,

On Wed, May 7, 2014 at 12:27 AM, Pedro pedl...@gmail.com wrote:
 Florian Reisinger wrote
 Was it only the alpha 1? If so, CC cloph, as this (IMHO) buggy build is
 the release config..
 Buggy? It worked with the master (alpha 1 is just a snapshot of the
 master) the day before, and the day after. At least all the bugs I found
 on Windows

 I'm not sure what I'm supposed to say to Christian?

I'm reading the list and am currently investigating.

The alpha1 was built with a different compiler, but that should not
affect the baseline, i.e. it should still work on XP and obviously on
other platforms.

 I'm curious: why does
 http://dev-builds.libreoffice.org/daily/master/Win-x86@47-TDF/current/ point
 to master~2014-04-28_07.22.55_LibreOfficeDev_4.3.0.0.alpha1_Win_x86.msi when
 there is a newer build
 (master~2014-04-29_23.12.26_LibreOfficeDev_4.3.0.0.alpha1_Win_x86.msi)?

That is because the network was cut before the link was updated.

I'll prepare new build on the new baseline (i.e. new compiler version)
and also prepare to have that box provide daily builds instead of the
@47 one.

ciao
Christian
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] Redmine Website QA Suggestions

2014-05-07 Thread Harald Köster
Hi all,

Am 06.05.2014 01:38, schrieb Bjoern Michaelsen:
 On Mon, May 05, 2014 at 02:16:15PM -0700, Joel Madero wrote:
 So the first question is for the default download page - are we
 generally agreed that stable should be the default?
 
 Im disagreeing there. The only reason stable is more settled than fresh is
 that we have so many people downloading fresh and allowing us to solve these
 issues. As such, making stable the default would only result in lowering the
 quality of stable, while ~nobody runs fresh and there is no option for
 those seeking a more conservative alternative to the default download. This is
 a lose-lose change.

I think the problem is not the default download page. The problem is how
users are guided to the version which suits to them and at the same time
how we can benefit mostly from problems which occure at the users.

I think WE and a lot of users know the difference between fresh and
stable. But there are also a lot of users who do not know the
difference or at least are irritated to find two different versions.
Hence to my opinion a minimum of explanation is needed on the download
pages. This can be done by a recommendation.

E.g. for Fresh:

Recommended for users who are happy with new features or willing to
give us feedback and report problems. If you just like to get a reliable
software, please use our stable version. More information needed? See
Release Notes!

And for Stable:

In principle recommended for all user. If you are happy with new
features or willing to give us feedback, please try our fresh version.
More information needed? See Release Notes!

Two additional comments to the release notes:
(1) 'Private power users' were recommended to use the fresh version. I'm
not happy with this because I also can imagine power users who do not
like always run into problems with a more unstable fresh version. Hence
a more reliable version may also suit to this kind of users. My
proposal: Delete the 'private power user' from the release notes.
(2) In the notes the term conservative requirements is used. For me
the word 'conservative' is quite abstract. What a user expects is a
software which has a better reliability and stability. My proposal: Use
quality terms like reliability, stability, usability and/or performance
in this context.

Best
Harald

-- 
LibreOffice - Die Freiheit nehm' ich mir! - www.libreoffice.de
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


[Libreoffice-qa] Website QA Suggestions, links to other languages

2014-05-07 Thread Harald Köster
Hi all,

at the moment on the LibreOffice home page there are no links to home
pages in other languages. I think for a world wide project it should be
a matter of course to provide such links, so that also users who are not
familiar with English are able to find informations in their language fast.

How it may look like, see:

www.facebook.com
www.twitter.com

Best
Harald

-- 
LibreOffice - Die Freiheit nehm' ich mir! - www.libreoffice.de
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


Re: [Libreoffice-qa] Website QA Suggestions, links to other languages

2014-05-07 Thread Sophie
Hi Harald,
Le 07/05/2014 17:44, Harald Köster a écrit :
 Hi all,
 
 at the moment on the LibreOffice home page there are no links to home
 pages in other languages. I think for a world wide project it should be
 a matter of course to provide such links, so that also users who are not
 familiar with English are able to find informations in their language fast.

Your question should be posted on the website list. However, to answer
you, click on Community button, there you have the NLP listed.

Cheers
Sophie

___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


[Libreoffice-bugs] [Bug 78370] New: Cannot view last page for RTF document

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78370

  Priority: medium
Bug ID: 78370
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Cannot view last page for RTF document
  Severity: major
Classification: Unclassified
OS: Windows (All)
  Reporter: sc@kuehne-nagel.com
  Hardware: x86 (IA32)
Status: UNCONFIRMED
   Version: 4.1.3.2 release
 Component: Writer
   Product: LibreOffice

Created attachment 98599
  -- https://bugs.freedesktop.org/attachment.cgi?id=98599action=edit
The Problem RTF document

Hi,

I cannot view the last page in the LibreOffice ,but view properly in Microsoft
Word 2003 . 

Seems the last page and the last second page are merged.

Please help with many 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 78371] New: FORMATTING Add Clear Direct Character Formatting function

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78371

  Priority: medium
Bug ID: 78371
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FORMATTING Add Clear Direct Character Formatting
function
  Severity: enhancement
Classification: Unclassified
OS: All
  Reporter: msrame...@gmail.com
  Hardware: All
Status: UNCONFIRMED
   Version: unspecified
 Component: Writer
   Product: LibreOffice

Hi,
I work on translation of the LibreOffice guides to Slovak. I use for that the
OmegaT translation tool, because it can read and write odt files.

I observe a problem, which can be perhaps solved by adding a new function
Clear Direct Character Formatting along to the existing Clear Direct
Formatting.

The problem:
OmegaT (and other similar CAT tolls) breaks text in sentences, which are then
translated. It honours formating, which means that the translator sees the
formating tags (in OmegaT they are abbreviated e.g., to f1 text /f1). 

If there is too much of direct formating, the text becomes untranslatable by
CAT tools, because tags appear everywhere and also inside words. This is
exactly the case of the LO guides. The remedy for this is to use styles and
then to remove the direct formating. 

The problem is that Clear Direct Formatting removes all direct formating - in
the case of LO guides it breaks headers, lists etc. The reason may be that the
guides were not written the right way. However, even authors of the LO guides
do not use LO the right way.

I think that introduction of the Clear Direct Character Formatting (cleaning
up stuff only inside paragraphs withou influencing the rest) would solve this
problem. It will make translation of odt files by CAT tools possible. 

I currently use a workaround for that: I unzip the odt file and clean the
content.xml file by my own python script. It does not work perfect but still
solves the problem. The proposed solution would make possible to translate odt
files for all.

Thanks for considering this proposal
--
Milos

-- 
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 78373] New: PIVOTTABLE: Some VLOOKUPs return #N/A until pivot refreshed

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78373

  Priority: medium
Bug ID: 78373
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: PIVOTTABLE: Some VLOOKUPs return #N/A until pivot
refreshed
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: libreoffice.org-bugzi...@logicdaemon.ru
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.2.4.1 rc
 Component: Spreadsheet
   Product: LibreOffice

Created attachment 98600
  -- https://bugs.freedesktop.org/attachment.cgi?id=98600action=edit
sample spreadsheet to reproduce error

Problem description: out of 3 almost identical VLOOKUPs (only cell indexes
different by offset), one returns #N/A despite all values are there. Values
searched are static, not pivot results (in this case), but search area
partially covers pivot.

Steps to reproduce:
1. Open attached spreadsheet
2. Refresh Pivot table (RMB in A2, Refresh). Note row 15 values changed.
3. (optionally) Save, Reload (File → Reload)

Current behavior:
See #N/A in row 15 of 1st sheet.
But no NA in 13 and 14, despite formulas there are similar. Exact values don't
matter, I filled error row with numbers, but originally it was empty.

Very strange thing: if I reset formatting of row 15, bad effect goes away.

Expected behavior:
Correct values on open.

Same in 4.2.5.0.0+ Build ID: b26b9606efa30c0a44e20dcf638fbd1e27f05089
TinderBox: Win-x86@42, Branch:libreoffice-4-2, Time: 2014-05-06_06:43:43

4.1.6.2 also works well.

Operating System: Windows XP
Version: 4.2.4.1 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 64956] Copy comment text to the page itself result in a white text color

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64956

--- Comment #6 from Michael Kleidt kle...@sowatec.com ---
Still reproducible using Windows XP and LO 4.2.0.4.

-- 
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 78357] FILEOPEN: RTF links with black underlines

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78357

--- Comment #2 from Jay philip...@hotmail.com ---
double checked the screenshot and the top one is dark blue and the bottom is
black.

-- 
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 78369] Legend issues after copy paste

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78369

--- Comment #4 from Jan Husarik jan.husa...@gmail.com ---
I was using Windows 7
Version: 4.2.3.3
Build ID: 882f8a0a489bc99a9e60c7905a60226254cb6ff0

but I had the same issue with OS X 10.9.2
Version: 4.2.0.4

did not test on linux yet

-- 
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 64956] Copy comment text to the page itself result in a white text color

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64956

--- Comment #7 from tommy27 ba...@quipo.it ---
and 4.2.2.3 as well under Win7x64.
has it ever worked in LibO 3.x era?

-- 
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 64956] Copy comment text to the page itself result in a white text color

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64956

--- Comment #8 from tommy27 ba...@quipo.it ---
oopss... didn't saw that comment.

(In reply to comment #4)
 was introduced by switching to writerfilter for copy/paste:
 
 commit ed654c4aa7f9f10fcb16127349009bc0c38b12e8
 Author: Miklos Vajna vmik...@suse.cz
 AuthorDate: Fri Nov 30 17:37:08 2012 +0100
 
 Revert fdo#43869 use the old rtf importer for paste

-- 
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 78324] Implement NUMBERTEXT in LibreOffice

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78324

--- Comment #5 from László Németh nem...@numbertext.org ---
Mihovil, numbertext extension is part of the configuration of LibreOffice, see
--enable-ext-numbertext parameter:

./autogen.sh --help | grep -i numbertext
  --enable-ext-numbertext Enable the Numbertext extension

Simply install the libreoffice-extensions-numbertext package on Linux
distributions with default Numbertext support. For other platforms, you can use
directly the LibreOffice extension:
https://extensions.libreoffice.org/extension-center/numbertext-1

To develop the Croatian module, I suggest to modify the Serbian module.
Unfortunately, Serbian description has no money section, but you may check and
modify the Slovenian's or Slovakian's one (maybe we will be able to extend the
Serbian module, too). You can use the Numbertext IDE to test or develop the
Croatian rules:

http://numbertext.org/Soros.html

Please, attach here or send me the result to include it in the next Numbertext
release. If you have any questions, feel free to ask. Hvala in advance: :)

-- 
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 77801] Cannot create Folder if File with same name already exists

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77801

--- Comment #2 from Peter Ludwig peter_lud...@freenet.de ---
Sorry for that. I really didn`t know that it is not possible to do that. Same
feature in Windows. 

Huhhh. I am now working with Computers many years but I never realized that.

Sorry again.

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


[Libreoffice-bugs] [Bug 78355] FILEOPEN: can't open .xls file

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78355

--- Comment #2 from MARGAITAKIS GIORGOS margaritak...@otenet.gr ---
Created attachment 98601
  -- https://bugs.freedesktop.org/attachment.cgi?id=98601action=edit
the file i can not open

-- 
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 78375] New: Other: Calling MATCH with com.sun.star.sheet.FunctionAccess returns Variant/Empty

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78375

  Priority: medium
Bug ID: 78375
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Other: Calling MATCH with
com.sun.star.sheet.FunctionAccess returns
Variant/Empty
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: zza...@gmail.com
  Hardware: Other
Whiteboard: BSA PossibleRegression
Status: UNCONFIRMED
   Version: 4.2.3.3 release
 Component: Spreadsheet
   Product: LibreOffice

Problem description: 

I have the following code many times in my pretty large LO Basic section (with
variations in cell range and search criteria):

Functions = createUnoService(com.sun.star.sheet.FunctionAccess)
dim StudentsArgs(2) as variant
StudentsArgs(0) = Index.Formula 'just some string to search for
StudentsArgs(1) =
StudentiSheet.getCellRangeByPosition(StudentiIndeksCol,STUDENTIHEADERROW+1,StudentiIndeksCol,StudentiEndRow)
'some cell range for searching
StudentsArgs(2) = 0
StudentRow = Functions.callFunction(MATCH, StudentsArgs())

In Ubuntu 13.10 I am using LO from LO PPA, version 4.1.3.2 and the code above
works as expected (it returns the row number).

A few days ago I tried Ubuntu 14.04 that comes with LO 4.2.3.3. In this
version, calling a MATCH function always returns me Variant/Empty instead of
row number. All the parameters have the same value in both versions of LO
before reachng MATCH call (I checked in debugger).

Was there some change in callFunction mechanism, or the way that MATCH function
works between the versions?

I cant't at the moment make an example ods for testing, but I can in a few
days, if needed.
Operating System: Ubuntu
Version: 4.2.3.3 release
Last worked in: 4.1.3.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 78375] Other: Calling MATCH with com.sun.star.sheet.FunctionAccess returns Variant/Empty

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78375

Zarko Zivanov zza...@gmail.com changed:

   What|Removed |Added

   Hardware|Other   |x86-64 (AMD64)
   Priority|medium  |high
 CC||zza...@gmail.com

-- 
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 78357] FILEOPEN: RTF links with black underlines

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78357

--- Comment #3 from tommy27 ba...@quipo.it ---
so check your monitor color-settings :-)

I confirm Unicode 6.2 text is bold blue underlined in both images and I
cannot spot significant color difference between .docx and .rtf

only differences I see is that not underlined text is grey, bold, italic in
.docx
while is bold black in before unicode 6.2 and no-bold, no-italic, black in
.rtf

-- 
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 77682] LibreOffice comments should have ATK_ROLE_COMMENT

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77682

--- Comment #2 from Jacobo Aragunde Pérez jaragu...@igalia.com ---
Backported to 4.2 branch: https://gerrit.libreoffice.org/#/c/9267/

-- 
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 62355] Formula objects with widehat/widevector in Writer have wrong size, top of the hat/vector is cropped

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62355

--- Comment #53 from Enrique enri...@fiquipedia.es ---
Tested with
http://downloadarchive.documentfoundation.org/libreoffice/old/3.3.0.4/deb/x86_64/LibO_3.3.0_Linux_x86-64_install-deb_en-US.tar.gz
with ubuntu 14.04 64 bits

Some installation messages
Configurando libreoffice3-dict-es (3.3.0-19) ...
javaldx: Could not find a Java Runtime Environment! 

despite I have

java -version
java version 1.7.0_55
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)

but it works running
/opt/libreoffice/program$ ./swriter 

Some tests and results (I will add them as attachments), it is hard to explain:

LO3.3:
Created document 2014-05-07-Bug62355Test-Created-Lo3.odt 
Result: 2014-05-07-LibreOffice3-FormulaTest.jpg
- KO: widehat, circle, widetilde
- OK: vec, widevec, overline 
- formula color is grey

LO4.2: 
Opening document created from LO3: 

Result: the same as LO3.3
2014-05-07-LibreOffice4.2-FormulaTest-DocumentNotModified.jpg

BUT! ...

just clicking in the formulas, without any modification on them:
Result: 2014-05-07-LibreOffice4.2-FormulaTest-DocumentModified.jpg
- KO: vec, widevec, overline
- OK: widehat, circle, widetilde
- formula color is black

Almost opposite result!? (just overline work in both, as it seems the height
of the line is not enough to be cropped)

Just to check, modification from LO4.2 saved as new document
2014-05-07-Bug62355Test-Modified-Lo4.2.odt
and opening again with LO3.3

2014-05-07-LibreOffice3-FormulaTest-DocumentModifiedFrom4.2.jpg 
Result: the same as LO4.2 when saved 

BUT  :-)
just clicking in the formulas, without any modification on them...
result come back to original LO3.3 behavoir, again vec OK, and again gray color
...

-- 
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 78350] Destruction of document font format after saving

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78350

--- Comment #2 from Honya jan.lho...@gmail.com ---
In LibreOffice 4.1.0.4 (Portable) Win 7 after steps to reproduce add breaks
after some words (Screen shot is attached).

-- 
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 77682] LibreOffice comments should have ATK_ROLE_COMMENT

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77682

Jacobo Aragunde Pérez jaragu...@igalia.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Assignee|libreoffice-b...@lists.free |jaragu...@igalia.com
   |desktop.org |
 Ever confirmed|0   |1

--- Comment #3 from Jacobo Aragunde Pérez jaragu...@igalia.com ---
(In reply to comment #0)
 ... So
 unless there's a good reason not to touch the role of the scroll-pane, I'd
 be most appreciative if that were the fix.
 

There was no good reason, in fact the internal UNO role for that element is a
comment too and it's just being translated to ATK's scroll-pane, maybe
because ATK comment role didn't exist at that 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 34133] Add ability to reduce resolution (and so file size) of pictures (resize images)

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34133

--- Comment #28 from Timur gti...@gmail.com ---
(In reply to comment #17)
 In 4.1 it is also possible to compress images in Writer. I have some ideas
 how to improve this functionality but this will have to wait until 4.2. 
 Regards, Tomaž

Will this be added to 4.2? I didn't see anything in
https://wiki.documentfoundation.org/ReleaseNotes/4.2

-- 
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 78350] Destruction of document font format after saving

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78350

--- Comment #3 from Honya jan.lho...@gmail.com ---
Created attachment 98603
  -- https://bugs.freedesktop.org/attachment.cgi?id=98603action=edit
Behavior in windows 7

On the left is the state before saving - in right after him.

-- 
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 62355] Formula objects with widehat/widevector in Writer have wrong size, top of the hat/vector is cropped

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62355

--- Comment #54 from Enrique enri...@fiquipedia.es ---
Created attachment 98604
  -- https://bugs.freedesktop.org/attachment.cgi?id=98604action=edit
Documents and images about comment #53 tests

Documents and images about comment #53 tests

-- 
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 78378] New: [Feature request] editing formula in Writer without mouse

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78378

  Priority: medium
Bug ID: 78378
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: [Feature request] editing formula in Writer without
mouse
  Severity: enhancement
Classification: Unclassified
OS: Linux (All)
  Reporter: kont...@gute2.de
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: 4.0.6.2 release
 Component: Formula Editor
   Product: LibreOffice

Currrent behaviour:
If I insert a formula into a LibO Writer document, I can leave formula editing
mode by pressing the Esc key. Pressing Esc again takes focus off the formula
object. - Leaving formula editor is possible with sole key presses.

On the other hand, it is not possible to re-enter formula editing mode without
first clicking on the formula object. The text cursor simply skips the formula
object instead of focusing on it.

Proposed behaviour:
If there is a formula object in a paragraph, and you keep pressing e.g. right
arrow key the cursor eventually reaches the position left of the formula.
The next press of right arrow key should select the formula object (instead of
currently simply skipping it). It is already possible to press Enter in order
to edit the formula. Pressing right arrow key should set the cursor directly to
the right of the formula object.

-- 
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 34133] Add ability to reduce resolution (and so file size) of pictures (resize images)

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34133

--- Comment #29 from Tomaz Vajngerl qui...@gmail.com ---
It is not in 4.2 (4.2 was already released in January) and there is also
nothing in for 4.3 (feature freeze is in less than 2 weeks). Maybe I will play
with crop images a bit but currently I don't have time for this. If someone
wants to give it a try I can give code pointers..

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


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

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

Bug 37361 depends on bug 45260, which changed state.

Bug 45260 Summary: EDITING: Pasted object not same position w.r.t. original 
object if border thickness greater 0
https://bugs.freedesktop.org/show_bug.cgi?id=45260

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

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


[Libreoffice-bugs] [Bug 78379] New: PIVOTTABLE: Pivot table layout window on retina display

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78379

  Priority: medium
Bug ID: 78379
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: PIVOTTABLE: Pivot table layout window on retina
display
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: ian1caldw...@gmail.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.2.3.3 release
 Component: Spreadsheet
   Product: LibreOffice

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

Problem description: 

Steps to reproduce:

create a Pivot table on 3200x1800 resolution display

Current behavior:

The buttons the chose the columns are too small and the text is lost, see
screen shot

Expected behavior:

Larger buttons
Operating System: Windows 8
Version: 4.2.3.3 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 78364] open file doesn't work anymore with my *.odt files in Writer

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78364

--- Comment #2 from Bernhard mynew...@t-online.de ---
 Original-Nachricht 
Betreff: Re: [Bug 78364] open file doesn't work anymore with my *.odt 
files in Writer
Datum: Wed, 07 May 2014 10:28:56 +0200
Von: Wodi jwm...@t-online.de
An: bugzilla-dae...@freedesktop.org



Hello,

- I did reset the user profile as explained within your link.
Opening a file afterwards has the same behaviour as before the reset.
Below you see the last log-entry after this try:

[  599.825075] soffice.bin[2171]: segfault at 39 ip b66b2b10 sp bff8b530 
error 4 in libmergedlo.so[b455f000+2ffd000]

- Never used any other Office application so far.

- My current OS is Ubuntu 14.04 LTS installed.
I worked some weeks with writer and my files before this behaviour 
happened first.

- Additionally I tried opening one file with
Writer of LibreOffice 3.5.2.2 from within a live distribution Linux Mint 
13 Maya.
Here is no problem to open a file several times.
Is Read-Only because of the existing lock-file.

- Ran chkrootkit from Kali Live distibution to check the Ubuntu partition.
Below see the results. Don't know whether there may be a connection?!

Searching for Suckit rootkit...
 Warning: /media/efa2e102-d07f-464d-8fc7-ea31c5de8d6b/sbin/init 
INFECTED
Searching for suspicious files and dirs, it may take a while...
The following suspicious files and directories were found:
/media/efa2e102-d07f-464d-8fc7-ea31c5de8d6b/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/.noinit
 

/media/efa2e102-d07f-464d-8fc7-ea31c5de8d6b/usr/lib/pymodules/python2.7/.path




Am 07.05.2014 07:25, schrieb bugzilla-dae...@freedesktop.org:
 tommy27 mailto:ba...@quipo.it changed bug 78364 
 https://bugs.freedesktop.org/show_bug.cgi?id=78364
 What  Removed Added
 CCba...@quipo.it

 *Comment # 1 https://bugs.freedesktop.org/show_bug.cgi?id=78364#c1 
 on bug 78364 https://bugs.freedesktop.org/show_bug.cgi?id=78364 from 
 tommy27 mailto:ba...@quipo.it *
 did you try resetting user profile?
 https://wiki.documentfoundation.org/UserProfile

 what about Calc, Impress etc. etc.?
 
 You are receiving this mail because:

   * You reported the bug.


-- 
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 72456] Font Embedding does not work on MacOS

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72456

Andras Timar tima...@gmail.com changed:

   What|Removed |Added

   Keywords|regression  |

--- Comment #8 from Andras Timar tima...@gmail.com ---
(In reply to comment #3)
 so it's a suspected regression in between of 4.1.1 and 4.1.3
 a MacOS QA tester is needed to confirm and eventually bibisect this.

I tested it with 4.1.0, 4.1.1, 4.1.2 and 4.1.3 and none of them worked, so I
don't think it is a regression. It never worked on Mac.

-- 
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 78186] Add an easy way to know which used fonts are missing

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78186

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
Summary|clear indications that a|Add an easy way to know
   |font isnt installed |which used fonts are
   ||missing

--- Comment #11 from Maxim Monastirsky momonas...@gmail.com ---
So let's summarize: You want some way (probably a dialog) to show a list of all
missing fonts, and maybe also some kind of notification while opening the
document. By 'missing fonts' you mean also a particular style that is used in
the document, but isn't installed on the system.

-- 
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 78355] FILEOPEN: can't open .xls file

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78355

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #3 from tommy27 ba...@quipo.it ---
files looks corrupted under Win7x64 using 4.2.3.3
I do not know how to repair it though, sorry.

-- 
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 76079] FILEOPEN: Writer password protected files fail to open from command line

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76079

--- Comment #2 from David da...@cimaware.com ---
I've changed my computer. In my old computer I had LO 4.2.1.1 Ubuntu 12.04 LTS
and gnome 3 dialogs (if it matters). Now I have 4.2.1.1 and kde using LO
dialogs.

Now everything works fine. However I can't say if it's because I have the
latest release or because I've changed to Solydxk KDE.

-- 
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 78359] missing style and font drop downs

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78359

--- Comment #3 from Jay philip...@hotmail.com ---
It seems to be fixed now, but when i did file the bug, its was the latest build
then. :)

-- 
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 76079] FILEOPEN: Writer password protected files fail to open from command line

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76079

--- Comment #3 from David da...@cimaware.com ---
Ops... a mistake: Now I have LO 4.2.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 76079] FILEOPEN: Writer password protected files fail to open from command line

2014-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=76079

Maxim Monastirsky momonas...@gmail.com changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #4 from Maxim Monastirsky momonas...@gmail.com ---
OK, so I'll close this bug for now. Feel free to reopen at any time if this
problem persists.

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