Re: Base tests are disabled?

2013-02-01 Thread Miklos Vajna
Hi Marcos,

On Thu, Jan 31, 2013 at 11:23:27PM -0200, Marcos Souza 
marcos.souza@gmail.com wrote:
 [marcos@jedi core]$ make dbaccess.subsequentcheck
 cd dbaccess  make -j 2 -rs subsequentcheck
 /mnt/dados/gitroot/core/solenv/gbuild/Package.mk:44: ***
 gb_Deliver_deliver: file does not exist in solver, and cannot be delivered:
 /mnt/dados/gitroot/core/solver/unxlngi6/bin/ConnectivityTools.jar.  Stop.
 make: *** [dbaccess.subsequentcheck] Error 2
 
 There is something that we can do for enable these tests again? Or threy're
 useless(I doubt...)?

Here's the output here:

$ make dbaccess.subsequentcheck
cd dbaccess  make -j 4 -rs subsequentcheck
[build JUT] dbaccess_ju_complex
[build JUT] dbaccess_ju_unoapi
[build SCK] dbaccess
[build SCK] loaded modules: dbaccess

Possibly you need to run a toplevel 'make subsequentcheck' first, to be
able to run a partial subsequentcheck -- as a module-level make won't
notice some dependencies are missing (e.g. from qadevOOo.)

Miklos


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


[Libreoffice-commits] .: setup_native/prj setup_native/scripts

2013-02-01 Thread Tor Lillqvist
 setup_native/prj/d.lst   |1 -
 setup_native/scripts/makefile.mk |1 -
 2 files changed, 2 deletions(-)

New commits:
commit 4e4bbb913efc05467e0aecdd3f1709c69d47b8bd
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 1 10:26:03 2013 +0200

linuxpatchscript.sh is surely something we don't use

diff --git a/setup_native/prj/d.lst b/setup_native/prj/d.lst
index 475c59e..15abb0f 100644
--- a/setup_native/prj/d.lst
+++ b/setup_native/prj/d.lst
@@ -15,7 +15,6 @@ mkdir: %_DEST%\bin\userscripts
 ..\%__SRC%\bin\noarch\fake-db-1.0-0.noarch.rpm 
%_DEST%\bin\openoffice.org-userland-1.0-0.noarch.rpm
 
 ..\%__SRC%\bin\langpackscript.sh %_DEST%\bin\langpackscript.sh
-..\%__SRC%\bin\linuxpatchscript.sh %_DEST%\bin\linuxpatchscript.sh
 ..\%__SRC%\bin\downloadscript.sh %_DEST%\bin\downloadscript.sh
 ..\%__SRC%\bin\unpack_update.sh %_DEST%\bin\unpack_update
 ..\%__SRC%\bin\update.sh %_DEST%\bin\update
diff --git a/setup_native/scripts/makefile.mk b/setup_native/scripts/makefile.mk
index 9479617..f7c828c 100644
--- a/setup_native/scripts/makefile.mk
+++ b/setup_native/scripts/makefile.mk
@@ -29,7 +29,6 @@ TARGET=install
 
 UNIXTEXT= \
 $(BIN)$/langpackscript.sh \
-$(BIN)$/linuxpatchscript.sh \
 $(BIN)$/javaloader.sh \
 $(BIN)$/update.sh \
 $(BIN)$/downloadscript.sh
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Change in core[master]: Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ...

2013-02-01 Thread via Code Review
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1954

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/54/1954/1

Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, 
ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, 
DEFINE_CONST_OUSTRING

Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
---
M connectivity/source/drivers/postgresql/pq_connection.cxx
M connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
M connectivity/source/drivers/postgresql/pq_driver.cxx
M connectivity/source/drivers/postgresql/pq_preparedstatement.cxx
M connectivity/source/drivers/postgresql/pq_resultset.cxx
M connectivity/source/drivers/postgresql/pq_sequenceresultset.cxx
M connectivity/source/drivers/postgresql/pq_statement.cxx
M connectivity/source/drivers/postgresql/pq_statics.cxx
M connectivity/source/drivers/postgresql/pq_tools.cxx
M connectivity/source/drivers/postgresql/pq_updateableresultset.cxx
M connectivity/source/drivers/postgresql/pq_xcolumns.cxx
M connectivity/source/drivers/postgresql/pq_xcontainer.cxx
M connectivity/source/drivers/postgresql/pq_xindexcolumns.cxx
M connectivity/source/drivers/postgresql/pq_xindexes.cxx
M connectivity/source/drivers/postgresql/pq_xkeycolumns.cxx
M cui/source/customize/acccfg.cxx
M cui/source/dialogs/cuigaldlg.cxx
M desktop/source/app/check_ext_deps.cxx
M extensions/source/update/check/download.cxx
M extensions/source/update/check/updatecheck.cxx
M extensions/source/update/check/updatecheckconfig.cxx
M extensions/source/update/check/updatecheckjob.cxx
M extensions/source/update/check/updatehdl.cxx
M extensions/source/update/check/updateprotocol.cxx
M extensions/source/update/check/updateprotocoltest.cxx
M extensions/source/update/feed/test/updatefeedtest.cxx
M extensions/source/update/feed/updatefeed.cxx
M extensions/source/update/ui/updatecheckui.cxx
M filter/source/svg/svgreader.cxx
M framework/source/dispatch/oxt_handler.cxx
M framework/source/services/substitutepathvars.cxx
M pyuno/source/module/pyuno_runtime.cxx
M pyuno/source/module/pyuno_type.cxx
M sdext/source/pdfimport/inc/pdfihelper.hxx
M sdext/source/pdfimport/tree/drawtreevisiting.cxx
M sdext/source/pdfimport/tree/pdfiprocessor.cxx
M sdext/source/pdfimport/tree/style.cxx
M sdext/source/pdfimport/tree/writertreevisiting.cxx
M sfx2/inc/sfx2/sfxuno.hxx
M sfx2/source/appl/app.cxx
M sfx2/source/appl/appdde.cxx
M sfx2/source/appl/appmisc.cxx
M sfx2/source/appl/appopen.cxx
M sfx2/source/appl/appserv.cxx
M sfx2/source/appl/appuno.cxx
M sfx2/source/appl/helpinterceptor.cxx
M sfx2/source/appl/newhelp.cxx
M sfx2/source/appl/newhelp.hxx
M sfx2/source/appl/sfxhelp.cxx
M sfx2/source/appl/sfxpicklist.cxx
M sfx2/source/bastyp/fltfnc.cxx
M sfx2/source/bastyp/fltlst.cxx
M sfx2/source/bastyp/sfxhtml.cxx
M sfx2/source/control/bindings.cxx
M sfx2/source/control/objface.cxx
M sfx2/source/control/statcach.cxx
M sfx2/source/dialog/alienwarn.cxx
M sfx2/source/dialog/dinfdlg.cxx
M sfx2/source/dialog/dockwin.cxx
M sfx2/source/dialog/filedlghelper.cxx
M sfx2/source/dialog/filtergrouping.cxx
M sfx2/source/dialog/partwnd.cxx
M sfx2/source/dialog/srchdlg.cxx
M sfx2/source/dialog/styledlg.cxx
M sfx2/source/dialog/templdlg.cxx
M sfx2/source/dialog/versdlg.cxx
M sfx2/source/doc/QuerySaveDocument.cxx
M sfx2/source/doc/docfile.cxx
M sfx2/source/doc/docfilt.cxx
M sfx2/source/doc/objmisc.cxx
M sfx2/source/doc/objserv.cxx
M sfx2/source/doc/objstor.cxx
M sfx2/source/doc/printhelper.cxx
M sfx2/source/doc/templatedlg.cxx
M sfx2/source/explorer/nochaos.cxx
M sfx2/source/menu/mnumgr.cxx
M sfx2/source/toolbox/tbxitem.cxx
M sfx2/source/view/frame.cxx
M sfx2/source/view/frame2.cxx
M sfx2/source/view/viewfrm.cxx
M sfx2/source/view/viewprn.cxx
M svtools/source/config/miscopt.cxx
M svtools/source/config/test/test.cxx
M svtools/source/contnr/templwin.cxx
M svtools/source/control/collatorres.cxx
M svtools/source/control/indexentryres.cxx
M svtools/source/misc/imagemgr.cxx
M svx/source/dialog/dlgunit.hxx
M svx/source/dialog/imapdlg.cxx
M svx/source/form/datanavi.cxx
M sw/source/ui/table/tabledlg.cxx
M unotools/source/config/defaultoptions.cxx
M unotools/source/config/viewoptions.cxx
93 files changed, 1,025 insertions(+), 1,125 deletions(-)




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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Jean-Noël Rouvignac jn.rouvig...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Student Open Source Conference

2013-02-01 Thread Italo Vignoli
I have forwarded the message to the relevant marketing list, as this list is 
focused on development.  

--  
Italo Vignoli
Mobile +39.348.5653829
Email italo.vign...@gmail.com


On Friday 1 February 2013 at 08:52, Antonio García wrote:

 Hi, my name is Antonio Garcia III. I am organizing Flourish, an Open Source 
 software conference at the University of Illinois at Chicago.
  
 I am contacting this list because I would love to see someone from the 
 LibreOffice marketing collaborative speak about LibreOffice's virtues and 
 usefulness to diverse audience.  
  
 Flourish is a two-­day conference reflecting on the impact of 
 Free/Libre/Open­ Source Software (FLOSS) in the worlds of business, politics, 
 education, and daily life. A presence such as yours, the CTO of Dreamworks, 
 would honor us.   
  
  
 For more information, please contact me at antoniogarcia...@gmail.com 
 (mailto:antoniogarcia...@gmail.com), or you can call me at 773.336.2259. 
 Also, you can visit our website at www.flourishconf.com 
 (http://www.flourishconf.com). I look forward to hearing from you. Thank you. 
  
  
 --  
 Antonio Garcia
 312.715.4865
 antoniogarcia...@gmail.com (mailto:antoniogarcia...@gmail.com)
  
  
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice
  
  


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


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

2013-02-01 Thread Markus Mohrhard
 sc/source/filter/xml/xmlexprt.cxx |   13 ++---
 1 file changed, 10 insertions(+), 3 deletions(-)

New commits:
commit e483ea0d8abda0eb5a0e8cef55229f3e8ac06a21
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu Jan 31 00:19:00 2013 +0100

Hyperlink is an optional property, fdo#58858

Change-Id: I30f2b0cdb72951a47cfd8d0091b5418fd59efe83
Reviewed-on: https://gerrit.libreoffice.org/1930
Reviewed-by: Noel Power noel.po...@suse.com
Tested-by: Noel Power noel.po...@suse.com
Reviewed-on: https://gerrit.libreoffice.org/1941

diff --git a/sc/source/filter/xml/xmlexprt.cxx 
b/sc/source/filter/xml/xmlexprt.cxx
index 7ac0351..b599e6e 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -3092,9 +3092,16 @@ void ScXMLExport::ExportShape(const uno::Reference  
drawing::XShape  xShape,
 {
 // #i66550 HLINK_FOR_SHAPES
 rtl::OUString sHlink;
-uno::Reference beans::XPropertySet  xProps( xShape, uno::UNO_QUERY );
-if ( xProps.is() )
-xProps-getPropertyValue( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM( SC_UNONAME_HYPERLINK ) ) ) = sHlink;
+try
+{
+uno::Reference beans::XPropertySet  xProps( xShape, 
uno::UNO_QUERY );
+if ( xProps.is() )
+xProps-getPropertyValue( rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM( SC_UNONAME_HYPERLINK ) ) ) = sHlink;
+}
+catch ( const beans::UnknownPropertyException )
+{
+// no hyperlink property
+}
 
 std::auto_ptr SvXMLElementExport  pDrawA;
 // enlose shapes with draw:a element only if sHlink contains 
something
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Miklos Vajna
 sw/qa/extras/rtfimport/data/fdo48440.rtf   |5 +
 sw/qa/extras/rtfimport/rtfimport.cxx   |8 
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |1 +
 3 files changed, 14 insertions(+)

New commits:
commit b70f74cb5f4b499f14831fd6ad49d9238735e6ef
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Feb 1 11:20:52 2013 +0100

fdo#48440 fix import of RTF_PAGE between text frames

Normally such a page break is surrounded by text, and text() already
calls checkNeedPap(), but in case the whole paragraph contains a page
break only, we need it here as well.

Change-Id: I3961272d77c743e0e6da2d5052e57cec5f5937e7

diff --git a/sw/qa/extras/rtfimport/data/fdo48440.rtf 
b/sw/qa/extras/rtfimport/data/fdo48440.rtf
new file mode 100755
index 000..8c5ac2dc
--- /dev/null
+++ b/sw/qa/extras/rtfimport/data/fdo48440.rtf
@@ -0,0 +1,5 @@
+{\rtf1
+{\pard\plain\qc\sl-200\sb40\phmrg\pvmrg\posx840\posy1120\absw5200\absh0\dxfrtext0\dfrmtxtx0\dfrmtxty0{\f1\fs20\b
 first page}\par}
+{\par\plain\page\par}
+{\pard\plain\ql\sl-200\sb40\phmrg\pvmrg\posx880\posy1280\absw1160\absh0\dxfrtext0\dfrmtxtx0\dfrmtxty0{\f1\fs20\b
 second page}\par}
+}
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx 
b/sw/qa/extras/rtfimport/rtfimport.cxx
index 480a63b..f1e9626 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -137,6 +137,7 @@ public:
 void testFdo54612();
 void testFdo58933();
 void testFdo44053();
+void testFdo48440();
 
 CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
@@ -245,6 +246,7 @@ void Test::run()
 {fdo54612.rtf, Test::testFdo54612},
 {fdo58933.rtf, Test::testFdo58933},
 {fdo44053.rtf, Test::testFdo44053},
+{fdo48440.rtf, Test::testFdo48440},
 };
 header();
 for (unsigned int i = 0; i  SAL_N_ELEMENTS(aMethods); ++i)
@@ -1062,6 +1064,12 @@ void Test::testFdo44053()
 getProperty uno::Sequencetext::TableColumnSeparator 
(xTableRows-getByIndex(1), TableColumnSeparators)[0].Position);
 }
 
+void Test::testFdo48440()
+{
+// Page break was ignored.
+CPPUNIT_ASSERT_EQUAL(2, getPages());
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 4964791..4f47d9d 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -1820,6 +1820,7 @@ int RTFDocumentImpl::dispatchSymbol(RTFKeyword nKeyword)
 }
 else
 {
+checkNeedPap();
 sal_uInt8 sBreak[] = { 0xc };
 Mapper().text(sBreak, 1);
 if (!m_bNeedPap)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2013-02-01 Thread Miklos Vajna
 sw/source/ui/shells/grfsh.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52c2de966b4f24a1ac997370efa517b1916ade33
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Feb 1 11:42:47 2013 +0100

sw: clean up TOOLBOX_NAME define

Change-Id: Ida6b3820989acaa2f1bac43aa40276eaa12c8aae

diff --git a/sw/source/ui/shells/grfsh.cxx b/sw/source/ui/shells/grfsh.cxx
index 18665c3..be7cb40 100644
--- a/sw/source/ui/shells/grfsh.cxx
+++ b/sw/source/ui/shells/grfsh.cxx
@@ -69,7 +69,7 @@
 
 #include swabstdlg.hxx
 
-#define TOOLBOX_NAME::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( 
colorbar ) )
+#define TOOLBOX_NAME colorbar
 
 class SwExternalToolEdit : public ExternalToolEdit
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


3.6.4 not updating

2013-02-01 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

Just to inform that checking for updates in 3.6.4 does not tell me 3.6.5
is available.

Have we enabled the server to return the right information?
- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRC56VAAoJEJp3R7nH3vLxBUkIAJGOKfbiEyyCWq3L4KCOZ0j3
4WBKYrFcFvaiV9hTvlUIyZBtHu9Slam9l6oDzRLFMdQt27Q42CQxdPAfJG+ywDLO
K0a8H3j/NsNUbm218rGiY8W4/h65HrPBcTonF7eYICgYfaLur7wJSGxZQSYP8NQ1
CLt8pPEQI4ZYEwrwZrAmYtpwgXXk2wPsRzjkRf6rkHU5SrCBGkSK7OqQzEh/GrIP
GJtfG3okeadaQv2fhWf0INdIxxCfQLsjfrvDCelw2EkRGL4UnTpVvYIayAUhy5iW
rqWMSpKaWktXZAERIQeRb8EUKHNDev9/p6EuQUFPfdIx4ENVAh5Fz4BCj6sRQn8=
=3OD8
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


fdo#40465 code pointers wanted (writer: page jumps when number of pages next to each other on screen changes)

2013-02-01 Thread Winfried Donkers
Hi all,

I have been working on and off at bug fdo#40465.
The problem is that when the width of the window showing the document changes 
to an extend that the number of pages next to each other (the number of 
columns) changes, the visible page jumps.

If in a multi-page document that shows 2 pages next to each other
-you look at a page (row n when you regard all the pages arrayed in rows and 
columns);
-you change the width of the window (or zoom, or open/close a docked 
verticaltoolbar) so that the number of columns changes;
-the view is repainted and you will see that you still look at a page at row n. 
Only, as the number of columns has changed, that page no longer is the page you 
saw before the repaint.

(note: when the cursor is in view, zooming will not show this problem, becasue 
that part has been fixed)

Unfortunately, I haven't found the relevant code yet.
Can someone point me to the code where the page to be painted is calculated 
from the row/column position of the page?
All help will be very much appreciated.


Winfried

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


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

2013-02-01 Thread Cédric Bosdonnat
 sfx2/inc/sfx2/sfx.hrc|5 +
 sfx2/inc/templatedlg.hxx |2 ++
 sfx2/source/appl/sfx.src |   20 
 sfx2/source/control/templateview.cxx |6 ++
 sfx2/source/doc/templatedlg.cxx  |   25 +
 5 files changed, 58 insertions(+)

New commits:
commit 56ff995b8f5e7b0f6d48e569ff6fb5acae877506
Author: Cédric Bosdonnat cedric.bosdon...@free.fr
Date:   Thu Jan 31 16:36:52 2013 +0100

Template Manager: show some icons if there is no thumbnail

Change-Id: I2686d6f1d29862878b5ee0f6ca0d2e746766ef21
Reviewed-on: https://gerrit.libreoffice.org/1948
Reviewed-by: Miklos Vajna vmik...@suse.cz
Tested-by: Miklos Vajna vmik...@suse.cz

diff --git a/sfx2/inc/sfx2/sfx.hrc b/sfx2/inc/sfx2/sfx.hrc
index 7173366..92bcf1f 100644
--- a/sfx2/inc/sfx2/sfx.hrc
+++ b/sfx2/inc/sfx2/sfx.hrc
@@ -177,6 +177,11 @@
 #define BT_CHECKOUT (RID_SFX_START+126)
 #define STR_ACCTITLE_PRODUCTIVITYTOOLS  (RID_SFX_START+157)
 
+#define SFX_THUMBNAIL_TEXT  (RID_SFX_START+158)
+#define SFX_THUMBNAIL_SHEET (RID_SFX_START+159)
+#define SFX_THUMBNAIL_PRESENTATION  (RID_SFX_START+160)
+#define SFX_THUMBNAIL_DRAWING   (RID_SFX_START+161)
+
 //=
 
 // group ids
diff --git a/sfx2/inc/templatedlg.hxx b/sfx2/inc/templatedlg.hxx
index 44a6653..47c1989 100644
--- a/sfx2/inc/templatedlg.hxx
+++ b/sfx2/inc/templatedlg.hxx
@@ -49,6 +49,8 @@ public:
 
 DECL_LINK(ActivatePageHdl, void*);
 
+static BitmapEx getDefaultThumbnail( const rtl::OUString rPath );
+
 private:
 
 virtual void MouseButtonDown( const MouseEvent rMEvt );
diff --git a/sfx2/source/appl/sfx.src b/sfx2/source/appl/sfx.src
index 1103841..bffec2b 100644
--- a/sfx2/source/appl/sfx.src
+++ b/sfx2/source/appl/sfx.src
@@ -37,3 +37,23 @@ String STR_PASSWD
 {
 Text [ en-US ] = Password ;
 };
+
+Bitmap ( SFX_THUMBNAIL_TEXT )
+{
+File = odt_48_8.png;
+};
+
+Bitmap ( SFX_THUMBNAIL_SHEET )
+{
+File = ods_48_8.png;
+};
+
+Bitmap ( SFX_THUMBNAIL_PRESENTATION )
+{
+File = odp_48_8.png;
+};
+
+Bitmap ( SFX_THUMBNAIL_DRAWING )
+{
+File = odg_48_8.png;
+};
diff --git a/sfx2/source/control/templateview.cxx 
b/sfx2/source/control/templateview.cxx
index 2efbbda..9758065 100644
--- a/sfx2/source/control/templateview.cxx
+++ b/sfx2/source/control/templateview.cxx
@@ -7,6 +7,7 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include templatedlg.hxx
 #include sfx2/templateview.hxx
 
 #include basegfx/matrix/b2dhommatrixtools.hxx
@@ -63,6 +64,11 @@ void TemplateView::InsertItems (const 
std::vectorTemplateItemProperties rTemp
 pItem-maTitle = pCur-aName;
 pItem-setPath(pCur-aPath);
 pItem-maPreview1 = pCur-aThumbnail;
+if ( pCur-aThumbnail.IsEmpty() )
+{
+// Use the default thumbnail if we have nothing else
+pItem-maPreview1 = SfxTemplateManagerDlg::getDefaultThumbnail( 
pItem-getPath() );
+}
 pItem-setSelectClickHdl(LINK(this,ThumbnailView,OnItemSelected));
 
 mItemList.push_back(pItem);
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index bf51e37..c14a824 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -1533,6 +1533,31 @@ void SfxTemplateManagerDlg::syncRepositories() const
 }
 }
 
+BitmapEx SfxTemplateManagerDlg::getDefaultThumbnail( const OUString rPath )
+{
+INetURLObject aUrl(rPath);
+OUString aExt = aUrl.getExtension();
+
+BitmapEx aImg;
+if ( aExt == ott || aExt == stw || aExt == oth || aExt == dot || 
aExt == dotx )
+{
+aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_TEXT ) );
+}
+else if ( aExt == ots || aExt == stc || aExt == xlt || aExt == 
xltm || aExt == xltx )
+{
+aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_SHEET ) );
+}
+else if ( aExt == otp || aExt == sti || aExt == pot || aExt == 
potm || aExt == potx )
+{
+aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_PRESENTATION ) );
+}
+else if ( aExt == otg || aExt == std )
+{
+aImg = BitmapEx ( SfxResId( SFX_THUMBNAIL_DRAWING ) );
+}
+return aImg;
+}
+
 static bool lcl_getServiceName ( const OUString rFileURL, OUString rName )
 {
 bool bRet = false;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: xmloff/source

2013-02-01 Thread Radek Doulik
 xmloff/source/draw/shapeexport4.cxx|   24 
 xmloff/source/draw/ximpcustomshape.cxx |   28 
 2 files changed, 52 insertions(+)

New commits:
commit 143ecebc73e84dfcafdc2577f811152b4a415fde
Author: Radek Doulik r...@novell.com
Date:   Fri Feb 1 12:25:23 2013 +0100

export darken/darkeless/lighten/lightenless commands

Change-Id: I4531ab82a52e3da41f12409185f7c0730381aa23

diff --git a/xmloff/source/draw/shapeexport4.cxx 
b/xmloff/source/draw/shapeexport4.cxx
index 1bb5481..ce504fe 100644
--- a/xmloff/source/draw/shapeexport4.cxx
+++ b/xmloff/source/draw/shapeexport4.cxx
@@ -413,6 +413,30 @@ void ImpExportEnhancedPath( SvXMLExport rExport,
 i += 2;
 }
 break;
+case 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::DARKEN :
+if ( bExtended )
+aStrBuffer.append( (sal_Unicode)'H' );
+else
+bNeedExtended = true;
+break;
+case 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::DARKENLESS :
+if ( bExtended )
+aStrBuffer.append( (sal_Unicode)'I' );
+else
+bNeedExtended = true;
+break;
+case 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::LIGHTEN :
+if ( bExtended )
+aStrBuffer.append( (sal_Unicode)'J' );
+else
+bNeedExtended = true;
+break;
+case 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::LIGHTENLESS :
+if ( bExtended )
+aStrBuffer.append( (sal_Unicode)'K' );
+else
+bNeedExtended = true;
+break;
 default : // ups, seems to be something wrong
 {
 aSegment.Count = 1;
diff --git a/xmloff/source/draw/ximpcustomshape.cxx 
b/xmloff/source/draw/ximpcustomshape.cxx
index a3406ed..1a280ef 100644
--- a/xmloff/source/draw/ximpcustomshape.cxx
+++ b/xmloff/source/draw/ximpcustomshape.cxx
@@ -702,6 +702,34 @@ void GetEnhancedPath( std::vector 
com::sun::star::beans::PropertyValue  rDest
 nIndex++;
 }
 break;
+case 'H' :
+{
+nLatestSegmentCommand = 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::DARKEN;
+nParametersNeeded = 0;
+nIndex++;
+}
+break;
+case 'I' :
+{
+nLatestSegmentCommand = 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::DARKENLESS;
+nParametersNeeded = 0;
+nIndex++;
+}
+break;
+case 'J' :
+{
+nLatestSegmentCommand = 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::LIGHTEN;
+nParametersNeeded = 0;
+nIndex++;
+}
+break;
+case 'K' :
+{
+nLatestSegmentCommand = 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::LIGHTENLESS;
+nParametersNeeded = 0;
+nIndex++;
+}
+break;
 case 'W' :
 {
 nLatestSegmentCommand = 
com::sun::star::drawing::EnhancedCustomShapeSegmentCommand::CLOCKWISEARCTO;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: external/CustomTarget_stdlibs.mk external/Module_external.mk external/Package_stdlibs.mk solenv/gbuild

2013-02-01 Thread Petr Mladek
 external/CustomTarget_stdlibs.mk   |   21 +
 external/Module_external.mk|   10 ++
 external/Package_stdlibs.mk|   17 +
 solenv/gbuild/platform/com_GCC_defs.mk |3 +++
 solenv/gbuild/platform/unxgcc.mk   |8 ++--
 5 files changed, 53 insertions(+), 6 deletions(-)

New commits:
commit b4801abd2ee1ffa037e654731ffc20d6ff2c701c
Author: Petr Mladek pmla...@suse.cz
Date:   Thu Jan 31 14:39:06 2013 +0100

gbuild: copy stdlibs into solver again when they are bundled in the 
installer

Otherwise the build --without-system-stdlibs fails; This option is used
for the universal Linux build

Change-Id: I0f7d87bb161d50748fee05f9c3f6a4b87b788aa4
Reviewed-on: https://gerrit.libreoffice.org/1938
Reviewed-by: David Tardon dtar...@redhat.com
Tested-by: David Tardon dtar...@redhat.com

diff --git a/external/CustomTarget_stdlibs.mk b/external/CustomTarget_stdlibs.mk
new file mode 100644
index 000..786cb15
--- /dev/null
+++ b/external/CustomTarget_stdlibs.mk
@@ -0,0 +1,21 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CustomTarget_CustomTarget,external/stdlibs))
+
+$(eval $(call gb_CustomTarget_register_targets,external/stdlibs,\
+   libgcc_s.so.$(gb_SHORTSTDC3) \
+   libstdc++.so.$(gb_SHORTSTDCPP3) \
+))
+
+$(call gb_CustomTarget_get_workdir,external/stdlibs)/lib%:
+   $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),STL,1)
+   $(PERL) -w $(SOLARENV)/bin/gccinstlib.pl $(notdir $@) $(dir $@)
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/external/Module_external.mk b/external/Module_external.mk
index c5a312a..757c06b 100644
--- a/external/Module_external.mk
+++ b/external/Module_external.mk
@@ -30,6 +30,16 @@ $(eval $(call gb_Module_add_targets,external,\
 ))
 endif
 
+ifeq ($(SYSTEM_STDLIBS),NO)
+ifeq ($(gb_CPPU_ENV),gcc3)
+$(eval $(call gb_Module_add_targets,external,\
+   CustomTarget_stdlibs \
+   Package_stdlibs \
+))
+endif
+endif
+
+
 ifeq ($(HAVE_GETOPT),NO)
 $(eval $(call gb_Module_add_targets,external,\
UnpackedTarball_glibc \
diff --git a/external/Package_stdlibs.mk b/external/Package_stdlibs.mk
new file mode 100644
index 000..2a074b5
--- /dev/null
+++ b/external/Package_stdlibs.mk
@@ -0,0 +1,17 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Package_Package,stdlibs,$(call 
gb_CustomTarget_get_workdir,external/stdlibs)))
+
+$(eval $(call gb_Package_add_files,stdlibs,lib, \
+   libgcc_s.so.$(gb_SHORTSTDC3) \
+   libstdc++.so.$(gb_SHORTSTDCPP3) \
+))
+
+# vim:set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk 
b/solenv/gbuild/platform/com_GCC_defs.mk
index 039333b..76a63e0 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -52,6 +52,9 @@ endif
 
 gb_CCVER := $(shell $(gb_CC) -dumpversion | $(gb_AWK) -F. -- '{ print 
$$1*1+$$2*100+$$3 }')
 
+gb_SHORTSTDC3 := 1
+gb_SHORTSTDCPP3 := 6
+
 gb_CPPU_ENV := gcc3
 
 gb_AFLAGS := $(AFLAGS)
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 5f1eb80..206a598 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -364,18 +364,14 @@ endef
 
 # InstallModuleTarget class
 
-# NOTE: values of SHORTSTDC3 and SHORTSTDCPP3 are hardcoded, because we
-# do not really need all the variability of definition that was
-# originally in solenv/inc/tg_compv.mk . Each of the macros is only used
-# on one place, and only for Linux.
 define gb_InstallModuleTarget_InstallModuleTarget_platform
 $(call gb_InstallModuleTarget_add_defs,$(1),\
$(gb_CPUDEFS) \
$(gb_OSDEFS) \
-DCOMID=gcc3 \
-DCOMNAME=gcc3 \
-   -DSHORTSTDC3=1 \
-   -DSHORTSTDCPP3=6 \
+   -DSHORTSTDC3=$(gb_SHORTSTDC3) \
+   -DSHORTSTDCPP3=$(gb_SHORTSTDCPP3) \
-D_gcc3 \
$(if $(filter TRUE,$(SOLAR_JAVA)),-DSOLAR_JAVA) \
 )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

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

   What|Removed |Added

 CC||jumbo4...@yahoo.fr
 Depends on||60144

--- Comment #98 from Laurent BP jumbo4...@yahoo.fr ---
Promote bug 60144
Crash in Impress when inserting hyperlink

-- 
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: 3.6.4 not updating

2013-02-01 Thread Jan Holesovsky
Hi Olivier,

Olivier Hallot píše v Pá 01. 02. 2013 v 08:53 -0200:

 Just to inform that checking for updates in 3.6.4 does not tell me 3.6.5
 is available.
 
 Have we enabled the server to return the right information?

No, sorry, I keep forgetting to do that :-(  I'll have a look later
today.

But it is actually trivial, and anybody can do it - so if there is
anybody who is willing to do this regularly, it would be most
appreciated:

# clone the repository, and switch to the right branch
git clone git://anongit.freedesktop.org/libreoffice/website update
cd update
git checkout -b update origin/update

# edit check.php:
vim check.php
# do a change like 
#
http://cgit.freedesktop.org/libreoffice/website/commit/?h=updateid=883494dc52ed9aebe8b6072a52d047d7b075bbdc
# ie.:
# - add previous version(s) to $update_versions array
#   (in the case of 3.6.4, you should uncomment the line under To be
#   uncommented when 3.6.4 Final is out, plus add 3.6.4 RC1)
# - put the gitid of the current version (that we should update to) to
#   'gitid' of the appropriate entry in the $update_map array
# - update the 'id' and 'version' of that entry too

To get the gitid, open the About dialog of the appropriate version (RC1
and final), and copy the gitid from there.

# test it in shell, run something like:

HTTP_USER_AGENT='LibreOffice 3.5
(235ab8a-3802056-4a8fed3-2d66ea8-e241b80; Windows; x86;
BundledLanguages=en-US af ar as ast be bg bn bo br brx bs ca ca-XV cs cy
da de dgo dz el en-GB en-ZA eo es et eu fa fi fr ga gd gl gu he hi hr hu
id is it ja ka kk km kn ko kok ks ku lb lo lt lv mai mk ml mn mni mr my
nb ne nl nn nr nso oc om or pa-IN pl pt pt-BR ro ru rw sa-IN sat sd sh
si sk sl sq sr ss st sv sw-TZ ta te tg th tn tr ts tt ug uk uz ve vi xh
zh-CN zh-TW zu)' HTTP_ACCEPT_LANGUAGE=cs-CZ php5 ./check.php

should return something like

?xml version=1.0 encoding=utf-8?
inst:description
xmlns:inst=http://update.libreoffice.org/description;
  inst:idLibreOffice 3.5.7/inst:id
  inst:gitid3215f89-f603614-ab984f2-7348103-1225a5b/inst:gitid
  inst:osWindows/inst:os
  inst:archx86/inst:arch
  inst:version3.5.7/inst:version
  inst:buildid/inst:buildid
  inst:update type=text/html
src=http://www.libreoffice.org/download/?type=win-x86amp;lang=csamp;version=3.5.7;
 /
/inst:description

HTTP_USER_AGENT=LibreOffice 3.5
(e371a95-bf68a13-5a1aa2b-d3c1ae9-b938258; MacOSX; x86;
BundledLanguages=en-US) HTTP_ACCEPT_LANGUAGE=cs-CZ php check.php

should return something like

?xml version=1.0 encoding=utf-8?
inst:description
xmlns:inst=http://update.libreoffice.org/description;
  inst:idLibreOffice 3.6.3/inst:id
  inst:gitid58f22d5-270d05a-e2abed1-ea17a85-9b5702/inst:gitid
  inst:osMacOSX/inst:os
  inst:archx86/inst:arch
  inst:version3.6.3/inst:version
  inst:buildid/inst:buildid
  inst:update type=text/html
src=http://cs.libreoffice.org/stahnout/; /
/inst:description

HTTP_USER_AGENT=LOdev 3.6 (1f1cdd8-e28082e-41df8bf-b153627-a97a84;
Windows; x86; BundledLanguages=en-US af am ar as ast be bg bn bn-IN bo
br brx bs ca ca-XV cs cy da de dgo dz el en-GB en-ZA eo es et eu fa fi
fr ga gd gl gu he hi hr hu id is it ja ka kk km kn ko kok ks ku lb lo lt
lv mai mk ml mn mni mr my nb ne nl nn nr nso oc om or pa-IN pl pt pt-BR
qtz ro ru rw sa-IN sat sd sh si sk sl sq sr ss st sv sw-TZ ta te tg th
tn tr ts tt ug uk uz ve vi xh zh-CN zh-TW zu)
HTTP_ACCEPT_LANGUAGE=cs-CZ php check.php

should return something like

?xml version=1.0 encoding=utf-8?
inst:description
xmlns:inst=http://update.libreoffice.org/description;
  inst:idLibreOffice 3.6.3/inst:id
  inst:gitid58f22d5-270d05a-e2abed1-ea17a85-9b5702/inst:gitid
  inst:osWindows/inst:os
  inst:archx86/inst:arch
  inst:version3.6.3/inst:version
  inst:buildid/inst:buildid
  inst:update type=text/html
src=http://cs.libreoffice.org/stahnout/; /
/inst:description

# commit it  send the patch for rewiew
git commit -a # use commit message like Offer update to 3.6.3.2 (3.6.3 Final).
git format-patch origin/update

Then please send the resulting patch here  CC me, and I'll deploy
it :-)

Thank you a lot,
Kendy


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


Change in core[libreoffice-4-0]: Hyperlink is an optional property, fdo#58858

2013-02-01 Thread Noel Power (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1941

Approvals:
  Noel Power: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I30f2b0cdb72951a47cfd8d0091b5418fd59efe83
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Noel Power noel.po...@suse.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: Template Manager: show some icons if there is no thumbnail

2013-02-01 Thread Miklos Vajna (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1948

Approvals:
  Miklos Vajna: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2686d6f1d29862878b5ee0f6ca0d2e746766ef21
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Bosdonnat Cedric cedric.bosdon...@free.fr
Gerrit-Reviewer: Miklos Vajna vmik...@suse.cz
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[master]: gbuild: copy stdlibs into solver again when they are bundled...

2013-02-01 Thread David Tardon (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1938

Approvals:
  David Tardon: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0f7d87bb161d50748fee05f9c3f6a4b87b788aa4
Gerrit-PatchSet: 4
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: David Tardon dtar...@redhat.com
Gerrit-Reviewer: Petr Mladek pmla...@suse.cz
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[ANN] LibreOffice 4.0.0 RC3 test builds available

2013-02-01 Thread Fridrich Strba
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi *,

for the upcoming new version 4.0.0, the RC3 builds now start to be
available on pre-releases. This build is slated to be third release
candidate build on the way towards 4.0.0, please refer to our release
plan timings here:

 http://wiki.documentfoundation.org/ReleasePlan#4.0_release

Builds are now being uploaded to a public (but non-mirrored - so don't
spread news too widely!) place, as soon as they're available. Grab
them here:

 http://dev-builds.libreoffice.org/pre-releases/

If you've a bit of time, please give them a try  report *critical*
bugs not yet in bugzilla here, so we can incorporate them into the
release notes. Please note that it takes approximately 24 hours to
populate the mirrors, so that's about the time we have to collect
feedback.

NOTE: This build is in a release configuration and _will_ replace your
existing LibreOffice install on Windows.

The list of fixed bugs relative to 4.0.0 RC2 is here:

 
http://dev-builds.libreoffice.org/pre-releases/src/bugs-libreoffice-4-0-0-release-4.0.0.3.log


So playing with the areas touched there also greatly appreciated - and
validation that those bugs are really fixed.

Thanks a lot for your help,
Fridrich

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlELpRIACgkQu9a1imXPdA9HPQCcD6YT+C75eB5ToMwTsiNuRWm+
ZWsAoIbxV8V34H47zVS3UYjQxDYSC2RV
=FAQY
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: cpputools/source

2013-02-01 Thread Tor Lillqvist
 cpputools/source/unoexe/unoexe.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit de868f41da66a51185df15a389d9d297c7dda149
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 1 14:10:20 2013 +0200

Don't print an annoying newline every time even if otherwise silent

Change-Id: If819c60a4d1fb3af2f4f87e0e4acfd00ecad95d3

diff --git a/cpputools/source/unoexe/unoexe.cxx 
b/cpputools/source/unoexe/unoexe.cxx
index c5bc7bf..7f3361a 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -671,10 +671,10 @@ SAL_IMPLEMENT_MAIN()
 if (xComp.is())
 xComp-dispose();
 
+#if OSL_DEBUG_LEVEL  1
 out( \n );
+#endif
 return nRet;
 }
 
-
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: setup_native/scripts

2013-02-01 Thread Tor Lillqvist
 setup_native/scripts/linuxpatchscript.sh |  101 ---
 1 file changed, 101 deletions(-)

New commits:
commit bb94a059f653517a9498ccbc34e47a4f1b218cda
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 1 14:36:09 2013 +0200

Actually remove it

Change-Id: I519e4cfb7821644f243e0c4770f74f6ee6657168

diff --git a/setup_native/scripts/linuxpatchscript.sh 
b/setup_native/scripts/linuxpatchscript.sh
deleted file mode 100644
index d324f57..000
--- a/setup_native/scripts/linuxpatchscript.sh
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#
-# 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 .
-#
-
-MYUID=`id | sed s/(.*//g | sed s/.*=//`
-
-if [ $MYUID -ne 0 ]
-then
-echo You need to have super-user permissions to run this patch script
-exit 1
-fi
-
-echo
-echo Searching for the PRODUCTNAMEPLACEHOLDER installation ...
-
-RPMNAME=`rpm -qa | grep SEARCHPACKAGENAMEPLACEHOLDER`
-
-if [ x$RPMNAME != x ]
-then
-  PRODUCTINSTALLLOCATION=`rpm --query --queryformat %{INSTALLPREFIX} 
$RPMNAME`
-  FULLPRODUCTINSTALLLOCATION=${PRODUCTINSTALLLOCATION}/PRODUCTDIRECTORYNAME
-else
-  echo PRODUCTNAMEPLACEHOLDER is not installed
-  exit 1
-fi
-
-# Last chance to exit ..
-echo
-read -p Patching the installation in ${FULLPRODUCTINSTALLLOCATION}. Continue 
(y/n) ?  -n 1 reply leftover
-echo
-[ $reply = y ] || exit 1
-
-echo
-echo About to update the following packages ...
-
-BASEDIR=`dirname $0`
-
-RPMLIST=
-for i in `ls $BASEDIR/RPMS/*.rpm`
-do
-  rpm --query `rpm --query --queryformat %{NAME}\n --package $i`  
RPMLIST=$RPMLIST $i
-done
-
-# Save UserInstallation value
-BOOTSTRAPRC=${FULLPRODUCTINSTALLLOCATION}/program/bootstraprc
-USERINST=`grep UserInstallation ${BOOTSTRAPRC}`
-
-# Check, if kde-integration rpm is available
-KDERPM=`ls $BASEDIR/RPMS/*.rpm | grep kde-integration`
-
-if [ x$KDERPM != x ]; then
-  # Check, that $RPMLIST does not contain kde integration rpm (then it is 
already installed)
-  KDERPMINSTALLED=`grep kde-integration ${RPMLIST}`
-
-  if [ x$KDERPMINSTALLED = x ]; then
-# Install the kde integration rpm
-RPMLIST=$RPMLIST $KDERPM
-  fi
-fi
-
-echo
-rpm --upgrade -v --hash --prefix $PRODUCTINSTALLLOCATION --notriggers $RPMLIST
-echo
-
-# Some RPM versions have problems with -U and --prefix
-if [ ! -f ${BOOTSTRAPRC} ]; then
-  echo Update failed due to a bug in RPM, uninstalling ..
-  rpm --erase -v --nodeps --notriggers `rpm --query --queryformat %{NAME}  
--package $RPMLIST`
-  echo
-  echo Now re-installing new packages ..
-  echo
-  rpm --install -v --hash --prefix $PRODUCTINSTALLLOCATION --notriggers 
$RPMLIST
-  echo
-fi
-
-# Restore the UserInstallation key if necessary
-DEFUSERINST=`grep UserInstallation ${BOOTSTRAPRC}`
-if [ ${USERINST} != ${DEFUSERINST} ]; then
-  mv -f ${BOOTSTRAPRC} ${BOOTSTRAPRC}.$$
-  sed s|UserInstallation.*|${USERINST}| ${BOOTSTRAPRC}.$$  ${BOOTSTRAPRC}
-  rm -f ${BOOTSTRAPRC}.$$
-fi
-
-echo Done.
-
-exit 0
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - config_host.mk.in configure.ac instsetoo_native/util Makefile.in setup_native/source solenv/bin sysui/desktop

2013-02-01 Thread Tor Lillqvist
 Makefile.in   |   35 --
 config_host.mk.in |3 +
 configure.ac  |   64 ++
 instsetoo_native/util/openoffice.lst.in   |6 ++
 setup_native/source/mac/Info.plist.langpack   |2 
 solenv/bin/modules/installer/simplepackage.pm |3 -
 sysui/desktop/macosx/Info.plist   |2 
 7 files changed, 106 insertions(+), 9 deletions(-)

New commits:
commit ebdd616580bb0d367b78ba0fe3fa56157b90c3ab
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Feb 1 14:48:15 2013 +0200

Add option to set bundle identifier and use it when signing

Sign also all the dylibs and frameworks in the bundle.

Change-Id: I7f67b9d7eda0204b24e2ea2ef44a53fb8db0f8aa

diff --git a/Makefile.in b/Makefile.in
index 92b680f..f9e38dd7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -334,11 +334,36 @@ ifeq ($(OS_FOR_BUILD),WNT)
 else
 ifeq ($(DISABLE_LINKOO),TRUE)
@ooinstall $(DEVINSTALLDIR)/opt
-ifeq ($(OS),MACOSX)
-   identity=`security find-identity -p codesigning -v | grep 'Mac 
Developer:' | awk '{print $$2}'`; \
-   if test -n $$identity; then \
-   codesign --verbose --sign $$identity 
$(DEVINSTALLDIR)/opt/LibreOffice.app; \
-   fi
+ifneq ($(MACOSX_CODESIGNING_IDENTITY),)
+#
+# Sign dylibs
+   find $(DEVINSTALLDIR)/opt/LibreOffice.app \( -name '*.dylib' -or -name 
'*.dylib.*' \) ! -type l | \
+while read dylib; do \
+id=`basename $$dylib`; \
+case $$id in \
+*.dylib) \
+;; \
+*) \
+id=`echo $$id | sed -e 's/dylib.*/dylib/'`; \
+;; \
+esac; \
+codesign --verbose --identifier=$(MACOSX_BUNDLE_IDENTIFIER).$$id 
--sign $(MACOSX_CODESIGNING_IDENTITY) $$dylib; \
+done
+#
+# Sign frameworks.
+#
+# Yeah, we don't bundle any other framework than our Python one, and
+# it has just one version, so this generic search is mostly for
+# completeness.
+   for framework in `find $(DEVINSTALLDIR)/opt/LibreOffice.app -name 
'*.framework' -type d`; do \
+for version in $$framework/Versions/*; do \
+test -d $$version  codesign --force --verbose 
--prefix=$(MACOSX_BUNDLE_IDENTIFIER). --sign $(MACOSX_CODESIGNING_IDENTITY) 
$$version; \
+done; \
+done
+#
+# Sign the app bundle as a whole (will sign the soffice binary)
+   codesign --verbose --sign $(MACOSX_CODESIGNING_IDENTITY) 
$(DEVINSTALLDIR)/opt/LibreOffice.app
+#
 endif
@install-gdb-printers -L
 else
diff --git a/config_host.mk.in b/config_host.mk.in
index 4da38e7..22f923d 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -320,6 +320,7 @@ export LIBXSLT_LIBS=$(gb_SPACE)@LIBXSLT_LIBS@
 export LINK_X64_BINARY=@LINK_X64_BINARY@
 @x_Cygwin@ export LS=@WIN_LS@
 export MANDIR=@MANDIR@
+export MACOSX_BUNDLE_IDENTIFIER=@MACOSX_BUNDLE_IDENTIFIER@
 export MACOSX_CODESIGNING_IDENTITY=@MACOSX_CODESIGNING_IDENTITY@
 export MACOSX_DEPLOYMENT_TARGET=@MACOSX_DEPLOYMENT_TARGET@
 export MACOSX_DEPLOYMENT_TARGET_FOR_BUILD=@MACOSX_DEPLOYMENT_TARGET_FOR_BUILD@
diff --git a/configure.ac b/configure.ac
index 7f9fa4d..2c27d51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1125,6 +1125,12 @@ AC_ARG_ENABLE(macosx-sandbox,
  don't use unless you are working on this.]),
 ,)
 
+AC_ARG_WITH(macosx-bundle-identifier,
+
AS_HELP_STRING([--with-macosx-bundle-identifier=tld.mumble.orifice.TheOffice],
+[Define the OS X bundle identifier. Default is the somewhat weird
+ org.libreoffice.script (script, huh?).]),
+,with_macosx_bundle_identifier=org.libreoffice.script)
+
 AC_ARG_ENABLE(postgresql-sdbc,
 AS_HELP_STRING([--disable-postgresql-sdbc],
 [Disable the build of the PostgreSQL-SDBC driver.])
@@ -2743,6 +2749,12 @@ if test $_os = Darwin; then
 else
 AC_MSG_RESULT([no])
 fi
+
+AC_MSG_CHECKING([what OS X app bundle identifier to use])
+
+MACOSX_BUNDLE_IDENTIFIER=$with_macosx_bundle_identifier
+
+AC_MSG_RESULT([$MACOSX_BUNDLE_IDENTIFIER])
 fi
 AC_SUBST(FRAMEWORKSHOME)
 AC_SUBST(MACOSX_SDK_PATH)
@@ -2753,6 +2765,7 @@ AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED)
 AC_SUBST(XCRUN)
 AC_SUBST(MACOSX_CODESIGNING_IDENTITY)
 AC_SUBST(ENABLE_MACOSX_SANDBOX)
+AC_SUBST(MACOSX_BUNDLE_IDENTIFIER)
 
 dnl ===
 dnl Windows specific tests and stuff
diff --git a/instsetoo_native/util/openoffice.lst.in 
b/instsetoo_native/util/openoffice.lst.in
index a6f54ca..5b1b861 100644
--- a/instsetoo_native/util/openoffice.lst.in
+++ b/instsetoo_native/util/openoffice.lst.in
@@ -47,6 +47,7 @@ LibreOffice
 PRODUCTVERSION @LIBO_VERSION_MAJOR@.@LIBO_VERSION_MINOR@
 PRODUCTEXTENSION 
.@LIBO_VERSION_MICRO@.@LIBO_VERSION_PATCH@@LIBO_VERSION_SUFFIX@
 POSTVERSIONEXTENSION
+BUNDLEIDENTIFIER @MACOSX_BUNDLE_IDENTIFIER@
  

Minutes of ESC call, January 31, 2012

2013-02-01 Thread Petr Mladek
* Present:
+ Andras, Kohei, Markus, Cedric, Joel, Stefan, Eilidh, Astron, Eike, 
Petr
+ many people were missing, so only few action items were updated

* Completed Action Items
+ decision on whether to switch back to old floppy save (Astron)
+ done for 4.0.0.3
+ FOSDEM: misc. new interop. feature and their development
  Markus will write to Italo to add Eilidh's talk (Markus)
+ come up with / improve the existing concrete funding request
  for build hardware = board budget (Thorsten)

* Pending Action Items
+ completing generic / Linux builds - RedHat (Caolan)
+ find person who can write and add off-line help for
  impress-remote (Thorsten)
+ get tshirts / hoodies printed (kendy)
+ create/request mail alias for certification (Bjoern)
+ Bugzilla attachments not set to autodetect (Bjoern)
+ Update gsoc ideas page before FOSDEM
  https://wiki.documentfoundation.org/Development/Gsoc/Ideas (all)
+ everybody should update their their tasks and add new ones
+ not much activity so far; FOSDEM might bring more ideas
+ Investigate native build/env scripts for SDK (Bjoern)
+ regression catching on tinderbox
  Figure out time-out issues (Markus)
+ Presenter console patches 4-0 backport (Michael M)
+ STLPort removal - release-note: Document dropping the DLL and the
  VS run-time on the system in the release-notes (Fridrich)
+ full-word selection / editing ergonomics cf. UX-advise
 + https://bugs.freedesktop.org/show_bug.cgi?id=46517
 + pending input from Caolan / Cedric / Michael S
+ create a new AmbitiousHacks wiki page, based on GSOC page
  (Michael M)
+ investigate re-using Win32 binary signing for Mac (Thorsten)
+ on-line help for impress-remote would be useful, help appreciated
+ add off-line help and it'll appear on-line when kendy
fixes server load issues.
+ minimal triage for good mentors for proposed easy hacks (Bjoern)
+ disable Rhino / Beanshell unless in experimental mode (Michael M)
+ tweak the configure defaults (Kendy)
+ no submodules by default, no gnome-vfs
+ Ubuntu font licensing questions, clarify at Canonical (Bjoern)
+ MySQL connector - can/will/where to ship it (Thorsten)


* Release Engineering update (Petr)
+ 4.0 timeline:
+ RC3 tagged, builds in progress
+ was a bit painful; thanks everyone for the hard work,
  especially Stefan, Eike, and Norbert for working on the last
  minute blockers
+ still within the schedule
+ final release following week if no blocker
+ next: 4.0.1.1 commit deadline on Feb 18, 2013
+ 3.6.5
+ out; went well
+ next: 3.6.6.1 commit deadline on March 18, 2013


* UX input (Astron)
+ 4.0/4.x branding
+ the selected branding was not widely accepted
+ new pool started, see 
http://nabble.documentfoundation.org/4-0-Branding-poll-td4032751.html
+ no visible winner right now
+ branding based on the new pool should be ready on February 19 =
  it might be used in 4.0.1.1 build

* Features - please check/update:
+ http://wiki.documentfoundation.org/ReleaseNotes/4.0
+ missing Mac / full-screen bits (Tor)

* 4.0 pending tasks
+ MySQL connector compat issues
+ binfilter:
+ warn on legacy file-types with helpful dialog (no owner)
+ it is late for 4.0 because of string and UI freeze
+ drop Mozilla mess in the tree:
+ https://bugs.freedesktop.org/show_bug.cgi?id=56902
+ lots of cleanup in configure
+ Unix / LDAP addressbook support disappeared:
+ https://bugs.freedesktop.org/show_bug.cgi?id=57417
+ close that wontfix  release-note it ?
+ template managers improvements (Cedric)
+ there are still issues that need handling
+ nothing serious
+ string and bigger UI changes should wait for 4.1 (Petr)
+ small UI changes might be acceptable for 4.0.1 if
  they fix annoying issues (Petr)

* Hard Hacks:
+ http://wiki.documentfoundation.org/HardHacks
+ will get updated next week after QA meeting (Joel)
+ developers are still more focused on 4.0 regressions and critical bugs 
(Petr)

* QA update (Joel)
+ new members this week, very active in triagging, list goes down
+ updated queries show that more bugs need review
+ there are fruits from teaching users; new bug reports have
  better quality because people accept feedback and hints from
  their older reports; they are listening
+ 4.0 looks good
+ help is needed with triagging the following bugs:
  

[Libreoffice-commits] .: config_host/README

2013-02-01 Thread Luboš Luňák
 config_host/README |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit fdafe9505ce78a8fb7f65c319c2e577bc96f6ff6
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 14:19:18 2013 +0100

fix documentation for config_xxx.h files

Not that I know why the directory had to be renamed in the first place.

Change-Id: I3e4d07591876636ae4930240ac1acc68522fb94f

diff --git a/config_host/README b/config_host/README
index fd58b64..349c4bc 100644
--- a/config_host/README
+++ b/config_host/README
@@ -11,14 +11,14 @@ Adding a new setting:
 =
 
 - do AC_DEFINE(HAVE_FOO) in configure.ac when a setting should be set
-- choose the proper config/config_xxx.h file to use
+- choose the proper config_host/config_xxx.h file to use
 - if it is a global setting (such as availability of a compiler feature),
-use config/config_global.h
-- otherwise check if there is a matching config/config_hxx.h file
+use config_host/config_global.h
+- otherwise check if there is a matching config_host/config_hxx.h file
 - if none matches, add a new one:
-- add config/config_xxx.h.in here, with just #ifndef include guard
-- add AC_CONFIG_HEADERS([config/config_xxx.h]) next to the others
+- add config_host/config_xxx.h.in here, with just #ifndef include guard
+- add AC_CONFIG_HEADERS([config_host/config_xxx.h]) next to the others
 in configure.ac
-- add config_hxx.h to config/.gitignore
-- add #undef HAVE_FOO to the config/config_hxx.h , possibly with a comment
+- add config_hxx.h to config_host/.gitignore
+- add #undef HAVE_FOO to the config_host/config_hxx.h , possibly with a comment
 - add #include config_xxx.h before any #ifdef HAVE_XXX in a source file
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 8 commits - compilerplugins/Makefile-clang.mk sw/source vcl/source xmloff/inc xmloff/source

2013-02-01 Thread Luboš Luňák
 compilerplugins/Makefile-clang.mk|2 
 sw/source/filter/ww8/docxattributeoutput.cxx |2 
 sw/source/filter/xml/swxml.cxx   |4 +
 sw/source/filter/xml/xmlexp.cxx  |   93 +--
 sw/source/filter/xml/xmlexp.hxx  |6 +
 sw/source/filter/xml/xmlfonte.cxx|   15 
 sw/source/filter/xml/xmlimp.cxx  |   85 +++-
 sw/source/filter/xml/xmlimp.hxx  |5 +
 sw/source/ui/uiview/view.cxx |6 +
 vcl/source/gdi/outdev3.cxx   |   12 +--
 xmloff/inc/xmloff/XMLFontStylesContext.hxx   |   43 
 xmloff/source/style/XMLFontStylesContext.cxx |   41 ---
 12 files changed, 145 insertions(+), 169 deletions(-)

New commits:
commit 5ceaa68ca51c4d182210a28a64d574de6170b9ca
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 14:23:46 2013 +0100

one more config/ - config_host/ fix after the rename

Change-Id: I347790e1ca2ee6a27303d3644aa1459ff76ba4b0

diff --git a/compilerplugins/Makefile-clang.mk 
b/compilerplugins/Makefile-clang.mk
index 53c0f2c..205f605 100644
--- a/compilerplugins/Makefile-clang.mk
+++ b/compilerplugins/Makefile-clang.mk
@@ -53,7 +53,7 @@ CLANGOBJS=
 define clangbuildsrc
 $(3): $(2) $(SRCDIR)/compilerplugins/Makefile-clang.mk 
$(CLANGOUTDIR)/clang-timestamp
@echo [build CXX] $(subst $(SRCDIR)/,,$(2))
-   $(CXX) $(CLANGCXXFLAGS) $(CLANGDEFS) $(CLANGINCLUDES) 
-I$(BUILDDIR)/config $(2) -fPIC -c -o $(3) -MMD -MT $(3) -MP -MF 
$(CLANGOUTDIR)/$(1).d
+   $(CXX) $(CLANGCXXFLAGS) $(CLANGDEFS) $(CLANGINCLUDES) 
-I$(BUILDDIR)/config_host $(2) -fPIC -c -o $(3) -MMD -MT $(3) -MP -MF 
$(CLANGOUTDIR)/$(1).d
 
 -include $(CLANGOUTDIR)/$(1).d
 
commit 4a4c5f331b495d758aaad4e7253b13883dc863a9
Author: Luboš Luňák l.lu...@suse.cz
Date:   Thu Jan 31 18:30:31 2013 +0100

consolidate the ugly code for getting SwDoc* to a function

I'm not quite sure why the code has to do it this complicated way,
but at least it's just in one (ok, two) places. Additionally, it
seems all those checks are needless paranoia, so just assert.

Change-Id: I9f0d4ecc5aec6995eb66ae553a4bd92cc5450b86

diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index 7148709..2d2d903 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -88,6 +88,7 @@ SwXMLExport::SwXMLExport(
 pTableLines( 0 ),
 bBlock( sal_False ),
 bShowProgress( sal_True ),
+doc( NULL ),
 sNumberFormat(RTL_CONSTASCII_USTRINGPARAM(NumberFormat)),
 sIsProtected(RTL_CONSTASCII_USTRINGPARAM(IsProtected)),
 sCell(RTL_CONSTASCII_USTRINGPARAM(Cell))
@@ -108,13 +109,6 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum 
eClass )
 
 SwPauseThreadStarting aPauseThreadStarting; // #i73788#
 
-Reference  XTextDocument  xTextDoc( GetModel(), UNO_QUERY );
-Reference  XText  xText = xTextDoc-getText();
-ReferenceXUnoTunnel xTextTunnel( xText, UNO_QUERY);
-OSL_ENSURE( xTextTunnel.is(), missing XUnoTunnel for Cursor );
-if( !xTextTunnel.is() )
-return ERR_SWG_WRITE_ERROR;
-
 // from here, we use core interfaces - lock Solar-Mutex
 SolarMutexGuard aGuard;
 
@@ -135,13 +129,7 @@ sal_uInt32 SwXMLExport::exportDoc( enum XMLTokenEnum 
eClass )
 }
 }
 
-SwXText *pText = reinterpret_cast SwXText * (
-sal::static_int_cast sal_IntPtr ( xTextTunnel-getSomething( 
SwXText::getUnoTunnelId() )));
-OSL_ENSURE( pText, SwXText missing );
-if( !pText )
-return ERR_SWG_WRITE_ERROR;
-
-SwDoc *pDoc = pText-GetDoc();
+SwDoc *pDoc = getDoc();
 
 sal_Bool bExtended = sal_False;
 if( (getExportFlags()  (EXPORT_FONTDECLS|EXPORT_STYLES|
@@ -377,30 +365,7 @@ void SwXMLExport::GetViewSettings(SequencePropertyValue 
aProps)
 pValue[nIndex].Name = OUString( RTL_CONSTASCII_USTRINGPARAM ( Views) );
 pValue[nIndex++].Value = Reference  XIndexAccess  ( xBox, UNO_QUERY );
 
-Reference  XText  xText;
-SwXText *pText = 0;
-
-if( GetModel().is() )
-{
-Reference  XTextDocument  xTextDoc( GetModel(), UNO_QUERY );
-xText = xTextDoc-getText();
-ReferenceXUnoTunnel xTextTunnel( xText, UNO_QUERY);
-OSL_ENSURE( xTextTunnel.is(), missing XUnoTunnel for Cursor );
-if( xTextTunnel.is() )
-{
-pText = reinterpret_cast SwXText * (
-sal::static_int_cast sal_IntPtr ( 
xTextTunnel-getSomething( SwXText::getUnoTunnelId()) ));
-OSL_ENSURE( pText, SwXText missing );
-}
-}
-
-if( !pText )
-{
-aProps.realloc(nIndex);
-return;
-}
-
-SwDoc *pDoc = pText-GetDoc();
+SwDoc *pDoc = getDoc();
 const Rectangle rRect =
 pDoc-GetDocShell()-GetVisArea( ASPECT_CONTENT );
 sal_Bool bTwip = pDoc-GetDocShell()-GetMapUnit ( ) == MAP_TWIP;
@@ -476,31 +441,16 @@ sal_Int32 

[Libreoffice-commits] .: sw/source xmloff/inc xmloff/Library_xo.mk xmloff/source

2013-02-01 Thread Luboš Luňák
 sw/source/filter/xml/xmlfonte.cxx|   23 -
 sw/source/filter/xml/xmlimp.hxx  |2 
 xmloff/Library_xo.mk |1 
 xmloff/inc/xmloff/XMLFontAutoStylePool.hxx   |5 -
 xmloff/inc/xmloff/XMLFontStylesContext.hxx   |   39 
 xmloff/inc/xmloff/xmlimp.hxx |2 
 xmloff/inc/xmloff/xmltoken.hxx   |2 
 xmloff/source/core/xmltoken.cxx  |2 
 xmloff/source/style/XMLFontAutoStylePool.cxx |  111 +++-
 xmloff/source/style/XMLFontStylesContext.cxx |  124 +++
 10 files changed, 304 insertions(+), 7 deletions(-)

New commits:
commit 989d0953a4d69bef3c8aba8e9dc7758194adcdc4
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 14:26:36 2013 +0100

basic support for embedded fonts in odt (fdo#42195)

There are still places that should be improved a bit, but this works.

Change-Id: Ieb7947a294ec95b6fd8cec2e8c4bc731e2594c42

diff --git a/sw/source/filter/xml/xmlfonte.cxx 
b/sw/source/filter/xml/xmlfonte.cxx
index 4b4e48c..60e9dca5 100644
--- a/sw/source/filter/xml/xmlfonte.cxx
+++ b/sw/source/filter/xml/xmlfonte.cxx
@@ -25,6 +25,7 @@
 #include unotext.hxx
 #include doc.hxx
 #include xmlexp.hxx
+#include xmlimp.hxx
 
 
 using namespace ::com::sun::star::uno;
@@ -35,13 +36,13 @@ class SwXMLFontAutoStylePool_Impl: public 
XMLFontAutoStylePool
 {
 public:
 
-SwXMLFontAutoStylePool_Impl( SwXMLExport rExport );
+SwXMLFontAutoStylePool_Impl( SwXMLExport rExport, bool blockFontEmbedding 
);
 
 };
 
 SwXMLFontAutoStylePool_Impl::SwXMLFontAutoStylePool_Impl(
-SwXMLExport _rExport ) :
-XMLFontAutoStylePool( _rExport )
+SwXMLExport _rExport, bool blockFontEmbedding ) :
+XMLFontAutoStylePool( _rExport, blockFontEmbedding )
 {
 sal_uInt16 aWhichIds[3] = { RES_CHRATR_FONT, RES_CHRATR_CJK_FONT,
 RES_CHRATR_CTL_FONT };
@@ -75,7 +76,21 @@ SwXMLFontAutoStylePool_Impl::SwXMLFontAutoStylePool_Impl(
 
 XMLFontAutoStylePool* SwXMLExport::CreateFontAutoStylePool()
 {
-return new SwXMLFontAutoStylePool_Impl( *this );
+bool blockFontEmbedding = false;
+// We write font info to both content.xml and styles.xml, but they are both
+// written by different SwXMLExport instance, and would therefore write 
each
+// font file twice without complicated checking for duplicates, so handle
+// the embedding only in one of them.
+if(( getExportFlags()  EXPORT_CONTENT ) == 0 )
+blockFontEmbedding = true;
+if( !getDoc()-get( IDocumentSettingAccess::EMBED_FONTS ))
+blockFontEmbedding = true;
+return new SwXMLFontAutoStylePool_Impl( *this, !blockFontEmbedding );
+}
+
+void SwXMLImport::NotifyEmbeddedFontRead()
+{
+getDoc()-set( IDocumentSettingAccess::EMBED_FONTS, true );
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index 093aea3..9922360 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -197,6 +197,8 @@ public:
 ::com::sun::star::document::XDocumentProperties
 GetDocumentProperties() const;
 
+virtual void NotifyEmbeddedFontRead() SAL_OVERRIDE;
+
 const SwDoc* getDoc() const;
 SwDoc* getDoc();
 };
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index a24b6fd..7ffa8ba 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -50,6 +50,7 @@ $(eval $(call gb_Library_use_libraries,xo,\
 svl \
 tl \
 utl \
+vcl \
$(gb_UWINAPI) \
 ))
 
diff --git a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx 
b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
index 4fd666b..8ed243d 100644
--- a/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLFontAutoStylePool.hxx
@@ -37,6 +37,9 @@ class XMLOFF_DLLPUBLIC XMLFontAutoStylePool : public 
UniRefBase
 XMLFontAutoStylePool_Impl *pPool;
 XMLFontAutoStylePoolNames_Impl m_aNames;
 sal_uInt32 nName;
+bool tryToEmbedFonts;
+
+OUString embedFontFile( const OUString fontUrl, const char* style );
 
 protected:
 
@@ -44,7 +47,7 @@ protected:
 
 public:
 
-XMLFontAutoStylePool( SvXMLExport rExport );
+XMLFontAutoStylePool( SvXMLExport rExport, bool tryToEmbedFonts = false );
 ~XMLFontAutoStylePool();
 
 ::rtl::OUString Add(
diff --git a/xmloff/inc/xmloff/XMLFontStylesContext.hxx 
b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
index e48ae0a..7a50fc7 100644
--- a/xmloff/inc/xmloff/XMLFontStylesContext.hxx
+++ b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
@@ -121,12 +121,51 @@ public:
  sal_Int32 nPitchIdx,
  sal_Int32 nCharsetIdx ) const;
 
+OUString familyName() const;
+
 SvXMLImportContext * CreateChildContext(
 sal_uInt16 nPrefix,
 const ::rtl::OUString rLocalName,
 const ::com::sun::star::uno::Reference 

Re: How-to to write help content ?

2013-02-01 Thread Sophie Gautier
Hi Andras,
On 01/02/2013 08:14, Andras Timar wrote:
 Hi Sophie,
 
 On Thu, Jan 31, 2013 at 9:34 PM, Sophie Gautier
 gautier.sop...@gmail.com wrote:
 Hi all,

 The FR project has a team willing to work on the help files to follow
 the feature implementation. If I'm able to map the files to the code and
 retrieve them (with the help of my old documentation [1]), generate the
 xml tags, etc. there is still some obscures areas.
 So:
 - do you have an how-to write help content
 - how the id like id=bm_id3154751 or id=hd_id3156042 are generated

 In short, what would be the best way for us to provide help content.

 
 There is a help authoring extension for OpenOffice, topics can be
 added/edited in Writer. AFAIK help was authored with this tool. It is
 available from AOO SVN. I have never used it, it may take some time to
 learn.

Ok, thanks a lot I'll try to find it (with Cedric help I'm afraid ;)
 
 IDs in xhp files are just random strings. It is just a convention,
 that you identify a bookmark with bm_, a heading with hd_,
 etc. These random identifiers were assigned by the tool mentioned
 above. If you edit the new xhp file in a plain text editor, you can
 use consecutive numbers, eg. bm_0001, bm_0002, etc. The only rule is
 that identifiers must be unique in a single xhp file

ok, I understand
.
 
 There are some obsolete attributes, that should be be used in new
 content, e.g. l10n and oldref.

You mean _should not_? I was also wondering about that.
Thanks for your answer
Kind regards
Sophie

-- 
Sophie Gautier sophie.gaut...@documentfoundation.org
Tel:+33683901545
Membership  Certification Committee Member - Co-founder
The Document Foundation
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2013-02-01 Thread Luboš Luňák
 xmloff/inc/xmloff/XMLFontStylesContext.hxx   |   14 +++---
 xmloff/source/style/XMLFontStylesContext.cxx |   22 +++---
 2 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit f337125b41ed8aef52d2847cce258c3202b83e0a
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 14:40:16 2013 +0100

rename a class to something that gives at least some idea of what it does

Change-Id: I574c523d37d54a05aa79d2ccf52e0727e1a1d744

diff --git a/xmloff/inc/xmloff/XMLFontStylesContext.hxx 
b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
index 7a50fc7..3519875 100644
--- a/xmloff/inc/xmloff/XMLFontStylesContext.hxx
+++ b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
@@ -85,7 +85,7 @@ public:
 };
 
 /// Handles style:font-face
-class XMLFontStyleContext_Impl : public SvXMLStyleContext
+class XMLFontStyleContextFontFace : public SvXMLStyleContext
 {
 ::com::sun::star::uno::Any aFamilyName;
 ::com::sun::star::uno::Any aStyleName;
@@ -104,12 +104,12 @@ public:
 
 TYPEINFO();
 
-XMLFontStyleContext_Impl( SvXMLImport rImport, sal_uInt16 nPrfx,
+XMLFontStyleContextFontFace( SvXMLImport rImport, sal_uInt16 nPrfx,
 const ::rtl::OUString rLName,
 const ::com::sun::star::uno::Reference
 ::com::sun::star::xml::sax::XAttributeList   xAttrList,
 XMLFontStylesContext rStyles );
-virtual ~XMLFontStyleContext_Impl();
+virtual ~XMLFontStyleContextFontFace();
 
 void SetAttribute( sal_uInt16 nPrefixKey, const OUString rLocalName,
const OUString rValue );
@@ -132,14 +132,14 @@ public:
 /// Handles style:font-face-src
 class XMLFontStyleContextFontFaceSrc : public SvXMLImportContext
 {
-const XMLFontStyleContext_Impl font;
+const XMLFontStyleContextFontFace font;
 public:
 
 TYPEINFO();
 
 XMLFontStyleContextFontFaceSrc( SvXMLImport rImport, sal_uInt16 nPrfx,
 const ::rtl::OUString rLName,
-const XMLFontStyleContext_Impl font );
+const XMLFontStyleContextFontFace font );
 
 virtual SvXMLImportContext * CreateChildContext(
 sal_uInt16 nPrefix,
@@ -150,7 +150,7 @@ public:
 /// Handles style:font-face-uri
 class XMLFontStyleContextFontFaceUri : public SvXMLStyleContext
 {
-const XMLFontStyleContext_Impl font;
+const XMLFontStyleContextFontFace font;
 void handleEmbeddedFont( const OUString url );
 public:
 
@@ -160,7 +160,7 @@ public:
 const ::rtl::OUString rLName,
 const ::com::sun::star::uno::Reference
 ::com::sun::star::xml::sax::XAttributeList   xAttrList,
-const XMLFontStyleContext_Impl font );
+const XMLFontStyleContextFontFace font );
 
 virtual void SetAttribute( sal_uInt16 nPrefixKey, const OUString 
rLocalName,
 const OUString rValue );
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx 
b/xmloff/source/style/XMLFontStylesContext.cxx
index 8cdb5ed..ebc6a28 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -80,9 +80,9 @@ static const SvXMLTokenMapEntry* 
lcl_getFontStyleAttrTokenMap()
 return aFontStyleAttrTokenMap;
 }
 
-TYPEINIT1( XMLFontStyleContext_Impl, SvXMLStyleContext );
+TYPEINIT1( XMLFontStyleContextFontFace, SvXMLStyleContext );
 
-XMLFontStyleContext_Impl::XMLFontStyleContext_Impl( SvXMLImport rImport,
+XMLFontStyleContextFontFace::XMLFontStyleContextFontFace( SvXMLImport rImport,
 sal_uInt16 nPrfx, const OUString rLName,
 const Reference XAttributeList   xAttrList,
 XMLFontStylesContext rStyles ) :
@@ -97,7 +97,7 @@ XMLFontStyleContext_Impl::XMLFontStyleContext_Impl( 
SvXMLImport rImport,
 aEnc = (sal_Int16)rStyles.GetDfltCharset();
 }
 
-void XMLFontStyleContext_Impl::SetAttribute( sal_uInt16 nPrefixKey,
+void XMLFontStyleContextFontFace::SetAttribute( sal_uInt16 nPrefixKey,
 const OUString rLocalName,
 const OUString rValue )
 {
@@ -136,11 +136,11 @@ void XMLFontStyleContext_Impl::SetAttribute( sal_uInt16 
nPrefixKey,
 }
 }
 
-XMLFontStyleContext_Impl::~XMLFontStyleContext_Impl()
+XMLFontStyleContextFontFace::~XMLFontStyleContextFontFace()
 {
 }
 
-void XMLFontStyleContext_Impl::FillProperties(
+void XMLFontStyleContextFontFace::FillProperties(
 ::std::vector XMLPropertyState  rProps,
 sal_Int32 nFamilyNameIdx,
 sal_Int32 nStyleNameIdx,
@@ -175,7 +175,7 @@ void XMLFontStyleContext_Impl::FillProperties(
 }
 }
 
-SvXMLImportContext * XMLFontStyleContext_Impl::CreateChildContext(
+SvXMLImportContext * XMLFontStyleContextFontFace::CreateChildContext(
 sal_uInt16 nPrefix,
 const ::rtl::OUString rLocalName,
 const ::com::sun::star::uno::Reference 
::com::sun::star::xml::sax::XAttributeList   xAttrList )
@@ -185,7 +185,7 @@ SvXMLImportContext * 
XMLFontStyleContext_Impl::CreateChildContext(
   

[Libreoffice-commits] .: sw/source

2013-02-01 Thread Takeshi Abe
 sw/source/ui/docvw/edtwin.cxx |4 +---
 sw/source/ui/inc/edtwin.hxx   |4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 6bf2f6664573e734cc54582aae37838795cccb1e
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Fri Feb 1 18:15:43 2013 +0900

Drop useless member variables

Change-Id: Ib933d150d5d82383d23619857b2797a63be28626

diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 78c6491..34d30e3 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -1799,7 +1799,6 @@ KEYINPUT_CHECKTABLE_INSDEL:
 eKeyState = KS_End;
 bTblInsDelMode = sal_True;
 bTblIsInsMode = sal_False;
-bTblIsColMode = sal_True;
 aKeyInputTimer.Start();
 bStopKeyInputTimer = false;
 eAutoCompleteAction = ACA_NoOp;
@@ -1811,7 +1810,6 @@ KEYINPUT_CHECKTABLE_INSDEL:
 eKeyState = KS_End;
 bTblInsDelMode = sal_True;
 bTblIsInsMode = sal_True;
-bTblIsColMode = sal_True;
 aKeyInputTimer.Start();
 bStopKeyInputTimer = false;
 eAutoCompleteAction = ACA_NoOp;
@@ -4798,7 +4796,7 @@ SwEditWin::SwEditWin(Window *pParent, SwView rMyView):
 EnableChildTransparentMode();
 SetDialogControlFlags( WINDOW_DLGCTRL_RETURN | WINDOW_DLGCTRL_WANTFOCUS );
 
-bLinkRemoved = bMBPressed = bInsDraw = bInsFrm =
+bMBPressed = bInsDraw = bInsFrm =
 bIsInDrag = bOldIdle = bOldIdleSet = bChainMode = bWasShdwCrsr = sal_False;
 // initially use the input language
 bUseInputLanguage = sal_True;
diff --git a/sw/source/ui/inc/edtwin.hxx b/sw/source/ui/inc/edtwin.hxx
index b95539e..2d71f5c 100644
--- a/sw/source/ui/inc/edtwin.hxx
+++ b/sw/source/ui/inc/edtwin.hxx
@@ -118,8 +118,7 @@ friend void PageNumNotify(  ViewShell* pVwSh,
 sal_uInt16  eBezierMode;
 sal_uInt16  nInsFrmColCount; // column number for interactive frame
 SdrObjKind  eDrawMode;
-sal_BoolbLinkRemoved: 1,
-bMBPressed  : 1,
+sal_BoolbMBPressed  : 1,
 bInsDraw: 1,
 bInsFrm : 1,
 bIsInMove   : 1,
@@ -128,7 +127,6 @@ friend void PageNumNotify(  ViewShell* pVwSh,
 bOldIdleSet : 1, // during QeueryDrop
 bTblInsDelMode  : 1, //
 bTblIsInsMode   : 1, //
-bTblIsColMode   : 1, //
 bChainMode  : 1, // connect frames
 bWasShdwCrsr: 1, // ShadowCrsr was on in 
MouseButtonDown
 bLockInput  : 1, // lock while calc panel is active
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: solenv/gbuild

2013-02-01 Thread Luboš Luňák
 solenv/gbuild/platform/com_MSC_class.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 36e6f222cf9150407edf9dcf99b9eb1b2c597bed
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 14:57:44 2013 +0100

one more config_host/ breakage

diff --git a/solenv/gbuild/platform/com_MSC_class.mk 
b/solenv/gbuild/platform/com_MSC_class.mk
index 5ef198c..d52a4c1 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -162,7 +162,7 @@ gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS)
 gb_LinkTarget_INCLUDE :=\
$(subst -I. , ,$(SOLARINC)) \
$(foreach inc,$(subst ;, ,$(JDKINC)),-I$(inc)) \
-   -I$(BUILDDIR)/config \
+   -I$(BUILDDIR)/config_$(gb_Side) \
 
 gb_LinkTarget_get_pdbfile = $(call gb_LinkTarget_get_target,)pdb/$(1).pdb
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Luboš Luňák
 xmloff/inc/xmloff/XMLFontStylesContext.hxx|   82 
 xmloff/source/style/XMLFontStylesContext.cxx  |1 
 xmloff/source/style/XMLFontStylesContext_impl.hxx |  109 ++
 3 files changed, 110 insertions(+), 82 deletions(-)

New commits:
commit c2d14df725768ec9c3b6b65a4e02baa0faf41676
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 15:04:29 2013 +0100

move implementation class to a non-public header

Change-Id: I61731f472405e46828204ffb1cacf1c9e6a9b5bf

diff --git a/xmloff/inc/xmloff/XMLFontStylesContext.hxx 
b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
index 3519875..afd495c 100644
--- a/xmloff/inc/xmloff/XMLFontStylesContext.hxx
+++ b/xmloff/inc/xmloff/XMLFontStylesContext.hxx
@@ -84,88 +84,6 @@ public:
 
 };
 
-/// Handles style:font-face
-class XMLFontStyleContextFontFace : public SvXMLStyleContext
-{
-::com::sun::star::uno::Any aFamilyName;
-::com::sun::star::uno::Any aStyleName;
-::com::sun::star::uno::Any aFamily;
-::com::sun::star::uno::Any aPitch;
-::com::sun::star::uno::Any aEnc;
-
-SvXMLImportContextRef xStyles;
-
-XMLFontStylesContext *GetStyles()
-{
-return ((XMLFontStylesContext *)xStyles);
-}
-
-public:
-
-TYPEINFO();
-
-XMLFontStyleContextFontFace( SvXMLImport rImport, sal_uInt16 nPrfx,
-const ::rtl::OUString rLName,
-const ::com::sun::star::uno::Reference
-::com::sun::star::xml::sax::XAttributeList   xAttrList,
-XMLFontStylesContext rStyles );
-virtual ~XMLFontStyleContextFontFace();
-
-void SetAttribute( sal_uInt16 nPrefixKey, const OUString rLocalName,
-   const OUString rValue );
-
-void FillProperties( ::std::vector XMLPropertyState  rProps,
- sal_Int32 nFamilyNameIdx,
- sal_Int32 nStyleNameIdx,
- sal_Int32 nFamilyIdx,
- sal_Int32 nPitchIdx,
- sal_Int32 nCharsetIdx ) const;
-
-OUString familyName() const;
-
-SvXMLImportContext * CreateChildContext(
-sal_uInt16 nPrefix,
-const ::rtl::OUString rLocalName,
-const ::com::sun::star::uno::Reference 
::com::sun::star::xml::sax::XAttributeList   xAttrList );
-};
-
-/// Handles style:font-face-src
-class XMLFontStyleContextFontFaceSrc : public SvXMLImportContext
-{
-const XMLFontStyleContextFontFace font;
-public:
-
-TYPEINFO();
-
-XMLFontStyleContextFontFaceSrc( SvXMLImport rImport, sal_uInt16 nPrfx,
-const ::rtl::OUString rLName,
-const XMLFontStyleContextFontFace font );
-
-virtual SvXMLImportContext * CreateChildContext(
-sal_uInt16 nPrefix,
-const ::rtl::OUString rLocalName,
-const ::com::sun::star::uno::Reference 
::com::sun::star::xml::sax::XAttributeList   xAttrList );
-};
-
-/// Handles style:font-face-uri
-class XMLFontStyleContextFontFaceUri : public SvXMLStyleContext
-{
-const XMLFontStyleContextFontFace font;
-void handleEmbeddedFont( const OUString url );
-public:
-
-TYPEINFO();
-
-XMLFontStyleContextFontFaceUri( SvXMLImport rImport, sal_uInt16 nPrfx,
-const ::rtl::OUString rLName,
-const ::com::sun::star::uno::Reference
-::com::sun::star::xml::sax::XAttributeList   xAttrList,
-const XMLFontStyleContextFontFace font );
-
-virtual void SetAttribute( sal_uInt16 nPrefixKey, const OUString 
rLocalName,
-const OUString rValue );
-};
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx 
b/xmloff/source/style/XMLFontStylesContext.cxx
index ebc6a28..e822fc6 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -18,6 +18,7 @@
  */
 
 #include xmloff/XMLFontStylesContext.hxx
+#include XMLFontStylesContext_impl.hxx
 
 #include com/sun/star/awt/FontFamily.hpp
 #include com/sun/star/awt/FontPitch.hpp
diff --git a/xmloff/source/style/XMLFontStylesContext_impl.hxx 
b/xmloff/source/style/XMLFontStylesContext_impl.hxx
new file mode 100644
index 000..1787bf2
--- /dev/null
+++ b/xmloff/source/style/XMLFontStylesContext_impl.hxx
@@ -0,0 +1,109 @@
+/* -*- 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 

[Libreoffice-commits] .: 3 commits - qadevOOo/tests sfx2/qa solenv/bin solenv/gbuild

2013-02-01 Thread Stephan Bergmann
 qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java |6 +-
 sfx2/qa/complex/sfx2/UndoManager.java   |2 +-
 solenv/bin/macosx-change-install-names.pl   |8 
 solenv/gbuild/platform/macosx.mk|4 ++--
 4 files changed, 8 insertions(+), 12 deletions(-)

New commits:
commit 42f1f1f5aee8f93568f94770fca8381ddd47420b
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 1 15:13:40 2013 +0100

Skip broken character bounds checks on Mac OS X

...where for whatever reason (TODO: investigate) they keep failing at least 
with
my local Mac OS X 10.7 build at
toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText:

LOG getCharacterBounds(-1)
LOG Expected exception
LOG getCharacterBounds(8)
LOG Expected exception
LOG getCharacterBounds(0)
LOG Text at this place: F
LOG Character bounds outside component
LOG Character rect: 1, 3, 6, 11
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(1)
LOG Text at this place: x
LOG Character bounds outside component
LOG Character rect: 6, 6, 10, 8
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(2)
LOG Text at this place: e
LOG Character bounds outside component
LOG Character rect: 15, 6, 7, 8
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(3)
LOG Text at this place: d
LOG Character bounds outside component
LOG Character rect: 22, 3, 7, 11
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(4)
LOG Text at this place: T
LOG Character bounds outside component
LOG Character rect: 30, 3, 8, 11
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(5)
LOG Text at this place: e
LOG Character bounds outside component
LOG Character rect: 39, 6, 7, 8
LOG Component rect: 0, 22, 100, 12
LOG getCharacterBounds(6)
LOG Text at this place: x
LOG Character bounds outside component
LOG Character rect: 45, 6, 10, 8
LOG Component rect: 0, 22, 100, 12

Change-Id: I690ffc773b53e0f19536605e3cb89280bc98c19a

diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java 
b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
index 954c358..50a803f 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
@@ -389,7 +389,11 @@ public class _XAccessibleText extends MultiMethodTest {
 log.println(Component rect:  + bounds.X + ,  +
 bounds.Y + ,  + bounds.Width + ,  +
 bounds.Height);
-res = localres;
+//TODO: For some reason that still needs to be 
investigated,
+// the above test keeps failing on Mac OS X:
+if (!System.getProperty(os.name).equals(Mac OS X)) {
+res = localres;
+}
 }
 }
 } catch (com.sun.star.lang.IndexOutOfBoundsException e) {
commit ba0b7bca69ff7ca125c6af3bb81752f0a58fcc56
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 1 15:10:47 2013 +0100

Increase test timeout

...it now matches the duration of another nearby timeout in the code, and it
happened to cause a parallel make check to sometimes fail on a slow 
MacBook.

Change-Id: If8bddb82a05c46637fdc2fcc3373411fcb37a466

diff --git a/sfx2/qa/complex/sfx2/UndoManager.java 
b/sfx2/qa/complex/sfx2/UndoManager.java
index bc342f2..47734bf 100644
--- a/sfx2/qa/complex/sfx2/UndoManager.java
+++ b/sfx2/qa/complex/sfx2/UndoManager.java
@@ -179,7 +179,7 @@ public class UndoManager
 impl_clickButton( buttonModel );
 // the macro is executed asynchronously by the button, so wait at most 
2 seconds for the callback to be
 // triggered
-impl_waitFor( m_callbackCondition, 2000 );
+impl_waitFor( m_callbackCondition, 2 );
 // check the callback has actually been called
 assertTrue( clicking the test button did not work as expected - basic 
script not called, m_callbackCalled );
 
commit 6f8caab7d57321650455163a6cce164a30f6a9cf
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 1 15:09:52 2013 +0100

No need for aliases here

Change-Id: I29dcc26eb13222ef4348ab3281a19b2e6f8c46f2

diff --git a/solenv/bin/macosx-change-install-names.pl 
b/solenv/bin/macosx-change-install-names.pl
index ed60cc2..56cf2dc 100644
--- a/solenv/bin/macosx-change-install-names.pl
+++ b/solenv/bin/macosx-change-install-names.pl
@@ -74,14 +74,6 @@ sub action($$$)
 @ARGV = 2 or die 'Usage: app|shl UREBIN|URELIB|OOO|SDKBIN|OXT|NONE 
filepath*';
 $type = shift @ARGV;
 $loc = shift @ARGV;
-if ($type eq Executable)
-{
-$type = app
-}
-elsif ($type eq Library || $type eq SharedLibrary)
-{
-$type 

[Libreoffice-commits] .: tail_build/Makefile

2013-02-01 Thread Luboš Luňák
 tail_build/Makefile |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 4a35d82420503b8f1b1d404cf6e47f3a1e47f384
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 15:58:38 2013 +0100

fix build from tail_build

gb_Side is set either from toplevel Makefile or from any module Makefile,
but not when starting build from tail_build

Change-Id: I4df6eb221f5b778ce3c0234251f8dbbb56645028

diff --git a/tail_build/Makefile b/tail_build/Makefile
index aca0e32..20bbfb1 100644
--- a/tail_build/Makefile
+++ b/tail_build/Makefile
@@ -8,7 +8,10 @@
 #
 
 ifeq ($(strip $(SOLARENV)),)
-include $(dir $(realpath $(firstword $(MAKEFILE_LIST/../config_host.mk
+ifeq ($(gb_Side),)
+gb_Side:=host
+endif
+include $(dir $(realpath $(firstword 
$(MAKEFILE_LIST/../config_$(gb_Side).mk
 endif
 
 include $(SOLARENV)/gbuild/gbuild.mk
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Eike Rathke
 sc/source/filter/excel/xeformula.cxx |   46 +++-
 sc/source/filter/oox/formulabase.cxx |   66 ++-
 2 files changed, 71 insertions(+), 41 deletions(-)

New commits:
commit 0998b52b725688cdd3c8f6e5150e0d74995164d3
Author: Eike Rathke er...@redhat.com
Date:   Wed Jan 30 22:28:48 2013 +0100

resolved fdo#60087 corrected .xlsx export of functions

Change-Id: I6c7ba47dde88a73d035b1db5f7f4cede78b262db
(cherry picked from commit 0c7a1b6e10011930b703897073b8d41e94f7d827)
Reviewed-on: https://gerrit.libreoffice.org/1929
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sc/source/filter/excel/xeformula.cxx 
b/sc/source/filter/excel/xeformula.cxx
index 603ee9d..893321b 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -1406,20 +1406,24 @@ void XclExpFmlaCompImpl::ProcessFunction( const 
XclExpScToken rTokData )
 
 void XclExpFmlaCompImpl::PrepareFunction( XclExpFuncData rFuncData )
 {
-switch( rFuncData.GetOpCode() )
+// For OOXML these are not rewritten anymore.
+if (GetOutput() != EXC_OUTPUT_XML_2007)
 {
-case ocCosecant:// simulate CSC(x) by (1/SIN(x))
-case ocSecant:  // simulate SEC(x) by (1/COS(x))
-case ocCot: // simulate COT(x) by (1/TAN(x))
-case ocCosecantHyp: // simulate CSCH(x) by (1/SINH(x))
-case ocSecantHyp:   // simulate SECH(x) by (1/COSH(x))
-case ocCotHyp:  // simulate COTH(x) by (1/TANH(x))
-AppendIntToken( 1 );
-break;
-case ocArcCot:  // simulate ACOT(x) by (PI/2-ATAN(x))
-AppendNumToken( F_PI2 );
-break;
-default:;
+switch( rFuncData.GetOpCode() )
+{
+case ocCosecant:// simulate CSC(x) by (1/SIN(x))
+case ocSecant:  // simulate SEC(x) by (1/COS(x))
+case ocCot: // simulate COT(x) by (1/TAN(x))
+case ocCosecantHyp: // simulate CSCH(x) by (1/SINH(x))
+case ocSecantHyp:   // simulate SECH(x) by (1/COSH(x))
+case ocCotHyp:  // simulate COTH(x) by (1/TANH(x))
+AppendIntToken( 1 );
+break;
+case ocArcCot:  // simulate ACOT(x) by 
(PI/2-ATAN(x))
+AppendNumToken( F_PI2 );
+break;
+default:;
+}
 }
 }
 
@@ -1468,12 +1472,20 @@ void XclExpFmlaCompImpl::FinishFunction( 
XclExpFuncData rFuncData, sal_uInt8 nC
 case ocCosecantHyp: // simulate CSCH(x) by (1/SINH(x))
 case ocSecantHyp:   // simulate SECH(x) by (1/COSH(x))
 case ocCotHyp:  // simulate COTH(x) by (1/TANH(x))
-AppendBinaryOperatorToken( EXC_TOKID_DIV, true );
-AppendParenToken();
+// For OOXML not rewritten anymore.
+if (GetOutput() != EXC_OUTPUT_XML_2007)
+{
+AppendBinaryOperatorToken( EXC_TOKID_DIV, true );
+AppendParenToken();
+}
 break;
 case ocArcCot:  // simulate ACOT(x) by 
(PI/2-ATAN(x))
-AppendBinaryOperatorToken( EXC_TOKID_SUB, true );
-AppendParenToken();
+// For OOXML not rewritten anymore.
+if (GetOutput() != EXC_OUTPUT_XML_2007)
+{
+AppendBinaryOperatorToken( EXC_TOKID_SUB, true );
+AppendParenToken();
+}
 break;
 
 default:;
diff --git a/sc/source/filter/oox/formulabase.cxx 
b/sc/source/filter/oox/formulabase.cxx
index 929e6b0..ec3c411 100644
--- a/sc/source/filter/oox/formulabase.cxx
+++ b/sc/source/filter/oox/formulabase.cxx
@@ -215,6 +215,8 @@ const sal_uInt16 FUNCFLAG_MACROCALL_FN  = 0x0400;   /** 
Function is stored a
 const sal_uInt16 FUNCFLAG_MACROCALL_NEW = FUNCFLAG_MACROCALL | 
FUNCFLAG_MACROCALL_FN;   /** New Excel functions not
 defined in OOXML, 
_xlfn. prefix in all formats. OOXML name
 must exist. */
+const sal_uInt16 FUNCFLAG_BIFFIMPORTONLY= 0x0800;   /// Only used in BIFF 
binary import filter.
+const sal_uInt16 FUNCFLAG_BIFFEXPORTONLY= 0x1000;   /// Only used in BIFF 
binary export filter.
 
 /// Converts a function library index (value of enum FunctionLibraryType) to 
function flags.
 #define FUNCLIB_TO_FUNCFLAGS( funclib_index ) static_cast sal_uInt16 ( 
static_cast sal_uInt8 ( funclib_index )  12 )
@@ -235,14 +237,21 @@ struct FunctionData
 FunctionParamInfo   

Re: How-to to write help content ?

2013-02-01 Thread Sophie Gautier
Hi Andras,

To keep you update, I've checkouted the file on svn, build the
extension, and installed it on LibO 4.
I got the menu entries, now trying to understand how it works :)

Kind regards
Sophie
On 01/02/2013 08:14, Andras Timar wrote:
 Hi Sophie,
 
 On Thu, Jan 31, 2013 at 9:34 PM, Sophie Gautier
 gautier.sop...@gmail.com wrote:
 Hi all,

 The FR project has a team willing to work on the help files to follow
 the feature implementation. If I'm able to map the files to the code and
 retrieve them (with the help of my old documentation [1]), generate the
 xml tags, etc. there is still some obscures areas.
 So:
 - do you have an how-to write help content
 - how the id like id=bm_id3154751 or id=hd_id3156042 are generated

 In short, what would be the best way for us to provide help content.

 
 There is a help authoring extension for OpenOffice, topics can be
 added/edited in Writer. AFAIK help was authored with this tool. It is
 available from AOO SVN. I have never used it, it may take some time to
 learn.
 
 IDs in xhp files are just random strings. It is just a convention,
 that you identify a bookmark with bm_, a heading with hd_,
 etc. These random identifiers were assigned by the tool mentioned
 above. If you edit the new xhp file in a plain text editor, you can
 use consecutive numbers, eg. bm_0001, bm_0002, etc. The only rule is
 that identifiers must be unique in a single xhp file.
 
 There are some obsolete attributes, that should be be used in new
 content, e.g. l10n and oldref.
 
 Best regards,
 Andras
 


-- 
Sophie Gautier sophie.gaut...@documentfoundation.org
Tel:+33683901545
Membership  Certification Committee Member - Co-founder
The Document Foundation
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: xmloff/Library_xo.mk xmloff/source

2013-02-01 Thread Luboš Luňák
 xmloff/Library_xo.mk |1 -
 xmloff/source/style/XMLFontAutoStylePool.cxx |4 ++--
 xmloff/source/style/XMLFontStylesContext.cxx |6 +++---
 3 files changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 7bce8c2e491562873705e3e451ba66d005b22646
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 16:14:31 2013 +0100

temporarily disable the xmloff/vcl dependency

As far as I can tell, there is not circular dependency, but make
complains, and only when invoked from toplevel, not from tail_build.
Looks like gbuild problem, but do a hackish change to make
unbreak clean compilation, for now.

Change-Id: I445ba343f9eaa988c60c288bf5fc1c5d1c7b67a5

diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index 7ffa8ba..a24b6fd 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -50,7 +50,6 @@ $(eval $(call gb_Library_use_libraries,xo,\
 svl \
 tl \
 utl \
-vcl \
$(gb_UWINAPI) \
 ))
 
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx 
b/xmloff/source/style/XMLFontAutoStylePool.cxx
index 0f92d66..ae761fb 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -25,7 +25,7 @@
 #include fonthdl.hxx
 #include xmloff/xmlexp.hxx
 #include xmloff/XMLFontAutoStylePool.hxx
-#include vcl/temporaryfonts.hxx
+//#include vcl/temporaryfonts.hxx
 #include osl/file.hxx
 
 #include com/sun/star/embed/ElementModes.hpp
@@ -280,7 +280,7 @@ void XMLFontAutoStylePool::exportXML()
  j  SAL_N_ELEMENTS( styles );
  ++j )
 {
-OUString fileUrl = TemporaryFonts::fileUrlForFont( 
pEntry-GetFamilyName(), styles[ j ] );
+OUString fileUrl = ; //TemporaryFonts::fileUrlForFont( 
pEntry-GetFamilyName(), styles[ j ] );
 if( !fontFilesMap.count( fileUrl ))
 {
 OUString docUrl = embedFontFile( fileUrl, styles[ j ] );
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx 
b/xmloff/source/style/XMLFontStylesContext.cxx
index e822fc6..de75dfb 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -26,7 +26,7 @@
 
 #include osl/file.hxx
 #include rtl/logfile.hxx
-#include vcl/temporaryfonts.hxx
+//#include vcl/temporaryfonts.hxx
 
 #include xmloff/nmspmap.hxx
 #include xmloff/xmlnmspe.hxx
@@ -258,7 +258,7 @@ void XMLFontStyleContextFontFaceUri::handleEmbeddedFont( 
const OUString url )
 if( url.indexOf( '/' )  -1 ) // TODO what if more levels?
 storage.set( storage-openStorageElement( url.copy( 0, 
url.indexOf( '/' )),
 ::embed::ElementModes::READ ), uno::UNO_QUERY_THROW );
-OUString fileUrl = TemporaryFonts::fileUrlForFont( fontName, style );
+OUString fileUrl = ; // TemporaryFonts::fileUrlForFont( fontName, 
style );
 osl::File file( fileUrl );
 switch( file.open( osl_File_OpenFlag_Create | osl_File_OpenFlag_Write 
))
 {
@@ -290,7 +290,7 @@ void XMLFontStyleContextFontFaceUri::handleEmbeddedFont( 
const OUString url )
 osl::File::remove( fileUrl );
 return;
 }
-TemporaryFonts::activateFont( fontName, fileUrl );
+//TemporaryFonts::activateFont( fontName, fileUrl );
 GetImport().NotifyEmbeddedFontRead();
 }
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2013-02-01 Thread Stephan Bergmann
 sw/source/filter/xml/swxml.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8e263de89c4dce720a568f8132977e730bd682c
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Feb 1 16:17:41 2013 +0100

-Wc++11-narrowing

Change-Id: I044033ca41dea75dc438bc3989d067fc8e70b9fc

diff --git a/sw/source/filter/xml/swxml.cxx b/sw/source/filter/xml/swxml.cxx
index 76778b6..175372d 100644
--- a/sw/source/filter/xml/swxml.cxx
+++ b/sw/source/filter/xml/swxml.cxx
@@ -643,7 +643,7 @@ sal_uLong XMLReader::Read( SwDoc rDoc, const String 
rBaseURL, SwPaM rPaM, con
 { TextDocInOOoFileFormat, sizeof(TextDocInOOoFileFormat)-1, 0,
   ::getBooleanCppuType(),
   beans::PropertyAttribute::MAYBEVOID, 0 },
-{ SourceStorage, strlen( SourceStorage ), 0, 
embed::XStorage::static_type(),
+{ SourceStorage, sizeof(SourceStorage)-1, 0, 
embed::XStorage::static_type(),
   ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
 { NULL, 0, 0, NULL, 0, 0 }
 };
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Markus Mohrhard
 formula/source/core/api/FormulaCompiler.cxx |3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 3305827a24a1b9c66220bb3578fec6a43df4a421
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Wed Jan 30 22:02:06 2013 +0100

make it possible to update DDE links after loading, fdo#59032

Change-Id: Iba49bec62cb9081cdcd9410215f269b59c1be304
Reviewed-on: https://gerrit.libreoffice.org/1940
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/formula/source/core/api/FormulaCompiler.cxx 
b/formula/source/core/api/FormulaCompiler.cxx
index c402113..8323e15 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1076,6 +1076,9 @@ void FormulaCompiler::Factor()
 pArr-SetRecalcModeOnLoad();
 pArr-SetHyperLink(true);
 break;
+case ocDde:
+pArr-SetRecalcModeOnLoad();
+break;
 default:
 ;   // nothing
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Lennard
 oox/inc/oox/export/drawingml.hxx |2 +-
 oox/source/export/drawingml.cxx  |   10 --
 2 files changed, 9 insertions(+), 3 deletions(-)

New commits:
commit 454cd82012c785718d1ffaf1199f00f35f93c609
Author: Lennard wassert...@nefkom.net
Date:   Wed Dec 5 21:28:02 2012 +0100

fix position correction for flipped shapes

This complements change a9fc1456719da3cecda6a97454bad0642e493035
The Translation-compensation of that fix didn't work for flipped shapes.
Also, vertically flipped shapes made problems.
Also 360 °C = 0°C (drawingml.hxx)
I didn't dare to fix it earlier because there is some problem with the 
selection frames.
But that is an import bug, not caused by some export stuff!
This import bug makes the manipulation rectangles around the shapes flipped 
 turning in the wrong direction, perhaps due to
CroftCro$oft clockwisification!

Change-Id: I05aa036d31cd5d9a8b194897b3d92ec12d6d2c61
Signed-off-by: Lennard wassert...@nefkom.net
Reviewed-on: https://gerrit.libreoffice.org/1250
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz

diff --git a/oox/inc/oox/export/drawingml.hxx b/oox/inc/oox/export/drawingml.hxx
index 486d792..6198ec6 100644
--- a/oox/inc/oox/export/drawingml.hxx
+++ b/oox/inc/oox/export/drawingml.hxx
@@ -28,7 +28,7 @@
 #include tools/poly.hxx
 #include filter/msfilter/escherex.hxx
 #ifndef PPTX_EXPORT_ROTATE_CLOCKWISIFY
-#define PPTX_EXPORT_ROTATE_CLOCKWISIFY(input) (2160-input*600)
+#define PPTX_EXPORT_ROTATE_CLOCKWISIFY(input) ((2160-input*600)%2160)
 #endif
 
 class Graphic;
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 94bf8a1..8389b3a 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -643,8 +643,14 @@ void DrawingML::WriteShapeTransformation( Reference 
XShape  rXShape, sal_Int32
 {
 SdrObject* pShape = (SdrObject*) GetSdrObjectFromXShape( rXShape );
 nRotation=pShape-GetRotateAngle();
-
aPos.X-=(1-cos(nRotation*F_PI18000))*aSize.Width/2-sin(nRotation*F_PI18000)*aSize.Height/2;
-
aPos.Y-=(1-cos(nRotation*F_PI18000))*aSize.Height/2+sin(nRotation*F_PI18000)*aSize.Width/2;
+int faccos=bFlipV ? -1 : 1;
+int facsin=bFlipH ? -1 : 1;
+
aPos.X-=(1-faccos*cos(nRotation*F_PI18000))*aSize.Width/2-facsin*sin(nRotation*F_PI18000)*aSize.Height/2;
+
aPos.Y-=(1-faccos*cos(nRotation*F_PI18000))*aSize.Height/2+facsin*sin(nRotation*F_PI18000)*aSize.Width/2;
+}
+if (!bSuppressRotation)
+{
+if (bFlipV) {nRotation=(nRotation+18000)%36000;}
 }
 WriteTransformation( Rectangle( Point( aPos.X, aPos.Y ), Size( 
aSize.Width, aSize.Height ) ), nXmlNamespace, bFlipH, bFlipV, 
PPTX_EXPORT_ROTATE_CLOCKWISIFY(nRotation) );
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Markus Mohrhard
 sc/source/core/data/attarray.cxx |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 7c6b21c31904b2ed007f961e4bf094af1a1981c7
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Wed Jan 30 01:34:24 2013 +0100

if no cond format is valid use the existing protection, fdo#58826

Change-Id: Ib52a546a98f681b918de5e3bd285c36407fa8254
Reviewed-on: https://gerrit.libreoffice.org/1942
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 201538d..8059b17 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -1278,6 +1278,8 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, 
sal_uInt16 nMask ) const
 const ScProtectionAttr* pCondProtect = 
static_castconst ScProtectionAttr*(pItem);
 if( pCondProtect-GetProtection() || 
pProtect-GetHideCell() )
 bFoundCond = true;
+else
+break;
 }
 else
 {
@@ -1285,7 +1287,7 @@ bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, 
sal_uInt16 nMask ) const
 // but existing one + cell where conditional
 // formatting does not remove it
 // = we have a protected cell
-bFoundCond = true;
+bFoundCond = bFoundTemp;
 }
 }
 bFoundTemp = bFoundCond;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: instsetoo_native/util

2013-02-01 Thread Petr Mladek
 instsetoo_native/util/openoffice.lst.in |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 8d12a195b1ddf433177fe4f3e7b0c10a2ae9
Author: Petr Mladek pmla...@suse.cz
Date:   Fri Feb 1 18:01:59 2013 +0100

use correct default values for the splash progressbar

they are not longer forced from configure

Change-Id: I8ea37b7233138de2900caf231762eefec0ba6563

diff --git a/instsetoo_native/util/openoffice.lst.in 
b/instsetoo_native/util/openoffice.lst.in
index 5b1b861..07da5f3 100644
--- a/instsetoo_native/util/openoffice.lst.in
+++ b/instsetoo_native/util/openoffice.lst.in
@@ -15,10 +15,10 @@ Globals
 SOLSUREPACKAGEPREFIX libreoffice
 REGISTRATION_HOST 
https://registration.libreoffice.org/RegistrationWeb
 REGISTRATIONURL http://survey.libreoffice.org/user/index.php
-PROGRESSBARCOLOR 126,170,23
-PROGRESSSIZE 319,10
-PROGRESSPOSITION 164,225
-PROGRESSFRAMECOLOR 207,208,211
+PROGRESSBARCOLOR 255,255,255
+PROGRESSSIZE 407,6
+PROGRESSPOSITION 61,317
+PROGRESSFRAMECOLOR 20,136,3
 PROGRESSTEXTBASELINE 287
 PROGRESSTEXTCOLOR 255,255,255
 NATIVEPROGRESS false
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Markus Mohrhard
 sc/source/ui/condformat/condformatdlgentry.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit ca92558fca923cce205bd8e67f906d1d7e03121e
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Jan 25 23:08:47 2013 +0100

show style when dialog is created with existing cond format, fdo#59778

Change-Id: Ic1218179cd9c87ec15826adc861d505339a05f2d
Reviewed-on: https://gerrit.libreoffice.org/1943
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx 
b/sc/source/ui/condformat/condformatdlgentry.cxx
index fb4a30a..f750ed5 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -516,6 +516,8 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, 
ScDocument* pDoc, const
 {
 maLbStyle.SelectEntryPos(1);
 }
+
+StyleSelectHdl(NULL);
 }
 
 void ScFormulaFrmtEntry::Init()
@@ -1175,6 +1177,8 @@ ScDateFrmtEntry::ScDateFrmtEntry( Window* pParent, 
ScDocument* pDoc, const ScCon
 rtl::OUString aStyleName = pFormat-GetStyleName();
 maLbStyle.SelectEntry(aStyleName);
 }
+
+StyleSelectHdl(NULL);
 }
 
 void ScDateFrmtEntry::Init()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Markus Mohrhard
 sc/source/filter/xml/xmlcondformat.cxx |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit e39fe8bc29af60e849534b6cb1882dbcec363052
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sun Jan 27 02:34:00 2013 +0100

we need to parse the cell address after import, fdo#59843

Otherwise we may have problems with sheet names from sheets that are not
yet imported.

Change-Id: I99a6507567b7d1018b790a90019cd563fa7323a0
Reviewed-on: https://gerrit.libreoffice.org/1944
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sc/source/filter/xml/xmlcondformat.cxx 
b/sc/source/filter/xml/xmlcondformat.cxx
index ae0c2d7..443361a 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -567,12 +567,10 @@ ScXMLCondContext::ScXMLCondContext( ScXMLImport rImport, 
sal_uInt16 nPrfx,
 rtl::OUString aExpr2;
 ScConditionMode eMode;
 GetConditionData(sExpression, eMode, aExpr1, aExpr2);
-ScAddress aPos;
-sal_Int32 nIndex = 0;
-ScRangeStringConverter::GetAddressFromString(aPos, sAddress, 
GetScImport().GetDocument(), formula::FormulaGrammar::CONV_ODF, nIndex);
 
-ScCondFormatEntry* pFormatEntry = new ScCondFormatEntry(eMode, aExpr1, 
aExpr2, GetScImport().GetDocument(), aPos, sStyle,
+ScCondFormatEntry* pFormatEntry = new ScCondFormatEntry(eMode, aExpr1, 
aExpr2, GetScImport().GetDocument(), ScAddress(), sStyle,
 rtl::OUString(), 
rtl::OUString(), formula::FormulaGrammar::GRAM_ODFF, 
formula::FormulaGrammar::GRAM_ODFF);
+pFormatEntry-SetSrcString(sAddress);
 
 pFormat-AddEntry(pFormatEntry);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Markus Mohrhard
 sc/source/core/data/colorscale.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 008b8c4ca907950af543da91986ba89b0de1ae15
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sat Jan 26 23:32:03 2013 +0100

we need to use SCROW for row numbers, fdo#59894

This caused an overflow and resulted in adding endless number of values
until a bad_alloc was thrown.

Change-Id: I954acd801eb18e2c2fe6a449048856cb95d0d8b0
Reviewed-on: https://gerrit.libreoffice.org/1945
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sc/source/core/data/colorscale.cxx 
b/sc/source/core/data/colorscale.cxx
index 55b8b43..3fe033a 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -293,7 +293,7 @@ std::vectordouble ScColorFormat::getValues() const
 SCTAB nTab = pRange-aStart.Tab();
 for(SCCOL nCol = pRange-aStart.Col(); nCol = pRange-aEnd.Col(); 
++nCol)
 {
-for(SCCOL nRow = pRange-aStart.Row(); nRow = 
pRange-aEnd.Row(); ++nRow)
+for(SCROW nRow = pRange-aStart.Row(); nRow = 
pRange-aEnd.Row(); ++nRow)
 {
 ScAddress aAddr(nCol, nRow, nTab);
 CellType eType = mpDoc-GetCellType(aAddr);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: logerrit

2013-02-01 Thread Petr Mladek
 logerrit |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d88c35cc3fa8b4c9ebf23800d3771a265937086
Author: Petr Mladek pmla...@suse.cz
Date:   Fri Feb 1 18:12:58 2013 +0100

logerrit: print logerrit help with --help

It printed help of the plain gerrit tool which always confused me :-)

Change-Id: Ied81688ada4b536486d998709230fc24fa3c9b62

diff --git a/logerrit b/logerrit
index bb60473..2456ae1 100755
--- a/logerrit
+++ b/logerrit
@@ -48,7 +48,7 @@ submit() {
 }
 
 case $1 in
-   help)
+   help|--help)
echo Usage: ./logerrit subcommand [options]
echo simple and basic tool to interact with LibreOffice gerrit
echo subcommands:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: BUG#55846

2013-02-01 Thread Jan Holesovsky
Hi Janit,

Janit Anjaria píše v Pá 01. 02. 2013 v 01:57 +0530:

 I have been working on this bug and followed the code pointers,but
 havent been able to figure out the loop-hole,can someone provide some
 other help,except that provided on BUGZILLAcomments

I've added a comment pointing directly to the code that is responsible
for the problem:

https://bugs.freedesktop.org/show_bug.cgi?id=55846#c8

I hope this helps you :-) - let's see where does this lead you, because
it will be necessary to adapt the width of the vertical toolbars too.

When you have some proof-of-concept patch, we definitely need to involve
our UX guys to make it beautiful - looking forward to your work there!

All the best,
Kendy


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


[Libreoffice-commits] .: 2 commits - Module_tail_build.mk xmloff/Library_xo.mk xmloff/source

2013-02-01 Thread Luboš Luňák
 Module_tail_build.mk |2 +-
 xmloff/Library_xo.mk |1 +
 xmloff/source/style/XMLFontAutoStylePool.cxx |4 ++--
 xmloff/source/style/XMLFontStylesContext.cxx |6 +++---
 4 files changed, 7 insertions(+), 6 deletions(-)

New commits:
commit 1a04fbd30825ebceae5209ada9d4e0726fbd00c9
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 18:17:39 2013 +0100

vcl before xo

fixes circular vcl-xo dependency

Change-Id: I5a9eb1f48044a2d43901b40f695ea2a93c70388e

diff --git a/Module_tail_build.mk b/Module_tail_build.mk
index 8ce4fb6..7bcba45 100644
--- a/Module_tail_build.mk
+++ b/Module_tail_build.mk
@@ -244,7 +244,7 @@ $(eval $(call tailbuild_serialize,\
$(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) \
writerfilter cui chartcontroller oox \
$(if $(filter TRUE,$(MERGELIBS)),merged,svxcore) \
-   vcl xo \
+   xo vcl \
 ))
 endif
 
commit eb70a6e126f5801f928eac1bd1123fc672e380e0
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Feb 1 16:15:55 2013 +0100

Revert temporarily disable the xmloff/vcl dependency

This reverts commit 7bce8c2e491562873705e3e451ba66d005b22646.

diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index a24b6fd..7ffa8ba 100644
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -50,6 +50,7 @@ $(eval $(call gb_Library_use_libraries,xo,\
 svl \
 tl \
 utl \
+vcl \
$(gb_UWINAPI) \
 ))
 
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx 
b/xmloff/source/style/XMLFontAutoStylePool.cxx
index ae761fb..0f92d66 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -25,7 +25,7 @@
 #include fonthdl.hxx
 #include xmloff/xmlexp.hxx
 #include xmloff/XMLFontAutoStylePool.hxx
-//#include vcl/temporaryfonts.hxx
+#include vcl/temporaryfonts.hxx
 #include osl/file.hxx
 
 #include com/sun/star/embed/ElementModes.hpp
@@ -280,7 +280,7 @@ void XMLFontAutoStylePool::exportXML()
  j  SAL_N_ELEMENTS( styles );
  ++j )
 {
-OUString fileUrl = ; //TemporaryFonts::fileUrlForFont( 
pEntry-GetFamilyName(), styles[ j ] );
+OUString fileUrl = TemporaryFonts::fileUrlForFont( 
pEntry-GetFamilyName(), styles[ j ] );
 if( !fontFilesMap.count( fileUrl ))
 {
 OUString docUrl = embedFontFile( fileUrl, styles[ j ] );
diff --git a/xmloff/source/style/XMLFontStylesContext.cxx 
b/xmloff/source/style/XMLFontStylesContext.cxx
index de75dfb..e822fc6 100644
--- a/xmloff/source/style/XMLFontStylesContext.cxx
+++ b/xmloff/source/style/XMLFontStylesContext.cxx
@@ -26,7 +26,7 @@
 
 #include osl/file.hxx
 #include rtl/logfile.hxx
-//#include vcl/temporaryfonts.hxx
+#include vcl/temporaryfonts.hxx
 
 #include xmloff/nmspmap.hxx
 #include xmloff/xmlnmspe.hxx
@@ -258,7 +258,7 @@ void XMLFontStyleContextFontFaceUri::handleEmbeddedFont( 
const OUString url )
 if( url.indexOf( '/' )  -1 ) // TODO what if more levels?
 storage.set( storage-openStorageElement( url.copy( 0, 
url.indexOf( '/' )),
 ::embed::ElementModes::READ ), uno::UNO_QUERY_THROW );
-OUString fileUrl = ; // TemporaryFonts::fileUrlForFont( fontName, 
style );
+OUString fileUrl = TemporaryFonts::fileUrlForFont( fontName, style );
 osl::File file( fileUrl );
 switch( file.open( osl_File_OpenFlag_Create | osl_File_OpenFlag_Write 
))
 {
@@ -290,7 +290,7 @@ void XMLFontStyleContextFontFaceUri::handleEmbeddedFont( 
const OUString url )
 osl::File::remove( fileUrl );
 return;
 }
-//TemporaryFonts::activateFont( fontName, fileUrl );
+TemporaryFonts::activateFont( fontName, fileUrl );
 GetImport().NotifyEmbeddedFontRead();
 }
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-02-01 Thread Herbert Dürr
 sd/source/ui/view/outlnvs2.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 75d6a308afb5265c9a8cbcc0e6af2f624b9d1b16
Author: Herbert Dürr h...@apache.org
Date:   Tue Jun 19 10:20:57 2012 +

fdo#51232: i#119987# fix Impress crash when pasting text under Outline view

Patch by: Wang Zhe
Testing by: Yan Ji
Review by: hdu

(cherry picked from commit 484621239c7f743f44579d2b199b0347dc4734cd)

Change-Id: I340de4f1b626defa52ecc48938c63ec4d1ce5c1d
Signed-off-by: Tor Lillqvist t...@iki.fi
Reviewed-on: https://gerrit.libreoffice.org/1897
Reviewed-by: Joren De Cuyper joren.libreoff...@telenet.be
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz
(cherry picked from commit 639f739fbcfb5421c7b7173c700136f169e38bc8)
Reviewed-on: https://gerrit.libreoffice.org/1933
Reviewed-by: Kohei Yoshida kohei.yosh...@gmail.com
Tested-by: Kohei Yoshida kohei.yosh...@gmail.com

diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index 5a2061e..a514bb2 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -243,6 +243,7 @@ void OutlineViewShell::FuTemporary(SfxRequest rReq)
 else
 xPresentation-rehearseTimings();
 }
+Cancel();
 rReq.Done();
 }
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'update' - check.php

2013-02-01 Thread Jan Holesovsky
 check.php |   19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

New commits:
commit bf50f98d806f4eee39c426de1050ac2dc1409381
Author: Jan Holesovsky ke...@suse.cz
Date:   Fri Feb 1 19:05:59 2013 +0100

Offer update to 3.6.5.2.

diff --git a/check.php b/check.php
index 9857b63..0a6837f 100644
--- a/check.php
+++ b/check.php
@@ -132,9 +132,9 @@ $update_versions = array(
 '165a79a-7059095-e13bb37-fef39a4-9503d18' = 'LO-3.6',  # 3.5.4 RC2 / Final
 
 # 3.5.5 versions
-'c9944f7-48b7ff5-0507789-54a4c8a-8b242a8' = 'LO-3.5',  # 3.5.5 RC1
-'24b32b4-b87ec2e-85c8e98-87a4e20-9a1b8c1' = 'LO-3.5',  # 3.5.5 RC2
-'7122e39-92ed229-498d286-15e43b4-d70da21' = 'LO-3.5',  # 3.5.5 RC3 / Final
+'c9944f7-48b7ff5-0507789-54a4c8a-8b242a8' = 'LO-3.6',  # 3.5.5 RC1
+'24b32b4-b87ec2e-85c8e98-87a4e20-9a1b8c1' = 'LO-3.6',  # 3.5.5 RC2
+'7122e39-92ed229-498d286-15e43b4-d70da21' = 'LO-3.6',  # 3.5.5 RC3 / Final
 
 # 3.5.6 versions
 '9cb76c3-dcba98b-297ab39-994e618-0f858f0' = 'LO-3.5',  # 3.5.6 RC1
@@ -169,8 +169,11 @@ $update_versions = array(
 
 # 3.6.4 versions
 'a9a0717-273e462-768e6e3-978247f-65e65f' = 'LO-3.6',  # 3.6.4.1
-# To be uncommented when 3.6.5 Final is out
-#'2ef5aff-a6fb0ff-166bdff-cf087ad-0f1389' = 'LO-3.6',  # 3.6.4.3 / Final 
[3.5.4.2 was skipped]
+'2ef5aff-a6fb0ff-166bdff-cf087ad-0f1389' = 'LO-3.6',  # 3.6.4.3 / Final 
[3.6.4.2 was skipped]
+
+# 3.6.5 versions
+# To be uncommented when 3.6.6 Final is out
+#'5b93205-6e6b3fc-7830f6d-c08ad66-1d9bf4' = 'LO-3.6',  # 3.6.5.2 / Final 
[3.6.5.1 was skipped]
 
 ##
 # 4.0.0 versions
@@ -205,9 +208,9 @@ $update_map = array(
 #  'update_type' = 'text/html',
 #  'update_src'  = 
'http://www.libreoffice.org/download/pre-releases/'),
 
-'LO-3.6' = array('gitid'   = 
'2ef5aff-a6fb0ff-166bdff-cf087ad-0f1389',
-  'id'  = 'LibreOffice 3.6.4',
-  'version' = '3.6.4',
+'LO-3.6' = array('gitid'   = 
'5b93205-6e6b3fc-7830f6d-c08ad66-1d9bf4',
+  'id'  = 'LibreOffice 3.6.5',
+  'version' = '3.6.5',
   'update_type' = 'text/html',
   'update_src'  = 'http://www.libreoffice.org/download/'),
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: 3.6.4 not updating

2013-02-01 Thread Jan Holesovsky
Hi Olivier,

Jan Holesovsky píše v Pá 01. 02. 2013 v 12:37 +0100:

 I'll have a look later today.

Done :-)

http://cgit.freedesktop.org/libreoffice/website/commit/?h=updateid=bf50f98d806f4eee39c426de1050ac2dc1409381

All the best,
Kendy

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


Change in core[libreoffice-4-0]: resolved fdo#60087 corrected .xlsx export of functions

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1929

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c7ba47dde88a73d035b1db5f7f4cede78b262db
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Eike Rathke er...@redhat.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[master]: delete unused strings

2013-02-01 Thread Joren De Cuyper (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/1955

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/55/1955/1

delete unused strings

Change-Id: Ic24e0453786d64b8c082c4d7ca4a22b853827d0e
---
M fpicker/source/office/OfficeFilePicker.hrc
M fpicker/source/office/iodlg.src
2 files changed, 0 insertions(+), 12 deletions(-)



diff --git a/fpicker/source/office/OfficeFilePicker.hrc 
b/fpicker/source/office/OfficeFilePicker.hrc
index 63a56a0..2a9cf8a 100644
--- a/fpicker/source/office/OfficeFilePicker.hrc
+++ b/fpicker/source/office/OfficeFilePicker.hrc
@@ -36,10 +36,8 @@
 
 #define RID_FILEPICKER_IMAGES   (RID_FPICKER_START+17)
 #define STR_SVT_NEW_FOLDER  (RID_FPICKER_START+19)
-#define RID_FILEOPEN_INVALIDFOLDER  (RID_FPICKER_START+23)
 #define RID_FILEOPEN_NOTEXISTENTFILE(RID_FPICKER_START+24)
 #define STR_SVT_NOREMOVABLEDEVICE   (RID_FPICKER_START+25)
-#define STR_SVT_ALLFORMATS  (RID_FPICKER_START+26)
 
 
 #endif
diff --git a/fpicker/source/office/iodlg.src b/fpicker/source/office/iodlg.src
index 75feb9c..7747ae3 100644
--- a/fpicker/source/office/iodlg.src
+++ b/fpicker/source/office/iodlg.src
@@ -283,11 +283,6 @@
 
 // strings ***
 
-String RID_FILEOPEN_INVALIDFOLDER
-{
-Text [ en-US ] = $name$ does not exist.;
-};
-
 String RID_FILEOPEN_NOTEXISTENTFILE
 {
 Text [ en-US ] = The file $name$ does not exist.\nMake sure you have 
entered the correct file name.;
@@ -311,11 +306,6 @@
 String STR_SVT_NOREMOVABLEDEVICE
 {
 Text [ en-US ] = No removable storage device detected.\nMake sure it is 
plugged in properly and try again. ;
-};
-
-String STR_SVT_ALLFORMATS
-{
-Text [ en-US ] = All Formats ;
 };
 
 // EOF

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic24e0453786d64b8c082c4d7ca4a22b853827d0e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Joren De Cuyper joren.libreoff...@telenet.be
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: make it possible to update DDE links after loading, fdo#5903...

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1940

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iba49bec62cb9081cdcd9410215f269b59c1be304
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[master]: fix position correction for flipped shapes

2013-02-01 Thread Petr Mladek (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1250

Approvals:
  Petr Mladek: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I05aa036d31cd5d9a8b194897b3d92ec12d6d2c61
Gerrit-PatchSet: 3
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Lennard Wasserthal wassert...@nefkom.net
Gerrit-Reviewer: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: Radek Doulík r...@novell.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: if no cond format is valid use the existing protection, fdo#...

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1942

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib52a546a98f681b918de5e3bd285c36407fa8254
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: show style when dialog is created with existing cond format, ...

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1943

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1218179cd9c87ec15826adc861d505339a05f2d
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: we need to parse the cell address after import, fdo#59843

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1944

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I99a6507567b7d1018b790a90019cd563fa7323a0
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0]: we need to use SCROW for row numbers, fdo#59894

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1945

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I954acd801eb18e2c2fe6a449048856cb95d0d8b0
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard markus.mohrh...@googlemail.com
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Change in core[libreoffice-4-0-0]: fdo#51232: i#119987# fix Impress crash when pasting text und...

2013-02-01 Thread Kohei Yoshida (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/1933

Approvals:
  Kohei Yoshida: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I340de4f1b626defa52ecc48938c63ec4d1ce5c1d
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0-0
Gerrit-Owner: Caolán McNamara caol...@redhat.com
Gerrit-Reviewer: Joren De Cuyper joren.libreoff...@telenet.be
Gerrit-Reviewer: Kohei Yoshida kohei.yosh...@gmail.com
Gerrit-Reviewer: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: Tor Lillqvist t...@iki.fi
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: How-to to write help content ?

2013-02-01 Thread Sophie Gautier
On 01/02/2013 16:18, Sophie Gautier wrote:
 Hi Andras,
 
 To keep you update, I've checkouted the file on svn, build the
 extension, and installed it on LibO 4.
 I got the menu entries, now trying to understand how it works :)

So some pieces are missing from svn, the most important is the template,
but I've been able to find it elsewhere. I've also found the
documentation, it's old but gives some understanding. Now
checking/correcting the macros with the last LibO changes.
Once finished, I'll update the extension with the good scripts and the
template directory and will upload everything on my server.
I didn't retrieve the /image/ directory which has also been deleted on
svn, I don't think we need it.
When we will be ready, I'll send a mail to organize a workflow with the
developers.

Kind regards
Sophie

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


Re: How-to to write help content ?

2013-02-01 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Em 01-02-2013 17:02, Sophie Gautier escreveu:

 When we will be ready, I'll send a mail to organize a workflow with the
 developers.
 
 Kind regards
 Sophie
 

Thanks Sophie for the valuable work... I noticed some features miss the
appropriate help page. On my mind, the Writer Title page dialog is one
of them.


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

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRDBOzAAoJEJp3R7nH3vLx+MMH/2lWdCASgSLCpO4VzKAy7EXa
zxr5xVKTcZq8GWlj86n0tdlGCLlRtzeOIrTjmvXxKi+YGh/ckgMBwVzd7UqP2hEf
gcnONPtOByvhszo9qvF8iZ/dsW7hyBjGqFWzgQc6HccnyuSBebJQ3YOn9bFKQ6Rs
mhRdozLFg5+zF+a4+Ry/PsYKmxg5akzFUaeRbUx6bbES+2UaYZ5aMnUbs6kx/VBp
U6th1JnbxKKWXCyOXdrkZHx6t4h2Zw0XHwDutd9RhhNWpjc2yHM40NfVHL6InFhQ
eGutCU9abotIe9nyLtHlV7VHhjZzKCYkdOjiFlCl+Ym2dNChybz0vI476s7CchM=
=w71j
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: How-to to write help content ?

2013-02-01 Thread Sophie Gautier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Olivier,
On 01/02/2013 20:12, Olivier Hallot wrote:
 
 
 Em 01-02-2013 17:02, Sophie Gautier escreveu:
 
 When we will be ready, I'll send a mail to organize a workflow
 with the developers.
 
 Kind regards Sophie
 
 
 Thanks Sophie for the valuable work... I noticed some features miss
 the appropriate help page. On my mind, the Writer Title page
 dialog is one of them.
Thanks!

There is more and more functions missing or having deprecated help
files, hence why we try to jump in. I think the best will be to
associate the documentation project (we (FR project) are not English
speakers even if we are able to right a technical help) and to work
through BZ following developers indications.
But we still have some work to do before that :)

Kind regards
Sophie
- -- 
Sophie Gautier sophie.gaut...@documentfoundation.org
Tel:+33683901545
Membership  Certification Committee Member - Co-founder
The Document Foundation
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJRDBucAAoJEJRaC8j6sATNfvgIALNTiALZ3Ls+wkW1wbRdifRl
Tu6TmD9QqOWszDVpeBUjpMrbiOK36iIa0Qql+S4pJ4KdBnNoVkbKXNfgsgzY3Sub
FzISJvEPDhJtnsBRy7aK5N11/tdseuuSpugE2+btp2zH/cBZpHdtBW3vD05KX5Bh
XtXUC6aSX5R0sXSGaqd+HpV7F6Glv6SqM5HHVvmO4XaQ9EKgVdzEq2yP8hojWaZv
gw2oL9fYzlbq90DBrKmTsg/KLs8FPaJqaamgOUiIWphRNOwIcYEMvaQCfeSqPE68
nUYnZasIpbHl7Piq5WC1mtzxWBlimkMK1FaJ0hIs44VwIBE8keV9Mi76FnVw7Oc=
=Jg4r
-END PGP SIGNATURE-
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

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

   What|Removed |Added

 Depends on||59966

--- Comment #99 from Rainer Bielefeld libreoff...@bielefeldundbuss.de ---
Add Bug 59966 - Fails to update 4.0.0.0.beta2 By 4.1.0.0. Master! Of course
it is probably related to my PC, if not it would be very annoying. Anything I
can do to help debugging before I uninstall 4.0.0.2 to get 4.0.0.3 on my PC?

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


[Bug 54157] LibreOffice 3.7/4.0 most annoying bugs

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

Bug 54157 depends on bug 57061, which changed state.

Bug 57061 Summary: No personal data imported (or moved) during install from /3 
User Profile
https://bugs.freedesktop.org/show_bug.cgi?id=57061

   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


[Libreoffice-commits] .: sc/source

2013-02-01 Thread Kohei Yoshida
 sc/source/ui/unoobj/chart2uno.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 28b7359e00fec9fd3bfab3c9105cf250c4320a24
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Fri Feb 1 18:38:05 2013 -0500

bnc#801152: Scan all columns to determine the first data row.

When scanning the entire data range in an attempt to determine where
the first data row is, we shouldn't stop at the first column.  We should
scan all data columns to make sure we pick the lowest value row
position among all columns.

Change-Id: I693ec169857b181c6b4237efcba3fa6a46eaa531

diff --git a/sc/source/ui/unoobj/chart2uno.cxx 
b/sc/source/ui/unoobj/chart2uno.cxx
index 3ace857..5840837 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -295,13 +295,14 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount,  
SCROW nAllRowCount,
 bool bFoundValues = false;
 bool bFoundAnything = false;
 FormulaTokenMapMap::const_iterator it1 = rCols.begin();
-for (SCCOL nCol = 0; !bFoundValues  nCol  nAllColCount; ++nCol)
+for (SCCOL nCol = 0; nCol  nAllColCount; ++nCol)
 {
 if (it1 != rCols.end()  nCol=nHeaderColCount)
 {
+bool bFoundValuesInRow = false;
 FormulaTokenMap* pCol = it1-second;
 FormulaTokenMap::const_iterator it2 = pCol-begin();
-for (SCROW nRow = 0; !bFoundValues  nRow  
nSmallestValueRowIndex  it2 != pCol-end(); ++nRow)
+for (SCROW nRow = 0; !bFoundValuesInRow  nRow  
nSmallestValueRowIndex  it2 != pCol-end(); ++nRow)
 {
 FormulaToken* pToken = it2-second;
 if (pToken  nRow=nHeaderRowCount)
@@ -319,7 +320,7 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount,  
SCROW nAllRowCount,
 aRange.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, 
nTab2 );
 if (pDoc  pDoc-HasValueData( nCol1, nRow1, nTab1 ))
 {
-bFoundValues = bFoundAnything = true;
+bFoundValuesInRow = bFoundValues = bFoundAnything 
= true;
 nSmallestValueRowIndex = std::min( 
nSmallestValueRowIndex, nRow );
 }
 if( !bFoundAnything )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - sc/source

2013-02-01 Thread Kohei Yoshida
 sc/source/ui/unoobj/chart2uno.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 26d9f647258474b933f7a2c2fdf56af90749144a
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Fri Feb 1 18:38:05 2013 -0500

bnc#801152: Scan all columns to determine the first data row.

When scanning the entire data range in an attempt to determine where
the first data row is, we shouldn't stop at the first column.  We should
scan all data columns to make sure we pick the lowest value row
position among all columns.

Change-Id: I693ec169857b181c6b4237efcba3fa6a46eaa531

diff --git a/sc/source/ui/unoobj/chart2uno.cxx 
b/sc/source/ui/unoobj/chart2uno.cxx
index 7bf45e1..fdd3a2c 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -302,13 +302,14 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount,  
SCROW nAllRowCount,
 bool bFoundValues = false;
 bool bFoundAnything = false;
 FormulaTokenMapMap::const_iterator it1 = rCols.begin();
-for (SCCOL nCol = 0; !bFoundValues  nCol  nAllColCount; ++nCol)
+for (SCCOL nCol = 0; nCol  nAllColCount; ++nCol)
 {
 if (it1 != rCols.end()  nCol=nHeaderColCount)
 {
+bool bFoundValuesInRow = false;
 FormulaTokenMap* pCol = it1-second;
 FormulaTokenMap::const_iterator it2 = pCol-begin();
-for (SCROW nRow = 0; !bFoundValues  nRow  
nSmallestValueRowIndex  it2 != pCol-end(); ++nRow)
+for (SCROW nRow = 0; !bFoundValuesInRow  nRow  
nSmallestValueRowIndex  it2 != pCol-end(); ++nRow)
 {
 FormulaToken* pToken = it2-second;
 if (pToken  nRow=nHeaderRowCount)
@@ -326,7 +327,7 @@ Chart2PositionMap::Chart2PositionMap(SCCOL nAllColCount,  
SCROW nAllRowCount,
 aRange.GetVars( nCol1, nRow1, nTab1, nCol2, nRow2, 
nTab2 );
 if (pDoc  pDoc-HasValueData( nCol1, nRow1, nTab1 ))
 {
-bFoundValues = bFoundAnything = true;
+bFoundValuesInRow = bFoundValues = bFoundAnything 
= true;
 nSmallestValueRowIndex = std::min( 
nSmallestValueRowIndex, nRow );
 }
 if( !bFoundAnything )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: LibreOffice Development [ Comments in .pptx ] (Annotations Issue)

2013-02-01 Thread Vinaya Mandke
Hi,

I have now improved on the representation and am storing the fields in
CommentList vector inside SlidePersist.

Again I have found out a few more things...

   - CreateXShapes (presentationfragmenthandler) calls
   - CreateAndInsert() // pptshape which further calls createAndInsert() //
   shape.cxx creatInstance()
   - here there is no identified implementation for Annotations as there is
   for Notes (com.sun.star.presentation.NotesShape)
   - Similar kind of flow is followed for .odp and ximppage.cxx populates
   the XAnnotations for Start Element and End Element

Which data structure needs to be populated for an Annotation to be
displayed (rendered )?

Regards,

Vinaya


On Mon, Jan 28, 2013 at 8:04 PM, Vinaya Mandke vinayaman...@gmail.comwrote:

 Hi,

 PFA the diff file...

 I know that its incomplete and should have a separate handler, but as of
 now I can atleast save the comment data...

 This is what I have done

- I have handled comments exactly as notes
- In slidefragmenthandler added tokens to handle the comment attributes
- New file: annotation_buffer.h contains a vector to save anntotation
data of the particular slide
- Modified fragmenthandler2.cxx: startFastElement , endFastElement to
handle and save text characters of the comment

 Regards,
 Vinaya



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


[Libreoffice-commits] .: editeng/source

2013-02-01 Thread navin patidar
 editeng/source/editeng/impedit3.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 73de30ca9ca0d3d4edd00e0e8f22451238699989
Author: navin patidar pati...@kacst.edu.sa
Date:   Sat Feb 2 08:40:30 2013 +0300

fix fdo#59892 completely and fdo#33302 partially.

fix fdo#33302 for rtl scripts in cal,impress and draw.

Change-Id: I83b1e077faf0f2578308e03b7598557f60e7cfd8
Reviewed-on: https://gerrit.libreoffice.org/1961
Reviewed-by: Ahmad Harthi aalhar...@kacst.edu.sa
Tested-by: Ahmad Harthi aalhar...@kacst.edu.sa

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index 74f6f9e..4458937 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -4275,7 +4275,7 @@ void ImpEditEngine::ImplInitDigitMode(OutputDevice* 
pOutDev, LanguageType eCurLa
 void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_uInt16 
nPara, sal_uInt16 nIndex )
 {
 sal_Bool bCTL = sal_False;
-sal_uInt8 bR2L = sal_False;
+sal_Bool bR2L = sal_False;
 if ( nIndex == 0x )
 {
 bCTL = HasScriptType( nPara, i18n::ScriptType::COMPLEX );
@@ -4286,8 +4286,9 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* 
pOutDev, sal_uInt16 nPara,
 ContentNode* pNode = GetEditDoc().GetObject( nPara );
 short nScriptType = GetScriptType( EditPaM( pNode, nIndex+1 ) );
 bCTL = nScriptType == i18n::ScriptType::COMPLEX;
-bR2L = GetRightToLeft( nPara, nIndex + 1);  // this change was 
discussed in issue 37190
-// it also works for issue 
55927
+// this change was discussed in issue 37190
+bR2L = GetRightToLeft( nPara, nIndex + 1) == 1 /*RTL*/ ? true : false;
+// it also works for issue 55927
 }
 
 sal_uLong nLayoutMode = pOutDev-GetLayoutMode();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Libreoffice-qa] Online update testing 3.6.5

2013-02-01 Thread Jan Holesovsky
Hi Klaus-Juergen,

klaus-jürgen weghorn ol píše v Čt 31. 01. 2013 v 09:09 +0100:

 you know when such emails come that means:
 
 No online update.
 
 No 3.6.5

:-)  Thanks for the reminder, should be OK now.

All the best,
Kendy


___
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 44445] VIEWING UI screen jump to other position when zooming in/out

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=5

Winfried Donkers o...@dci-electronics.nl changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #8 from Winfried Donkers o...@dci-electronics.nl ---


*** This bug has been marked as a duplicate of bug 40465 ***

-- 
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 34451] Appearing docked Toolbars cause document jumping on screen

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=34451

Winfried Donkers o...@dci-electronics.nl changed:

   What|Removed |Added

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

-- 
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 46410] EDITING: Alphabetical index with concordance file

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46410

Nikos gdna7...@hotmail.com changed:

   What|Removed |Added

 CC||gdna7...@hotmail.com

--- Comment #23 from Nikos gdna7...@hotmail.com ---
Confirmed on
3.6.5 OpenSuse 64bit,
4.0.0.0.beta1 on Win7
this is annoying, as we do not have any 3.4.X installs available at the moment
and we have to update some manuals written in 2010...

Sure hope, somebody can find a fix for this.

-- 
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 60145] FILEOPEN: UTF-8 encoding without BOM is not detected

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60145

Urmas davian...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Severity|normal  |minor
Summary|FILEOPEN: Incorrect |FILEOPEN: UTF-8 encoding
   |character encoding  |without BOM is not detected
 Ever confirmed|0   |1

--- Comment #1 from Urmas davian...@gmail.com ---
You can also report a bug in Abiword, but I wouldn't expect anything
constructive from that bunch.

-- 
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 59863] FORMATTING: Anchor to Cell Text or Text Animation don't work in XLSX

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59863

Noel Power nopo...@novell.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #5 from Noel Power nopo...@novell.com ---


*** This bug has been marked as a duplicate of bug 58360 ***

-- 
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 60139] LO cannot start Fatal error on Mac

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60139

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

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||sberg...@redhat.com
 Ever confirmed|0   |1

--- Comment #1 from Stephan Bergmann sberg...@redhat.com ---
János, can you attach here (or send directly to me) a zip of your
/Users/janoskorponai/Library/Application Support/LibreOffice/3 folder?

-- 
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 60134] Formatting: Can't change letter-spacing of fill signs in tabs (possible regression)

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60134

Urmas davian...@gmail.com changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |All
 OS|Linux (All) |All
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Urmas davian...@gmail.com ---
Confirming.

-- 
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 60148] New: Clean up warnings from the Clang compiler plugin

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60148

  Priority: medium
Bug ID: 60148
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Clean up warnings from the Clang compiler plugin
  Severity: enhancement
Classification: Unclassified
OS: All
  Reporter: l.lu...@suse.cz
  Hardware: Other
Status: UNCONFIRMED
   Version: unspecified
 Component: Libreoffice
   Product: LibreOffice

When LibreOffice is built using the Clang compiler, it can use also a compiler
plugin to provide additional LO-specific warnings. Currently there are a number
of warnings generated by this plugin and they should be all fixed.

See https://wiki.documentfoundation.org/Development/Clang for information on
how to build LO with Clang.

See compilerplugins/README in the sources for information about the additional
warnings. Currently these are:

- unused variable warnings - These are very similar to warnings about basic
types the compilers provide on their own. It should be checked whether it's not
a mistake that the variable is not used, and the code should be either fixed or
the variable removed.

- incorrect block indentation - if several statements are in the body of
if/while/for statements, they need to be inside {}. The warning points out code
the possibly lacks these, although in many cases it is code that is technically
correct but just poorly formatted (very common case is writing else if on two
lines instead of just one). Such code should be either fixed or formatted
properly.

- log areas - macros such as SAL_INFO and SAL_WARN have a log area as their
first argument, which is a string, and this allows selective
enabling/disabling. As a protection against mistyping and also to ensure some
consistency, a warning is produced for areas that are not listed in
sal/inc/sal/log-areas.dox . Code with unknown areas should have either them
fixed or added to the list. Note that because of the selective
enabling/disabling, there should be one areas for logical area of code, and it
should not be overly generic (e.g. 'sw' for the whole of Writer is too broad).

-- 
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 60148] Clean up warnings from the Clang compiler plugin

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60148

Lubos Lunak l.lu...@suse.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Whiteboard||EasyHack,
   ||DifficultyBeginner,
   ||SkillCpp, TopicCleanup
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 59232] Error 1304 Error writing in file cli_basetypes.dll. Check access permisions

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59232

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

   What|Removed |Added

 CC||sberg...@redhat.com

--- Comment #7 from Stephan Bergmann sberg...@redhat.com ---
(In reply to comment #3)
 I've not tested comment #2 proposal to reset the user profile folder: i
 don't get why the profile should be involved during the setup phase??

Any existing user profile (i.e., %APPDATA%\LibreOffice folder) should indeed
not be relevant here.

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


[Libreoffice-bugs] [Bug 60139] LO cannot start Fatal error on Mac

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60139

--- Comment #2 from János Korponai korponai.ja...@iif.hu ---
Here you are.

On 2013.02.01., at 11:00, bugzilla-dae...@freedesktop.org wrote:

 Stephan Bergmann changed bug 60139 
 What  Removed Added
 StatusUNCONFIRMED NEEDINFO
 CCsberg...@redhat.com
 Ever confirmed1
 
 Comment # 1 on bug 60139 from Stephan Bergmann
 János, can you attach here (or send directly to me) a zip of your
 /Users/janoskorponai/Library/Application Support/LibreOffice/3 folder?
 
 
 You are receiving this mail because:
   • You reported the bug.


Janos Korponai
Department of Chemistry and Environmental Sciences
University of West Hungary
9700 Szombathely, Károly G. tér 4.
Hungary

-- 
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 60149] New: Create brochures via the internal PDF printer

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60149

  Priority: medium
Bug ID: 60149
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Create brochures via the internal PDF printer
  Severity: enhancement
Classification: Unclassified
OS: All
  Reporter: martin.koed...@it-syn.de
  Hardware: All
Status: UNCONFIRMED
   Version: unspecified
 Component: Printing and PDF export
   Product: LibreOffice

I often create brochures (flyer, etc.) with Writer. Although it's possible to
create them via some PDF printer (FreePDF or PDFCreator) it would be a great
feature to do the same with the LibreOffice PDF export.

Greetings
Martin

-- 
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 48440] FILEOPEN RTF: TABLE VIEWING destroyed

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48440

Miklos Vajna vmik...@suse.cz changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |vmik...@suse.cz
   |desktop.org |

--- Comment #14 from Miklos Vajna vmik...@suse.cz ---
Yes, seems \page between textframes is ignored, will fix this in a bit.

-- 
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 60139] LO cannot start Fatal error on Mac

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60139

--- Comment #3 from Stephan Bergmann sberg...@redhat.com ---
(In reply to comment #2)
 Here you are.

where?

-- 
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 60137] Charts - Export as Graphic does not work with SVG vector graphics

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60137

pje...@hotmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from pje...@hotmail.com ---
than you for reporting thus bug
i can reporduce this bug running lo 4.0 rc 2 and rc3 on mac os x 10.6.8

-- 
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 60139] LO cannot start Fatal error on Mac

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60139

--- Comment #4 from János Korponai korponai.ja...@iif.hu ---
I've got this message:

The file you are trying to attach is 3471 kilobytes (KB) in size. Attachments
cannot be more than 3000 KB. We recommend that you store your attachment
elsewhere and then paste the URL to this file on the attachment creation page
in the appropriate text field. Alternately, if your attachment is an image, you
could convert it to a compressible format like JPG or PNG and try again. 

Please give me an alternative way.

Janos

Janos Korponai
Department of Chemistry and Environmental Sciences
University of West Hungary
9700 Szombathely, Károly G. tér 4.
Hungary

-- 
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 60151] New: FORMATTING: Date Formatting

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60151

  Priority: medium
Bug ID: 60151
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FORMATTING: Date Formatting
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: grimble00...@yahoo.co.uk
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 3.6.4.3 release
 Component: Spreadsheet
   Product: LibreOffice

Problem description: 
Cell is formatted for dates dd/mm/yy. When I try to enter today's date (1st
February) as 1/2/13, as soon as the fourth character (the second /) is typed,
the first three are interpreted as 1/2, so the contents become ½/2013

Steps to reproduce:
1. Set English style date format
2. Format a cell for 31/12/99 type date
3. type 1/2/2013

Current behavior:
½/2013
Expected behavior:
1/2/13

Operating System: Linux (Other)
Version: 3.6.4.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 53019] Unable to pin the application to the taskbar (Windows 7)

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53019

--- Comment #8 from Vinicius vmro...@gmail.com ---
I'm using Windows 8 64bits and I also would like to pin LibreOffice Writer to
the taskbar.

-- 
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 60129] VIEWING: Window - New window command disabled in Web layout view mode

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60129

--- Comment #2 from Simeon Maryasin mars...@ya.ru ---
AFAIR, opening one document in several windows at once is useful when working
with different parts of it.
In Print layout mode you see document as it would be printed (split to pages,
etc), while in Web layout mode it isn't split and its formatting depends on
window size.

-- 
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 60151] FORMATTING: Date Formatting

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60151

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

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 QA Contact||joren.libreoffice@telenet.b
   ||e
 CC||markus.mohrhard@googlemail.
   ||com
 Ever confirmed|0   |1

--- Comment #1 from Jorendc joren.libreoff...@telenet.be ---
I can confirm this behavior when I set Cell language as 'English (VS)' using
LibreOffice 4.0.0.2rc2 Linux Mint 14 x64. But I'm not sure this is a bug, or
correct behavior. Because you choose to set a data field with formatting
MM/DD/YY...

@Markus: can you confirm this is a bug or this is correct behavior?

-- 
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 54157] LibreOffice 3.7/4.0 most annoying bugs

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54157

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

   What|Removed |Added

 CC||jumbo4...@yahoo.fr
 Depends on||60144

--- Comment #98 from Laurent BP jumbo4...@yahoo.fr ---
Promote bug 60144
Crash in Impress when inserting hyperlink

-- 
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 60144] EDITING: Crash when inserting hyperlink

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60144

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

   What|Removed |Added

 Blocks||54157

-- 
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 60144] EDITING: Crash when inserting hyperlink

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60144

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

   What|Removed |Added

   Hardware|Other   |All
 OS|Windows (All)   |All
 QA Contact||joren.libreoffice@telenet.b
   ||e

--- Comment #3 from Jorendc joren.libreoff...@telenet.be ---
I can confirm this behavior. I also can't select a file using the browser icon,
but I can select some 'recently opened' files using the drop down selector.

Reproducible using LibreOffice 4.0.0.2 rc2 using Linux Mint 14 x64. I'll try to
find out this is a regression or not.

Thanks for reporting!
Joren

PS: Thanks for set the correct priority (Following
https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg)

-- 
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 60153] New: Libreoffice Base, charts in reports throw an exception error of type com.sun.lang.WrappedTargetException

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60153

  Priority: medium
Bug ID: 60153
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Libreoffice Base, charts in reports throw an exception
error of type com.sun.lang.WrappedTargetException
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: spr...@usa.net
  Hardware: Other
Status: UNCONFIRMED
   Version: unspecified
 Component: Database
   Product: LibreOffice

When I insert a chart in a report to give a graphical representation of a table
or some query result I can see the chart correctly in edit mode but when I try
to run the report I get the following Error:

-SQL Status: S1000
-An error occured while creating the report.

The information of the error reads:
-An exception of type com.sun.lang.WrappedTargetException was caught
-Failed to parse the report

I have used the wizzard to generate the initial report with showing the data in
the Header and Detail section.
I then modified the report making Header and Detail sections invisible and by
adding the Report Header and Footer.
The chart I inserted in the Report header which shows fine in edit mode.
The report does not run however.
I tried to save the report before running but when I leave the edit mode and
run the report the report just shows empty pages.

This error first appeared in version 3.5.

I am using Libreoffice 3.6.5 in Ubuntu 12.04 and also in Ubuntu 12.10 on i386
laptops (Dell Inspiron 6000 and Acer Aspire 5336). Both operating systems
behave the same.

-- 
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 60092] : LO crashes when inseting data from data sources as a table

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60092

--- Comment #2 from Florian R. A. Angermeier 
florian.angerme...@desaster-games.com ---
I meant you pick colums to be included in the table.

   
| Column 2   | [  ] | Column 1   |
| Column 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 60092] : LO crashes when inserting data from data sources as a table

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60092

Florian R. A. Angermeier florian.angerme...@desaster-games.com changed:

   What|Removed |Added

Summary|: LO crashes when inseting  |: LO crashes when inserting
   |data from data sources as a |data from data sources as a
   |table   |table

-- 
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 58358] VIEWING Scrolling broken - page totally distorted

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58358

--- Comment #1 from Heinz Repp heinz.r...@arcor.de ---
Update: the same error happens with Libreoffice 3.6.5.2-2 on the same system:
Ubuntu 12.04 with Gnome Classic and Xorg Radeon driver
(6.14.99~git20111219.aacbd629-0ubuntu2), whereas a Debian testing x64 system
with Xorg Radeon driver (6.14.4-6) and Cinnamon shell does not show this bug,
neither does 3.5.7 on this system. Seems the 3.6 branch has introduced a severe
display bug that happens only on rare systems, but mine is one them.

-- 
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 60139] LO cannot start Fatal error on Mac

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60139

--- Comment #5 from Stephan Bergmann sberg...@redhat.com ---
János, sorry for the trouble this causes.  It should probably suffice if you
make available zips of just the two sub-folders
/Users/janoskorponai/Library/Application Support/LibreOffice/3/user/extensions
and Users/janoskorponai/Library/Application
Support/LibreOffice/3/user/uno_packages. which are hopefully each small enough
individually.

-- 
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 60154] New: Option Display of Fields: Hidden Paragraphs changes vertical alignment in tables

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60154

  Priority: medium
Bug ID: 60154
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Option Display of Fields: Hidden Paragraphs changes
vertical alignment in tables
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: chrismux2...@gmail.com
  Hardware: Other
Status: UNCONFIRMED
   Version: 3.5.4 release
 Component: Writer
   Product: LibreOffice

Created attachment 74039
  -- https://bugs.freedesktop.org/attachment.cgi?id=74039action=edit
Test file

Set the option Tools - Options - LibreOffice Writer - Formating Aids -
Fields: Hidden Paragraph

Open the attached file: Switch between page preview and normal view. Hit enter
somewhere in the document.
The text alignment of the word text is changing between bottom and top.

When Tools - Options - LibreOffice Writer - Formating Aids - Fields: Hidden
Paragraph is deactivated the alignment stays in place.

-- 
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 60149] Create brochures via the internal PDF printer

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60149

bfoman bfo.bugm...@spamgourmet.com changed:

   What|Removed |Added

 CC||bfo.bugm...@spamgourmet.com

--- Comment #1 from bfoman bfo.bugm...@spamgourmet.com ---
Could you elaborate some more writing what exact feature is missing with its
use case scenario?

-- 
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 60101] LibreOffice Base Crashed (stopped working) when naming a new database; error attached

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60101

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

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #2 from Jorendc joren.libreoff...@telenet.be ---
The bug reported send me an email where he listed all his extensions. Because
this is non-confidential information I'll list it here:
--
I performed the user profile reset; can't get it to fail.  I attached my 
extension loads (some I wasn't aware of). 
What do you mean by 'can't' get it to fail? Did this resolve your problem?

American English spell checker, v. 2011-11-09
Dmaths: Universal toolbox for docs, v. 3.4.9.9
English spelling dictionaries, v. 2011-12-05
epc-0.9.2.oxt, v. 0.9.2
Export As Images, v. 0.9.2
Gallery of danger signs, v. 2.0.5.1
geooo.oxt, v. 2.2.4
iMath – Numeric and symbolic calculations..., v. 2.0.1
Lightproof editor, v. 0.1
OooD – Chart Digitizer, v. 1.1.2
PDF Import, v. 1.0.6
Presentation Minimizer, v. 1.0.4
Presenter Console, v. 1.1.1
Python Calendar for Calc, v. 3.4.1
Report Builder, v. 1.2.3
Script provider for Python, v. 3.3.1
Search in Calc, v. 0.3.9
Solver for Nonlinear Programming, v. 0.9
TexMaths, v. 0.35
txtOOo, v. 1.0.2
Wiki Publisher, v. 1.1.2


@Bug reporter, if still reproducible: is it possible for you to clean
re-install libreoffice? I mean: do again a profile reset + delete and
re-install LibreOffice?

I'm asking this because I still can't confirm this (but that's maybe OS
related) and I would like to exclude as much as possible.

Thanks for your time!
Kind regards,
Joren

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


[Libreoffice-bugs] [Bug 55858] Large table FILESAVE error

2013-02-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55858

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

   What|Removed |Added

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

--- Comment #7 from Jorendc joren.libreoff...@telenet.be ---
(In reply to comment #6)
 I am also using Mint 14 64 Bit.
 
 I installed version 4 of Libreoffice and tried again with the original big
 file; 558151 rows and columns out to BL.
 Everything seems to work fine now, no problems with FileSave.  The saved
 ods file is 150 MB.
Thanks for your feedback! I'm glad this is resolved.
 
 I think you can mark the bug resolved.
Therefore I mark it as RESOLVED WORKSFORME. If this problem return, please feel
free to REOPEN this bug.

Thanks for your time testing and sending us feedback,
Joren

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


  1   2   3   >