[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sax/source

2013-07-04 Thread Cédric Bosdonnat
 sax/source/fastparser/fastparser.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49b90c89ab054b245a4ffda4ce3c579b9d767d55
Author: Cédric Bosdonnat 
Date:   Tue Jul 2 15:46:59 2013 +0200

fastsax: provide the element name instead of prefix for unknown elements

Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f
(cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
Reviewed-on: https://gerrit.libreoffice.org/4702
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/sax/source/fastparser/fastparser.cxx 
b/sax/source/fastparser/fastparser.cxx
index 1a80ed1..7ef48fd 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -812,7 +812,7 @@ void FastSaxParser::callbackStartElement( const XML_Char* 
pwName, const XML_Char
 rEntity.maContextStack.top()->maNamespace = GetNamespaceURL( 
pPrefix, nPrefixLen );
 
 const OUString aNamespace( 
rEntity.maContextStack.top()->maNamespace );
-const OUString aElementName( pPrefix, nPrefixLen, 
RTL_TEXTENCODING_UTF8 );
+const OUString aElementName( pName, nNameLen, 
RTL_TEXTENCODING_UTF8 );
 rEntity.maContextStack.top()->maElementName = aElementName;
 
 if( xParentContext.is() )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Cédric Bosdonnat
 sax/source/fastparser/fastparser.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6faedf249f1fed22cc2b901b2a39b715902ca353
Author: Cédric Bosdonnat 
Date:   Tue Jul 2 15:46:59 2013 +0200

fastsax: provide the element name instead of prefix for unknown elements

Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f
(cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
Reviewed-on: https://gerrit.libreoffice.org/4704
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/sax/source/fastparser/fastparser.cxx 
b/sax/source/fastparser/fastparser.cxx
index 4f63130..cf08a76 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -815,7 +815,7 @@ void FastSaxParser::callbackStartElement( const XML_Char* 
pwName, const XML_Char
 rEntity.maContextStack.top()->maNamespace = GetNamespaceURL( 
pPrefix, nPrefixLen );
 
 const OUString aNamespace( 
rEntity.maContextStack.top()->maNamespace );
-const OUString aElementName( pPrefix, nPrefixLen, 
RTL_TEXTENCODING_UTF8 );
+const OUString aElementName( pName, nNameLen, 
RTL_TEXTENCODING_UTF8 );
 rEntity.maContextStack.top()->maElementName = aElementName;
 
 if( xParentContext.is() )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - download.lst libvisio/libvisio-0.0.29-remove_whitespace.patch.1 libvisio/UnpackedTarball_visio.mk

2013-07-04 Thread Fridrich Štrba
 download.lst   |4 ++--
 libvisio/UnpackedTarball_visio.mk  |3 +++
 libvisio/libvisio-0.0.29-remove_whitespace.patch.1 |   20 
 3 files changed, 25 insertions(+), 2 deletions(-)

New commits:
commit 815e1cb47080df5a85ae747856228db8441336f2
Author: Fridrich Å trba 
Date:   Tue Jul 2 14:46:55 2013 +0200

Uploading new libvisio 0.0.29, fixing fdo#66421

(cherry picked from commit 50b0bf15bf0e173ba449efed93ef3909253b9988)
Reviewed-on: https://gerrit.libreoffice.org/4678
Reviewed-by: David Tardon 
Tested-by: David Tardon 
(cherry picked from commit 3820420edfb828e49735becf796803f0558ef844)

Conflicts:
download.lst

Change-Id: I7b9bc581c81caf74cb6f922abc2cfaee87b20572

Allow build with older boost

(cherry picked from commit d37723a2496907bf60829306c6509fe24a9c4dbe)
Reviewed-on: https://gerrit.libreoffice.org/4681
Reviewed-by: Bosdonnat Cedric 
Tested-by: Bosdonnat Cedric 
(cherry picked from commit 48259302d6cdf069fccc00461e7ad44b414f93e5)

Conflicts:
libvisio/UnpackedTarball_libvisio.mk

Change-Id: I49902109eb2a1b9561a9ccfa70d89c160a4965a9
Reviewed-on: https://gerrit.libreoffice.org/4711
Reviewed-by: Bosdonnat Cedric 
Tested-by: Bosdonnat Cedric 

diff --git a/download.lst b/download.lst
index ee3a84d..7961366 100644
--- a/download.lst
+++ b/download.lst
@@ -2,8 +2,8 @@ CDR_MD5SUM := d88f9b94df880d2c05be943b000ca112
 export CDR_TARBALL := libcdr-0.0.14.tar.bz2
 MSPUB_MD5SUM := 1120705cd0f0d9bd5506360bf57b6c2e
 export MSPUB_TARBALL := libmspub-0.0.6.tar.bz2
-VISIO_MD5SUM := 05574c2ec54dd0c29d75cacdf9419f44
-export VISIO_TARBALL := libvisio-0.0.28.tar.bz2
+VISIO_MD5SUM := ca7a83bb2d81467e1f0222980cc08939
+export VISIO_TARBALL := libvisio-0.0.29.tar.bz2
 
 export AFMS_TARBALL := 
1756c4fa6c616ae15973c104cd8cb256-Adobe-Core35_AFMs-314.tar.gz
 export APACHE_COMMONS_CODEC_TARBALL := 
af3c3acf618de6108d65fcdc92b492e1-commons-codec-1.3-src.tar.gz
diff --git a/libvisio/UnpackedTarball_visio.mk 
b/libvisio/UnpackedTarball_visio.mk
index 59c29ac..eacc570 100644
--- a/libvisio/UnpackedTarball_visio.mk
+++ b/libvisio/UnpackedTarball_visio.mk
@@ -11,5 +11,8 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,visio))
 
 $(eval $(call gb_UnpackedTarball_set_tarball,visio,$(VISIO_TARBALL)))
 
+$(eval $(call gb_UnpackedTarball_add_patches,visio,\
+   libvisio/libvisio-0.0.29-remove_whitespace.patch.1 \
+))
 
 # vim: set noet sw=4 ts=4:
diff --git a/libvisio/libvisio-0.0.29-remove_whitespace.patch.1 
b/libvisio/libvisio-0.0.29-remove_whitespace.patch.1
new file mode 100644
index 000..b8f1eb4
--- /dev/null
+++ b/libvisio/libvisio-0.0.29-remove_whitespace.patch.1
@@ -0,0 +1,20 @@
+--- a/src/lib/libvisio_utils.cpp
 b/src/lib/libvisio_utils.cpp
+@@ -33,7 +33,6 @@
+ #include "libvisio_utils.h"
+ 
+ #include 
+-#include 
+ #include 
+ 
+ uint8_t libvisio::readU8(WPXInputStream *input)
+@@ -126,8 +125,7 @@ double libvisio::readDouble(WPXInputStream *input)
+ void libvisio::appendFromBase64(WPXBinaryData &data, const unsigned char 
*base64String, size_t base64StringLength)
+ {
+   typedef boost::archive::iterators::transform_width<
+-  boost::archive::iterators::binary_from_base64<
+-  boost::archive::iterators::remove_whitespace< const char * > >, 8, 6 > 
base64_decoder;
++  boost::archive::iterators::binary_from_base64< const char * >, 8, 6 > 
base64_decoder;
+ 
+   std::vector buffer;
+   std::copy(base64_decoder(base64String), base64_decoder(base64String + 
base64StringLength), std::back_inserter(buffer));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 4 commits - include/svx include/vcl svx/source sw/inc sw/source sw/uiconfig sw/UIConfig_swriter.mk unusedcode.easy vcl/source

2013-07-04 Thread Caolán McNamara
 include/svx/galtheme.hxx |1 
 include/vcl/unohelp.hxx  |2 
 svx/source/gallery2/galtheme.cxx |1 
 sw/UIConfig_swriter.mk   |1 
 sw/inc/globals.hrc   |2 
 sw/inc/helpid.h  |1 
 sw/source/ui/config/optload.cxx  |  209 ++-
 sw/source/ui/config/optload.hrc  |   21 -
 sw/source/ui/config/optload.src  |  139 --
 sw/source/ui/dialog/swdlgfact.cxx|1 
 sw/source/ui/inc/optload.hxx |   49 +--
 sw/uiconfig/swriter/ui/optgeneralpage.ui |  426 +++
 unusedcode.easy  |2 
 vcl/source/control/ilstbox.cxx   |   11 
 vcl/source/window/builder.cxx|3 
 15 files changed, 543 insertions(+), 326 deletions(-)

New commits:
commit 0581c61c8b61041692befac101466190767e6597
Author: Caolán McNamara 
Date:   Wed Jul 3 18:30:07 2013 +0100

Resolves: fdo#66407 convert writer general options tab to .ui

Change-Id: I315c12b94663c0047150eed7ecbd6366f7e57bc4

diff --git a/sw/UIConfig_swriter.mk b/sw/UIConfig_swriter.mk
index 109dfef..dd533a7 100644
--- a/sw/UIConfig_swriter.mk
+++ b/sw/UIConfig_swriter.mk
@@ -102,6 +102,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/numberingnamedialog \
sw/uiconfig/swriter/ui/optcomparison \
sw/uiconfig/swriter/ui/optformataidspage \
+   sw/uiconfig/swriter/ui/optgeneralpage \
sw/uiconfig/swriter/ui/opttestpage \
sw/uiconfig/swriter/ui/outlinenumbering \
sw/uiconfig/swriter/ui/outlinenumberingpage \
diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc
index f380db9..8411ebf 100644
--- a/sw/inc/globals.hrc
+++ b/sw/inc/globals.hrc
@@ -186,7 +186,7 @@
 
 #define TP_OPTCAPTION_PAGE  (RC_GLOBALS_BEGIN +  78)
 #define DLG_SVXTEST_NUM_BULLET  (RC_GLOBALS_BEGIN +  79)
-#define TP_OPTLOAD_PAGE (RC_GLOBALS_BEGIN +  80)
+
 #define TP_INSERT_SECTION   (RC_GLOBALS_BEGIN +  85)
 #define DLG_INSERT_SECTION  (RC_GLOBALS_BEGIN +  86)
 #define DLG_SECTION_PROPERTIES  (RC_GLOBALS_BEGIN +  87)
diff --git a/sw/inc/helpid.h b/sw/inc/helpid.h
index ee1ae83..1bd27a4 100644
--- a/sw/inc/helpid.h
+++ b/sw/inc/helpid.h
@@ -173,7 +173,6 @@
 #define HID_EDIT_FLD_REF
"SW_HID_EDIT_FLD_REF"
 #define HID_REDLINE_CTRL
"SW_HID_REDLINE_CTRL"
 #define HID_OPTCAPTION_PAGE 
"SW_HID_OPTCAPTION_PAGE"
-#define HID_OPTLOAD_PAGE
"SW_HID_OPTLOAD_PAGE"
 #define HID_INSERT_SECTION_PAGE 
"SW_HID_INSERT_SECTION_PAGE"
 #define HID_INSERT_SECTION_DLG  
"SW_HID_INSERT_SECTION_DLG"
 #define HID_SECTION_PROPERTIES_DLG  
"SW_HID_SECTION_PROPERTIES_DLG"
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index 0bc1b8b..500438c 100644
--- a/sw/source/ui/config/optload.cxx
+++ b/sw/source/ui/config/optload.cxx
@@ -61,38 +61,24 @@ using namespace ::com::sun::star;
 
 #include 
 
-SwLoadOptPage::SwLoadOptPage( Window* pParent, const SfxItemSet& rSet ) :
-
-SfxTabPage( pParent, SW_RES( TP_OPTLOAD_PAGE ), rSet ),
-
-aUpdateFL   ( this, SW_RES( FL_UPDATE ) ),
-aLinkFT ( this, SW_RES( FT_LINK ) ),
-aAlwaysRB   ( this, SW_RES( RB_ALWAYS ) ),
-aRequestRB  ( this, SW_RES( RB_REQUEST ) ),
-aNeverRB( this, SW_RES( RB_NEVER  ) ),
-
-aFieldFT( this, SW_RES( FT_FIELD ) ),
-aAutoUpdateFields   ( this, SW_RES( CB_AUTO_UPDATE_FIELDS ) ),
-aAutoUpdateCharts   ( this, SW_RES( CB_AUTO_UPDATE_CHARTS ) ),
-
-aSettingsFL ( this, SW_RES( FL_SETTINGS ) ),
-aMetricFT   ( this, SW_RES( FT_METRIC ) ),
-aMetricLB   ( this, SW_RES( LB_METRIC ) ),
-aTabFT  ( this, SW_RES( FT_TAB ) ),
-aTabMF  ( this, SW_RES( MF_TAB ) ),
-aUseSquaredPageMode ( this, SW_RES( CB_USE_SQUARE_PAGE_MODE ) ),
-aUseCharUnit( this , SW_RES( CB_USE_CHAR_UNIT ) ),
-aWordCountFL( this , SW_RES( FL_WORDCOUNT ) ),
-aWordCountFT( this , SW_RES( FT_WORDCOUNT ) ),
-aWordCountED( this , SW_RES( ED_WORDCOUNT ) ),
-
-pWrtShell   ( NULL ),
-bHTMLMode   ( sal_False ),
-nLastTab( 0 ),
-nOldLinkMode( MANUAL )
-
+SwLoadOptPage::SwLoadOptPage(Window* pParent, const SfxItemSet& rSet)
+: SfxTabPage(pParent, "OptGeneralPage",
+"modules/swriter/ui/optgeneralpage.ui", rSet)
+, m_pWrtShell(NULL)
+, m_nLastTab(0)
+, m_nOldLinkMode(MANUAL)
 {
-FreeResource();
+get(m_pAlwaysRB, "always");
+get(m_pRequestRB, "onrequest");
+get(m_pNeverRB, "never");
+get(m_pAutoUpdateFields, "updatefields");
+

OConnection.cxx patch

2013-07-04 Thread Gabriele Bulfon
Hi,
I had to patch this file to build without errors:
--- libreoffice-4.1.0.1/connectivity/source/drivers/odbcbase/OConnection.cxx
Thu Jul  4 08:33:42 2013
+++ libreoffice-4.1.0.1/connectivity/source/drivers/odbcbase/OConnection.cxx
Thu Jul  4 08:34:55 2013
@@ -417,7 +417,7 @@
checkDisposed(OConnection_BASE::rBHelper.bDisposed);
-sal_Int32 nValueLen;
+SQLINTEGER nValueLen;
char pCat[1024];
OTools::ThrowException(this,
N3SQLGetConnectAttr(m_aConnectionHandle,SQL_ATTR_CURRENT_CATALOG,(SDB_ODBC_CHAR*)pCat,(sizeof
 pCat)-1,&nValueLen),
Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
via Santa Maria Valle 3 - 20123 - Milano - Italy
http://www.sonicle.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


final link failed: Bad value

2013-07-04 Thread Gabriele Bulfon
Hi,
after long building LO 4.1.0.1 on illumos based OS, I reached this error:
[build LNK] Executable/unopkg.bin
/usr/gnu/bin/ld: 
/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/LinkTarget/Executable/unopkg.bin:
 hidden symbol `main' in 
/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/CObject/desktop/source/pkgchk/unopkg/unopkg_main.o
 is referenced by DSO
/usr/gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
Any idea?
Gabriele.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Writer Line Numbering Import \ Export

2013-07-04 Thread Miklos Vajna
Hi,

On Tue, Jul 02, 2013 at 02:32:41PM +0300, Adam Fyne  
wrote:
> There is a bug I am trying to fix regarding line numbering.

Seeing https://gerrit.libreoffice.org/#/c/4693/, I hope you figured this
out in the meantime. :-)

> Is it true to say that DOCX attributes are always 'NS_ooxml::….' ?

For the reference, this is not correct, in
writerfilter/source/ooxml/model.xml, search for "sprm:", in those cases
OOXML attributes are mapped to sprm tokens as well.

Miklos


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


[Libreoffice-commits] core.git: helpcontent2

2013-07-04 Thread Caolán McNamara
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b775c8043242a8657eae11bae4085bd4291ac580
Author: Caolán McNamara 
Date:   Thu Jul 4 09:00:42 2013 +0100

Updated core
Project: help  7de50a3f88322f0de1f334c2811bcfd73d816cf5

diff --git a/helpcontent2 b/helpcontent2
index e4fcd65..7de50a3 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit e4fcd6566109736c1d2c17cd1b8be157ee7097db
+Subproject commit 7de50a3f88322f0de1f334c2811bcfd73d816cf5
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: helpers/help_hid.lst source/text

2013-07-04 Thread Caolán McNamara
 helpers/help_hid.lst |9 ---
 source/text/shared/optionen/01040900.xhp |   36 +++
 source/text/shared/optionen/01041000.xhp |4 ---
 3 files changed, 18 insertions(+), 31 deletions(-)

New commits:
commit 7de50a3f88322f0de1f334c2811bcfd73d816cf5
Author: Caolán McNamara 
Date:   Thu Jul 4 09:00:42 2013 +0100

update help ids for writer general opt page .ui conversion

Change-Id: I180c3a10578a125bc1e2f803a653d650ce80100d

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index af7c2aa..cbd5724 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -2657,7 +2657,6 @@ HID_OPTIONS_JAVA_PARAMETER,39998,
 HID_OPTIONS_LINGU,33812,
 HID_OPTIONS_MULTIPATH_LIST,40056,
 HID_OPTIONS_PATHS_SELECTFOLDER,39876,
-HID_OPTLOAD_PAGE,53230,
 HID_OPTMAKECHANGES,41151,
 HID_OPTPATH_CTL_PATH,33888,
 HID_OPTPATH_HEADERBAR,34069,
@@ -7932,9 +7931,6 @@ sw_CheckBox_TP_LINENUMBERING_CB_RESTART_PAGE,878887959,
 sw_CheckBox_TP_MAILCONFIG_CB_REPLYTO,879363078,
 sw_CheckBox_TP_MAILCONFIG_CB_SECURE,879363086,
 sw_CheckBox_TP_OPTCAPTION_PAGE_CB_APPLYBORDER,878937117,
-sw_CheckBox_TP_OPTLOAD_PAGE_CB_AUTO_UPDATE_CHARTS,878969873,
-sw_CheckBox_TP_OPTLOAD_PAGE_CB_AUTO_UPDATE_FIELDS,878969872,
-sw_CheckBox_TP_OPTLOAD_PAGE_CB_USE_SQUARE_PAGE_MODE,878969879,
 sw_CheckBox_TP_OPTSHDWCRSR_CB_ALLOW_IN_PROT,878806028,
 sw_CheckBox_TP_OPTSHDWCRSR_CB_BREAK,878806027,
 sw_CheckBox_TP_OPTSHDWCRSR_CB_CHAR_HIDDEN,878806077,
@@ -8204,7 +8200,6 @@ sw_ListBox_TP_OPTCAPTION_PAGE_LB_CHARSTYLE,878939676,
 sw_ListBox_TP_OPTCAPTION_PAGE_LB_LEVEL,878939671,
 sw_ListBox_TP_OPTCAPTION_PAGE_LB_ORDER,878939680,
 sw_ListBox_TP_OPTCOMPATIBILITY_PAGE_LB_FORMATTING,879349260,
-sw_ListBox_TP_OPTLOAD_PAGE_LB_METRIC,878972435,
 sw_ListBox_TP_REDLINE_OPT_LB_CHG_ATTR,878874124,
 sw_ListBox_TP_REDLINE_OPT_LB_CHG_COL,878874126,
 sw_ListBox_TP_REDLINE_OPT_LB_DEL_ATTR,878874119,
@@ -8287,7 +8282,6 @@ sw_MetricField_TP_LAB_FMT_FLD_UPPER,909711885,
 sw_MetricField_TP_LAB_FMT_FLD_VDIST,909711877,
 sw_MetricField_TP_LAB_FMT_FLD_WIDTH,909711879,
 sw_MetricField_TP_LINENUMBERING_MF_OFFSET,878893577,
-sw_MetricField_TP_OPTLOAD_PAGE_MF_TAB,878975510,
 sw_MetricField_TP_OPTTABLE_PAGE_MF_COLINSERT,878582391,
 sw_MetricField_TP_OPTTABLE_PAGE_MF_COLMOVE,878582386,
 sw_MetricField_TP_OPTTABLE_PAGE_MF_ROWINSERT,878582389,
@@ -8500,9 +8494,6 @@ sw_RadioButton_TP_LAB_LAB_BTN_CONT,909689353,
 sw_RadioButton_TP_LAB_LAB_BTN_SHEET,909689354,
 sw_RadioButton_TP_LAB_PRT_BTN_PAGE,909722113,
 sw_RadioButton_TP_LAB_PRT_BTN_SINGLE,909722114,
-sw_RadioButton_TP_OPTLOAD_PAGE_RB_ALWAYS,878969356,
-sw_RadioButton_TP_OPTLOAD_PAGE_RB_NEVER,878969358,
-sw_RadioButton_TP_OPTLOAD_PAGE_RB_REQUEST,878969357,
 sw_RadioButton_TP_OPTSHDWCRSR_RB_SHDWCRSFILLINDENT,878805510,
 sw_RadioButton_TP_OPTSHDWCRSR_RB_SHDWCRSFILLMARGIN,878805509,
 sw_RadioButton_TP_OPTSHDWCRSR_RB_SHDWCRSFILLSPACE,878805512,
diff --git a/source/text/shared/optionen/01040900.xhp 
b/source/text/shared/optionen/01040900.xhp
index e41c7b3..a87b045 100644
--- a/source/text/shared/optionen/01040900.xhp
+++ b/source/text/shared/optionen/01040900.xhp
@@ -43,8 +43,8 @@
 tab stops; spacing in text documents
 spacing; tab stops in text documents
 
-General
-Specifies general settings for text 
documents.
+General
+Specifies general 
settings for text documents.
 
 
   
@@ -53,22 +53,22 @@
 Update
 Update links when loading
 
-Always
-Always 
updates links while loading a document.
+Always
+Always 
updates links while loading a document.
 
-On request
-Updates 
links only on request while loading a document.
+On request
+Updates 
links only on request while loading a document.
 
-Never
-Links are 
never updated while loading a document.
+Never
+Links are 
never updated while loading a document.
 
 Automatically
 
 To update 
fields manuallyi81240
 
 
-Fields
-The 
contents of all fields are updated automatically whenever the screen contents 
are displayed as new. Even with this box unchecked, some fields are updated 
each time a special condition takes place. The following table lists 
the fields that are updated without regard to this checkbox.
+Fields
+The 
contents of all fields are updated automatically whenever the screen contents 
are displayed as new. Even with this box unchecked, some fields are updated 
each time a special condition takes place. The following table lists 
the fields that are updated without regard to this checkbox.
 
 
 
@@ -135,16 +135,16 @@
 
 
 
-Charts
-Specifies whether to 
automatically update charts. Whenever a Writer table cell value changes and the 
cursor leaves that cell, the chart that displays the cell value is updated 
automatically.see message "[sw-features] changed/CWS 
chart2mst3 : Automatic update for charts in Writer" by Thomas 
Lange
+Charts
+Specifies whether to 
automatically update charts. Whenever a Writer table cell value changes and the 
cursor leaves that cell, the chart that displays the cell value is updated 
automatically.

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

2013-07-04 Thread Petr Mladek
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3dbbaea8aa5e56981acc90737237197511ddfdac
Author: Petr Mladek 
Date:   Thu Jul 4 10:02:02 2013 +0200

fixed product version to 4.1.1.0+

the extra 5th version number was there by mistake

Change-Id: I85c37dc10f5f3c3a8c09b9e89c34dce13be26e48

diff --git a/configure.ac b/configure.ac
index b4ce4a2..844b49c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[4.1.1.0.0+],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[4.1.1.0+],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 save_CC=$CC
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Petr Mladek
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6dde9fa9f56272d4a67f5e0e30c4cb8ca172
Author: Petr Mladek 
Date:   Thu Jul 4 10:04:58 2013 +0200

fixed product version to 4.1.0.2+

the extra 5th version number was there by mistake

Change-Id: I556fc302bdec80ba51da598eb6101dd04c2987a1

diff --git a/configure.ac b/configure.ac
index df40096..711ecc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[4.1.0.2.0+],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[4.1.0.2+],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 save_CC=$CC
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Build breakage in master on OSX with openclwrapper.cxx

2013-07-04 Thread Tor Lillqvist
It is hopefully fixed already, just try again. The intent is that the
OpenCL code is by default built for the Mac, as there is no need for any
separate "SDK" for it, it is included in the normal OS X SDK. Just that the
10.6 SDK has a slightly older version of the OpenCL API than that against
which the OpenCL code we have was written.

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


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

2013-07-04 Thread Adam Co
 sw/qa/extras/ooxmlexport/data/fdo66543.docx  |binary
 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |   12 
 writerfilter/source/dmapper/DomainMapper.cxx |   14 +-
 writerfilter/source/dmapper/PropertyMap.cxx  |2 +-
 4 files changed, 26 insertions(+), 2 deletions(-)

New commits:
commit 7baf286555396416ac30a473dd1e50a878cef011
Author: Adam Co 
Date:   Wed Jul 3 12:28:12 2013 +0300

fdo#66543: fixed line number attribute START VALUE wasnt imported and 
exported

Change-Id: I09e0356f994f5eb328f741723ac7dbfea51419ed
Reviewed-on: https://gerrit.libreoffice.org/4693

diff --git a/sw/qa/extras/ooxmlexport/data/fdo66543.docx 
b/sw/qa/extras/ooxmlexport/data/fdo66543.docx
new file mode 100644
index 000..585eb41
Binary files /dev/null and b/sw/qa/extras/ooxmlexport/data/fdo66543.docx differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index db12382..8447081 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -19,6 +19,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -85,6 +86,7 @@ public:
 void testFdo64238_b();
 void testFdo56679();
 void testFdo65400();
+void testFdo66543();
 
 CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX) && !defined(WNT)
@@ -144,6 +146,7 @@ void Test::run()
 {"fdo64238_b.docx", &Test::testFdo64238_b},
 {"fdo56679.docx", &Test::testFdo56679},
 {"fdo65400.docx", &Test::testFdo65400},
+{"fdo66543.docx", &Test::testFdo66543},
 };
 // Don't test the first import of these, for some reason those tests fail
 const char* aBlacklist[] = {
@@ -878,6 +881,15 @@ void Test::testFdo65400()
 CPPUNIT_ASSERT_EQUAL( sal_Int32( 0xd8d8d8 ), getProperty< sal_Int32 >( 
shaded, "CharBackColor" ));
 }
 
+void Test::testFdo66543()
+{
+// The problem was that when importing DOCX with 'line numbers' - the 
'start value' was imported
+// but nothing was done with it.
+
+uno::Reference< text::XTextRange > paragraph1 = getParagraph( 1 );
+CPPUNIT_ASSERT_EQUAL( sal_Int32( 1 ), getProperty< sal_Int32 >( 
paragraph1, "ParaLineNumberStartValue" ));
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index c7bc9d3..de0783b 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -1376,16 +1376,28 @@ void DomainMapper::lcl_attribute(Id nName, Value & val)
 {
 case NS_ooxml::LN_CT_LineNumber_countBy:
 aSettings.nInterval = nIntValue;
+OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
+if( pSectionContext )
+pSectionContext->SetLnnMod( nIntValue );
 break;
 case NS_ooxml::LN_CT_LineNumber_start:
 aSettings.nStartValue = nIntValue; // todo: has to be set 
at (each) first paragraph
+OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
+if( pSectionContext )
+pSectionContext->SetLnnMin( nIntValue );
 break;
 case NS_ooxml::LN_CT_LineNumber_distance:
 aSettings.nDistance = 
ConversionHelper::convertTwipToMM100( nIntValue );
+OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
+if( pSectionContext )
+pSectionContext->SetdxaLnn( nIntValue );
 break;
 case NS_ooxml::LN_CT_LineNumber_restart:
 //page:empty, probably 0,section:1,continuous:2;
 aSettings.bRestartAtEachPage = nIntValue < 1;
+OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
+if( pSectionContext )
+pSectionContext->SetLnc( nIntValue );
 break;
 default:;
 }
@@ -2537,7 +2549,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, 
PropertyMapPtr rContext, SprmType
 case NS_sprm::LN_SLnnMin: // sprmSLnnMin
 OSL_ENSURE(pSectionContext, "SectionContext unavailable!");
 if( pSectionContext )
-pSectionContext->SetLnnMin( nIntValue );
+pSectionContext->SetLnnMin( nIntValue + 1 ); // Sending '+1' 
because the value of 'sprmSLnnMin' is one less than the starting value for line 
numbers.
 break;
 
 case NS_sprm::LN_SGprfIhdt:
diff --git a/writerfilter/source/dmapper/PropertyMap.cxx 
b/writerfilter/source/dmapper/PropertyMap.cxx
index a26fc18..cfa2d88 100644
--- a/writerfilter/source/dmapper/PropertyMap.cxx
+++ b/writerfilter/source/dmapper/PropertyMap.cxx
@@ -842,7 +842,7 @@ void SectionPropertyMap::CloseSectionGroup( 
DomainMapper_Impl& rDM

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

2013-07-04 Thread Tomáš Chvátal
 bin/distro-install-file-lists |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 90b836fc3ba19ef3bf638f0f122e2e050a6a2000
Author: Tomáš Chvátal 
Date:   Thu Jul 4 10:28:56 2013 +0200

Fix one more occurance of .uno.so

Change-Id: I1b1905a3eb7ab116eaaed5db37cff8e2bbe7456f

diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
index 22b120f..ce67667 100755
--- a/bin/distro-install-file-lists
+++ b/bin/distro-install-file-lists
@@ -353,7 +353,7 @@ if test "z$OOO_VENDOR" != "zDebian" ; then
 
 # Put gtk/gnome stuff into gnome package
 mv_file_between_flists gnome_list.txt core_list.txt 
$INSTALLDIR/program/gnome-open-url.bin
-mv_file_between_flists gnome_list.txt core_list.txt 
$INSTALLDIR/program/ucpgvfs1.uno.so
+mv_file_between_flists gnome_list.txt core_list.txt 
$INSTALLDIR/program/ucpgvfs1lo.so
 
 # Ship ooqstart for gnome in gnome package
 mv_file_between_flists gnome_list.txt core_list.txt 
"$INSTALLDIR/program/libqstart_gtk680.*"
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Petr Mladek
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2a19bc471c9e19f79c2d4b821cd725515cfdaece
Author: Petr Mladek 
Date:   Thu Jul 4 10:30:25 2013 +0200

Revert "fixed product version to 4.1.0.2+"

It was actually on purpose because the "+" in the 4th version number
caused a build crash.

This reverts commit 6dde9fa9f56272d4a67f5e0e30c4cb8ca172.

diff --git a/configure.ac b/configure.ac
index 711ecc6..df40096 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[4.1.0.2+],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[4.1.0.2.0+],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 save_CC=$CC
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Petr Mladek
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 807145996b34bc1ba42c80d6e707ff19769f4c10
Author: Petr Mladek 
Date:   Thu Jul 4 10:32:44 2013 +0200

Revert "fixed product version to 4.1.1.0+"

It was actually on purpose because the "+" in the 4th version number
caused a build crash.

This reverts commit 3dbbaea8aa5e56981acc90737237197511ddfdac.

diff --git a/configure.ac b/configure.ac
index 844b49c..b4ce4a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[4.1.1.0+],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[4.1.1.0.0+],[],[],[http://documentfoundation.org/])
 
 AC_PREREQ([2.59])
 save_CC=$CC
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Miklos Vajna
 writerfilter/source/dmapper/DomainMapper.cxx |   14 +--
 writerfilter/source/dmapper/DomainMapperTableHandler.cxx |   28 +++---
 writerfilter/source/dmapper/DomainMapper_Impl.cxx|   10 +-
 writerfilter/source/dmapper/PropertyMap.cxx  |   70 +++
 writerfilter/source/dmapper/PropertyMap.hxx  |6 -
 writerfilter/source/dmapper/SdtHelper.cxx|4 
 writerfilter/source/dmapper/StyleSheetTable.cxx  |8 -
 7 files changed, 69 insertions(+), 71 deletions(-)

New commits:
commit 25bfc4a4e6fd34c10d352c87e38e36c9303edfd2
Author: Miklos Vajna 
Date:   Thu Jul 4 10:30:42 2013 +0200

writerfilter::dmapper::PropertyDefinition::bIsTextProperty is never read

Change-Id: I9d0ce39c1c47d8b89bd675ce91f6cfe2e9c3a061

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index de0783b..4a932d5 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -988,7 +988,7 @@ void DomainMapper::lcl_attribute(Id nName, Value & val)
 PropertyMap::iterator aLineSpacingIter;
 if (pTopContext)
 {
-aLineSpacingIter = pTopContext->find(PropertyDefinition( 
PROP_PARA_LINE_SPACING, true ) );
+aLineSpacingIter = pTopContext->find(PropertyDefinition( 
PROP_PARA_LINE_SPACING ) );
 bFound = aLineSpacingIter != pTopContext->end();
 }
 if (bFound)
@@ -1521,7 +1521,7 @@ sal_Int32 
lcl_getCurrentNumberingProperty(uno::Referencefind( 
PropertyDefinition( PROP_WRITING_MODE, false ));
+PropertyMap::const_iterator aPropParaIte = rContext->find( 
PropertyDefinition( PROP_WRITING_MODE ));
 if( aPropParaIte != rContext->end())
 {
 sal_Int32 aAdjust ;
@@ -1609,7 +1609,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, 
PropertyMapPtr rContext, SprmType
 uno::Any aRules = uno::makeAny( pList->GetNumberingRules( 
) );
 rContext->Insert( PROP_NUMBERING_RULES, true, aRules );
 // erase numbering from pStyle if already set
-rContext->erase( PropertyDefinition( 
PROP_NUMBERING_STYLE_NAME, true ));
+rContext->erase( PropertyDefinition( 
PROP_NUMBERING_STYLE_NAME ));
 }
 }
 else
@@ -3089,7 +3089,7 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, 
PropertyMapPtr rContext, SprmType
 m_pImpl->GetTopContext()->Insert( PROP_PARA_STYLE_NAME, true, 
uno::makeAny( sConvertedStyleName ));
 //apply numbering to paragraph if it was set at the style, but only if 
the paragraph itself
 //does not specify the numbering
-if( rContext->find( PropertyDefinition( PROP_NUMBERING_RULES, true )) 
== rContext->end()) // !contains
+if( rContext->find( PropertyDefinition( PROP_NUMBERING_RULES )) == 
rContext->end()) // !contains
 {
 const StyleSheetEntryPtr pEntry = 
pStyleTable->FindStyleSheetByISTD(sStringValue);
 OSL_ENSURE( pEntry.get(), "no style sheet found" );
@@ -3106,8 +3106,8 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, 
PropertyMapPtr rContext, SprmType
 {
 const StyleSheetEntryPtr pParent = 
pStyleTable->FindStyleSheetByISTD(pEntry->sBaseStyleIdentifier);
 const StyleSheetPropertyMap* pParentProperties = 
dynamic_cast(pParent ? pParent->pProperties.get() 
: 0);
-if (pParentProperties->find( PropertyDefinition( 
PROP_PARA_RIGHT_MARGIN, true )) != pParentProperties->end())
-nParaRightMargin = pParentProperties->find( 
PropertyDefinition( PROP_PARA_RIGHT_MARGIN, true ))->second.get();
+if (pParentProperties->find( PropertyDefinition( 
PROP_PARA_RIGHT_MARGIN )) != pParentProperties->end())
+nParaRightMargin = pParentProperties->find( 
PropertyDefinition( PROP_PARA_RIGHT_MARGIN ))->second.get();
 }
 if (nParaRightMargin != 0)
 {
@@ -3426,7 +3426,7 @@ void DomainMapper::processDeferredCharacterProperties( 
const std::map< sal_Int32
 {
 std::map< sal_Int32, uno::Any >::const_iterator font = 
deferredCharacterProperties.find( NS_sprm::LN_CHps );
 PropertyMapPtr pDefaultCharProps = 
m_pImpl->GetStyleSheetTable()->GetDefaultCharProps();
-PropertyMap::iterator aDefaultFont = 
pDefaultCharProps->find(PropertyDefinition( PROP_CHAR_HEIGHT, false ));
+PropertyMap::iterator aDefaultFont = 
pDefaultCharProps->find(PropertyDefinition( PROP_CHAR_HEIGHT ));
 if( font != deferredCharacterProperties.end())
 {
 double fontSize = 0;
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx 
b/writerfilter/source/dmapper/DomainMapperT

[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 2 commits - 3c/7eb23c2a3beff216f58e2376030f9b4c80087e 83/87a0d5d26e0e327097ec91dfc66173c4de24d1

2013-07-04 Thread Caolán McNamara
 3c/7eb23c2a3beff216f58e2376030f9b4c80087e |1 +
 83/87a0d5d26e0e327097ec91dfc66173c4de24d1 |1 +
 2 files changed, 2 insertions(+)

New commits:
commit a80a1392ea4b84a76562e3e081c7e00980ddd6e2
Author: Caolán McNamara 
Date:   Thu Jul 4 09:45:56 2013 +0100

Notes added by 'git notes add'

diff --git a/83/87a0d5d26e0e327097ec91dfc66173c4de24d1 
b/83/87a0d5d26e0e327097ec91dfc66173c4de24d1
new file mode 100644
index 000..a4f2907
--- /dev/null
+++ b/83/87a0d5d26e0e327097ec91dfc66173c4de24d1
@@ -0,0 +1 @@
+ignore: obsolete, rerun windows 8 validation tooling
commit ce18bc59611da17b3735d15acc9dc44a4990a850
Author: Caolán McNamara 
Date:   Thu Jul 4 09:45:42 2013 +0100

Notes added by 'git notes add'

diff --git a/3c/7eb23c2a3beff216f58e2376030f9b4c80087e 
b/3c/7eb23c2a3beff216f58e2376030f9b4c80087e
new file mode 100644
index 000..a4f2907
--- /dev/null
+++ b/3c/7eb23c2a3beff216f58e2376030f9b4c80087e
@@ -0,0 +1 @@
+ignore: obsolete, rerun windows 8 validation tooling
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Miklos Vajna
 oox/source/vml/vmlshape.cxx   |   14 ++
 sw/qa/extras/ooxmlimport/data/n820504.docx|binary
 sw/qa/extras/ooxmlimport/ooxmlimport.cxx  |8 +++-
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |2 +-
 4 files changed, 10 insertions(+), 14 deletions(-)

New commits:
commit f5b7acac624f07fa95835b6054b8d295901bb1dd
Author: Miklos Vajna 
Date:   Thu Jul 4 10:55:50 2013 +0200

bnc#820504 VML import: don't anchor shapes TO_PAGE

In theory, this is a problem because Word formats only support AT_CHAR
and AS_CHAR, so importing something as AT_PAGE is buggy.

In practice, this also leads to unvisible shapes, since
f0d001a378c64ea457e722266e60c96522c72e9b.

Change-Id: Ie730d67a789ef12734cede1f9b6c27764a66f237

diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index f95b7e1..efd5d75 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -456,18 +456,8 @@ void lcl_SetAnchorType(PropertySet& rPropSet, const 
ShapeTypeModel& rTypeModel)
 
 if ( rTypeModel.maPosition == "absolute" )
 {
-if (rTypeModel.moWrapAnchorX.get() == "page" && 
rTypeModel.moWrapAnchorY.get() == "page")
-{
-// I'm not sure if AT_PAGE is always correct here (not sure what 
the parent that
-// the spec talks about can be), but with Writer SwXDrawPage::add()
-// always in practice uses this because of 
pDoc->GetCurrentLayout() being NULL at this point.
-rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_PAGE);
-}
-else
-{
-// Map to as-character by default, that fixes vertical position of 
some textframes.
-rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_CHARACTER);
-}
+// Word supports as-character (inline) and at-character only, absolute 
can't be inline.
+rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_CHARACTER);
 
 if ( rTypeModel.maPositionVerticalRelative == "page" )
 {
diff --git a/sw/qa/extras/ooxmlimport/data/n820504.docx 
b/sw/qa/extras/ooxmlimport/data/n820504.docx
index 36279a9..3cc2bfa 100644
Binary files a/sw/qa/extras/ooxmlimport/data/n820504.docx and 
b/sw/qa/extras/ooxmlimport/data/n820504.docx differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx 
b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index d53094e..6d036a8 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -532,7 +532,7 @@ void Test::testN764005()
 CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER);
 sal_Bool bValue = sal_True;
 xPropertySet->getPropertyValue("Opaque") >>= bValue;
-CPPUNIT_ASSERT_EQUAL(sal_False, bValue);
+CPPUNIT_ASSERT_EQUAL(false, bool(bValue));
 }
 
 void Test::testSmartart()
@@ -1455,6 +1455,12 @@ void Test::testN820504()
 uno::Reference 
xStyle(xStylesAccess->getByName("Default Style"), uno::UNO_QUERY);
 // The problem was that the CharColor was set to AUTO (-1) even if we have 
some default char color set
 CPPUNIT_ASSERT_EQUAL(sal_Int32(4040635), getProperty(xStyle, 
"CharColor"));
+
+// Also, the groupshape was anchored at-page instead of at-character
+// (that's incorrect as Word only supports at-character and as-character).
+uno::Reference xDrawPageSupplier(mxComponent, 
uno::UNO_QUERY);
+uno::Reference 
xDraws(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY);
+CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AT_CHARACTER, 
getProperty(xDraws->getByIndex(0), "AnchorType"));
 }
 
 void Test::testFdo43641()
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index af47f15..ded3f89 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1749,7 +1749,7 @@ void DomainMapper_Impl::PushShapeContext( const 
uno::Reference< drawing::XShape
 if (nAnchorType == text::TextContentAnchorType_AT_PAGE)
 bIsGraphic = false;
 
-if (nAnchorType != text::TextContentAnchorType_AT_PAGE)
+if (!m_bInHeaderFooterImport)
 xProps->setPropertyValue(
 rPropNameSupplier.GetName( PROP_OPAQUE ),
 uno::makeAny( true ) );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: filter/inc filter/source filter/uiconfig filter/UIConfig_xsltdlg.mk

2013-07-04 Thread Caolán McNamara
 filter/UIConfig_xsltdlg.mk|1 
 filter/inc/filter.hrc |1 
 filter/source/pdf/impdialog.cxx   |  136 ---
 filter/source/pdf/impdialog.hrc   |   55 
 filter/source/pdf/impdialog.hxx   |   40 +--
 filter/source/pdf/impdialog.src   |  165 -
 filter/uiconfig/ui/pdfviewpage.ui |  464 ++
 7 files changed, 543 insertions(+), 319 deletions(-)

New commits:
commit 1e467c8b38b4308af48a7dd4e34888bbd935bfc5
Author: Caolán McNamara 
Date:   Thu Jul 4 09:28:59 2013 +0100

convert pdf view page to .ui format

Change-Id: I738dd72f66658f60025152c9c3db765dbcb981ac

diff --git a/filter/UIConfig_xsltdlg.mk b/filter/UIConfig_xsltdlg.mk
index d474ec5..6cb146c 100644
--- a/filter/UIConfig_xsltdlg.mk
+++ b/filter/UIConfig_xsltdlg.mk
@@ -13,6 +13,7 @@ $(eval $(call gb_UIConfig_add_uifiles,filter,\
 filter/uiconfig/ui/pdflinkspage \
 filter/uiconfig/ui/pdfsecuritypage \
 filter/uiconfig/ui/pdfuserinterfacepage \
+filter/uiconfig/ui/pdfviewpage \
filter/uiconfig/ui/testxmlfilter \
filter/uiconfig/ui/xmlfiltersettings \
 ))
diff --git a/filter/inc/filter.hrc b/filter/inc/filter.hrc
index ec5879b..8077a81 100644
--- a/filter/inc/filter.hrc
+++ b/filter/inc/filter.hrc
@@ -32,7 +32,6 @@
 // warning, next range is RID_FILTER_START + 100 !
 
 #define HID_FILTER_PDF_OPTIONS  "HID_FILTER_PDF_OPTIONS"
-#define HID_FILTER_PDF_INITIAL_VIEW   "HID_FILTER_PDF_INITIAL_VIEW"
 #define HID_FILTER_PDF_SIGNING"HID_FILTER_PDF_SIGNING"
 
 #endif
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 73b6592..d4d43be 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -822,47 +822,33 @@ IMPL_LINK_NOARG(ImpPDFTabGeneralPage, ToggleExportPDFAHdl)
 return 0;
 }
 
-/
 // the option features tab page
-// 
-
-ImpPDFTabOpnFtrPage::ImpPDFTabOpnFtrPage( Window* pParent,
-  const SfxItemSet& rCoreSet ) :
-SfxTabPage( pParent, PDFFilterResId( RID_PDF_TAB_OPNFTR ), rCoreSet ),
-
-maFlInitialView( this, PDFFilterResId( FL_INITVIEW ) ),
-maRbOpnPageOnly( this, PDFFilterResId( RB_OPNMODE_PAGEONLY ) ),
-maRbOpnOutline( this, PDFFilterResId( RB_OPNMODE_OUTLINE ) ),
-maRbOpnThumbs( this, PDFFilterResId( RB_OPNMODE_THUMBS ) ),
-maFtInitialPage( this, PDFFilterResId( FT_MAGNF_INITIAL_PAGE ) ),
-maNumInitialPage( this, PDFFilterResId( NUM_MAGNF_INITIAL_PAGE ) ),
-
-maFlMagnification( this, PDFFilterResId( FL_MAGNIFICATION ) ),
-maRbMagnDefault( this, PDFFilterResId( RB_MAGNF_DEFAULT ) ),
-maRbMagnFitWin( this, PDFFilterResId( RB_MAGNF_WIND ) ),
-maRbMagnFitWidth( this, PDFFilterResId( RB_MAGNF_WIDTH ) ),
-maRbMagnFitVisible( this, PDFFilterResId( RB_MAGNF_VISIBLE ) ),
-maRbMagnZoom( this, PDFFilterResId( RB_MAGNF_ZOOM ) ),
-maNumZoom( this, PDFFilterResId( NUM_MAGNF_ZOOM ) ),
-
-m_aVerticalLine(this, PDFFilterResId(FL_INITVIEW_VERTICAL)),
-
-maFlPageLayout( this, PDFFilterResId( FL_PAGE_LAYOUT ) ),
-maRbPgLyDefault( this, PDFFilterResId( RB_PGLY_DEFAULT ) ),
-maRbPgLySinglePage( this, PDFFilterResId( RB_PGLY_SINGPG ) ),
-maRbPgLyContinue( this, PDFFilterResId( RB_PGLY_CONT ) ),
-maRbPgLyContinueFacing( this, PDFFilterResId( RB_PGLY_CONTFAC ) ),
-maCbPgLyFirstOnLeft( this, PDFFilterResId( CB_PGLY_FIRSTLEFT ) ),
-mbUseCTLFont( sal_False )
+ImpPDFTabOpnFtrPage::ImpPDFTabOpnFtrPage(Window* pParent, const SfxItemSet& 
rCoreSet)
+: SfxTabPage(pParent, "PdfViewPage","filter/ui/pdfviewpage.ui", rCoreSet)
+, mbUseCTLFont(false)
 {
-FreeResource();
-
-maRbMagnDefault.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, 
ToggleRbMagnHdl ) );
-maRbMagnFitWin.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, 
ToggleRbMagnHdl ) );
-maRbMagnFitWidth.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, 
ToggleRbMagnHdl ) );
-maRbMagnFitVisible.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, 
ToggleRbMagnHdl ) );
-maRbMagnZoom.SetToggleHdl( LINK( this, ImpPDFTabOpnFtrPage, 
ToggleRbMagnHdl ) );
-maNumZoom.SetAccessibleName(maRbMagnZoom.GetText());
-maNumZoom.SetAccessibleRelationLabeledBy(&maRbMagnZoom);
+get(mpRbOpnPageOnly, "pageonly");
+get(mpRbOpnOutline, "outline");
+get(mpRbOpnThumbs, "thumbs");
+get(mpNumInitialPage, "page");
+get(mpRbMagnDefault, "fitdefault");
+get(mpRbMagnFitWin, "fitwin");
+get(mpRbMagnFitWidth, "fitwidth");
+get(mpRbMagnFitVisible, "fitvis");
+get(mpRbMagnZoom, "fitzoom");
+get(mpNumZoom, "zoom");
+get(mpRbPgLyDefault, "defaultlayout");
+get(mpRbPgLySinglePage, "singlelayout");
+get(mpRbPgLyContinue, "contlayout");
+get(mpRbPgLyContinueFacing, "contfacinglayout");
+get(mpCbPgLyFirstOnLeft, "firstonleft");
+
+ 

[Libreoffice-commits] core.git: helpcontent2

2013-07-04 Thread Caolán McNamara
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b7151c4ac7e3f7bac4921ca7af07ffd862d808bb
Author: Caolán McNamara 
Date:   Thu Jul 4 10:30:10 2013 +0100

Updated core
Project: help  f1701b12193c153b6f7d7de018b871e6a05beedd

diff --git a/helpcontent2 b/helpcontent2
index 7de50a3..f1701b1 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 7de50a3f88322f0de1f334c2811bcfd73d816cf5
+Subproject commit f1701b12193c153b6f7d7de018b871e6a05beedd
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: helpers/help_hid.lst source/text

2013-07-04 Thread Caolán McNamara
 helpers/help_hid.lst |   16 ---
 source/text/shared/01/ref_pdf_export.xhp |   32 ---
 2 files changed, 17 insertions(+), 31 deletions(-)

New commits:
commit f1701b12193c153b6f7d7de018b871e6a05beedd
Author: Caolán McNamara 
Date:   Thu Jul 4 10:30:10 2013 +0100

update help ids for pdf view page .ui conversion

Change-Id: I760965834d6583f37b0eca7bf90b29bf96de14c6

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index cbd5724..74f1a52 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -1738,7 +1738,6 @@ HID_FILL_ATTR_LISTBOX,39869,
 HID_FILL_TYPE_LISTBOX,39870,
 HID_FILTER_NAVIGATOR,38072,
 HID_FILTER_NAVIGATOR_WIN,38073,
-HID_FILTER_PDF_INITIAL_VIEW,64150,
 HID_FILTER_PDF_OPTIONS,64149,
 HID_FIRSTSTART_CANCEL,42781,
 HID_FIRSTSTART_FINISH,42782,
@@ -6255,33 +6254,18 @@ 
filter_CheckBox_RID_PDF_TAB_GENER_CB_EXPORTNOTES,867845138,
 filter_CheckBox_RID_PDF_TAB_GENER_CB_PDFA_1B_SELECT,867845145,
 filter_CheckBox_RID_PDF_TAB_GENER_CB_REDUCEIMAGERESOLUTION,867845134,
 filter_CheckBox_RID_PDF_TAB_GENER_CB_TAGGEDPDF,867845137,
-filter_CheckBox_RID_PDF_TAB_OPNFTR_CB_PGLY_FIRSTLEFT,867877986,
 filter_ComboBox_RID_PDF_TAB_GENER_CO_REDUCEIMAGERESOLUTION,867848207,
 filter_Edit_RID_PDF_TAB_GENER_ED_PAGES,867846149,
 filter_ListBox_RID_PDF_TAB_GENER_LB_FORMSFORMAT,867847702,
 filter_MetricField_RID_PDF_TAB_GENER_NF_QUALITY,867850765,
-filter_MetricField_RID_PDF_TAB_OPNFTR_NUM_MAGNF_ZOOM,867883610,
 filter_ModalDialog_DLG_OPTIONS,1090519040,
 filter_ModalDialog_RID_PDF_ERROR_DLG,1404878848,
 filter_NumericField_DLG_OPTIONS_NUM_FLD_QUALITY,1090525185,
-filter_NumericField_RID_PDF_TAB_OPNFTR_NUM_MAGNF_INITIAL_PAGE,867883100,
 filter_RadioButton_RID_PDF_TAB_GENER_RB_ALL,867844610,
 filter_RadioButton_RID_PDF_TAB_GENER_RB_JPEGCOMPRESSION,867844619,
 filter_RadioButton_RID_PDF_TAB_GENER_RB_LOSSLESSCOMPRESSION,867844618,
 filter_RadioButton_RID_PDF_TAB_GENER_RB_RANGE,867844611,
 filter_RadioButton_RID_PDF_TAB_GENER_RB_SELECTION,867844612,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_MAGNF_DEFAULT,867877461,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_MAGNF_VISIBLE,867877464,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_MAGNF_WIDTH,867877463,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_MAGNF_WIND,867877462,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_MAGNF_ZOOM,867877465,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_OPNMODE_OUTLINE,867877458,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_OPNMODE_PAGEONLY,867877457,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_OPNMODE_THUMBS,867877459,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_PGLY_CONT,867877472,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_PGLY_CONTFAC,867877473,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_PGLY_DEFAULT,867877470,
-filter_RadioButton_RID_PDF_TAB_OPNFTR_RB_PGLY_SINGPG,867877471,
 formula_CheckBox_RID_FORMULADLG_FORMULA_BTN_MATRIX,2655437835,
 formula_CheckBox_RID_FORMULADLG_FORMULA_MODAL_BTN_MATRIX,1581728779,
 formula_Edit_RID_FORMULADLG_FORMULA_ED_REF,2655438867,
diff --git a/source/text/shared/01/ref_pdf_export.xhp 
b/source/text/shared/01/ref_pdf_export.xhp
index b3c98a1..fb777d7 100644
--- a/source/text/shared/01/ref_pdf_export.xhp
+++ b/source/text/shared/01/ref_pdf_export.xhp
@@ -122,52 +122,54 @@
 Export automatically inserted blank pages
   If switched on, automatically inserted blank pages 
are being exported to pdf file. This is best if you are printing the pdf file 
double-sided. Example: In a book a chapter paragraph style is set to always 
start with an odd numbered page. The previous chapter ends on an odd page. 
%PRODUCTNAME inserts an even numbered blank page. This option controls whether 
to export that even numbered page or not.
   Initial View tab
+  
   Panes
-
+
 Page only
   Select to generate a PDF file that shows only the 
page contents.
-
+
 Bookmarks and page
   Select to generate a PDF file that shows a bookmarks 
palette and the page contents.UFI: Adobe reader help names the 
panes as "palettes"
-
+
 Thumbnails and page
   Select to generate a PDF file that shows a thumbnails 
palette and the page contents.
-
+
 Open on page
   Select to show the given page when the reader opens 
the PDF file.
   Magnification
-
+
 Default
   Select to generate a PDF file that shows the page 
contents without zooming. If the reader software is configured to use a zoom 
factor by default, the page shows with that zoom factor.
-
+
 Fit in window
   Select to generate a PDF file that shows the page 
zoomed to fit entirely into the reader's window.
-
+
 Fit width
   Select to generate a PDF file that shows the page 
zoomed to fit the width of the reader's window.
-
+
 Fit visible
   Select to generate a PDF file that shows the text and 
graphics on the page zoomed to fit the width of the reader's 
window.
-
-
+
+
 Zoom factor
   Select a given zoom factor when the reader opens the 
PDF file.
   Page layout
-
+
 Default
   S

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sysui/Package_osxicons.mk

2013-07-04 Thread Norbert Thiebaud
 sysui/Package_osxicons.mk |   49 ++
 1 file changed, 24 insertions(+), 25 deletions(-)

New commits:
commit 69876d6bdca0a527c4d10b9a3c724f5df9d035ec
Author: Norbert Thiebaud 
Date:   Thu Jul 4 04:42:05 2013 -0500

fdo#66100 : fix icons associations on MacOSX

Change-Id: Idbce5516f1cc59b8d1cc39ee0a0db2aad90e8074
Reviewed-on: https://gerrit.libreoffice.org/4714
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/sysui/Package_osxicons.mk b/sysui/Package_osxicons.mk
index ed84e10..6f8ca5f 100644
--- a/sysui/Package_osxicons.mk
+++ b/sysui/Package_osxicons.mk
@@ -7,35 +7,34 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 
-$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop))
+$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop/icons))
 
 $(eval $(call gb_Package_set_outdir,sysui_osxicons,$(INSTDIR)))
 
 $(eval $(call gb_Package_add_files_with_dir,sysui_osxicons,Resources,\
-icons/text.icns \
-icons/oasis-text.icns \
-icons/spreadsheet.icns \
-icons/oasis-spreadsheet.icns \
-icons/presentation.icns \
-icons/oasis-presentation.icns \
-icons/drawing.icns \
-icons/oasis-drawing.icns \
-icons/master-document.icns \
-icons/oasis-master-document.icns \
-icons/formula.icns \
-icons/oasis-formula.icns \
-icons/text-template.icns \
-icons/oasis-text-template.icns \
-icons/spreadsheet-template.icns \
-icons/oasis-spreadsheet-template.icns \
-icons/presentation-template.icns \
-icons/oasis-presentation-template.icns \
-icons/drawing-template.icns \
-icons/oasis-drawing-template.icns \
-icons/oasis-database.icns \
-icons/extension.icns \
-icons/main.icns \
-   macosx/Info.plist \
+text.icns \
+oasis-text.icns \
+spreadsheet.icns \
+oasis-spreadsheet.icns \
+presentation.icns \
+oasis-presentation.icns \
+drawing.icns \
+oasis-drawing.icns \
+master-document.icns \
+oasis-master-document.icns \
+formula.icns \
+oasis-formula.icns \
+text-template.icns \
+oasis-text-template.icns \
+spreadsheet-template.icns \
+oasis-spreadsheet-template.icns \
+presentation-template.icns \
+oasis-presentation-template.icns \
+drawing-template.icns \
+oasis-drawing-template.icns \
+oasis-database.icns \
+extension.icns \
+main.icns \
 ))
 
 # vim: set ts=4 sw=4 et:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sysui/Package_osxicons.mk

2013-07-04 Thread Norbert Thiebaud
 sysui/Package_osxicons.mk |   49 ++
 1 file changed, 24 insertions(+), 25 deletions(-)

New commits:
commit e2f002c044243ddd79eea7837167a72c82b98599
Author: Norbert Thiebaud 
Date:   Thu Jul 4 04:42:05 2013 -0500

fdo#66100 : fix icons associations on MacOSX

Change-Id: Idbce5516f1cc59b8d1cc39ee0a0db2aad90e8074

diff --git a/sysui/Package_osxicons.mk b/sysui/Package_osxicons.mk
index ed84e10..6f8ca5f 100644
--- a/sysui/Package_osxicons.mk
+++ b/sysui/Package_osxicons.mk
@@ -7,35 +7,34 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 
-$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop))
+$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop/icons))
 
 $(eval $(call gb_Package_set_outdir,sysui_osxicons,$(INSTDIR)))
 
 $(eval $(call gb_Package_add_files_with_dir,sysui_osxicons,Resources,\
-icons/text.icns \
-icons/oasis-text.icns \
-icons/spreadsheet.icns \
-icons/oasis-spreadsheet.icns \
-icons/presentation.icns \
-icons/oasis-presentation.icns \
-icons/drawing.icns \
-icons/oasis-drawing.icns \
-icons/master-document.icns \
-icons/oasis-master-document.icns \
-icons/formula.icns \
-icons/oasis-formula.icns \
-icons/text-template.icns \
-icons/oasis-text-template.icns \
-icons/spreadsheet-template.icns \
-icons/oasis-spreadsheet-template.icns \
-icons/presentation-template.icns \
-icons/oasis-presentation-template.icns \
-icons/drawing-template.icns \
-icons/oasis-drawing-template.icns \
-icons/oasis-database.icns \
-icons/extension.icns \
-icons/main.icns \
-   macosx/Info.plist \
+text.icns \
+oasis-text.icns \
+spreadsheet.icns \
+oasis-spreadsheet.icns \
+presentation.icns \
+oasis-presentation.icns \
+drawing.icns \
+oasis-drawing.icns \
+master-document.icns \
+oasis-master-document.icns \
+formula.icns \
+oasis-formula.icns \
+text-template.icns \
+oasis-text-template.icns \
+spreadsheet-template.icns \
+oasis-spreadsheet-template.icns \
+presentation-template.icns \
+oasis-presentation-template.icns \
+drawing-template.icns \
+oasis-drawing-template.icns \
+oasis-database.icns \
+extension.icns \
+main.icns \
 ))
 
 # vim: set ts=4 sw=4 et:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED] module sot: String, bool and other clean-up

2013-07-04 Thread Fridrich Strba (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/4710

Approvals:
  LibreOffice gerrit bot: Verified
  Fridrich Strba: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe2bfdf20c500e9fd98c3baef66d36aa79ca4b52
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud 
Gerrit-Reviewer: Fridrich Strba 
Gerrit-Reviewer: LibreOffice gerrit bot 

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


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

2013-07-04 Thread Caolán McNamara
 vcl/source/window/builder.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit c104e2b661ec840951d39b5889495e2c42ff3d36
Author: Caolán McNamara 
Date:   Thu Jul 4 11:02:34 2013 +0100

fix %VARIABLE replacements in item lists

Change-Id: I94f129e26afdac9dc2e0d712c79d73142ced5eee

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 0993af9..95f0737 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2034,6 +2034,12 @@ std::vector 
VclBuilder::handleItems(xmlreader::XmlReader &reader, const
 if (!bTranslated)
 sValue = OString(name.begin, name.length);
 
+if (m_pStringReplace)
+{
+OUString sTmp = 
(*m_pStringReplace)(OStringToOUString(sValue, RTL_TEXTENCODING_UTF8));
+sValue = OUStringToOString(sTmp, RTL_TEXTENCODING_UTF8);
+}
+
 aItems.push_back(sValue);
 ++nItemIndex;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Caolán McNamara
 sot/source/base/exchange.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c55a2bd33b00f92f795f4ee224c1887228c97b53
Author: Caolán McNamara 
Date:   Thu Jul 4 11:05:50 2013 +0100

fix build

Change-Id: I87ad4384b8898017d94f8e075d13545b7b4cfe50

diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx
index 5b13c74..9765eb3 100644
--- a/sot/source/base/exchange.cxx
+++ b/sot/source/base/exchange.cxx
@@ -386,7 +386,7 @@ OUString SotExchange::GetFormatMimeType( sal_uLong nFormat )
 sMimeType = rL[ nFormat ]->MimeType;
 }
 
-DBG_ASSERT( sMimeType.Len(), "SotExchange::GetFormatMimeType(): DataFlavor 
not initialized" );
+DBG_ASSERT( !sMimeType.isEmpty(), "SotExchange::GetFormatMimeType(): 
DataFlavor not initialized" );
 
 return sMimeType;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - odk/docs sysui/desktop

2013-07-04 Thread Jürgen Schmidt
 odk/docs/images/ooo-main-app_32.png |binary
 sysui/desktop/icons/main.icns   |binary
 2 files changed

New commits:
commit 0e0c8e770a166ad51ca13ae422fdb3c89ccc98fe
Author: Jürgen Schmidt 
Date:   Thu Jul 4 09:45:22 2013 +

#122620# main aoo icon for Mac OS

diff --git a/sysui/desktop/icons/main.icns b/sysui/desktop/icons/main.icns
index 8357c09..df341eb9 100755
Binary files a/sysui/desktop/icons/main.icns and 
b/sysui/desktop/icons/main.icns differ
commit 431e6e6a434a9c28bdef47bede3b139ea461c456
Author: Jürgen Schmidt 
Date:   Thu Jul 4 09:32:45 2013 +

#122620# update oo icon image

diff --git a/odk/docs/images/ooo-main-app_32.png 
b/odk/docs/images/ooo-main-app_32.png
old mode 100644
new mode 100755
index 296c6f4..5f07799
Binary files a/odk/docs/images/ooo-main-app_32.png and 
b/odk/docs/images/ooo-main-app_32.png differ
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Csikós Tamás
 cui/UIConfig_cui.mk|1 
 cui/source/options/opthtml.cxx |  204 ++--
 cui/source/options/opthtml.hxx |   44 +-
 cui/uiconfig/ui/opthtmlpage.ui |  647 +
 4 files changed, 760 insertions(+), 136 deletions(-)

New commits:
commit 1be8236b688617f93cfaf23fe647632ce53b5ff1
Author: Csikós Tamás 
Date:   Wed Jul 3 16:42:23 2013 +0200

modern widgetlayout for opthtml

Change-Id: Ibad69d5d9512c1199c6cca3930c1b04f0af4987c
Reviewed-on: https://gerrit.libreoffice.org/4707
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk
index 4ef51d6..2f30c25 100644
--- a/cui/UIConfig_cui.mk
+++ b/cui/UIConfig_cui.mk
@@ -49,6 +49,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/optfltrpage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \
+cui/uiconfig/ui/opthtmlpage \
cui/uiconfig/ui/optjsearchpage \
cui/uiconfig/ui/optlanguagespage \
cui/uiconfig/ui/optmemorypage \
diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx
index 9993030..5f53228 100644
--- a/cui/source/options/opthtml.cxx
+++ b/cui/source/options/opthtml.cxx
@@ -20,7 +20,6 @@
 #include 
 #include 
 #include "opthtml.hxx"
-#include "opthtml.hrc"
 #include 
 #include "helpid.hrc"
 #include 
@@ -44,40 +43,27 @@ const sal_uInt16 aExportToPosArr[] =
 // ---
 
 OfaHtmlTabPage::OfaHtmlTabPage(Window* pParent, const SfxItemSet& rSet) :
-SfxTabPage( pParent, CUI_RES( RID_OFAPAGE_HTMLOPT ), rSet ),
-aFontSizeGB ( this, CUI_RES( GB_FONTSIZE   ) ),
-aSize1FT( this, CUI_RES( FT_SIZE1  ) ),
-aSize1NF( this, CUI_RES( NF_SIZE1  ) ),
-aSize2FT( this, CUI_RES( FT_SIZE2  ) ),
-aSize2NF( this, CUI_RES( NF_SIZE2  ) ),
-aSize3FT( this, CUI_RES( FT_SIZE3  ) ),
-aSize3NF( this, CUI_RES( NF_SIZE3  ) ),
-aSize4FT( this, CUI_RES( FT_SIZE4  ) ),
-aSize4NF( this, CUI_RES( NF_SIZE4  ) ),
-aSize5FT( this, CUI_RES( FT_SIZE5  ) ),
-aSize5NF( this, CUI_RES( NF_SIZE5  ) ),
-aSize6FT( this, CUI_RES( FT_SIZE6  ) ),
-aSize6NF( this, CUI_RES( NF_SIZE6  ) ),
-aSize7FT( this, CUI_RES( FT_SIZE7  ) ),
-aSize7NF( this, CUI_RES( NF_SIZE7  ) ),
-aImportGB   ( this, CUI_RES( GB_IMPORT ) ),
-aNumbersEnglishUSCB ( this, CUI_RES( CB_NUMBERS_ENGLISH_US ) ),
-aUnknownTagCB   ( this, CUI_RES( CB_UNKNOWN_TAGS ) ),
-aIgnoreFontNamesCB( this, CUI_RES( CB_IGNORE_FONTNAMES ) ),
-aExportGB   ( this, CUI_RES( GB_EXPORT   ) ),
-aExportLB   ( this, CUI_RES( LB_EXPORT   ) ),
-aStarBasicCB( this, CUI_RES( CB_STARBASIC) ),
-aStarBasicWarningCB(this, CUI_RES( CB_STARBASIC_WARNING) ),
-aPrintExtensionCB( this,CUI_RES(CB_PRINT_EXTENSION )),
-aSaveGrfLocalCB ( this, CUI_RES( CB_LOCAL_GRF) ),
-aCharSetFT  ( this, CUI_RES( FT_CHARSET  ) ),
-aCharSetLB  ( this, CUI_RES( LB_CHARSET  ) )
-
+SfxTabPage( pParent, "OptHtmlPage" , "cui/ui/opthtmlpage.ui", rSet )
 {
-FreeResource();
+get(aSize1NF,"size1");
+get(aSize2NF,"size2");
+get(aSize3NF,"size3");
+get(aSize4NF,"size4");
+get(aSize5NF,"size5");
+get(aSize6NF,"size6");
+get(aSize7NF,"size7");
+get(aNumbersEnglishUSCB,"numbersenglishus");
+get(aUnknownTagCB,"unknowntag");
+get(aIgnoreFontNamesCB,"ignorefontnames");
+get(aExportLB,"export");
+get(aStarBasicCB,"starbasic");
+get(aStarBasicWarningCB,"starbasicwarning");
+get(aPrintExtensionCB,"printextension");
+get(aSaveGrfLocalCB,"savegrflocal");
+get(aCharSetLB,"charset");
 
 // replace placeholder with UI string from language list
-String aText( aNumbersEnglishUSCB.GetText());
+/*String aText( aNumbersEnglishUSCB->GetText());
 String aPlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%ENGLISHUSLOCALE"));
 xub_StrLen nPos;
 if ((nPos = aText.Search( aPlaceholder)) != STRING_NOTFOUND)
@@ -87,15 +73,15 @@ OfaHtmlTabPage::OfaHtmlTabPage(Window* pParent, const 
SfxItemSet& rSet) :
 if (rStr.Len())
 {
 aText.Replace( nPos, aPlaceholder.Len(), rStr);
-aNumbersEnglishUSCB.SetText( aText);
+aNumbersEnglishUSCB->SetText( aText);
 }
-}
+}*/
 
-aExportLB.SetSelectHdl(LINK(this, OfaHtmlTabPage, ExportHdl_Impl));
-aStarBasicCB.SetClickHdl(LINK(this, OfaHtmlTabPage, CheckBoxHdl_Impl));
+aExportLB->SetSelectHdl(LINK(this, OfaHtmlTabPage, ExportHdl_Impl));
+aStarBasicCB->SetClickHdl(LINK(this, OfaHtmlTabPage, CheckBoxHdl_Impl));
 
 // initialize the characterset listbox

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

2013-07-04 Thread Caolán McNamara
 cui/UIConfig_cui.mk|2 
 cui/source/options/opthtml.cxx |5 
 cui/uiconfig/ui/opthtmlpage.ui |  271 ++---
 3 files changed, 126 insertions(+), 152 deletions(-)

New commits:
commit cf2b27494c67ea15be99140ef9cde38d646fd8f9
Author: Caolán McNamara 
Date:   Thu Jul 4 11:01:32 2013 +0100

some small tweaks to the html ui conversion

restore the %PRODUCTNAME and %LOCALE variables

Change-Id: I2b2e62ac3dd5c1117085f96f4541218bf1100647

diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk
index 2f30c25..c21e556 100644
--- a/cui/UIConfig_cui.mk
+++ b/cui/UIConfig_cui.mk
@@ -49,7 +49,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\
cui/uiconfig/ui/optfltrpage \
cui/uiconfig/ui/optfontspage \
cui/uiconfig/ui/optgeneralpage \
-cui/uiconfig/ui/opthtmlpage \
+   cui/uiconfig/ui/opthtmlpage \
cui/uiconfig/ui/optjsearchpage \
cui/uiconfig/ui/optlanguagespage \
cui/uiconfig/ui/optmemorypage \
diff --git a/cui/source/options/opthtml.cxx b/cui/source/options/opthtml.cxx
index 5f53228..7651a1e 100644
--- a/cui/source/options/opthtml.cxx
+++ b/cui/source/options/opthtml.cxx
@@ -61,9 +61,10 @@ SfxTabPage( pParent, "OptHtmlPage" , 
"cui/ui/opthtmlpage.ui", rSet )
 get(aPrintExtensionCB,"printextension");
 get(aSaveGrfLocalCB,"savegrflocal");
 get(aCharSetLB,"charset");
+aCharSetLB->SetStyle(aCharSetLB->GetStyle() | WB_SORT);
 
 // replace placeholder with UI string from language list
-/*String aText( aNumbersEnglishUSCB->GetText());
+String aText( aNumbersEnglishUSCB->GetText());
 String aPlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%ENGLISHUSLOCALE"));
 xub_StrLen nPos;
 if ((nPos = aText.Search( aPlaceholder)) != STRING_NOTFOUND)
@@ -75,7 +76,7 @@ SfxTabPage( pParent, "OptHtmlPage" , "cui/ui/opthtmlpage.ui", 
rSet )
 aText.Replace( nPos, aPlaceholder.Len(), rStr);
 aNumbersEnglishUSCB->SetText( aText);
 }
-}*/
+}
 
 aExportLB->SetSelectHdl(LINK(this, OfaHtmlTabPage, ExportHdl_Impl));
 aStarBasicCB->SetClickHdl(LINK(this, OfaHtmlTabPage, CheckBoxHdl_Impl));
diff --git a/cui/uiconfig/ui/opthtmlpage.ui b/cui/uiconfig/ui/opthtmlpage.ui
index 5672399..ea6fb99 100644
--- a/cui/uiconfig/ui/opthtmlpage.ui
+++ b/cui/uiconfig/ui/opthtmlpage.ui
@@ -1,6 +1,7 @@
 
 
   
+  
   
 1
 50
@@ -53,13 +54,13 @@
   
 True
 False
-12
+6
 12
 
   
 True
 False
-6
+True
 vertical
 12
 
@@ -90,6 +91,7 @@
 True
 False
 Size 
_7
+True
 size7
   
   
@@ -119,6 +121,7 @@
 True
 False
 Size 
_6
+True
 size6
   
   
@@ -148,6 +151,7 @@
 True
 False
 Size 
_5
+True
 size5
   
   
@@ -177,6 +181,7 @@
 True
 False
 Size 
_4
+True
 size4
   
   
@@ -206,6 +211,7 @@
 True
 False
 Size 
_3
+True
 size3
   
   
@@ -235,6 +241,7 @@
 True
 False
 Size 
_2
+True
 size2
   
   
@@ -264,6 +271,7 @@
 True
 False
 Size 
_1
+True
 size1
   
   
@@ -298,7 +306,7 @@
 False
 Font sizes
 
-  
+  
 
   
 
@@ -310,12 +318,17 @@
   
 
   
+  
+False
+True
+0
+  
 
 
   
 True
 False
-12
+True
 vertical
 12
 
@@ -323,7 +336,6 @@
 True
 False
 True
-True
 0
 none
 
@@ -361,60 +373,64 @@
 
   
 _Import 
unknown HTML tags as fields
- True
- True
- False
- True
- True
-

[Libreoffice-commits] core.git: cui/AllLangResTarget_cui.mk cui/source

2013-07-04 Thread Caolán McNamara
 cui/AllLangResTarget_cui.mk|1 
 cui/source/options/opthtml.hrc |   56 ---
 cui/source/options/opthtml.src |  295 -
 3 files changed, 352 deletions(-)

New commits:
commit 9e689ce13a43c536c17043e351dbdf5687fd32bc
Author: Caolán McNamara 
Date:   Thu Jul 4 11:21:44 2013 +0100

drop unused .src now

Change-Id: I6ec69375dc1023f6f899bc3bb46bccc47e508634

diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk
index 5d80738..9a49234 100644
--- a/cui/AllLangResTarget_cui.mk
+++ b/cui/AllLangResTarget_cui.mk
@@ -57,7 +57,6 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
 cui/source/options/optdict.src \
 cui/source/options/optfltr.src \
 cui/source/options/optgdlg.src \
-cui/source/options/opthtml.src \
 cui/source/options/optinet2.src \
 cui/source/options/optjava.src \
 cui/source/options/optlingu.src \
diff --git a/cui/source/options/opthtml.hrc b/cui/source/options/opthtml.hrc
deleted file mode 100644
index 724248b..000
--- a/cui/source/options/opthtml.hrc
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _SVX_OPTHTML_HRC
-#define _SVX_OPTHTML_HRC
-
-// defines --
-
-#define GB_FONTSIZE 1
-#define FT_SIZE12
-#define NF_SIZE13
-#define FT_SIZE24
-#define NF_SIZE25
-#define FT_SIZE36
-#define NF_SIZE37
-#define FT_SIZE48
-#define NF_SIZE49
-#define FT_SIZE510
-#define NF_SIZE511
-#define FT_SIZE612
-#define NF_SIZE613
-#define FT_SIZE714
-#define NF_SIZE715
-#define GB_IMPORT   20
-#define CB_UNKNOWN_TAGS 21
-#define CB_IGNORE_FONTNAMES 22
-#define CB_NUMBERS_ENGLISH_US   23
-
-#define GB_EXPORT   30
-#define CB_STARBASIC31
-#define CB_STARBASIC_WARNING32
-
-#define CB_LOCAL_GRF37
-#define CB_PRINT_EXTENSION  38
-#define LB_EXPORT   39
-#define FT_CHARSET  40
-#define LB_CHARSET  41
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/opthtml.src b/cui/source/options/opthtml.src
deleted file mode 100644
index 425f91f..000
--- a/cui/source/options/opthtml.src
+++ /dev/null
@@ -1,295 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "opthtml.hrc"
-#include 
-
- // RID_OFAPAGE_HTMLOPT -
-TabPage RID_OFAPAGE_HTMLOPT
-{
-HelpID = "cui:TabPage:RID_OFAPAGE_HTMLOPT";
-OutputSize = TRUE ;
-Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
-SVLook = TRUE ;
-Hide = TRUE ;
-FixedText FT_SIZE1
-{
-Pos = MAP_APPFONT ( 12 , 16 ) ;
-Size = MAP_APPFONT ( 30 , 8 ) ;
-Text [ en-US ] = "Size ~1" ;
-};
-NumericField NF_SIZE1
-{
-HelpID = "cui:NumericField:RID_OFAPAGE_HTMLOPT:NF_SIZE1";
-Pos = MAP_APPFONT ( 45 , 14 ) ;
-Size = MAP_APPFONT ( 30 , 12 ) ;
-Border = TRUE ;
-Tab

[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - instsetoo_native/inc_openoffice instsetoo_native/util setup_native/source solenv/bin solenv/inc

2013-07-04 Thread Andras Timar
 instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt |2 
 instsetoo_native/util/openoffice.lst   |   26 
+-
 setup_native/source/packinfo/finals_instsetoo.txt  |1 
 solenv/bin/modules/installer/globals.pm|2 
 solenv/inc/minor.mk|4 -
 5 files changed, 18 insertions(+), 17 deletions(-)

New commits:
commit f47f6e0dea37622735184f045c1dc70c0f8b8537
Author: Andras Timar 
Date:   Thu Jul 4 03:54:29 2013 -0700

enable MSP creation and bump version number for 1st PTF

Change-Id: I3f86bdf65f9cc38d4ae8b51afe5264e118132b39

diff --git a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt 
b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
index 828e80f..39b427e 100644
--- a/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
+++ b/instsetoo_native/inc_openoffice/windows/msi_templates/InstallE.idt
@@ -15,7 +15,7 @@ FileCost  400
 FindRelatedProductsNOT ISSETUPDRIVEN   100
 InstallFiles   1950
 InstallFinalize3150
-PatchInstall   PATCH   699
+PatchInstall   PATCH   49
 InstallInitialize  700
 InstallODBC2600
 InstallServicesVersionNT   2750
diff --git a/instsetoo_native/util/openoffice.lst 
b/instsetoo_native/util/openoffice.lst
index 591b430..eb7aecd 100644
--- a/instsetoo_native/util/openoffice.lst
+++ b/instsetoo_native/util/openoffice.lst
@@ -30,10 +30,10 @@ Globals
 REGISTRYLAYERNAME Layers
 SERVICEPACK 1
 UPDATE_DATABASE 1
-CREATE_MSP_INSTALLSET 0
+CREATE_MSP_INSTALLSET 1
 UPDATE_DATABASE_LISTNAME finals_instsetoo.txt
 PACKAGEMAP package_names.txt,package_names_ext.txt
-WINDOWSPATCHLEVEL 8
+WINDOWSPATCHLEVEL 6
 OOOVENDOR The Document Foundation
 OOODOWNLOADNAME 1
 BUILDIDCWS {buildidcws}
@@ -50,13 +50,13 @@ LibreOffice
 {
 PRODUCTNAME LibreOffice
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 POSTVERSIONEXTENSION
 POSTVERSIONEXTENSIONUNIX
 BRANDPACKAGEVERSION 4.0
 USERDIRPRODUCTVERSION 4
 ABOUTBOXPRODUCTVERSION 4.0
-ABOUTBOXPRODUCTVERSIONSUFFIX :build-304
+ABOUTBOXPRODUCTVERSIONSUFFIX :build-306
 BASEPRODUCTVERSION 4.0
 PCPFILENAME libreoffice.pcp
 UPDATEURL http://update.libreoffice.org/check.php
@@ -100,14 +100,14 @@ LibreOffice_Dev
 {
 PRODUCTNAME LOdev
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 UNIXBASISROOTNAME lodev4.0
 POSTVERSIONEXTENSION
 POSTVERSIONEXTENSIONUNIX
 BRANDPACKAGEVERSION 4.0
 USERDIRPRODUCTVERSION 4
 ABOUTBOXPRODUCTVERSION 4.0
-ABOUTBOXPRODUCTVERSIONSUFFIX :build-304
+ABOUTBOXPRODUCTVERSIONSUFFIX :build-306
 BASEPRODUCTVERSION 4.0
 DEVELOPMENTPRODUCT 1
 BASISPACKAGEPREFIX lodevbasis
@@ -161,7 +161,7 @@ URE
 PRODUCTVERSION 4.0
 PACKAGEVERSION 4.0
 PACKAGEREVISION 1
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 BRANDPACKAGEVERSION 4.0
 LICENSENAME LGPL
 NOVERSIONINDIRNAME 1
@@ -192,7 +192,7 @@ LibreOffice_SDK
 {
 PRODUCTNAME LibreOffice
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 POSTVERSIONEXTENSION SDK
 POSTVERSIONEXTENSIONUNIX sdk
 BRANDPACKAGEVERSION 4.0
@@ -231,7 +231,7 @@ LibreOffice_Dev_SDK
 {
 PRODUCTNAME LOdev
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 UNIXBASISROOTNAME lodev4.0
 POSTVERSIONEXTENSION SDK
 POSTVERSIONEXTENSIONUNIX sdk
@@ -276,7 +276,7 @@ LibreOffice_Test
 {
 PRODUCTNAME LibreOffice
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 POSTVERSIONEXTENSION TEST
 POSTVERSIONEXTENSIONUNIX test
 BRANDPACKAGEVERSION 4.0
@@ -315,7 +315,7 @@ LibreOffice_Dev_Test
 {
 PRODUCTNAME LOdev
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 UNIXBASISROOTNAME lodev4.0
 POSTVERSIONEXTENSION TEST
 POSTVERSIONEXTENSIONUNIX test
@@ -359,13 +359,13 @@ OxygenOffice
 {
 PRODUCTNAME OxygenOffice
 PRODUCTVERSION 4.0
-PRODUCTEXTENSION -4
+PRODUCTEXTENSION -6
 POSTVERSIONEXTENSION
 

[Libreoffice-commits] core.git: Branch 'distro/suse/suse-3.6' - instsetoo_native/util solenv/inc

2013-07-04 Thread Andras Timar
 instsetoo_native/util/openoffice.lst |8 
 solenv/inc/minor.mk  |4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 2b1ddc34e2a6ed7a92bb100d3338815d5447f6f2
Author: Andras Timar 
Date:   Thu Jul 4 13:04:42 2013 +0200

Bump for 3.6-31

Change-Id: I3669a6cf3dc9b6b4328cc0b6791c55803cb3ecb6

diff --git a/instsetoo_native/util/openoffice.lst 
b/instsetoo_native/util/openoffice.lst
index c6ae63b..21ee86d 100644
--- a/instsetoo_native/util/openoffice.lst
+++ b/instsetoo_native/util/openoffice.lst
@@ -32,7 +32,7 @@ Globals
 CREATE_MSP_INSTALLSET 1
 UPDATE_DATABASE_LISTNAME finals_instsetoo.txt
 PACKAGEMAP package_names.txt,package_names_ext.txt
-WINDOWSPATCHLEVEL 30
+WINDOWSPATCHLEVEL 31
 OOOVENDOR The Document Foundation
 OOODOWNLOADNAME 1
 BUILDIDCWS {buildidcws}
@@ -57,7 +57,7 @@ LibreOffice
 BRANDPACKAGEVERSION 3.6
 USERDIRPRODUCTVERSION 3
 ABOUTBOXPRODUCTVERSION 3.6
-ABOUTBOXPRODUCTVERSIONSUFFIX :build-530
+ABOUTBOXPRODUCTVERSIONSUFFIX :build-531
 BASEPRODUCTVERSION 3.6
 PCPFILENAME libreoffice.pcp
 UPDATEURL http://update.libreoffice.org/check.php
@@ -110,7 +110,7 @@ LibreOffice_Dev
 BRANDPACKAGEVERSION 3.6
 USERDIRPRODUCTVERSION 3
 ABOUTBOXPRODUCTVERSION 3.6
-ABOUTBOXPRODUCTVERSIONSUFFIX :build-530
+ABOUTBOXPRODUCTVERSIONSUFFIX :build-531
 BASEPRODUCTVERSION 3.6
 DEVELOPMENTPRODUCT 1
 BASISPACKAGEPREFIX lodevbasis
@@ -380,7 +380,7 @@ OxygenOffice
 BRANDPACKAGEVERSION 3.6
 USERDIRPRODUCTVERSION 3
 ABOUTBOXPRODUCTVERSION 3.6
-ABOUTBOXPRODUCTVERSIONSUFFIX :build-530
+ABOUTBOXPRODUCTVERSIONSUFFIX :build-531
 BASEPRODUCTVERSION 3.6
 PCPFILENAME openoffice.pcp
 UPDATEURL http://update.libreoffice.org/check.php
diff --git a/solenv/inc/minor.mk b/solenv/inc/minor.mk
index c8e847d..59249f5 100644
--- a/solenv/inc/minor.mk
+++ b/solenv/inc/minor.mk
@@ -1,6 +1,6 @@
 RSCVERSION=360
-RSCREVISION=360m1(Build:530)
-BUILD=530
+RSCREVISION=360m1(Build:531)
+BUILD=531
 LAST_MINOR=m1
 SOURCEVERSION=OOO360
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/table-style' - 3 commits - sw/inc sw/source

2013-07-04 Thread Alex Ivan
 sw/inc/swtblfmt.hxx |   26 ++-
 sw/inc/tblafmt.hxx  |  134 --
 sw/source/core/bastyp/init.cxx  |3 
 sw/source/core/doc/swtblfmt.cxx |  115 +++
 sw/source/core/doc/tblafmt.cxx  |  293 
 sw/source/ui/table/tautofmt.cxx |   11 -
 6 files changed, 177 insertions(+), 405 deletions(-)

New commits:
commit 6668e83e1341112872c8e7f376534c6c76aac514
Author: Alex Ivan 
Date:   Thu Jul 4 14:01:17 2013 +0300

Remove SwAutoBoxFmt class from implementation

SwAutoBoxFmt class has been completely removed from the
current implementation. All the functionality has been moved
to SwTableBoxFmt.

Change-Id: I4d4486a7819c125cf5ef6785eb4af39fff3cf145

diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 98f2132..a1e59b3 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -63,124 +63,6 @@ struct SwAfVersions;
 
 class SvNumberFormatter;
 
-class SwBoxAutoFmt
-{
-// common attributes of Calc and Writer
-// --- from 641 on: CJK and CTL font settings
-SvxFontItem aFont;
-SvxFontHeightItem   aHeight;
-SvxWeightItem   aWeight;
-SvxPostureItem  aPosture;
-
-SvxFontItem aCJKFont;
-SvxFontHeightItem   aCJKHeight;
-SvxWeightItem   aCJKWeight;
-SvxPostureItem  aCJKPosture;
-
-SvxFontItem aCTLFont;
-SvxFontHeightItem   aCTLHeight;
-SvxWeightItem   aCTLWeight;
-SvxPostureItem  aCTLPosture;
-
-SvxUnderlineItemaUnderline;
-SvxOverlineItem aOverline;
-SvxCrossedOutItem   aCrossedOut;
-SvxContourItem  aContour;
-SvxShadowedItem aShadowed;
-SvxColorItemaColor;
-SvxBoxItem  aBox;
-SvxLineItem aTLBR;
-SvxLineItem aBLTR;
-SvxBrushItemaBackground;
-
-// Writer specific
-SvxAdjustItem   aAdjust;
-SvxFrameDirectionItem m_aTextOrientation;
-SwFmtVertOrient m_aVerticalAlignment;
-
-// Calc specific
-SvxHorJustifyItem   aHorJustify;
-SvxVerJustifyItem   aVerJustify;
-SfxBoolItem aStacked;
-SvxMarginItem   aMargin;
-SfxBoolItem aLinebreak;
-SfxInt32ItemaRotateAngle;
-SvxRotateModeItem   aRotateMode;
-
-// number format
-String  sNumFmtString;
-LanguageTypeeSysLanguage, eNumFmtLanguage;
-
-public:
-SwBoxAutoFmt();
-SwBoxAutoFmt( const SwBoxAutoFmt& rNew );
-~SwBoxAutoFmt();
-
-int operator==( const SwBoxAutoFmt& rCmp ) const;
-SwBoxAutoFmt& operator=( const SwBoxAutoFmt& rNew );
-
-// The get-methods.
-const SvxFontItem   &GetFont() const{ return aFont; }
-const SvxFontHeightItem &GetHeight() const  { return aHeight; }
-const SvxWeightItem &GetWeight() const  { return aWeight; }
-const SvxPostureItem&GetPosture() const { return aPosture; }
-const SvxFontItem   &GetCJKFont() const { return aCJKFont; }
-const SvxFontHeightItem &GetCJKHeight() const   { return aCJKHeight; }
-const SvxWeightItem &GetCJKWeight() const   { return aCJKWeight; }
-const SvxPostureItem&GetCJKPosture() const  { return aCJKPosture; }
-const SvxFontItem   &GetCTLFont() const { return aCTLFont; }
-const SvxFontHeightItem &GetCTLHeight() const   { return aCTLHeight; }
-const SvxWeightItem &GetCTLWeight() const   { return aCTLWeight; }
-const SvxPostureItem&GetCTLPosture() const  { return aCTLPosture; }
-const SvxUnderlineItem  &GetUnderline() const   { return aUnderline; }
-const SvxOverlineItem   &GetOverline() const{ return aOverline; }
-const SvxCrossedOutItem &GetCrossedOut() const  { return aCrossedOut; }
-const SvxContourItem&GetContour() const { return aContour; }
-const SvxShadowedItem   &GetShadowed() const{ return aShadowed; }
-const SvxColorItem  &GetColor() const   { return aColor; }
-const SvxAdjustItem &GetAdjust() const  { return aAdjust; }
-const SvxFrameDirectionItem& GetTextOrientation() const { return 
m_aTextOrientation; }
-const SwFmtVertOrient& GetVerticalAlignment() const { return 
m_aVerticalAlignment; }
-const SvxBoxItem&GetBox() const { return aBox; }
-const SvxLineItem   &GetTLBR() const{ return aTLBR; }
-const SvxLineItem   &GetBLTR() const{ return aBLTR; }
-const SvxBrushItem  &GetBackground() const  { return aBackground; }
-void GetValueFormat( String& rFmt, LanguageType& rLng, LanguageType& rSys 
) const
-{ rFmt = sNumFmtString; rLng = eNumFmtLanguage; rSys = eSysLanguage; }
-
-// The set-methods.
-void SetFont( const SvxFontItem& rNew ) { aFont = rNew; }
-void SetHeight( const SvxFontHeightItem& rNew ) { aHeight = rNew; }
-void SetWeight( const SvxWeightItem& rNew ) { aWeight = rNew; }
-void SetPostur

[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - instsetoo_native/inc_openoffice instsetoo_native/inc_sdkoo setup_native/source

2013-07-04 Thread Jürgen Schmidt
 instsetoo_native/inc_openoffice/windows/msi_templates/Binary/Image.bmp |binary
 instsetoo_native/inc_sdkoo/windows/msi_templates/Binary/Image.bmp  |binary
 setup_native/source/win32/nsis/ooobitmap.bmp   |binary
 setup_native/source/win32/nsis/ooosdkbitmap.bmp|binary
 4 files changed

New commits:
commit c65c2b343700eb7c080af8fba1ed9005b700f287
Author: Jürgen Schmidt 
Date:   Thu Jul 4 11:14:01 2013 +

#122620# update setup images, left side

diff --git 
a/instsetoo_native/inc_openoffice/windows/msi_templates/Binary/Image.bmp 
b/instsetoo_native/inc_openoffice/windows/msi_templates/Binary/Image.bmp
index 97097ec..b4a9ba7 100755
Binary files 
a/instsetoo_native/inc_openoffice/windows/msi_templates/Binary/Image.bmp and 
b/instsetoo_native/inc_openoffice/windows/msi_templates/Binary/Image.bmp differ
diff --git a/instsetoo_native/inc_sdkoo/windows/msi_templates/Binary/Image.bmp 
b/instsetoo_native/inc_sdkoo/windows/msi_templates/Binary/Image.bmp
old mode 100644
new mode 100755
index 86a48d5..b2b462b
Binary files 
a/instsetoo_native/inc_sdkoo/windows/msi_templates/Binary/Image.bmp and 
b/instsetoo_native/inc_sdkoo/windows/msi_templates/Binary/Image.bmp differ
commit dad1a8edb23cc4de8c96520c0838732d56a8d05a
Author: Jürgen Schmidt 
Date:   Thu Jul 4 10:20:18 2013 +

#122620# update setup images, left side

diff --git a/setup_native/source/win32/nsis/ooobitmap.bmp 
b/setup_native/source/win32/nsis/ooobitmap.bmp
index 6d142dc..b4a9ba7 100755
Binary files a/setup_native/source/win32/nsis/ooobitmap.bmp and 
b/setup_native/source/win32/nsis/ooobitmap.bmp differ
diff --git a/setup_native/source/win32/nsis/ooosdkbitmap.bmp 
b/setup_native/source/win32/nsis/ooosdkbitmap.bmp
old mode 100644
new mode 100755
index 86a48d5..b2b462b
Binary files a/setup_native/source/win32/nsis/ooosdkbitmap.bmp and 
b/setup_native/source/win32/nsis/ooosdkbitmap.bmp differ
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Chr . Rossmanith
 svgio/source/svgreader/svgsvgnode.cxx |  207 --
 1 file changed, 102 insertions(+), 105 deletions(-)

New commits:
commit 2ea69ec976fa7bb681746c6580753ce1b8ea
Author: Chr. Rossmanith 
Date:   Wed Jun 19 20:36:36 2013 +0200

Fix fdo#64125 - Use default for preserveAspectRatio scaling

Align code with
 - http://www.w3.org/TR/SVG/coords.html#ViewBoxAttribute
 - http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute

Use bounding box if no ViewBox is given

Change-Id: I0f1704a7c8f3140dc8c49277b88ae77d58af1407

diff --git a/svgio/source/svgreader/svgsvgnode.cxx 
b/svgio/source/svgreader/svgsvgnode.cxx
index 0eb04dd..a8daee6 100644
--- a/svgio/source/svgreader/svgsvgnode.cxx
+++ b/svgio/source/svgreader/svgsvgnode.cxx
@@ -39,7 +39,7 @@ namespace svgio
 :   SvgNode(SVGTokenSvg, rDocument, pParent),
 maSvgStyleAttributes(*this),
 mpViewBox(0),
-maSvgAspectRatio(),
+maSvgAspectRatio(SvgAspectRatio(Align_xMidYMid, false, true)),
 maX(),
 maY(),
 maWidth(),
@@ -329,127 +329,124 @@ namespace svgio
 else
 {
 // Outermost SVG element; create target range homing width 
and height as given.
-// SVG defines that x,y has no meanig for the outermost 
SVG element. Use a fallback
-// width and height of din A 4 (21 x 29,7 cm)
-double fW(getWidth().isSet() ? getWidth().solve(*this, 
xcoordinate) : (210.0 * 3.543307));
-double fH(getHeight().isSet() ? getHeight().solve(*this, 
ycoordinate) : (297.0 * 3.543307));
+// SVG defines that x,y has no meaning for the outermost 
SVG element. Use a fallback
+// width and height of DIN A 4 (21 x 29,7 cm)
+double fViewPortW(getWidth().isSet() ? 
getWidth().solve(*this, xcoordinate) : (210.0 * 3.543307));
+double fViewPortH(getHeight().isSet() ? 
getHeight().solve(*this, ycoordinate) : (297.0 * 3.543307));
+basegfx::B2DRange aSvgCanvasRange(0.0, 0.0, 0.0, 0.0);
 
 // Svg defines that a negative value is an error and that 
0.0 disables rendering
-if(basegfx::fTools::more(fW, 0.0) && 
basegfx::fTools::more(fH, 0.0))
+if(basegfx::fTools::more(fViewPortW, 0.0) && 
basegfx::fTools::more(fViewPortH, 0.0))
 {
-const basegfx::B2DRange aSvgCanvasRange(0.0, 0.0, fW, 
fH);
-
+basegfx::B2DRange aContentRange; // ViewBox or 
bounding box
 if(getViewBox())
 {
-
if(!basegfx::fTools::equalZero(getViewBox()->getWidth()) && 
!basegfx::fTools::equalZero(getViewBox()->getHeight()))
-{
-// create mapping
-const SvgAspectRatio& rRatio = 
getSvgAspectRatio();
-basegfx::B2DHomMatrix aViewBoxMapping;
-
-if(rRatio.isSet())
-{
-// let mapping be created from 
SvgAspectRatio
-aViewBoxMapping = 
rRatio.createMapping(aSvgCanvasRange, *getViewBox());
-
-// no need to check ratio here for slice, 
the outermost Svg will
-// be clipped anyways (see below)
-}
-else
-{
-// choose default mapping
-aViewBoxMapping = 
rRatio.createLinearMapping(aSvgCanvasRange, *getViewBox());
-}
-
-// scale content to viewBox definitions
-const 
drawinglayer::primitive2d::Primitive2DReference xTransform(
-new 
drawinglayer::primitive2d::TransformPrimitive2D(
-aViewBoxMapping,
-aSequence));
-
-aSequence = 
drawinglayer::primitive2d::Primitive2DSequence(&xTransform, 1);
-}
+aContentRange = *getViewBox();
 }
-
-// to be completely correct in Svg sense it is 
necessary to clip
-// the whole content to the given canvas. I choose 
here to do this
-// initially despite I found various examples of Svg 
files out there
-// which have no correct values for this clipping. 
It's correct
-// due to the Svg spec.
-   

Re: [GSOC]Use Widget Layout for the Start Center Weekly Update 02

2013-07-04 Thread Caolán McNamara
On Thu, 2013-07-04 at 12:44 +0200, Krisztian Pinter wrote:

> 
> And here are some patches where I maimed the code:
> https://gerrit.libreoffice.org/#/c/4502/
> https://gerrit.libreoffice.org/#/c/4605/

With those two applied locally, this additional attached patch will make
it work. Hope that helps.

C.

>From c50eb6800e90009e8268703353ee2ad5e5edb000 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= 
Date: Thu, 4 Jul 2013 13:19:09 +0100
Subject: [PATCH] make ui-enabled backing window set layout allocation

Change-Id: I909d034ef23730f6a888b02ed1ec0c132cb105fb
---
 framework/source/services/backingwindow.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx
index a5144d4..6e6d2c9 100644
--- a/framework/source/services/backingwindow.cxx
+++ b/framework/source/services/backingwindow.cxx
@@ -613,6 +613,8 @@ void BackingWindow::setOwningFrame( const com::sun::star::uno::Reference< com::s
 
 void BackingWindow::Resize()
 {
+if (isLayoutEnabled(this))
+VclContainer::setLayoutAllocation(*GetWindow(WINDOW_FIRSTCHILD), Point(0, 0), GetOutputSizePixel());
 //maToolbox.calcMinSize();
 /*
 Size aTBSize( maToolbox.getMinSize() );
-- 
1.8.3.1

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


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - oox/source sw/qa writerfilter/source

2013-07-04 Thread Miklos Vajna
 oox/source/vml/vmlshape.cxx   |   14 ++
 sw/qa/extras/ooxmlimport/data/n820504.docx|binary
 sw/qa/extras/ooxmlimport/ooxmlimport.cxx  |8 +++-
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |2 +-
 4 files changed, 10 insertions(+), 14 deletions(-)

New commits:
commit ce5d99b706ee4d34a710041ef0acbc2319e02561
Author: Miklos Vajna 
Date:   Thu Jul 4 10:55:50 2013 +0200

bnc#820504 VML import: don't anchor shapes TO_PAGE

In theory, this is a problem because Word formats only support AT_CHAR
and AS_CHAR, so importing something as AT_PAGE is buggy.

In practice, this also leads to unvisible shapes, since
f0d001a378c64ea457e722266e60c96522c72e9b.

Change-Id: Ie730d67a789ef12734cede1f9b6c27764a66f237
(cherry picked from commit f5b7acac624f07fa95835b6054b8d295901bb1dd)
Reviewed-on: https://gerrit.libreoffice.org/4716
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index 872ccac..9a5278b 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -441,18 +441,8 @@ void lcl_SetAnchorType(PropertySet& rPropSet, const 
ShapeTypeModel& rTypeModel)
 
 if ( rTypeModel.maPosition == "absolute" )
 {
-if (rTypeModel.moWrapAnchorX.get() == "page" && 
rTypeModel.moWrapAnchorY.get() == "page")
-{
-// I'm not sure if AT_PAGE is always correct here (not sure what 
the parent that
-// the spec talks about can be), but with Writer SwXDrawPage::add()
-// always in practice uses this because of 
pDoc->GetCurrentLayout() being NULL at this point.
-rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_PAGE);
-}
-else
-{
-// Map to as-character by default, that fixes vertical position of 
some textframes.
-rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_CHARACTER);
-}
+// Word supports as-character (inline) and at-character only, absolute 
can't be inline.
+rPropSet.setProperty(PROP_AnchorType, 
text::TextContentAnchorType_AT_CHARACTER);
 
 if ( rTypeModel.maPositionVerticalRelative == "page" )
 {
diff --git a/sw/qa/extras/ooxmlimport/data/n820504.docx 
b/sw/qa/extras/ooxmlimport/data/n820504.docx
index 36279a9..3cc2bfa 100644
Binary files a/sw/qa/extras/ooxmlimport/data/n820504.docx and 
b/sw/qa/extras/ooxmlimport/data/n820504.docx differ
diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx 
b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
index 6ff2400..26ecdf3 100644
--- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx
@@ -532,7 +532,7 @@ void Test::testN764005()
 CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER);
 sal_Bool bValue = sal_True;
 xPropertySet->getPropertyValue("Opaque") >>= bValue;
-CPPUNIT_ASSERT_EQUAL(sal_False, bValue);
+CPPUNIT_ASSERT_EQUAL(false, bool(bValue));
 }
 
 void Test::testSmartart()
@@ -1473,6 +1473,12 @@ void Test::testN820504()
 uno::Reference 
xStyle(xStylesAccess->getByName("Default Style"), uno::UNO_QUERY);
 // The problem was that the CharColor was set to AUTO (-1) even if we have 
some default char color set
 CPPUNIT_ASSERT_EQUAL(sal_Int32(4040635), getProperty(xStyle, 
"CharColor"));
+
+// Also, the groupshape was anchored at-page instead of at-character
+// (that's incorrect as Word only supports at-character and as-character).
+uno::Reference xDrawPageSupplier(mxComponent, 
uno::UNO_QUERY);
+uno::Reference 
xDraws(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY);
+CPPUNIT_ASSERT_EQUAL(text::TextContentAnchorType_AT_CHARACTER, 
getProperty(xDraws->getByIndex(0), "AnchorType"));
 }
 
 void Test::testFdo43641()
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index fbc633d..1d96899 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -1716,7 +1716,7 @@ void DomainMapper_Impl::PushShapeContext( const 
uno::Reference< drawing::XShape
 if (nAnchorType == text::TextContentAnchorType_AT_PAGE)
 bIsGraphic = false;
 
-if (nAnchorType != text::TextContentAnchorType_AT_PAGE)
+if (!m_bInHeaderFooterImport)
 xProps->setPropertyValue(
 rPropNameSupplier.GetName( PROP_OPAQUE ),
 uno::makeAny( true ) );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Alaa . Bukhari
 sc/inc/dbdata.hxx|   18 +-
 sc/inc/detfunc.hxx   |   24 
 sc/inc/dpdimsave.hxx |   26 ++
 sc/inc/subtotalparam.hxx |   26 +-
 sc/inc/tabprotection.hxx |   24 
 5 files changed, 60 insertions(+), 58 deletions(-)

New commits:
commit 3aea5e4c50d0b84e4e410856696eb0bf9101fbba
Author: Alaa.Bukhari 
Date:   Thu Jul 4 14:06:25 2013 +0300

Modifying comments to meet Doxygen standards

Change-Id: I98ee2cc34bae677e18f7a70a212677704c9c57c5
Reviewed-on: https://gerrit.libreoffice.org/4717
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index fcd5d49..c9ecdfb 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -43,7 +43,7 @@ private:
 boost::scoped_ptr mpSubTotal;
 boost::scoped_ptr mpImportParam;
 
-// DBParam
+/// DBParam
 const OUString aName;
 OUString aUpper;
 SCTAB   nTable;
@@ -57,15 +57,15 @@ private:
 boolbKeepFmt;
 boolbStripData;
 
-// QueryParam
-boolbIsAdvanced;// true if created by advanced filter
-ScRange aAdvSource; // source range
+/// QueryParam
+boolbIsAdvanced;///< true if created by advanced filter
+ScRange aAdvSource; ///< source range
 
-boolbDBSelection;   // not in Param: if selection, block 
update
+boolbDBSelection;   ///< not in Param: if selection, block 
update
 
-sal_uInt16  nIndex; // unique index formulas
-boolbAutoFilter;// AutoFilter? (not saved)
-boolbModified;  // is set/cleared for/by(?) 
UpdateReference
+sal_uInt16  nIndex; ///< unique index formulas
+boolbAutoFilter;///< AutoFilter? (not saved)
+boolbModified;  ///< is set/cleared for/by(?) 
UpdateReference
 
 using ScRefreshTimer::operator==;
 
@@ -211,7 +211,7 @@ public:
 private:
 LinkaRefreshHandler;
 ScDocument* pDoc;
-sal_uInt16 nEntryIndex; // counter for unique indices
+sal_uInt16 nEntryIndex; ///< counter for unique indices
 NamedDBs maNamedDBs;
 AnonDBs maAnonDBs;
 
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx
index 0a63da3..7b6f75c 100644
--- a/sc/inc/detfunc.hxx
+++ b/sc/inc/detfunc.hxx
@@ -60,20 +60,20 @@ class SC_DLLPUBLIC ScDetectiveFunc
 
 enum DrawPosMode
 {
-DRAWPOS_TOPLEFT,/// Top-left edge of the cell.
-DRAWPOS_BOTTOMRIGHT,/// Bottom-right edge of the cell.
-DRAWPOS_DETARROW,   /// Position inside cell for detective arrows.
-DRAWPOS_CAPTIONLEFT,/// Top-left edge of the cell for captions.
-DRAWPOS_CAPTIONRIGHT/// Top-right edge of the cell for captions 
(incl. merged cells).
+DRAWPOS_TOPLEFT,///< Top-left edge of the cell.
+DRAWPOS_BOTTOMRIGHT,///< Bottom-right edge of the cell.
+DRAWPOS_DETARROW,   ///< Position inside cell for detective arrows.
+DRAWPOS_CAPTIONLEFT,///< Top-left edge of the cell for captions.
+DRAWPOS_CAPTIONRIGHT///< Top-right edge of the cell for captions 
(incl. merged cells).
 };
 
-/** Returns a drawing layer position for the passed cell address. */
+/** @return a drawing layer position for the passed cell address. */
 Point   GetDrawPos( SCCOL nCol, SCROW nRow, DrawPosMode eMode ) const;
 
-/** Returns the drawing layer rectangle for the passed cell range. */
+/** @return the drawing layer rectangle for the passed cell range. */
 Rectangle   GetDrawRect( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW 
nRow2 ) const;
 
-/** Returns the drawing layer rectangle for the passed cell address. */
+/** @return the drawing layer rectangle for the passed cell address. */
 Rectangle   GetDrawRect( SCCOL nCol, SCROW nRow ) const;
 
 sal_BoolHasArrow( const ScAddress& rStart,
@@ -86,7 +86,7 @@ class SC_DLLPUBLIC ScDetectiveFunc
 
 voidFillAttributes( ScDetectiveData& rData );
 
-// called from DrawEntry/DrawAlienEntry and InsertObject
+/// called from DrawEntry/DrawAlienEntry and InsertObject
 sal_BoolInsertArrow( SCCOL nCol, SCROW nRow,
 SCCOL nRefStartCol, SCROW nRefStartRow,
 SCCOL nRefEndCol, SCROW nRefEndRow,
@@ -96,7 +96,7 @@ class SC_DLLPUBLIC ScDetectiveFunc
 SCCOL nEndCol, SCROW nEndRow, sal_Bool bRed,
 ScDetectiveData& rData );
 
-// DrawEntry / DrawAlienEntry check for existing arrows and 
errors
+/// DrawEntry / DrawAlienEntry check for existing arrows and 
errors
 sal_Bool 

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/source

2013-07-04 Thread Caolán McNamara
 vcl/source/window/builder.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 4a5d7af326d85d7cf24193a18c2df9575c9241b2
Author: Caolán McNamara 
Date:   Thu Jul 4 11:02:34 2013 +0100

fix %VARIABLE replacements in item lists

Change-Id: I94f129e26afdac9dc2e0d712c79d73142ced5eee
(cherry picked from commit c104e2b661ec840951d39b5889495e2c42ff3d36)
Reviewed-on: https://gerrit.libreoffice.org/4715
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 3824497..d652578 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1919,6 +1919,12 @@ std::vector 
VclBuilder::handleItems(xmlreader::XmlReader &reader, const
 if (!bTranslated)
 sValue = OString(name.begin, name.length);
 
+if (m_pStringReplace)
+{
+OUString sTmp = 
(*m_pStringReplace)(OStringToOUString(sValue, RTL_TEXTENCODING_UTF8));
+sValue = OUStringToOString(sTmp, RTL_TEXTENCODING_UTF8);
+}
+
 aItems.push_back(sValue);
 ++nItemIndex;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Lionel Elie Mamane
 wizards/com/sun/star/wizards/db/DBMetaData.java |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 534c879c06a00b563da3bf0e1727c30e064b1d39
Author: Lionel Elie Mamane 
Date:   Wed Jul 3 18:04:28 2013 +0200

handle non-wrapped SQLException

This happens e.g. when the user types a forbidden name for the query
(e.g. containing '/'

Also uniformise Logger usage instead of exception.printStackTrace

Change-Id: I29b14b65dae487e0eb61b90ceba968142981e755
Reviewed-on: https://gerrit.libreoffice.org/4708
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/wizards/com/sun/star/wizards/db/DBMetaData.java 
b/wizards/com/sun/star/wizards/db/DBMetaData.java
index 39c4f84..a75009c 100644
--- a/wizards/com/sun/star/wizards/db/DBMetaData.java
+++ b/wizards/com/sun/star/wizards/db/DBMetaData.java
@@ -856,11 +856,12 @@ public class DBMetaData
 callSQLErrorMessageDialog(sqlError, null);
 return false;
 }
-exception.printStackTrace(System.err);
+Logger.getLogger( DBMetaData.class.getName() ).log( Level.SEVERE, 
null, exception );
 }
 catch (SQLException e)
 {
-Logger.getLogger( DBMetaData.class.getName() ).log( Level.SEVERE, 
null, e );
+callSQLErrorMessageDialog(e, null);
+return false;
 }
 catch (Exception e)
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 2 commits - c6/5c2b343700eb7c080af8fba1ed9005b700f287 da/d1a8edb23cc4de8c96520c0838732d56a8d05a

2013-07-04 Thread Caolán McNamara
 c6/5c2b343700eb7c080af8fba1ed9005b700f287 |1 +
 da/d1a8edb23cc4de8c96520c0838732d56a8d05a |1 +
 2 files changed, 2 insertions(+)

New commits:
commit a993e8a9c2d89665717d0102d7dd1a35ded7f4d5
Author: Caolán McNamara 
Date:   Thu Jul 4 13:39:57 2013 +0100

Notes added by 'git notes add'

diff --git a/c6/5c2b343700eb7c080af8fba1ed9005b700f287 
b/c6/5c2b343700eb7c080af8fba1ed9005b700f287
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/c6/5c2b343700eb7c080af8fba1ed9005b700f287
@@ -0,0 +1 @@
+ignore: branding
commit 8c6e1f49d7839ba1026b507c2577d2f6e2075c70
Author: Caolán McNamara 
Date:   Thu Jul 4 13:39:47 2013 +0100

Notes added by 'git notes add'

diff --git a/da/d1a8edb23cc4de8c96520c0838732d56a8d05a 
b/da/d1a8edb23cc4de8c96520c0838732d56a8d05a
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/da/d1a8edb23cc4de8c96520c0838732d56a8d05a
@@ -0,0 +1 @@
+ignore: branding
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - dbaccess/source

2013-07-04 Thread Lionel Elie Mamane
 dbaccess/source/sdbtools/connection/objectnames.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit e8a1cd6600486d379d045bae450961a83371a052
Author: Lionel Elie Mamane 
Date:   Wed Jul 3 18:10:38 2013 +0200

database suggestname: no '/' for queries

In particular, this keeps the new query wizard
from silently failing by default
when the underlying table name has a slash: it would
generate a name proposal based on the table name,
and then use suggestName to get a similar,
yet guaranteed allowed name.

In this case, the "guaranteed allowed" part was failing,
since suggestName failed to strip slashes, which are
forbidden in query names.

Change-Id: I53d3976979ee45f5659765ed5dd3371b78837b5b
Reviewed-on: https://gerrit.libreoffice.org/4709
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx 
b/dbaccess/source/sdbtools/connection/objectnames.cxx
index 9e1d0dd..add3509 100644
--- a/dbaccess/source/sdbtools/connection/objectnames.cxx
+++ b/dbaccess/source/sdbtools/connection/objectnames.cxx
@@ -419,6 +419,10 @@ namespace sdbtools
 else
 sBaseName = OUString( SdbtRes( STR_BASENAME_QUERY ) );
 }
+else if( _CommandType == CommandType::QUERY )
+{
+sBaseName=sBaseName.replace('/', '_');
+}
 
 OUString sName( sBaseName );
 sal_Int32 i = 1;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 2 commits - 0e/0c8e770a166ad51ca13ae422fdb3c89ccc98fe 43/1e6e6a434a9c28bdef47bede3b139ea461c456

2013-07-04 Thread Caolán McNamara
 0e/0c8e770a166ad51ca13ae422fdb3c89ccc98fe |1 +
 43/1e6e6a434a9c28bdef47bede3b139ea461c456 |1 +
 2 files changed, 2 insertions(+)

New commits:
commit 83dc0da34c574cbabc03fea8d784de55f41c07f3
Author: Caolán McNamara 
Date:   Thu Jul 4 13:39:32 2013 +0100

Notes added by 'git notes add'

diff --git a/0e/0c8e770a166ad51ca13ae422fdb3c89ccc98fe 
b/0e/0c8e770a166ad51ca13ae422fdb3c89ccc98fe
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/0e/0c8e770a166ad51ca13ae422fdb3c89ccc98fe
@@ -0,0 +1 @@
+ignore: branding
commit e93ef31fef36873784f3408a6dd5997f0a446a7e
Author: Caolán McNamara 
Date:   Thu Jul 4 13:39:21 2013 +0100

Notes added by 'git notes add'

diff --git a/43/1e6e6a434a9c28bdef47bede3b139ea461c456 
b/43/1e6e6a434a9c28bdef47bede3b139ea461c456
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/43/1e6e6a434a9c28bdef47bede3b139ea461c456
@@ -0,0 +1 @@
+ignore: branding
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Tor Lillqvist
 sc/source/core/opencl/openclwrapper.cxx |   30 ++
 sc/source/core/opencl/openclwrapper.hxx |5 -
 2 files changed, 14 insertions(+), 21 deletions(-)

New commits:
commit 743b111cf62ef42ead3d8dd6a4aefbb884ce8ee4
Author: Tor Lillqvist 
Date:   Thu Jul 4 15:30:16 2013 +0300

Opaque binary data is opaque binary data

No need to append a newline surely. At least in Apple's OpenCL doing
that seems to invalidate a binary OpenCL blob.

Change-Id: I68bb12d5071f6452afe5a47ddf510f7e8e60cf3e

diff --git a/sc/source/core/opencl/openclwrapper.cxx 
b/sc/source/core/opencl/openclwrapper.cxx
index 9b9feaa..aa3ce69 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -441,16 +441,13 @@ int OpenclDevice::CompileKernelFile(GPUEnv *gpuInfo, 
const char *buildOption) {
 return 0;
 }
 
-binary = (char*) malloc(length + 2);
+binary = (char*) malloc(length);
 if (!binary) {
 return 0;
 }
 
-memset(binary, 0, length + 2);
+memset(binary, 0, length);
 b_error |= fread(binary, 1, length, fd) != length;
-if (binary[length - 1] != '\n') {
-binary[length++] = '\n';
-}
 
 fclose(fd);
 fd = NULL;
commit 7e00a3690edbf71d6c3e6c0670875485f65c567d
Author: Tor Lillqvist 
Date:   Thu Jul 4 15:13:03 2013 +0300

Use correct type for number of devices

The number returned by clGetProgramInfo(..., CL_PROGRAM_NUM_DEVICES,
...) and clGetContextInfo(..., CL_CONTEXT_NUM_DEVICES, ...) is of type
cl_uint, not size_t. That makes a difference for 64-bit code.

Change-Id: I1b494bf604dd87930484faed64042ed211b3d705

diff --git a/sc/source/core/opencl/openclwrapper.cxx 
b/sc/source/core/opencl/openclwrapper.cxx
index f85f172..9b9feaa 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -220,7 +220,8 @@ int OpenclDevice::GeneratBinFromKernelSource(cl_program 
program,
 const char * clFileName) {
  unsigned int i = 0;
 cl_int status;
-size_t *binarySizes, numDevices;
+size_t *binarySizes;
+cl_uint numDevices;
 cl_device_id *devices;
 char **binaries, *str = NULL;
 
@@ -403,7 +404,7 @@ int OpenclDevice::CompileKernelFile(GPUEnv *gpuInfo, const 
char *buildOption) {
 const char *source;
 size_t source_size[1];
 int b_error, binary_status, binaryExisted, idx;
-size_t numDevices;
+cl_uint numDevices;
 cl_device_id *devices;
 FILE *fd, *fd1;
 const char* filename = "kernel.cl";
commit 5dff961ba5fab6d451d9d993e076d190a93be495
Author: Tor Lillqvist 
Date:   Thu Jul 4 14:59:35 2013 +0300

Don't look for just GPUs

Change-Id: Ie7dbeac17b6dc56616ae5fa16f71d568a7771d5b

diff --git a/sc/source/core/opencl/openclwrapper.cxx 
b/sc/source/core/opencl/openclwrapper.cxx
index fcb6c02..f85f172 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -175,7 +175,7 @@ int OpenclDevice::BinaryGenerated(const char * clFileName, 
FILE ** fhandle) {
FILE *fd = NULL;
cl_uint numDevices=0;
status = clGetDeviceIDs(gpuEnv.platform, // platform
-   CL_DEVICE_TYPE_GPU, // 
device_type
+CL_DEVICE_TYPE_ALL, // device_type
0, // num_entries
NULL, // devices
&numDevices);
@@ -651,7 +651,7 @@ int OpenclDevice::InitOpenclRunEnv(GPUEnv *gpuInfo)
 gpuInfo->platform = platforms[i];
 
 status = clGetDeviceIDs(gpuInfo->platform, // platform
-   
CL_DEVICE_TYPE_GPU, // device_type
+CL_DEVICE_TYPE_ALL, // 
device_type

0, // num_entries

NULL, // devices

&numDevices);
@@ -681,12 +681,15 @@ int OpenclDevice::InitOpenclRunEnv(GPUEnv *gpuInfo)
 gpuInfo->context = clCreateContextFromType(cps, gpuInfo->dType, NULL,
 NULL, &status);
 
+// If no GPU, check for CPU.
 if ((gpuInfo->context == (cl_context) NULL)
 || (status != CL_SUCCESS)) {
 gpuInfo->dType = CL_DEVICE_TYPE_CPU;
 gpuInfo->context = clCreateContextFromType(cps, gpuInfo->dType,
 NULL, NULL, &status);
 }
+
+// If no GPU or CPU, check for a "default" type.
 if ((gpuInf

Whats te alternative for com.sun.star.awt.DisplayAccess ?

2013-07-04 Thread Fernand Vanrie

sinds 4.1
com.sun.star.awt.DisplayAccess

is no longer working
oDisplayAccess = createUnoService("com.sun.star.awt.DisplayAccess")
oDisplayAccess is empty 
oDisplayInfo = oDisplayAccess.getByIndex(0)
aScreenArea = oDisplayInfo.ScreenArea
iScreenW =aScreenArea.Width
iScreenH =aScreenArea.Height

This was always "undocumented" i hope there is a documented alternative ?

Greetz

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


[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - 2 commits - writerfilter/source

2013-07-04 Thread Cédric Bosdonnat
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   36 +++---
 writerfilter/source/dmapper/PropertyIds.cxx   |1 
 writerfilter/source/dmapper/PropertyIds.hxx   |1 
 3 files changed, 34 insertions(+), 4 deletions(-)

New commits:
commit 22a22a0983ec9c95e5b471395fc1c5bb813bd0d2
Author: Cédric Bosdonnat 
Date:   Thu Jul 4 15:45:01 2013 +0200

n#825976: Fixed the import of Table of Figures

Support the TOC \c switch and fixed the SetExpression current
presentation property to have updated fields and TOC.

Change-Id: I6fbd7cc38cf8ea7f08a0d15d1f39ffe4805dd62b

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index d0dc497..cb15550 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2528,6 +2528,8 @@ void DomainMapper_Impl::handleToc
 sal_Int16 nMaxLevel = 10;
 OUString sTemplate;
 OUString sChapterNoSeparator;
+OUString sFigureSequence;
+
 //  \a Builds a table of figures but does not include the 
captions's label and number
 if( lcl_FindInCommand( pContext->GetCommand(), 'a', sValue ))
 { //make it a table of figures
@@ -2542,6 +2544,8 @@ void DomainMapper_Impl::handleToc
 {
 //todo: sValue contains the label's name
 bTableOfFigures = true;
+sFigureSequence = sValue.trim();
+sFigureSequence = sFigureSequence.replaceAll("\"", 
"").replaceAll("'","");
 }
 //  \d Defines the separator between sequence and page numbers
 if( lcl_FindInCommand( pContext->GetCommand(), 'd', sValue ))
@@ -2724,6 +2728,12 @@ void DomainMapper_Impl::handleToc
 }
 }
 }
+else if (bTableOfFigures && xTOC.is())
+{
+if (!sFigureSequence.isEmpty())
+
xTOC->setPropertyValue(rPropNameSupplier.GetName(PROP_LABEL_CATEGORY),
+   uno::makeAny(sFigureSequence));
+}
 pContext->SetTOC( xTOC );
 }
 
@@ -3178,7 +3188,7 @@ void DomainMapper_Impl::CloseFieldCommand()
 // Take care of the numeric formatting definition, 
default is Arabic
 sal_Int16 nNumberingType = 
lcl_ParseNumberingType(pContext->GetCommand());
 if (nNumberingType == 
style::NumberingType::PAGE_DESCRIPTOR)
-nNumberingType == style::NumberingType::ARABIC;
+nNumberingType = style::NumberingType::ARABIC;
 xFieldProperties->setPropertyValue(
 
rPropNameSupplier.GetName(PROP_NUMBERING_TYPE),
 uno::makeAny(nNumberingType));
@@ -3327,8 +3337,13 @@ void DomainMapper_Impl::SetFieldResult( OUString& 
rResult )
 // In case of SetExpression, the field result contains 
the content of the variable.
 uno::Reference 
xServiceInfo(xTextField, uno::UNO_QUERY);
 bool bIsSetExpression = 
xServiceInfo->supportsService("com.sun.star.text.TextField.SetExpression");
+// If we already have content set, then use the 
current presentation
+rtl::OUString sValue;
+uno::Any aValue = xFieldProperties->getPropertyValue(
+rPropNameSupplier.GetName(PROP_CONTENT));
+aValue >>= sValue;
 xFieldProperties->setPropertyValue(
-rPropNameSupplier.GetName(bIsSetExpression ? 
PROP_CONTENT : PROP_CURRENT_PRESENTATION),
+rPropNameSupplier.GetName(bIsSetExpression && 
sValue.isEmpty()? PROP_CONTENT : PROP_CURRENT_PRESENTATION),
  uno::makeAny( rResult ));
 }
 }
diff --git a/writerfilter/source/dmapper/PropertyIds.cxx 
b/writerfilter/source/dmapper/PropertyIds.cxx
index 1d432fc..dda639c 100644
--- a/writerfilter/source/dmapper/PropertyIds.cxx
+++ b/writerfilter/source/dmapper/PropertyIds.cxx
@@ -322,6 +322,7 @@ const OUString& PropertyNameSupplier::GetName( PropertyIds 
eId ) const
 case PROP_SHADOW_FORMAT: sName = "ShadowFormat"; break;
 case PROP_RELATIVE_WIDTH: sName = "RelativeWidth"; break;
 case PROP_IS_WIDTH_RELATIVE: sName = "IsWidthRelative"; break;
+case PROP_LABEL_CATEGORY: sName = "LabelCategory"; break;
 }
 ::std::pair aInsertIt =
 m_pImpl->aNameMap.insert( PropertyNameMap_t::value_type( eId, 
sName ));
diff --git a/writerfilter/source/dmapper/PropertyIds.hxx 
b/writerfilter/source/dmapper/PropertyIds.hxx
index c61283c..ba032a1 100644
--- a/writerfilter/source/dmapper/PropertyIds.hxx
+++ b/writerfilter/source/dmapper/PropertyIds.hxx
@@ -180,6 +180,7 @@ enum 

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

2013-07-04 Thread Jürgen Schmidt
 setup_native/source/mac/ooo3_installer.icns |binary
 sysui/desktop/icons/hicolor/48x48/apps/printeradmin.png |binary
 2 files changed

New commits:
commit 46b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea
Author: Jürgen Schmidt 
Date:   Thu Jul 4 13:48:36 2013 +

#122620# update printeradmin icon

diff --git a/sysui/desktop/icons/hicolor/48x48/apps/printeradmin.png 
b/sysui/desktop/icons/hicolor/48x48/apps/printeradmin.png
index a11cbe5..b86c6b7 100755
Binary files a/sysui/desktop/icons/hicolor/48x48/apps/printeradmin.png and 
b/sysui/desktop/icons/hicolor/48x48/apps/printeradmin.png differ
commit cf32f8e97da8a16688796006ffc4767d8d6fdae4
Author: Jürgen Schmidt 
Date:   Thu Jul 4 13:35:09 2013 +

#122620# update installer icon bundle

diff --git a/setup_native/source/mac/ooo3_installer.icns 
b/setup_native/source/mac/ooo3_installer.icns
old mode 100644
new mode 100755
index bacdd17..2fb8b03
Binary files a/setup_native/source/mac/ooo3_installer.icns and 
b/setup_native/source/mac/ooo3_installer.icns differ
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [GSOC]Use Widget Layout for the Start Center Weekly Update 02

2013-07-04 Thread Krisztian Pinter
Yes, this helps a lot, thank you very much. I knew this was gonna turn out
to be a "missing a line" type of problem. :)


On 4 July 2013 14:22, Caolán McNamara  wrote:

> On Thu, 2013-07-04 at 12:44 +0200, Krisztian Pinter wrote:
>
> >
> > And here are some patches where I maimed the code:
> > https://gerrit.libreoffice.org/#/c/4502/
> > https://gerrit.libreoffice.org/#/c/4605/
>
> With those two applied locally, this additional attached patch will make
> it work. Hope that helps.
>
> C.
>
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 2 commits - 46/b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea cf/32f8e97da8a16688796006ffc4767d8d6fdae4

2013-07-04 Thread Caolán McNamara
 46/b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea |1 +
 cf/32f8e97da8a16688796006ffc4767d8d6fdae4 |1 +
 2 files changed, 2 insertions(+)

New commits:
commit e3de8724c240a5836d0f2aa71cdc56039b1b4ac2
Author: Caolán McNamara 
Date:   Thu Jul 4 15:27:22 2013 +0100

Notes added by 'git notes add'

diff --git a/46/b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea 
b/46/b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/46/b54b2fbe20d4ff4575198b5ee42acb9cb4e2ea
@@ -0,0 +1 @@
+ignore: branding
commit cf0fbcc67eeb42a447005464b6a54831cd1183d3
Author: Caolán McNamara 
Date:   Thu Jul 4 15:27:13 2013 +0100

Notes added by 'git notes add'

diff --git a/cf/32f8e97da8a16688796006ffc4767d8d6fdae4 
b/cf/32f8e97da8a16688796006ffc4767d8d6fdae4
new file mode 100644
index 000..00b55a3
--- /dev/null
+++ b/cf/32f8e97da8a16688796006ffc4767d8d6fdae4
@@ -0,0 +1 @@
+ignore: branding
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Caolán McNamara
 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |   20 ++
 drawinglayer/source/processor2d/vclpixelprocessor2d.cxx|   18 ++
 drawinglayer/source/processor2d/vclprocessor2d.cxx |   91 +
 drawinglayer/source/processor2d/vclprocessor2d.hxx |1 
 4 files changed, 127 insertions(+), 3 deletions(-)

New commits:
commit 71a049c97049a38f37bf9417d752ca2d8d161a81
Author: Caolán McNamara 
Date:   Thu Jul 4 15:21:34 2013 +0100

emf+ is not decomposed into primitives, so restore wind and play

regression from f69df53b316b53931e10d35402a70f533399398c

we presumably should process comments and go through their
emfplus contents too, or something of that nature

Change-Id: Ifa8c3f058f0a320057d02b53f5717eaa42e63282

diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 83238c0..c9f4af1 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -28,6 +28,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -1719,6 +1720,25 @@ namespace drawinglayer
 
 break;
 }
+case PRIMITIVE2D_ID_METAFILEPRIMITIVE2D :
+{
+static bool bUseMetaFilePrimitiveDecomposition(true);
+const primitive2d::MetafilePrimitive2D& aMetafile = 
static_cast< const primitive2d::MetafilePrimitive2D& >(rCandidate);
+
+if(bUseMetaFilePrimitiveDecomposition && 
!aMetafile.getMetaFile().GetUseCanvas())
+{
+// Use new Metafile decomposition.
+// TODO EMF+ stuffed into METACOMMENT support required
+
process(rCandidate.get2DDecomposition(getViewInformation2D()));
+}
+else
+{
+// direct draw of MetaFile, use default processing
+RenderMetafilePrimitive2D(aMetafile);
+}
+
+break;
+}
 case PRIMITIVE2D_ID_MASKPRIMITIVE2D :
 {
 // mask group. Special handling for MetaFiles.
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index a486dd8..1376a03 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -435,7 +435,7 @@ namespace drawinglayer
 }
 case PRIMITIVE2D_ID_METAFILEPRIMITIVE2D :
 {
-   // #i98289#
+// #i98289#
 const bool 
bForceLineSnap(getOptionsDrawinglayer().IsAntiAliasing() && 
getOptionsDrawinglayer().IsSnapHorVerLinesToDiscrete());
 const sal_uInt16 
nOldAntiAliase(mpOutputDevice->GetAntialiasing());
 
@@ -444,8 +444,20 @@ namespace drawinglayer
 mpOutputDevice->SetAntialiasing(nOldAntiAliase | 
ANTIALIASING_PIXELSNAPHAIRLINE);
 }
 
-// use new Metafile decomposition
-
process(rCandidate.get2DDecomposition(getViewInformation2D()));
+const primitive2d::MetafilePrimitive2D& 
rMetafilePrimitive( static_cast< const primitive2d::MetafilePrimitive2D& 
>(rCandidate) );
+
+static bool bTestMetaFilePrimitiveDecomposition( true );
+if( bTestMetaFilePrimitiveDecomposition && 
!rMetafilePrimitive.getMetaFile().GetUseCanvas() )
+{
+// use new Metafile decomposition
+// TODO EMF+ stuffed into METACOMMENT support required
+
process(rCandidate.get2DDecomposition(getViewInformation2D()));
+}
+else
+{
+// direct draw of MetaFile
+RenderMetafilePrimitive2D( rMetafilePrimitive );
+}
 
 if(bForceLineSnap)
 {
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index d1b85ff..1ec9f50 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -782,6 +782,97 @@ namespace drawinglayer
 }
 }
 
+// direct draw of MetaFile
+void VclProcessor2D::RenderMetafilePrimitive2D(const 
primitive2d::MetafilePrimitive2D& rMetaCandidate)
+{
+// decompose matrix to check for shear, rotate and mirroring
+basegfx::B2DHomMatrix aLocalTransform(maCurrentTransformation * 
rMetaCandidate.getTransform());
+basegfx::B2DVector

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

2013-07-04 Thread Cédric Bosdonnat
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   46 --
 writerfilter/source/dmapper/PropertyIds.cxx   |1 
 writerfilter/source/dmapper/PropertyIds.hxx   |1 
 3 files changed, 44 insertions(+), 4 deletions(-)

New commits:
commit c7e4264bed4e77daccf2f72063e5e00f1008c3cf
Author: Cédric Bosdonnat 
Date:   Thu Jul 4 15:45:01 2013 +0200

n#825976: Fixed the import of Table of Figures

Support the TOC \c switch and fixed the SetExpression current
presentation property to have updated fields and TOC.

(cherry picked from commit 22a22a0983ec9c95e5b471395fc1c5bb813bd0d2)

Conflicts:
writerfilter/source/dmapper/DomainMapper_Impl.cxx
writerfilter/source/dmapper/PropertyIds.cxx

Conflicts:
writerfilter/source/dmapper/PropertyIds.cxx

Change-Id: I6fbd7cc38cf8ea7f08a0d15d1f39ffe4805dd62b

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 44c0a7a..871b0cf 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -2576,6 +2576,8 @@ void DomainMapper_Impl::handleToc
 sal_Int16 nMaxLevel = 10;
 OUString sTemplate;
 OUString sChapterNoSeparator;
+OUString sFigureSequence;
+
 //  \a Builds a table of figures but does not include the 
captions's label and number
 if( lcl_FindInCommand( pContext->GetCommand(), 'a', sValue ))
 { //make it a table of figures
@@ -2590,6 +2592,8 @@ void DomainMapper_Impl::handleToc
 {
 //todo: sValue contains the label's name
 bTableOfFigures = true;
+sFigureSequence = sValue.trim();
+sFigureSequence = sFigureSequence.replaceAll("\"", 
"").replaceAll("'","");
 }
 //  \d Defines the separator between sequence and page numbers
 if( lcl_FindInCommand( pContext->GetCommand(), 'd', sValue ))
@@ -2777,6 +2781,12 @@ void DomainMapper_Impl::handleToc
 }
 }
 }
+else if (bTableOfFigures && xTOC.is())
+{
+if (!sFigureSequence.isEmpty())
+
xTOC->setPropertyValue(rPropNameSupplier.GetName(PROP_LABEL_CATEGORY),
+   uno::makeAny(sFigureSequence));
+}
 pContext->SetTOC( xTOC );
 }
 
@@ -3240,7 +3250,7 @@ void DomainMapper_Impl::CloseFieldCommand()
 // Take care of the numeric formatting definition, 
default is Arabic
 sal_Int16 nNumberingType = 
lcl_ParseNumberingType(pContext->GetCommand());
 if (nNumberingType == 
style::NumberingType::PAGE_DESCRIPTOR)
-nNumberingType == style::NumberingType::ARABIC;
+nNumberingType = style::NumberingType::ARABIC;
 xFieldProperties->setPropertyValue(
 rPropNameSupplier.GetName(PROP_NUMBERING_TYPE),
 uno::makeAny(nNumberingType));
@@ -3387,8 +3397,13 @@ void DomainMapper_Impl::SetFieldResult( OUString& 
rResult )
 // In case of SetExpression, the field result contains 
the content of the variable.
 uno::Reference 
xServiceInfo(xTextField, uno::UNO_QUERY);
 bool bIsSetExpression = 
xServiceInfo->supportsService("com.sun.star.text.TextField.SetExpression");
+// If we already have content set, then use the 
current presentation
+rtl::OUString sValue;
+uno::Any aValue = xFieldProperties->getPropertyValue(
+rPropNameSupplier.GetName(PROP_CONTENT));
+aValue >>= sValue;
 xFieldProperties->setPropertyValue(
-rPropNameSupplier.GetName(bIsSetExpression ? 
PROP_CONTENT : PROP_CURRENT_PRESENTATION),
+rPropNameSupplier.GetName(bIsSetExpression && 
sValue.isEmpty()? PROP_CONTENT : PROP_CURRENT_PRESENTATION),
  uno::makeAny( rResult ));
 }
 }
diff --git a/writerfilter/source/dmapper/PropertyIds.cxx 
b/writerfilter/source/dmapper/PropertyIds.cxx
index dd57a84..5cbd552 100644
--- a/writerfilter/source/dmapper/PropertyIds.cxx
+++ b/writerfilter/source/dmapper/PropertyIds.cxx
@@ -326,6 +326,7 @@ const OUString& PropertyNameSupplier::GetName( PropertyIds 
eId ) const
 case PROP_GRAPHIC_URL: sName = "GraphicURL"; break;
 case PROP_GRAPHIC_BITMAP: sName = "GraphicBitmap"; break;
 case PROP_CHAR_SHADING_VALUE: sName = "CharShadingValue"; break;
+case PROP_LABEL_CATEGORY: sName = "LabelCategory"; break;
 }
 ::std::pair aInsertIt =
 m_pImpl->aNameMap.insert( PropertyNameMap_t::value_type( eId, 
sName ));
diff --git a/w

[Bug 60270] LibreOffice 4.1 most annoying bugs

2013-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60270

--- Comment #41 from Pedro  ---
I nominate Bug 66420. It causes data loss and is a very common action (adding
words to personal dictionary)

-- 
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 60270] LibreOffice 4.1 most annoying bugs

2013-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60270

Pedro  changed:

   What|Removed |Added

 Depends on||66420

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


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

2013-07-04 Thread Cédric Bosdonnat
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5795edb20e642dad04f572b4fb2c0e86a7d8b6e7
Author: Cédric Bosdonnat 
Date:   Thu Jul 4 16:54:42 2013 +0200

Fixed bad cherry-pick conflict handling in writerfilter

Change-Id: I4771e198872bbc797df6388af395d7bc14cb2d76

diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 871b0cf..bd9ace1 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -3231,11 +3231,11 @@ void DomainMapper_Impl::CloseFieldCommand()
 uno::Reference< text::XDependentTextField > 
xDependentField( xFieldInterface, uno::UNO_QUERY_THROW );
 xDependentField->attachTextFieldMaster( xMaster );
 
-rtl::OUString sFormula = sIdentifier + "+1";
+rtl::OUString sFormula = sSeqName + "+1";
 rtl::OUString sValue;
 if( lcl_FindInCommand( pContext->GetCommand(), 'c', 
sValue ))
 {
-sFormula = sIdentifier;
+sFormula = sSeqName;
 }
 else if( lcl_FindInCommand( pContext->GetCommand(), 
'r', sValue ))
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-04 Thread Frédéric Wang
 starmath/source/mathmlexport.cxx |9 +++--
 starmath/source/parse.cxx|2 +-
 2 files changed, 8 insertions(+), 3 deletions(-)

New commits:
commit 75032fde426c781aea0af24eb9b9f6432a6bc9bb
Author: Frédéric Wang 
Date:   Thu Jul 4 10:57:35 2013 +0200

 fdo#66575 - MathML export: fix errors with newline, binom and stack.

Change-Id: I6c66864381a6a5b7415e9fae682e50865b3f76db
Reviewed-on: https://gerrit.libreoffice.org/4712
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 12f7f5a..2c9474e 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -868,8 +868,13 @@ void SmXMLExport::ExportTable(const SmNode *pNode, int 
nLevel)
 //no subnodes, the newline is superfulous so we just drop
 //the last node, inclusion would create a bad MathML
 //table
-if (nSize >= 1 && pNode->GetSubNode(nSize-1)->GetNumSubNodes() == 0)
---nSize;
+if (nSize >= 1)
+{
+const SmNode *pLine = pNode->GetSubNode(nSize-1);
+if (pLine->GetType() == NLINE && pLine->GetNumSubNodes() > 0 &&
+pLine->GetSubNode(0)->GetToken().eType == TEND)
+--nSize;
+}
 
 // try to avoid creating a mtable element when the formula consists only
 // of a single output line
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index 5929447..e532591 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1072,7 +1072,7 @@ void SmParser::Line()
 //this is to avoid a formula tree without any caret
 //positions, in visual formula editor.
 if(ExpressionArray.empty())
-ExpressionArray.push_back(new SmExpressionNode(SmToken()));
+ExpressionArray.push_back(new SmExpressionNode(m_aCurToken));
 
 SmStructureNode *pSNode = new SmLineNode(m_aCurToken);
 pSNode->SetSubNodes(ExpressionArray);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: helpers/help_hid.lst source/text

2013-07-04 Thread Caolán McNamara
 helpers/help_hid.lst |   17 ---
 source/text/shared/optionen/01030500.xhp |   67 ---
 2 files changed, 26 insertions(+), 58 deletions(-)

New commits:
commit c457fe96e49c1b870b10b359a1833bf27c743018
Author: Caolán McNamara 
Date:   Thu Jul 4 16:08:52 2013 +0100

update help ids for html opt page .ui conversion

Change-Id: If993538261cb04223e88ae3fcc3d61ee8969ff8d

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index 74f1a52..d579442 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -7036,13 +7036,6 @@ 
svx_CheckBox_RID_OFAPAGE_AUTOCOMPLETE_OPTIONS_CB_REMOVE_LIST,809157756,
 svx_CheckBox_RID_OFAPAGE_AUTOCORR_QUOTE_CB_TYPO,808993803,
 svx_CheckBox_RID_OFAPAGE_CONNPOOLOPTIONS_CB_DRIVERPOOLING,809206791,
 svx_CheckBox_RID_OFAPAGE_CONNPOOLOPTIONS_CB_POOL_CONNS,809206786,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_IGNORE_FONTNAMES,808846358,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_LOCAL_GRF,808846373,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_NUMBERS_ENGLISH_US,808846359,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_PRINT_EXTENSION,808846374,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_STARBASIC,808846367,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_STARBASIC_WARNING,808846368,
-svx_CheckBox_RID_OFAPAGE_HTMLOPT_CB_UNKNOWN_TAGS,808846357,
 svx_CheckBox_RID_OFAPAGE_SMARTTAG_OPTIONS_CB_SMARTTAGS,809256156,
 svx_CheckBox_RID_OFA_TP_INTERNATIONAL_CB_SHTVW_CURRENTDOCONLY,811336710,
 svx_CheckBox_RID_OFA_TP_INTERNATIONAL_CB_SHTVW_RIGHT2LEFT,811336709,
@@ -7293,8 +7286,6 @@ svx_ListBox_OFA_TP_VIEW_LB_MENU_ICONS,810520105,
 svx_ListBox_OFA_TP_VIEW_LB_MOUSEMIDDLE,810520098,
 svx_ListBox_OFA_TP_VIEW_LB_MOUSEPOS,810520095,
 svx_ListBox_RID_OFAPAGE_AUTOCOMPLETE_OPTIONS_DCB_EXPAND_KEY,809160323,
-svx_ListBox_RID_OFAPAGE_HTMLOPT_LB_CHARSET,808848937,
-svx_ListBox_RID_OFAPAGE_HTMLOPT_LB_EXPORT,808848935,
 svx_ListBox_RID_OPTPAGE_CHART_DEFCOLORS_LB_CHART_COLOR_LIST,705613314,
 svx_ListBox_RID_SFXDLG_EDITDICT_LB_ALLDICTS,1270418976,
 svx_ListBox_RID_SFXDLG_EDITDICT_LB_DICTLANG,1270418957,
@@ -7572,13 +7563,6 @@ svx_NumericField_OFA_TP_VIEW_NF_AA_POINTLIMIT,810522688,
 svx_NumericField_RID_OFAPAGE_AUTOCOMPLETE_OPTIONS_NF_MAX_ENTRIES,809162881,
 svx_NumericField_RID_OFAPAGE_AUTOCOMPLETE_OPTIONS_NF_MIN_WORDLEN,809162880,
 svx_NumericField_RID_OFAPAGE_CONNPOOLOPTIONS_NF_TIMEOUT,809211913,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE1,808851459,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE2,808851461,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE3,808851463,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE4,808851465,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE5,808851467,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE6,808851469,
-svx_NumericField_RID_OFAPAGE_HTMLOPT_NF_SIZE7,808851471,
 svx_NumericField_RID_SVXDLG_LNG_ED_NUM_PREBREAK_ED_PREBREAK,1251186996,
 svx_NumericField_RID_SVXDLG_SEARCHSIMILARITY_NF_LONGER,1237964821,
 svx_NumericField_RID_SVXDLG_SEARCHSIMILARITY_NF_OTHER,1237964817,
@@ -7807,7 +7791,6 @@ 
svx_RadioButton_RID_SVX_MDLG_HANGULHANJA_RB_HANJA_HANGUL_BELOW,1237598727,
 svx_RadioButton_RID_SVX_MDLG_HANGULHANJA_RB_HANJA_HANGUL_BRACKETED,1237598722,
 svx_RadioButton_RID_SVX_MDLG_HANGULHANJA_RB_SIMPLE_CONVERSION,1237598721,
 svx_TabPage_RID_OFAPAGE_CONNPOOLOPTIONS,809205760,
-svx_TabPage_RID_OFAPAGE_HTMLOPT,808845312,
 svx_TabPage_RID_OFA_TP_INTERNATIONAL,811335680,
 svx_TabPage_RID_SFXPAGE_DBREGISTER,809222144,
 svx_TabPage_RID_SVXPAGE_EVENTASSIGN,705675264,
diff --git a/source/text/shared/optionen/01030500.xhp 
b/source/text/shared/optionen/01030500.xhp
index 1833471..ba97371 100644
--- a/source/text/shared/optionen/01030500.xhp
+++ b/source/text/shared/optionen/01030500.xhp
@@ -31,69 +31,54 @@
 $[officename] Basic scripts in HTML 
documents
 HTML;compatibility settings
 
-
+
 HTML compatibility
-Defines settings for 
HTML pages.
+Defines settings for 
HTML pages.
 
 
   
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
 Font sizes
-Use 
the spin buttons Size 1 to Size 7 to define the 
respective font sizes for the HTML  to  
tags.
+Use the spin buttons 
Size 1 to Size 7 to define the respective font sizes 
for the HTML  to  
tags.
 Import
 Defines the settings for importing HTML documents.
-
+
 Use 'English (USA)' locale for numbers
 When importing numbers from an HTML page, the decimal separator and 
the thousands separator characters differ according to the locale of the HTML 
page. The clipboard however contains no information about the locale. For 
example, the characters "1.000" copied from a German Web page most possibly 
mean "one thousand" because the period is the thousands separator in a German 
locale. If copied from an English Web page, the same characters stand for the 
number 1 as in "one dot zero zero zero".
 If not checked, numbers will be interpreted according 
to the setting in Language Settings - Language of - Locale setting 
in the Options dialog box. If checked, numbers will be interpreted as 'En

[Libreoffice-commits] core.git: helpcontent2

 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d47b1dc51813977e89195063fadaaf32215e3f4c
Author: Caolán McNamara 
Date:   Thu Jul 4 16:08:52 2013 +0100

Updated core
Project: help  c457fe96e49c1b870b10b359a1833bf27c743018

diff --git a/helpcontent2 b/helpcontent2
index f1701b1..c457fe9 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit f1701b12193c153b6f7d7de018b871e6a05beedd
+Subproject commit c457fe96e49c1b870b10b359a1833bf27c743018
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/table-style' - sw/inc sw/source

 sw/inc/swtblfmt.hxx|2 
 sw/source/core/doc/tblafmt.cxx |  101 ++---
 2 files changed, 57 insertions(+), 46 deletions(-)

New commits:
commit 3190a43ec77fc818f7c426743aed443ec08a9ce5
Author: Alex Ivan 
Date:   Thu Jul 4 18:08:46 2013 +0300

Add Load function to SwTableFmt

Added a Load function to SwTableFmt to take over
part of the functionality of the one in SwTableAutoFmt.

Change-Id: I58fbe24e2d1914d2c89b2f86bb5b5fadc786b76c

diff --git a/sw/inc/swtblfmt.hxx b/sw/inc/swtblfmt.hxx
index 71b32d1..d49396a 100644
--- a/sw/inc/swtblfmt.hxx
+++ b/sw/inc/swtblfmt.hxx
@@ -126,6 +126,8 @@ public:
 
 void CopyTableFormatInfo( const SwTableFmt* pTableFormat );
 
+sal_Bool Load( SvStream& rStream, const SwAfVersions& rVersions, SwDoc* 
pDoc, sal_uInt16 nVal );
+
 TYPEINFO(); // Already in base class Content.
 
 DECL_FIXEDMEMPOOL_NEWDEL(SwTableFmt)
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 14e55b6..7a09fa1 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -716,6 +716,60 @@ void SwTableAutoFmt::StoreTableProperties(const SwTable 
&table)
 m_pTableStyle->StoreTableProperties( table );
 }
 
+sal_Bool SwTableFmt::Load( SvStream& rStream, const SwAfVersions& rVersions, 
SwDoc* pDoc, sal_uInt16 nVal )
+{
+sal_Bool bRet = 0 == rStream.GetError();
+
+if (nVal >= AUTOFORMAT_DATA_ID_31005 && WriterSpecificBlockExists(rStream))
+{
+SfxPoolItem* pNew = 0;
+
+SvxFmtBreakItem aBreak = SvxFmtBreakItem( SVX_BREAK_NONE, RES_BREAK );
+READ( aBreak, SvxFmtBreakItem, AUTOFORMAT_FILE_VERSION );
+SetBreak( aBreak );
+
+SwFmtPageDesc aPageDesc;
+READ( aPageDesc, SwFmtPageDesc, AUTOFORMAT_FILE_VERSION );
+SetPageDesc( aPageDesc );
+
+SvxFmtKeepItem aKeepWithNextPara = SvxFmtKeepItem( sal_False, RES_KEEP 
);
+READ( aKeepWithNextPara, SvxFmtKeepItem, AUTOFORMAT_FILE_VERSION );
+SetKeepWithNextPara( aKeepWithNextPara );
+
+sal_uInt16 aRepeatHeading;
+sal_Bool bLayoutSplit;
+sal_Bool bRowSplit;
+sal_Bool bCollapsingBorders;
+rStream >> aRepeatHeading >> bLayoutSplit >> bRowSplit >> 
bCollapsingBorders;
+SetRepeatHeading( aRepeatHeading );
+SetRowSplit( bRowSplit );
+SetLayoutSplit( bLayoutSplit );
+SetCollapsingBorders( bCollapsingBorders );
+
+SvxShadowItem aShadow = SvxShadowItem( RES_SHADOW );
+READ( aShadow, SvxShadowItem, AUTOFORMAT_FILE_VERSION );
+SetShadow( aShadow );
+}
+
+bRet = 0 == rStream.GetError();
+
+for( sal_uInt8 i = 0; bRet && i < 16; ++i )
+{
+SwTableBoxFmt* pFmt = pDoc->MakeTableBoxFmt();
+
+bRet = pFmt->Load( rStream, rVersions, nVal );
+if( bRet )
+SetBoxFmt( *pFmt, i );
+else
+{
+delete pFmt;
+break;
+}
+}
+
+return bRet;
+}
+
 SwTableAutoFmt* SwTableAutoFmt::Load( SvStream& rStream, const SwAfVersions& 
rVersions, SwDoc* pDoc )
 {
 SwTableAutoFmt* pRet = NULL;
@@ -761,52 +815,7 @@ SwTableAutoFmt* SwTableAutoFmt::Load( SvStream& rStream, 
const SwAfVersions& rVe
 rStream >> b; pRet->bInclValueFormat = b;
 rStream >> b; pRet->bInclWidthHeight = b;
 
-if (nVal >= AUTOFORMAT_DATA_ID_31005 && 
WriterSpecificBlockExists(rStream))
-{
-SfxPoolItem* pNew = 0;
-
-SvxFmtBreakItem m_aBreak = SvxFmtBreakItem( SVX_BREAK_NONE, 
RES_BREAK );
-READ(m_aBreak, SvxFmtBreakItem, AUTOFORMAT_FILE_VERSION);
-pStyle->SetBreak( m_aBreak );
-
-SwFmtPageDesc m_aPageDesc;
-READ(m_aPageDesc, SwFmtPageDesc, AUTOFORMAT_FILE_VERSION);
-pStyle->SetPageDesc( m_aPageDesc );
-
-SvxFmtKeepItem m_aKeepWithNextPara = SvxFmtKeepItem( sal_False, 
RES_KEEP );
-READ(m_aKeepWithNextPara, SvxFmtKeepItem, AUTOFORMAT_FILE_VERSION);
-pStyle->SetKeepWithNextPara( m_aKeepWithNextPara );
-
-sal_uInt16 m_aRepeatHeading;
-sal_Bool m_bLayoutSplit;
-sal_Bool m_bRowSplit;
-sal_Bool m_bCollapsingBorders;
-rStream >> m_aRepeatHeading >> m_bLayoutSplit >> m_bRowSplit >> 
m_bCollapsingBorders;
-pStyle->SetRepeatHeading( m_aRepeatHeading );
-pStyle->SetRowSplit( m_bRowSplit );
-pStyle->SetLayoutSplit( m_bLayoutSplit );
-pStyle->SetCollapsingBorders( m_bCollapsingBorders );
-
-SvxShadowItem m_aShadow = SvxShadowItem( RES_SHADOW );
-READ(m_aShadow, SvxShadowItem, AUTOFORMAT_FILE_VERSION);
-pStyle->SetShadow( m_aShadow );
-}
-
-bRet = 0 == rStream.GetError();
-
-for( sal_uInt8 i = 0; bRet && i < 16; ++i )
-{
-SwTableBoxFmt* pFmt = pDoc->MakeTableBoxFmt();
-
-bRet = pFmt-

[Libreoffice-commits] core.git: dbaccess/source unusedcode.easy

 dbaccess/source/core/api/RowSet.cxx |6 --
 unusedcode.easy |1 -
 2 files changed, 7 deletions(-)

New commits:
commit 8dc5b9d6a2f451829b3b6df8a026e98edc046f53
Author: Julien Nabet 
Date:   Thu Jul 4 17:11:36 2013 +0200

unusedeasy remove ORowSet_CreateInstance

Change-Id: I17e9eb168c664514dacc03d66911f72faf80e117

diff --git a/dbaccess/source/core/api/RowSet.cxx 
b/dbaccess/source/core/api/RowSet.cxx
index 012f309..64e7d84 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -126,12 +126,6 @@ extern "C" void SAL_CALL createRegistryInfo_ORowSet()
 
 namespace dbaccess
 {
-
-Reference< XInterface > ORowSet_CreateInstance(const Reference< 
XMultiServiceFactory >& _rxFactory)
-{
-return *(new ORowSet( comphelper::getComponentContext(_rxFactory) ));
-}
-
 ORowSet::ORowSet( const Reference< ::com::sun::star::uno::XComponentContext >& 
_rxContext )
 :ORowSet_BASE1(m_aMutex)
 ,ORowSetBase( _rxContext, ORowSet_BASE1::rBHelper, &m_aMutex )
diff --git a/unusedcode.easy b/unusedcode.easy
index 89479d2..f80b1b9 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -132,7 +132,6 @@ 
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::share
 connectivity::file::OStatement_Base::reset()
 connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
 connectivity::sdbcx::OGroup::OGroup(unsigned char)
-dbaccess::ORowSet_CreateInstance(com::sun::star::uno::Reference
 const&)
 dbtools::DBTypeConversion::getMsFromTime(com::sun::star::util::Time const&)
 drawinglayer::attribute::FontAttribute::isDefault() const
 drawinglayer::attribute::MaterialAttribute3D::isDefault() const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 uui/source/fltdlg.src |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 47fc3a3278a7aac0ba2d8f47eb10a83c0a5f40c7
Author: Herbert Dürr 
Date:   Thu Jul 4 14:50:22 2013 +

#i55152# the listbox in the filter selection dialog should be sorted

diff --git a/uui/source/fltdlg.src b/uui/source/fltdlg.src
index 2d0ec31..470a5c6 100644
--- a/uui/source/fltdlg.src
+++ b/uui/source/fltdlg.src
@@ -54,7 +54,7 @@ ModalDialog DLG_FILTER_SELECT
 Pos = MAP_APPFONT (   6 ,  19 ) ;
 Size= MAP_APPFONT ( 182 , 175 ) ;
 TabStop = TRUE ;
-Sort= FALSE ;
+Sort= TRUE ;
 AutoHScroll = TRUE;
 };
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 vcl/unx/generic/printer/ppdparser.cxx |   16 +---
 1 file changed, 9 insertions(+), 7 deletions(-)

New commits:
commit 2ee1de716cd8326cd56d441019db2c32b2e10a32
Author: Caolán McNamara 
Date:   Thu Jul 4 17:16:00 2013 +0100

Related: fdo#54186 show JCL options, parse JCLOpenUI the same as OpenUI

Change-Id: I495583b56502f349cd789466e9daeb6528ea9048

diff --git a/vcl/unx/generic/printer/ppdparser.cxx 
b/vcl/unx/generic/printer/ppdparser.cxx
index 9a2f323..2092ea1 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -973,17 +973,19 @@ void PPDParser::parse( ::std::list< OString >& rLines )
 aKey = aKey.copy(0, nPos);
 aKey = aKey.copy(1); // remove the '*'
 
-if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseUI")) ||
-aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenGroup")) ||
-aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseGroup")) ||
-aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("End")) ||
-aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenSubGroup")) ||
-aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("CloseSubGroup")))
+if ((aKey == "CloseUI") ||
+(aKey == "JCLCloseUI") ||
+(aKey == "OpenGroup") ||
+(aKey == "CloseGroup") ||
+(aKey == "End") ||
+(aKey == "JCLEnd") ||
+(aKey == "OpenSubGroup") ||
+(aKey == "CloseSubGroup"))
 {
 continue;
 }
 
-if (aKey.equalsL(RTL_CONSTASCII_STRINGPARAM("OpenUI")))
+if ((aKey == "OpenUI") || (aKey == "JCLOpenUI"))
 {
 parseOpenUI( aCurrentLine );
 continue;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 oox/source/core/xmlfilterbase.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 29a9160de3acc496cf71dc3eb0d7a54df614a501
Author: Eike Rathke 
Date:   Thu Jul 4 19:12:49 2013 +0200

don't use Locale.Language

Change-Id: Ief663d886b08fc141dfb7563674504fe70f444b3

diff --git a/oox/source/core/xmlfilterbase.cxx 
b/oox/source/core/xmlfilterbase.cxx
index 8a59187..c9c7892 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -31,6 +31,7 @@
 #include 
 #include 
 #include 
+#include 
 #include "oox/core/fastparser.hxx"
 #include "oox/core/filterdetect.hxx"
 #include "oox/core/fragmenthandler.hxx"
@@ -503,10 +504,10 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, 
Sequence< OUString > aIte
 }
 
 static void
-writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const Locale& rLocale )
+writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const LanguageTag& 
rLanguageTag )
 {
 // TODO: what to do with .Country and .Variant
-writeElement( pDoc, nXmlElement, rLocale.Language );
+writeElement( pDoc, nXmlElement, rLanguageTag.getLanguage() );
 }
 
 static void
@@ -542,7 +543,7 @@ writeCoreProperties( XmlFilterBase& rSelf, Reference< 
XDocumentProperties > xPro
 writeElement( pCoreProps, FSNS( XML_dc, XML_identifier ),   "ident" );
 #endif  /* def OOXTODO */
 writeElement( pCoreProps, FSNS( XML_cp, XML_keywords ), 
xProperties->getKeywords() );
-writeElement( pCoreProps, FSNS( XML_dc, XML_language ), 
xProperties->getLanguage() );
+writeElement( pCoreProps, FSNS( XML_dc, XML_language ), 
LanguageTag( xProperties->getLanguage()) );
 writeElement( pCoreProps, FSNS( XML_cp, XML_lastModifiedBy ),   
xProperties->getModifiedBy() );
 writeElement( pCoreProps, FSNS( XML_cp, XML_lastPrinted ),  
xProperties->getPrintDate() );
 writeElement( pCoreProps, FSNS( XML_dcterms, XML_modified ),
xProperties->getModificationDate() );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 oox/source/core/xmlfilterbase.cxx |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 74827231e8f60e94cb29c959bbd27d44c77c6a2b
Author: Eike Rathke 
Date:   Thu Jul 4 19:27:56 2013 +0200

write bcp47

Change-Id: I682b35f0793f5fc61daa255bb68a60e164133d97

diff --git a/oox/source/core/xmlfilterbase.cxx 
b/oox/source/core/xmlfilterbase.cxx
index c9c7892..21d81b4 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -506,8 +506,9 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, 
Sequence< OUString > aIte
 static void
 writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const LanguageTag& 
rLanguageTag )
 {
-// TODO: what to do with .Country and .Variant
-writeElement( pDoc, nXmlElement, rLanguageTag.getLanguage() );
+// OOXML ISO 29500 22.9.2.6 ST_Lang (Language Reference) says this is a
+// BCP 47 language tag.
+writeElement( pDoc, nXmlElement, rLanguageTag.getBcp47() );
 }
 
 static void
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 3 commits - include/tools rsc/source sot/source

 include/tools/b3dtrans.hxx   |   10 +-
 rsc/source/parser/rsclex.cxx |3 ++-
 sot/source/sdstor/stg.cxx|2 +-
 3 files changed, 8 insertions(+), 7 deletions(-)

New commits:
commit 5f4a9d91fc2323a38ac2aed54e2074a358ec168e
Author: Michael Stahl 
Date:   Thu Jul 4 20:07:53 2013 +0200

warning C4305 truncation from int to bool

Change-Id: Id4323cdb5201875200e83e7fe8377f0262f07a4e

diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 4606aa1..2fcf0d5 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -949,7 +949,7 @@ void Storage::SetClass( const SvGlobalName & rClass,
 SetError( aCompObj.GetError() );
 else
 {
-StgOleStream aOle( *this, STREAM_WRITE );
+StgOleStream aOle(*this, true);
 if( !aOle.Store() )
 SetError( aOle.GetError() );
 }
commit f9075eb5ccb79c4338fb6230dd898f98a02934fd
Author: Michael Stahl 
Date:   Thu Jul 4 19:58:12 2013 +0200

warning C4805 unsafe mixture of type int and type bool

It is a mystery what this is supposed to do, but rsc is sort of going
away in the mid-term anyway so who cares...

Change-Id: If1c1b8216c0429909c0571b3360b6dca97f265c4

diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 0f24556..b4a23f0 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -151,7 +151,8 @@ int MakeToken( YYSTYPE * pTokenVal )
 break;
 };
 
-if( c == pFI->IsEof() )
+// FIXME: wtf is this supposed to do?
+if( (c != 0) == pFI->IsEof() )
 {
 return( 0 );
 }
commit 33ff399d7211417f9991161579acbca8d8a2c67f
Author: Michael Stahl 
Date:   Thu Jul 4 19:57:22 2013 +0200

warning C4389 != signed/unsigned mismatch

Change-Id: I1cc4be1e7068ce3c40340e88fcde75fc7862a18a

diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx
index 5dace97..dd21aae 100644
--- a/include/tools/b3dtrans.hxx
+++ b/include/tools/b3dtrans.hxx
@@ -106,11 +106,11 @@ private:
 Base3DRatio   meRatio;
 
 // Flags
-unsigned  mbPerspective  : 1;
-unsigned  mbWorldToViewValid : 1;
-unsigned  mbInvTransObjectToEyeValid : 1;
-unsigned  mbObjectToDeviceValid  : 1;
-unsigned  mbProjectionValid  : 1;
+bool mbPerspective  : 1;
+bool mbWorldToViewValid : 1;
+bool mbInvTransObjectToEyeValid : 1;
+bool mbObjectToDeviceValid  : 1;
+bool mbProjectionValid  : 1;
 
 public:
 B3dTransformationSet();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - chart2/source chart2/uiconfig officecfg/registry

 chart2/source/controller/dialogs/Strings.src   |6 -
 chart2/source/controller/main/ChartController.cxx  |4 
 chart2/source/controller/main/ChartController.hxx  |1 
 chart2/source/controller/main/ChartController_Tools.cxx|   55 
+-
 chart2/source/controller/main/ControllerCommandDispatch.cxx|2 
 chart2/source/inc/Strings.hrc  |2 
 chart2/source/tools/MovingAverageRegressionCurveCalculator.cxx |3 
 chart2/uiconfig/toolbar/toolbar.xml|3 
 officecfg/registry/data/org/openoffice/Office/UI/ChartCommands.xcu |4 
 9 files changed, 70 insertions(+), 10 deletions(-)

New commits:
commit b5d481e2b96e2124021e6f80d2543a5904dad026
Author: Tomaž Vajngerl 
Date:   Thu Jul 4 20:16:26 2013 +0200

fdo#66422 Vertical grid toolbar button - choice major/minor/off

Added toolbar button for vertical grid. Icon was already prepared.
Changed the button behavior for vertical and horizontal grid button
from just on -> off to cycle through major -> major&minor -> off.

Change-Id: I147fc97ab43db31f08a2e98f7b68422fb168f042

diff --git a/chart2/source/controller/dialogs/Strings.src 
b/chart2/source/controller/dialogs/Strings.src
index f971eae..1aae59a 100644
--- a/chart2/source/controller/dialogs/Strings.src
+++ b/chart2/source/controller/dialogs/Strings.src
@@ -465,7 +465,11 @@ String STR_ACTION_TOGGLE_LEGEND
 };
 String STR_ACTION_TOGGLE_GRID_HORZ
 {
-Text [ en-US ] = "Horizontal grid on/off" ;
+Text [ en-US ] = "Horizontal grid major/major&minor/off" ;
+};
+String STR_ACTION_TOGGLE_GRID_VERTICAL
+{
+Text [ en-US ] = "Vertical grid major/major&minor/off" ;
 };
 String STR_ACTION_SCALE_TEXT
 {
diff --git a/chart2/source/controller/main/ChartController.cxx 
b/chart2/source/controller/main/ChartController.cxx
index 8e84ce5..e10133c 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -1214,6 +1214,8 @@ void SAL_CALL ChartController::dispatch(
 this->executeDispatch_ToggleLegend();
 else if( aCommand == "ToggleGridHorizontal" )
 this->executeDispatch_ToggleGridHorizontal();
+else if( aCommand == "ToggleGridVertical" )
+this->executeDispatch_ToggleGridVertical();
 else if( aCommand == "ScaleText" )
 this->executeDispatch_ScaleText();
 else if( aCommand == "StatusBarVisible" )
@@ -1546,7 +1548,7 @@ void ChartController::impl_initializeAccessible( const 
uno::Reference< lang::XIn
 ( "InsertAxis" )   ( "DeleteAxis" )   ( 
"InsertAxisTitle" )
 
 // toolbar commands
-( "ToggleGridHorizontal" )( "ToggleLegend" ) ( "ScaleText" )
+( "ToggleGridHorizontal" ) ( "ToggleGridVertical" ) ( "ToggleLegend" ) 
( "ScaleText" )
 ( "NewArrangement" ) ( "Update" )
 ( "DefaultColors" )  ( "BarWidth" ) ( "NumberOfLines" )
 ( "ArrangeRow" )
diff --git a/chart2/source/controller/main/ChartController.hxx 
b/chart2/source/controller/main/ChartController.hxx
index c3e98b0..442fa8e 100644
--- a/chart2/source/controller/main/ChartController.hxx
+++ b/chart2/source/controller/main/ChartController.hxx
@@ -667,6 +667,7 @@ private:
 boolexecuteDispatch_Delete();
 voidexecuteDispatch_ToggleLegend();
 voidexecuteDispatch_ToggleGridHorizontal();
+voidexecuteDispatch_ToggleGridVertical();
 
 void impl_ShapeControllerDispatch( const ::com::sun::star::util::URL& rURL,
 const ::com::sun::star::uno::Sequence< 
::com::sun::star::beans::PropertyValue >& rArgs );
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx 
b/chart2/source/controller/main/ChartController_Tools.cxx
index 6244943..1d8591d 100644
--- a/chart2/source/controller/main/ChartController_Tools.cxx
+++ b/chart2/source/controller/main/ChartController_Tools.cxx
@@ -887,17 +887,64 @@ void 
ChartController::executeDispatch_ToggleGridHorizontal()
 sal_Int32 nCooSysIndex = 0;
 bool bIsMainGrid = true;
 
-bool bHasMainYGrid = AxisHelper::isGridShown( nDimensionIndex, 
nCooSysIndex, bIsMainGrid, xDiagram );
+bool bHasMajorYGrid = AxisHelper::isGridShown( nDimensionIndex, 
nCooSysIndex, true,  xDiagram );
+bool bHasMinorYGrid = AxisHelper::isGridShown( nDimensionIndex, 
nCooSysIndex, false, xDiagram );
 
-if( bHasMainYGrid )
-AxisHelper::hideGrid( nDimensionIndex, nCooSysIndex, bIsMainGrid, 
xDiagram );
+if( bHasMajorYGrid )
+{
+if ( bHasMinorYGrid )
+{
+AxisHelper::hideGrid( nDimensionIndex, nCooSysIndex, true,  
xDiagram );
+AxisHelper::hideGrid( nDimensionIndex, nCooSysIndex, false, 
xDiagram );
+}
+else
+{
+

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

 oox/source/drawingml/textcharacterproperties.cxx |   13 ++---
 oox/source/export/drawingml.cxx  |   16 +---
 2 files changed, 7 insertions(+), 22 deletions(-)

New commits:
commit 78f053dd87c350524cce281e6dfcee5ed00811a2
Author: Eike Rathke 
Date:   Thu Jul 4 19:51:35 2013 +0200

use LanguageTag and write bcp47 for ST_Lang

Change-Id: I6e8ad53f769939fd7f7539514ca20374e5fd9248

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 6b4f80e..0232d07 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -771,17 +771,11 @@ void DrawingML::WriteRunProperties( Reference< 
XPropertySet > rRun, sal_Bool bIs
 }
 
 if( GETA( CharLocale ) ) {
-com::sun::star::lang::Locale eLocale;
-mAny >>= eLocale;
-
-OUStringBuffer usLanguageBuffer = eLocale.Language;
-if( !eLocale.Country.isEmpty() ) {
-usLanguageBuffer.appendAscii( "-" );
-usLanguageBuffer.append( eLocale.Country );
-}
-
-if( !usLanguageBuffer.isEmpty() )
-usLanguage = usLanguageBuffer.makeStringAndClear();
+com::sun::star::lang::Locale aLocale;
+mAny >>= aLocale;
+LanguageTag aLanguageTag( aLocale);
+if (!aLanguageTag.isSystemLocale())
+usLanguage = aLanguageTag.getBcp47();
 }
 
 mpFS->startElementNS( XML_a, XML_rPr,
commit 6dfe34d6ff30bede5a17e27e02cdc0ca54c11325
Author: Eike Rathke 
Date:   Thu Jul 4 19:42:16 2013 +0200

use LanguageTag

Change-Id: I16c1f5ba5a74858f01f5e62af2614beba608ef8c

diff --git a/oox/source/drawingml/textcharacterproperties.cxx 
b/oox/source/drawingml/textcharacterproperties.cxx
index 11a551a..8a12c62 100644
--- a/oox/source/drawingml/textcharacterproperties.cxx
+++ b/oox/source/drawingml/textcharacterproperties.cxx
@@ -21,6 +21,7 @@
 #include 
 #include 
 #include 
+#include 
 #include "oox/helper/helper.hxx"
 #include "oox/helper/propertyset.hxx"
 #include "oox/core/xmlfilterbase.hxx"
@@ -93,17 +94,7 @@ void TextCharacterProperties::pushToPropMap( PropertyMap& 
rPropMap, const XmlFil
 
 if( moLang.has() && !moLang.get().isEmpty() )
 {
-lang::Locale aLocale;
-sal_Int32 nSepPos = moLang.get().indexOf( sal_Unicode( '-' ), 0 );
-if ( nSepPos >= 0 )
-{
-aLocale.Language = moLang.get().copy( 0, nSepPos );
-aLocale.Country = moLang.get().copy( nSepPos + 1 );
-}
-else
-{
-aLocale.Language = moLang.get();
-}
+lang::Locale aLocale( LanguageTag( moLang.get()).getLocale());
 rPropMap[ PROP_CharLocale ] <<= aLocale;
 rPropMap[ PROP_CharLocaleAsian ] <<= aLocale;
 rPropMap[ PROP_CharLocaleComplex ] <<= aLocale;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 include/svtools/brwbox.hxx|2 +-
 sfx2/source/doc/graphhelp.cxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7191ff96bcd0fd265bd6af30d6422c694f66e1d7
Author: Michael Stahl 
Date:   Thu Jul 4 20:50:09 2013 +0200

warning C4305 truncation from String* to bool

Change-Id: Ie623a8c5def6357461db83f5df80cb45cc5a6389

diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index 8f3a5b5..1f8a7f1 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -108,7 +108,7 @@ void* GraphicHelper::getEnhMetaFileFromGDI_Impl( const 
GDIMetaFile* pGDIMeta )
 #ifdef WNT
 if ( pGDIMeta )
 {
-String aStr = OUString(".emf");
+OUString const aStr(".emf");
 ::utl::TempFile aTempFile( OUString(),
&aStr,
NULL,
commit 801ebbcabf744e402d15bc34f9f484455b57f061
Author: Michael Stahl 
Date:   Thu Jul 4 20:32:40 2013 +0200

warning C4805 unsafe mixture of type int and type bool

Change-Id: Iaae721fed7e5acde5ff91620639ac7ef61c324ee

diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 128c57c..3005b21 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -262,7 +262,7 @@ private:
 sal_uInt16  nResizeCol; // resize this column in MouseMove
 sal_BoolbResizing;  // mouse captured for column resizing
 
-sal_BoolbSelect;// select or deselect
+boolbSelect;/// select or deselect
 sal_BoolbSelectionIsVisible; // depending on focus
 sal_BoolbScrolling; // hidden cursor while scrolling
 sal_BoolbNotToggleSel;  // set while in ToggleSelection() etc.
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 oox/source/docprop/docprophandler.cxx |   18 ++
 oox/source/docprop/docprophandler.hxx |1 -
 2 files changed, 2 insertions(+), 17 deletions(-)

New commits:
commit 633ca742749ed006351d89852211fc2a8c48b523
Author: Eike Rathke 
Date:   Thu Jul 4 21:07:26 2013 +0200

use LanguageTag instead of mouth-painted implementation

Change-Id: Idd84ce9740de179c399702f896b7d39ab321f6f7

diff --git a/oox/source/docprop/docprophandler.cxx 
b/oox/source/docprop/docprophandler.cxx
index 50d5d4c..85df37d 100644
--- a/oox/source/docprop/docprophandler.cxx
+++ b/oox/source/docprop/docprophandler.cxx
@@ -24,6 +24,7 @@
 #include 
 
 #include 
+#include 
 
 #include 
 #include 
@@ -178,21 +179,6 @@ uno::Sequence< OUString > 
OOXMLDocPropHandler::GetKeywordsSet( const OUString& a
 }
 return uno::Sequence< OUString >();
 }
-// 
-lang::Locale OOXMLDocPropHandler::GetLanguage( const OUString& aChars )
-{
-lang::Locale aResult;
-if ( aChars.getLength() >= 2 )
-{
-aResult.Language = aChars.copy( 0, 2 );
-if ( aChars.getLength() >= 5 && aChars.getStr()[2] == (sal_Unicode)'-' 
)
-aResult.Country = aChars.copy( 3, 2 );
-
-// TODO/LATER: the variant could be also detected
-}
-
-return aResult;
-}
 
 // 
 void OOXMLDocPropHandler::UpdateDocStatistic( const OUString& aChars )
@@ -423,7 +409,7 @@ void SAL_CALL OOXMLDocPropHandler::characters( const 
OUString& aChars )
 
 case DC_TOKEN( language ):
 if ( aChars.getLength() >= 2 )
-m_xDocProp->setLanguage( GetLanguage( aChars ) );
+m_xDocProp->setLanguage( LanguageTag( 
aChars).getLocale() );
 break;
 
 case COREPR_TOKEN( lastModifiedBy ):
diff --git a/oox/source/docprop/docprophandler.hxx 
b/oox/source/docprop/docprophandler.hxx
index b3e7904..00a3d38 100644
--- a/oox/source/docprop/docprophandler.hxx
+++ b/oox/source/docprop/docprophandler.hxx
@@ -62,7 +62,6 @@ public:
 
 ::com::sun::star::util::DateTime GetDateTimeFromW3CDTF( const OUString& 
aChars );
 ::com::sun::star::uno::Sequence< OUString > GetKeywordsSet( const 
OUString& aChars );
-::com::sun::star::lang::Locale GetLanguage( const OUString& aChars );
 void UpdateDocStatistic( const OUString& aChars );
 
 // com.sun.star.xml.sax.XFastDocumentHandler
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - chart2/source libexttextcat/ExternalProject_exttextcat.mk

 chart2/source/controller/main/ChartController_Tools.cxx |1 -
 libexttextcat/ExternalProject_exttextcat.mk |2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 4f3a6bba29a3b9fdb8a3fc03d536b427e073a9b0
Author: Caolán McNamara 
Date:   Thu Jul 4 20:13:52 2013 +0100

unused variable bIsMainGrid

Change-Id: I82870e452d24b1b6799ba96d42dcfa2446ab2e87

diff --git a/chart2/source/controller/main/ChartController_Tools.cxx 
b/chart2/source/controller/main/ChartController_Tools.cxx
index 1d8591d..18359d33 100644
--- a/chart2/source/controller/main/ChartController_Tools.cxx
+++ b/chart2/source/controller/main/ChartController_Tools.cxx
@@ -885,7 +885,6 @@ void ChartController::executeDispatch_ToggleGridHorizontal()
 {
 sal_Int32 nDimensionIndex = 1;
 sal_Int32 nCooSysIndex = 0;
-bool bIsMainGrid = true;
 
 bool bHasMajorYGrid = AxisHelper::isGridShown( nDimensionIndex, 
nCooSysIndex, true,  xDiagram );
 bool bHasMinorYGrid = AxisHelper::isGridShown( nDimensionIndex, 
nCooSysIndex, false, xDiagram );
commit e24dfbb7e7790dd5a3ad2a0a87a074a16973fb0a
Author: Caolán McNamara 
Date:   Thu Jul 4 20:08:06 2013 +0100

smuggle -g into libexttextcat cflags in a debug build

Change-Id: I8e6f51c2e4aac4f059bcce923f887275eba1b9a2

diff --git a/libexttextcat/ExternalProject_exttextcat.mk 
b/libexttextcat/ExternalProject_exttextcat.mk
index 67f70fc..68035ca 100644
--- a/libexttextcat/ExternalProject_exttextcat.mk
+++ b/libexttextcat/ExternalProject_exttextcat.mk
@@ -17,7 +17,7 @@ $(call gb_ExternalProject_get_state_target,exttextcat,build):
$(call gb_ExternalProject_run,build,\
./configure --disable-shared --with-pic \
$(if $(filter 
YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
-   CFLAGS="$(if $(filter 
TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \
+   CFLAGS="$(if $(debug),-g) $(if $(filter 
TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \
$(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \
&& $(MAKE) \
)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 oox/source/core/xmlfilterbase.cxx |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 2429a89cf354c1af992a0ed5afad0b326b9d634a
Author: Eike Rathke 
Date:   Thu Jul 4 21:20:59 2013 +0200

Revert "write bcp47"

This reverts commit 40aceaae06a354958d6ecf88292bb0fd483f158b.

It's dc:language ...

diff --git a/oox/source/core/xmlfilterbase.cxx 
b/oox/source/core/xmlfilterbase.cxx
index 21d81b4..c9c7892 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -506,9 +506,8 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, 
Sequence< OUString > aIte
 static void
 writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, const LanguageTag& 
rLanguageTag )
 {
-// OOXML ISO 29500 22.9.2.6 ST_Lang (Language Reference) says this is a
-// BCP 47 language tag.
-writeElement( pDoc, nXmlElement, rLanguageTag.getBcp47() );
+// TODO: what to do with .Country and .Variant
+writeElement( pDoc, nXmlElement, rLanguageTag.getLanguage() );
 }
 
 static void
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 starmath/source/mathmlexport.cxx |4 ++--
 starmath/source/parse.cxx|6 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 5d63514c6eddcd61a319c994202c7689f60ebf0a
Author: Frédéric Wang 
Date:   Thu Jul 4 20:21:06 2013 +0100

fdo#66575 - MathML export: fix errors with newline, binom and stack.

Change-Id: I6833140aaf3fcfc47b81f7d324af88843de00834

diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 2c9474e..b35753f 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -871,8 +871,8 @@ void SmXMLExport::ExportTable(const SmNode *pNode, int 
nLevel)
 if (nSize >= 1)
 {
 const SmNode *pLine = pNode->GetSubNode(nSize-1);
-if (pLine->GetType() == NLINE && pLine->GetNumSubNodes() > 0 &&
-pLine->GetSubNode(0)->GetToken().eType == TEND)
+if (pLine->GetType() == NLINE && pLine->GetNumSubNodes() == 1 &&
+pLine->GetSubNode(0)->GetToken().eType == TNEWLINE)
 --nSize;
 }
 
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index e532591..aa3a66f 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -1072,7 +1072,11 @@ void SmParser::Line()
 //this is to avoid a formula tree without any caret
 //positions, in visual formula editor.
 if(ExpressionArray.empty())
-ExpressionArray.push_back(new SmExpressionNode(m_aCurToken));
+{
+SmToken aTok = SmToken();
+aTok.eType = TNEWLINE;
+ExpressionArray.push_back(new SmExpressionNode(aTok));
+}
 
 SmStructureNode *pSNode = new SmLineNode(m_aCurToken);
 pSNode->SetSubNodes(ExpressionArray);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 cui/source/tabpages/tabarea.hrc  |2 
 cui/source/tabpages/tabarea.src  |5 -
 cui/source/tabpages/tpgradnt.cxx |6 +
 cui/source/tabpages/tphatch.cxx  |6 -
 cui/uiconfig/ui/gradientpage.ui  |   10 ++
 cui/uiconfig/ui/hatchpage.ui |  140 ++-
 6 files changed, 81 insertions(+), 88 deletions(-)

New commits:
commit d856ae2f4d52aff52768a514d8a1b32138bd206a
Author: Caolán McNamara 
Date:   Thu Jul 4 20:46:32 2013 +0100

deploy maingrid hack to align previews within similar tabpages in a dialog

and move some accessibility resources into the .ui files

Change-Id: I139a7df4c8c18110fcd576a69a565b2e7baea0db

diff --git a/cui/source/tabpages/tabarea.hrc b/cui/source/tabpages/tabarea.hrc
index 5509a6d..d579745 100644
--- a/cui/source/tabpages/tabarea.hrc
+++ b/cui/source/tabpages/tabarea.hrc
@@ -121,6 +121,4 @@
 #define CB_HATCHBCKGRD  21
 #define LB_HATCHBCKGRDCOLOR 22
 
-#define STR_LB_HATCHINGSTYLE 5031
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/tabarea.src b/cui/source/tabpages/tabarea.src
index 3c1ca20..3fffd78 100644
--- a/cui/source/tabpages/tabarea.src
+++ b/cui/source/tabpages/tabarea.src
@@ -881,9 +881,4 @@ TabDialog RID_SVXDLG_AREA
 };
 };
 
-String STR_LB_HATCHINGSTYLE
-{
-Text [ en-US ] = "Hatching Style" ;
-};
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index db2b507..897605e 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -23,6 +23,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
 
@@ -93,8 +94,7 @@ SvxGradientTabPage::SvxGradientTabPage
 get(m_pBtnLoad,"load");
 get(m_pBtnSave,"save");
 
-m_pCtlPreview->SetAccessibleName(String(CUI_RES(STR_EXAMPLE)));
-m_pLbGradients->SetAccessibleName( GetText());
+m_pLbGradients->SetAccessibleName(GetText());
 
 
 // this page needs ExchangeSupport
@@ -137,6 +137,8 @@ SvxGradientTabPage::SvxGradientTabPage
 
 // #i76307# always paint the preview in LTR, because this is what the 
document does
 m_pCtlPreview->EnableRTL( sal_False );
+
+setPreviewsToSamePlace(pParent, this);
 }
 
 // ---
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index cceae58..1076807 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -22,8 +22,9 @@
 #include 
 #include 
 #include 
-#include 
+#include 
 #include 
+#include 
 #include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
 
 #include 
@@ -134,8 +135,7 @@ SvxHatchTabPage::SvxHatchTabPage
 
 m_pCtlPreview->SetDrawMode( 
GetSettings().GetStyleSettings().GetHighContrastMode() ? 
OUTPUT_DRAWMODE_CONTRAST : OUTPUT_DRAWMODE_COLOR );
 
-m_pCtlPreview->SetAccessibleName(String(CUI_RES(STR_EXAMPLE)));
-m_pLbHatchings->SetAccessibleName( String(CUI_RES(STR_LB_HATCHINGSTYLE)) );
+setPreviewsToSamePlace(pParent, this);
 }
 
 // ---
diff --git a/cui/uiconfig/ui/gradientpage.ui b/cui/uiconfig/ui/gradientpage.ui
index 1978aa7..d2e6147 100644
--- a/cui/uiconfig/ui/gradientpage.ui
+++ b/cui/uiconfig/ui/gradientpage.ui
@@ -1,6 +1,7 @@
 
 
   
+  
   
 359
 15
@@ -36,12 +37,12 @@
 True
 12
 
-  
+  
 True
 False
 True
 6
-6
+12
 
   
 True
@@ -361,6 +362,11 @@
 False
 True
 True
+
+  
+Example
+  
+
   
   
 0
diff --git a/cui/uiconfig/ui/hatchpage.ui b/cui/uiconfig/ui/hatchpage.ui
index 9a7fe1c..b78951e 100644
--- a/cui/uiconfig/ui/hatchpage.ui
+++ b/cui/uiconfig/ui/hatchpage.ui
@@ -2,6 +2,16 @@
 
   
   
+  
+True
+False
+res/sc05501.png
+  
+  
+True
+False
+res/sc05502.png
+  
   
 True
 False
@@ -33,12 +43,12 @@
 True
 12
 
-  
+  
 True
 False
 True
 6
-6
+12
 
   
 True
@@ -46,7 +56,6 @@
 0
 _Spacing
 True
-distancemtr:0mm
   

Performance profiling

Hello everybody!

The Brazilian comunity is in the FISL14. Today a Intel employee talked with
me and Marcos Paulo looking for a test case for Intel performance profiling
tool. He provided for us the tool that we can runs the Libreoffice and test
it permofance, identifing problems. We talked about some problems importing
some huge files in calc,  problems reported in bugzilla. But are we
interesting in your suggestions, maybe some specific. Do you have some ?

Waiting anxiously for your suggestions.

All the best!
-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
"O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
recordista da Antarctic Ice Marathon.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

 cui/source/tabpages/numpages.cxx |   26 +-
 1 file changed, 13 insertions(+), 13 deletions(-)

New commits:
commit b252ffd184dec7fd1adfd826dbb5f0fb67d2ea05
Author: Michael Stahl 
Date:   Thu Jul 4 21:13:16 2013 +0200

warning C4805 unsafe mixture of type sal_Bool and type bool

Change-Id: I8a144c153664af0be73cd2a8822664b2fcb612e3

diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index d0b3ffe..692872c 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -1407,19 +1407,19 @@ voidSvxNumOptionsTabPage::Reset( const SfxItemSet& 
rSet )
 
 void SvxNumOptionsTabPage::InitControls()
 {
-sal_Bool bShowBullet= sal_True;
-sal_Bool bShowBitmap= sal_True;
-sal_Bool bSameType  = sal_True;
-sal_Bool bSameStart = sal_True;
-sal_Bool bSamePrefix= sal_True;
-sal_Bool bSameSuffix= sal_True;
-sal_Bool bAllLevel  = sal_True;
-sal_Bool bSameCharFmt   = sal_True;
-sal_Bool bSameVOrient   = sal_True;
-sal_Bool bSameSize  = sal_True;
-sal_Bool bSameBulColor  = sal_True;
-sal_Bool bSameBulRelSize= sal_True;
-sal_Bool bSameAdjust= sal_True;
+bool bShowBullet= true;
+bool bShowBitmap= true;
+bool bSameType  = true;
+bool bSameStart = true;
+bool bSamePrefix= true;
+bool bSameSuffix= true;
+bool bAllLevel  = true;
+sal_Bool bSameCharFmt   = true;
+sal_Bool bSameVOrient   = true;
+bool bSameSize  = true;
+bool bSameBulColor  = true;
+bool bSameBulRelSize= true;
+bool bSameAdjust= true;
 
 const SvxNumberFormat* aNumFmtArr[SVX_MAX_NUM];
 String sFirstCharFmt;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: helpers/help_hid.lst source/text

 helpers/help_hid.lst   |   11 -
 source/text/shared/00/0001.xhp |2 -
 source/text/shared/01/05210400.xhp |   44 ++---
 3 files changed, 23 insertions(+), 34 deletions(-)

New commits:
commit f877066126875abff13f7f8f1e08a2b621eccc8a
Author: Caolán McNamara 
Date:   Thu Jul 4 20:52:56 2013 +0100

update help ids for hatch page .ui conversion

Change-Id: I03b65418e3e6850fef0c2ee50cbd59d07ff35405

diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index d579442..650c340 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -741,7 +741,6 @@ HID_AP_INSERT_DB_SEL,54849,
 HID_AREA_AREA,33798,
 HID_AREA_BITMAP,33800,
 HID_AREA_GRADIENT,33801,
-HID_AREA_HATCH,33799,
 HID_AREA_SHADOW,33805,
 HID_AREA_TRANSPARENCE,33806,
 HID_AUTH_FIELD_ADDRESS,54882,
@@ -7255,8 +7254,6 @@ svx_ImageButton_RID_SVXPAGE_BITMAP_BTN_LOAD,701672965,
 svx_ImageButton_RID_SVXPAGE_BITMAP_BTN_SAVE,701672966,
 svx_ImageButton_RID_SVXPAGE_COLOR_BTN_LOAD,701705733,
 svx_ImageButton_RID_SVXPAGE_COLOR_BTN_SAVE,701705734,
-svx_ImageButton_RID_SVXPAGE_HATCH_BTN_LOAD,701656581,
-svx_ImageButton_RID_SVXPAGE_HATCH_BTN_SAVE,701656582,
 svx_ImageButton_RID_SVXPAGE_HYPERLINK_DOCUMENT_BTN_BROWSE,704491020,
 svx_ImageButton_RID_SVXPAGE_HYPERLINK_DOCUMENT_BTN_FILEOPEN,704491012,
 svx_ImageButton_RID_SVXPAGE_HYPERLINK_DOCUMENT_BTN_SCRIPT,704491047,
@@ -7356,9 +7353,6 @@ svx_ListBox_RID_SVXPAGE_CONNECTION_LB_TYPE,703843841,
 svx_ListBox_RID_SVXPAGE_DOCRECOVERY_SAVE_LB_SAVE_FILELIST,700845574,
 svx_ListBox_RID_SVXPAGE_EVENTASSIGN_LB_SCRIPTTYPE,705678856,
 svx_ListBox_RID_SVXPAGE_EVENTS_LB_SAVEIN,705547787,
-svx_ListBox_RID_SVXPAGE_HATCH_LB_HATCHINGS,701648388,
-svx_ListBox_RID_SVXPAGE_HATCH_LB_LINE_COLOR,701648387,
-svx_ListBox_RID_SVXPAGE_HATCH_LB_LINE_TYPE,701648385,
 svx_ListBox_RID_SVXPAGE_HYPERLINK_DOCUMENT_LB_FORM,704482850,
 svx_ListBox_RID_SVXPAGE_HYPERLINK_INTERNET_LB_FORM,704450082,
 svx_ListBox_RID_SVXPAGE_HYPERLINK_MAIL_LB_FORM,704466466,
@@ -7467,8 +7461,6 @@ 
svx_MetricField_RID_SVXPAGE_GRID_MTR_FLD_BEZ_ANGLE,703207973,
 svx_MetricField_RID_SVXPAGE_GRID_MTR_FLD_DRAW_X,703207948,
 svx_MetricField_RID_SVXPAGE_GRID_MTR_FLD_DRAW_Y,703207945,
 svx_MetricField_RID_SVXPAGE_GRID_MTR_FLD_SNAP_AREA,703207966,
-svx_MetricField_RID_SVXPAGE_HATCH_MTR_FLD_ANGLE,701651459,
-svx_MetricField_RID_SVXPAGE_HATCH_MTR_FLD_DISTANCE,701651457,
 svx_MetricField_RID_SVXPAGE_LINE_DEF_MTR_FLD_DISTANCE,701569537,
 svx_MetricField_RID_SVXPAGE_LINE_DEF_MTR_FLD_LENGTH_1,701569539,
 svx_MetricField_RID_SVXPAGE_LINE_DEF_MTR_FLD_LENGTH_2,701569540,
@@ -7677,9 +7669,6 @@ svx_PushButton_RID_SVXPAGE_EVENTS_PB_ASSIGN,705548802,
 svx_PushButton_RID_SVXPAGE_EVENTS_PB_DELETE,705548803,
 svx_PushButton_RID_SVXPAGE_FOOTER_BTN_EXTRAS,701141544,
 svx_PushButton_RID_SVXPAGE_GRFCROP_PB_ORGSIZE,704614934,
-svx_PushButton_RID_SVXPAGE_HATCH_BTN_ADD,701649409,
-svx_PushButton_RID_SVXPAGE_HATCH_BTN_DELETE,701649412,
-svx_PushButton_RID_SVXPAGE_HATCH_BTN_MODIFY,701649411,
 svx_PushButton_RID_SVXPAGE_IMPROVEMENT_PB_SHOWDATA,705663507,
 svx_PushButton_RID_SVXPAGE_INET_SEARCH_PB_ADD,703337015,
 svx_PushButton_RID_SVXPAGE_INET_SEARCH_PB_CHANGE,703337013,
diff --git a/source/text/shared/00/0001.xhp 
b/source/text/shared/00/0001.xhp
index eee31d5..afdbf75 100644
--- a/source/text/shared/00/0001.xhp
+++ b/source/text/shared/00/0001.xhp
@@ -87,7 +87,7 @@
 
 
 
-
+
 
 
 
diff --git a/source/text/shared/01/05210400.xhp 
b/source/text/shared/01/05210400.xhp
index 0b7bbf3..c1f1cf6 100644
--- a/source/text/shared/01/05210400.xhp
+++ b/source/text/shared/01/05210400.xhp
@@ -32,48 +32,48 @@
 areas; hatched/dotted
 dotted areas
 
-
+
 Hatching
-Set the properties of a hatching 
pattern, or save and load hatching lists.
+Set the properties of a 
hatching pattern, or save and load hatching lists.
 
 
 
 
 Properties
 Define or modify a hatching pattern.
-
+
 Spacing
-Enter the amount of 
space that you want to have between the hatch lines.
-
+Enter the amount of space 
that you want to have between the hatch lines.
+
 Angle
-Enter 
the rotation angle for the hatch lines, or click a position in the angle 
grid.
-
+Enter the rotation angle for 
the hatch lines, or click a position in the angle grid.
+
 Angle grid
-Click a position in the grid to 
define the rotation angle for the hatch lines.
-
+Click a position in the grid 
to define the rotation angle for the hatch lines.
+
 Line type
-Select the 
type of hatch lines that you want to use.
-
+Select the type of hatch 
lines that you want to use.
+
 Line color
-Select the 
color of the hatch lines.
+Select the color of the 
hatch lines.
 Hatches List
 Lists the available hatching patterns. You can also modify or 
create your own hatching pattern. To save the list, click the Save 
Hatches List button. To display a different list, click the Load 
Hatches List button.
-
+
 Hatches list
-Lists the 
available hatching patterns. Click the hatching pattern that you want to a

[Libreoffice-commits] core.git: helpcontent2

 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4fda8fce3b59dc2fdba00c6a541dafb66f24d741
Author: Caolán McNamara 
Date:   Thu Jul 4 20:52:56 2013 +0100

Updated core
Project: help  f877066126875abff13f7f8f1e08a2b621eccc8a

diff --git a/helpcontent2 b/helpcontent2
index c457fe9..f877066 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit c457fe96e49c1b870b10b359a1833bf27c743018
+Subproject commit f877066126875abff13f7f8f1e08a2b621eccc8a
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 xmloff/source/core/DocumentSettingsContext.cxx |5 +
 xmloff/source/core/SettingsExportHelper.cxx|4 
 2 files changed, 9 insertions(+)

New commits:
commit b832a7a78abd688ce465aa881b3b9e777d2ce8be
Author: Eike Rathke 
Date:   Thu Jul 4 22:40:39 2013 +0200

FIXME-BCP47

Change-Id: Ic5f227e86a85c297223d1b496cfc8c0f4a9488b7

diff --git a/xmloff/source/core/DocumentSettingsContext.cxx 
b/xmloff/source/core/DocumentSettingsContext.cxx
index f963983..f0a40fe 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -786,6 +786,11 @@ void XMLConfigItemMapIndexedContext::EndElement()
 {
 if ((xIndex->getByIndex( i ) >>= aProps) && 
(aProps.getLength() == XML_FORBIDDEN_CHARACTER_MAX ) )
 {
+/* FIXME-BCP47: this stupid and counterpart in
+ * xmloff/source/core/SettingsExportHelper.cxx
+ * XMLSettingsExportHelper::exportForbiddenCharacters()
+ * */
+
 beans::PropertyValue *pForChar = aProps.getArray();
 i18n::ForbiddenCharacters aForbid;
 lang::Locale aLocale;
diff --git a/xmloff/source/core/SettingsExportHelper.cxx 
b/xmloff/source/core/SettingsExportHelper.cxx
index b8d2a57..1f0fbf0 100644
--- a/xmloff/source/core/SettingsExportHelper.cxx
+++ b/xmloff/source/core/SettingsExportHelper.cxx
@@ -437,6 +437,10 @@ void XMLSettingsExportHelper::exportForbiddenCharacters(
 
 const sal_Int32 nCount = aLocales.getLength();
 
+/* FIXME-BCP47: this stupid and counterpart in
+ * xmloff/source/core/DocumentSettingsContext.cxx
+ * XMLConfigItemMapIndexedContext::EndElement() */
+
 const OUString sLanguage  ( "Language" );
 const OUString sCountry   ( "Country" );
 const OUString sVariant   ( "Variant" );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 3 commits - libexttextcat/exttextcat-memcpy.patch.1 libexttextcat/UnpackedTarball_exttextcat.mk linguistic/source sal/osl

 libexttextcat/UnpackedTarball_exttextcat.mk |1 +
 libexttextcat/exttextcat-memcpy.patch.1 |   16 
 linguistic/source/dicimp.cxx|7 ++-
 sal/osl/w32/file_error.c|1 +
 4 files changed, 24 insertions(+), 1 deletion(-)

New commits:
commit 1d8ae0c040319ba7d969fa236b7a6bb22d0f55df
Author: Michael Stahl 
Date:   Fri Jul 5 00:11:53 2013 +0200

sal: add ERROR_SHARING_VIOLATION to win32 error table

It's apparently a popular error; map it to E_ACCES which is the same as
the catch-all clause does (for compatibility).

Change-Id: I55fd932248a2ecbacd4fd6584e92918da95e3cff

diff --git a/sal/osl/w32/file_error.c b/sal/osl/w32/file_error.c
index 505cde5..f1cd9ce 100644
--- a/sal/osl/w32/file_error.c
+++ b/sal/osl/w32/file_error.c
@@ -55,6 +55,7 @@ static const struct osl_file_error_entry errtable[] = {
   {  ERROR_NOT_SAME_DEVICE,osl_File_E_XDEV },  /* 17 */
   {  ERROR_NO_MORE_FILES,  osl_File_E_NOENT},  /* 18 */
   {  ERROR_NOT_READY,  osl_File_E_NOTREADY },  /* 21 */
+  {  ERROR_SHARING_VIOLATION,  osl_File_E_ACCES},  /* 32 */
   {  ERROR_LOCK_VIOLATION, osl_File_E_ACCES},  /* 33 */
   {  ERROR_BAD_NETPATH,osl_File_E_NOENT},  /* 53 */
   {  ERROR_NETWORK_ACCESS_DENIED,  osl_File_E_ACCES},  /* 65 */
commit d68de5195605bd9236851e0714dd9b03b0f5f3be
Author: Michael Stahl 
Date:   Fri Jul 5 00:07:43 2013 +0200

fdo#66420: fix user dictionaries on Windows

28300209604ee1bb8e5050322b29e95a07f679d8 added yet another silly temp
file wrapper class, and introduced 2 bugs: the file descriptor is not
closed before renaming it which fails with ERROR_SHARING_VIOLATION
on Win32, and (as a consequence of that) another attempt to save the
dictionary during shutdown fails because SimpleFileAccess cannot be
created and this is not checked.

Change-Id: I7bd3f5d349ed550440a93fe71e3791c9919de3af

diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 083f4c5..5af73a8 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -393,7 +393,10 @@ struct TmpDictionary
 {
 try
 {
-mxAccess->kill(maTmpURL);
+if (mxAccess.is())
+{
+mxAccess->kill(maTmpURL);
+}
 }
 catch (const uno::Exception &) { }
 }
@@ -492,6 +495,8 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL)
 break;
 }
 
+pStream.reset(); // fdo#66420 close streams so Win32 can move the file
+xStream.clear();
 nErr = aTmpDictionary.renameTmpToURL();
 
 //If we are migrating from an older version, then on first successful
commit 3bde0af3a8fd09defd47465d4b62541350cecc1c
Author: Michael Stahl 
Date:   Thu Jul 4 23:12:53 2013 +0200

libexttextcat: fix overlapping memcpy

Change-Id: I3225043560a3c0e02345bc4e8a8d0f9cca2e3cd0

diff --git a/libexttextcat/UnpackedTarball_exttextcat.mk 
b/libexttextcat/UnpackedTarball_exttextcat.mk
index ef90108..1bf53fb 100644
--- a/libexttextcat/UnpackedTarball_exttextcat.mk
+++ b/libexttextcat/UnpackedTarball_exttextcat.mk
@@ -13,6 +13,7 @@ $(eval $(call 
gb_UnpackedTarball_set_tarball,exttextcat,$(LIBEXTTEXTCAT_TARBALL)
 
 $(eval $(call gb_UnpackedTarball_add_patches,exttextcat,\
libexttextcat/android.patch \
+   libexttextcat/exttextcat-memcpy.patch.1 \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/libexttextcat/exttextcat-memcpy.patch.1 
b/libexttextcat/exttextcat-memcpy.patch.1
new file mode 100644
index 000..b3e399a
--- /dev/null
+++ b/libexttextcat/exttextcat-memcpy.patch.1
@@ -0,0 +1,16 @@
+fix overlapped memcpy in heapextract
+
+--- a/src/fingerprint.c 2013-07-04 22:53:25.674741538 +0200
 b/src/fingerprint.c2013-07-04 22:54:09.009741166 +0200
+@@ -254,7 +254,10 @@
+ p = &(t->heap[0]);
+ 
+ memcpy(item, p, sizeof(entry_t));
+-memcpy(&(t->heap[0]), &(t->heap[t->size - 1]), sizeof(entry_t));
++if (t->size > 1)
++{
++memcpy(&(t->heap[0]), &(t->heap[t->size - 1]), sizeof(entry_t));
++}
+ 
+ siftdown(t, t->size, 0);
+ t->size--;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 60270] LibreOffice 4.1 most annoying bugs

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

Bug 60270 depends on bug 66420, which changed state.

Bug 66420 Summary: EDITING: Writer crashes after adding words to the 
user-dictionary
https://bugs.freedesktop.org/show_bug.cgi?id=66420

   What|Removed |Added

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

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


Performance profiling tool

Hello everybody!

The Brazilian comunity is in the FISL14. Today a Intel employee talked with
me and Marcos Paulo looking for a test case for Intel performance profiling
tool. He provided for us the tool that we can runs the Libreoffice and test
it permofance, identifing problems. We talked about some problems importing
some huge files in calc,  problems reported in bugzilla. But are we
interesting in your suggestions, maybe some specific. Do you have some ?

Waiting anxiously for your suggestions.

All the best!
-- 
Att. José Guilherme Vanz
br.linkedin.com/pub/josé-guilherme-vanz/51/b27/58b/
"O sofrimento é passageiro, desistir é para sempre" - Bernardo Fonseca,
recordista da Antarctic Ice Marathon.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

 svl/source/numbers/numfmuno.cxx   |4 ++--
 ucb/source/ucp/cmis/cmis_content.cxx  |2 +-
 ucb/source/ucp/cmis/cmis_repo_content.cxx |2 +-
 ucb/source/ucp/ext/ucpext_content.cxx |2 +-
 ucb/source/ucp/gio/gio_content.cxx|2 +-
 ucb/source/ucp/gvfs/gvfs_content.cxx  |2 +-
 ucb/source/ucp/hierarchy/hierarchycontentcaps.cxx |4 ++--
 ucb/source/ucp/webdav-neon/ContentProperties.cxx  |2 +-
 ucb/source/ucp/webdav/ContentProperties.cxx   |2 +-
 vcl/source/gdi/sallayout.cxx  |2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit 8624906bc437b242ea0df17801bc77d0f273f32c
Author: Takeshi Abe 
Date:   Fri Jul 5 00:22:28 2013 +0900

Mark as const

Change-Id: Ia5f9724002da11da69f70bb0f71d44c3b5a19bcb

diff --git a/svl/source/numbers/numfmuno.cxx b/svl/source/numbers/numfmuno.cxx
index 826d53d..95b012e 100644
--- a/svl/source/numbers/numfmuno.cxx
+++ b/svl/source/numbers/numfmuno.cxx
@@ -62,7 +62,7 @@ using namespace com::sun::star;
 
 static const SfxItemPropertyMapEntry* lcl_GetNumberFormatPropertyMap()
 {
-static SfxItemPropertyMapEntry aNumberFormatPropertyMap_Impl[] =
+static const SfxItemPropertyMapEntry aNumberFormatPropertyMap_Impl[] =
 {
 {MAP_CHAR_LEN(PROPERTYNAME_FMTSTR),   0, &getCppuType((OUString*)0),   
 beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY, 0},
 {MAP_CHAR_LEN(PROPERTYNAME_LOCALE),   0, 
&getCppuType((lang::Locale*)0),beans::PropertyAttribute::BOUND | 
beans::PropertyAttribute::READONLY, 0},
@@ -84,7 +84,7 @@ static const SfxItemPropertyMapEntry* 
lcl_GetNumberFormatPropertyMap()
 
 static const SfxItemPropertyMapEntry* lcl_GetNumberSettingsPropertyMap()
 {
-static SfxItemPropertyMapEntry aNumberSettingsPropertyMap_Impl[] =
+static const SfxItemPropertyMapEntry aNumberSettingsPropertyMap_Impl[] =
 {
 {MAP_CHAR_LEN(PROPERTYNAME_NOZERO),   0, &getBooleanCppuType(),
 beans::PropertyAttribute::BOUND, 0},
 {MAP_CHAR_LEN(PROPERTYNAME_NULLDATE), 0, &getCppuType((util::Date*)0), 
 beans::PropertyAttribute::BOUND, 0},
diff --git a/ucb/source/ucp/cmis/cmis_content.cxx 
b/ucb/source/ucp/cmis/cmis_content.cxx
index f15d4c1..6de8d94 100644
--- a/ucb/source/ucp/cmis/cmis_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_content.cxx
@@ -1314,7 +1314,7 @@ namespace cmis
 uno::Sequence< ucb::CommandInfo > Content::getCommands(
 const uno::Reference< ucb::XCommandEnvironment > & xEnv )
 {
-static ucb::CommandInfo aCommandInfoTable[] =
+static const ucb::CommandInfo aCommandInfoTable[] =
 {
 // Required commands
 ucb::CommandInfo
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx 
b/ucb/source/ucp/cmis/cmis_repo_content.cxx
index 4e311e4..b79dbe6 100644
--- a/ucb/source/ucp/cmis/cmis_repo_content.cxx
+++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx
@@ -208,7 +208,7 @@ namespace cmis
 uno::Sequence< ucb::CommandInfo > RepoContent::getCommands(
 const uno::Reference< ucb::XCommandEnvironment > & /*xEnv*/ )
 {
-static ucb::CommandInfo aCommandInfoTable[] =
+static const ucb::CommandInfo aCommandInfoTable[] =
 {
 // Required commands
 ucb::CommandInfo
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx 
b/ucb/source/ucp/ext/ucpext_content.cxx
index 9ba8650..750da29 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -590,7 +590,7 @@ namespace ucb { namespace ucp { namespace ext
 
//--
 Sequence< Property > Content::getProperties( const Reference< 
XCommandEnvironment > & /*xEnv*/ )
 {
-static Property aProperties[] =
+static const Property aProperties[] =
 {
 Property(
 OUString(  "ContentType"  ),
diff --git a/ucb/source/ucp/gio/gio_content.cxx 
b/ucb/source/ucp/gio/gio_content.cxx
index 476fdcd..faa022b 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -1261,7 +1261,7 @@ uno::Sequence< beans::Property > Content::getProperties(
 
 uno::Sequence< ucb::CommandInfo > Content::getCommands( const uno::Reference< 
ucb::XCommandEnvironment > & xEnv)
 {
-static ucb::CommandInfo aCommandInfoTable[] =
+static const ucb::CommandInfo aCommandInfoTable[] =
 {
 // Required commands
 ucb::CommandInfo
diff --git a/ucb/source/ucp/gvfs/gvfs_content.cxx 
b/ucb/source/ucp/gvfs/gvfs_content.cxx
index 22c9d1a..5645cd6 100644
--- a/ucb/source/ucp/gvfs/gvfs_content.cxx
+++ b/ucb/source/ucp/gvfs/gvfs_content.cxx
@@ -1345,7 +1345,7 @@ uno::Sequence< beans::Property > Content::getProperties(
 uno::Sequence< ucb::CommandInfo > Content::getCommands(
 const uno::Reference< u

[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - libexttextcat/exttextcat-memcpy.patch.1 libexttextcat/UnpackedTarball_exttextcat.mk

 libexttextcat/UnpackedTarball_exttextcat.mk |1 +
 libexttextcat/exttextcat-memcpy.patch.1 |   16 
 2 files changed, 17 insertions(+)

New commits:
commit b82577140f0bbb63e127caae7779adb04bd9c099
Author: Michael Stahl 
Date:   Thu Jul 4 23:12:53 2013 +0200

libexttextcat: fix overlapping memcpy

(cherry picked from commit 3bde0af3a8fd09defd47465d4b62541350cecc1c)

Conflicts:
libexttextcat/UnpackedTarball_exttextcat.mk

Change-Id: I3225043560a3c0e02345bc4e8a8d0f9cca2e3cd0
Reviewed-on: https://gerrit.libreoffice.org/4730
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/libexttextcat/UnpackedTarball_exttextcat.mk 
b/libexttextcat/UnpackedTarball_exttextcat.mk
index c6fa03c..a96b02b 100644
--- a/libexttextcat/UnpackedTarball_exttextcat.mk
+++ b/libexttextcat/UnpackedTarball_exttextcat.mk
@@ -14,6 +14,7 @@ $(eval $(call 
gb_UnpackedTarball_set_tarball,exttextcat,$(LIBEXTTEXTCAT_TARBALL)
 $(eval $(call gb_UnpackedTarball_add_patches,exttextcat,\
libexttextcat/android.patch \
libexttextcat/unkown.patch.1 \
+   libexttextcat/exttextcat-memcpy.patch.1 \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/libexttextcat/exttextcat-memcpy.patch.1 
b/libexttextcat/exttextcat-memcpy.patch.1
new file mode 100644
index 000..b3e399a
--- /dev/null
+++ b/libexttextcat/exttextcat-memcpy.patch.1
@@ -0,0 +1,16 @@
+fix overlapped memcpy in heapextract
+
+--- a/src/fingerprint.c 2013-07-04 22:53:25.674741538 +0200
 b/src/fingerprint.c2013-07-04 22:54:09.009741166 +0200
+@@ -254,7 +254,10 @@
+ p = &(t->heap[0]);
+ 
+ memcpy(item, p, sizeof(entry_t));
+-memcpy(&(t->heap[0]), &(t->heap[t->size - 1]), sizeof(entry_t));
++if (t->size > 1)
++{
++memcpy(&(t->heap[0]), &(t->heap[t->size - 1]), sizeof(entry_t));
++}
+ 
+ siftdown(t, t->size, 0);
+ t->size--;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: postprocess/CustomTarget_signing.mk

 postprocess/CustomTarget_signing.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 35917a5a5332df758fb60ea8978bdf5cf5460d03
Author: Fridrich Å trba 
Date:   Fri Jul 5 06:59:52 2013 +0200

Missing slash that prevents windows signing

Change-Id: I7c84e861f45643a0e66504d10b5d76b2dbb6f629

diff --git a/postprocess/CustomTarget_signing.mk 
b/postprocess/CustomTarget_signing.mk
index bf9aa0c..fa0130b 100644
--- a/postprocess/CustomTarget_signing.mk
+++ b/postprocess/CustomTarget_signing.mk
@@ -27,7 +27,7 @@ $(call 
gb_CustomTarget_get_workdir,postprocess/signing)/signing.done : \
 ifeq ($(COM),MSC)
 ifneq ($(ENABLE_DBGUTIL),TRUE)
$(PERL) $(SRCDIR)/postprocess/signing/signing.pl \
-   -e $(SRCDIR)/postprocess/signing/no_signing.txt
+   -e $(SRCDIR)/postprocess/signing/no_signing.txt \
-l $(subst .done,_log.txt,$@) \
$(if $(PFXFILE),-f $(PFXFILE)) \
$(if $(PFXPASSWORD),-p $(PFXPASSWORD)) \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1-0' - sysui/Package_osxicons.mk

 sysui/Package_osxicons.mk |   49 ++
 1 file changed, 24 insertions(+), 25 deletions(-)

New commits:
commit fec68441e79dbd042381f882c4f9814f637013ac
Author: Norbert Thiebaud 
Date:   Thu Jul 4 04:42:05 2013 -0500

fdo#66100 : fix icons associations on MacOSX

Change-Id: Idbce5516f1cc59b8d1cc39ee0a0db2aad90e8074
Reviewed-on: https://gerrit.libreoffice.org/4714
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 
Reviewed-on: https://gerrit.libreoffice.org/4725
Reviewed-by: Petr Mladek 
Tested-by: Norbert Thiebaud 
Reviewed-by: Joren De Cuyper 

diff --git a/sysui/Package_osxicons.mk b/sysui/Package_osxicons.mk
index ed84e10..6f8ca5f 100644
--- a/sysui/Package_osxicons.mk
+++ b/sysui/Package_osxicons.mk
@@ -7,35 +7,34 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
 
-$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop))
+$(eval $(call gb_Package_Package,sysui_osxicons,$(SRCDIR)/sysui/desktop/icons))
 
 $(eval $(call gb_Package_set_outdir,sysui_osxicons,$(INSTDIR)))
 
 $(eval $(call gb_Package_add_files_with_dir,sysui_osxicons,Resources,\
-icons/text.icns \
-icons/oasis-text.icns \
-icons/spreadsheet.icns \
-icons/oasis-spreadsheet.icns \
-icons/presentation.icns \
-icons/oasis-presentation.icns \
-icons/drawing.icns \
-icons/oasis-drawing.icns \
-icons/master-document.icns \
-icons/oasis-master-document.icns \
-icons/formula.icns \
-icons/oasis-formula.icns \
-icons/text-template.icns \
-icons/oasis-text-template.icns \
-icons/spreadsheet-template.icns \
-icons/oasis-spreadsheet-template.icns \
-icons/presentation-template.icns \
-icons/oasis-presentation-template.icns \
-icons/drawing-template.icns \
-icons/oasis-drawing-template.icns \
-icons/oasis-database.icns \
-icons/extension.icns \
-icons/main.icns \
-   macosx/Info.plist \
+text.icns \
+oasis-text.icns \
+spreadsheet.icns \
+oasis-spreadsheet.icns \
+presentation.icns \
+oasis-presentation.icns \
+drawing.icns \
+oasis-drawing.icns \
+master-document.icns \
+oasis-master-document.icns \
+formula.icns \
+oasis-formula.icns \
+text-template.icns \
+oasis-text-template.icns \
+spreadsheet-template.icns \
+oasis-spreadsheet-template.icns \
+presentation-template.icns \
+oasis-presentation-template.icns \
+drawing-template.icns \
+oasis-drawing-template.icns \
+oasis-database.icns \
+extension.icns \
+main.icns \
 ))
 
 # vim: set ts=4 sw=4 et:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Manpower Recruitment from Vietnam


Your email client cannot read this email.
To view it online, please go here:
http://mailczar247.info/display.php?M=289105&C=0ecebf2bf8d67483a7be1ab70713a4ae&S=8&L=8&N=1


To stop receiving these
emails:http://mailczar247.info/unsubscribe.php?M=289105&C=0ecebf2bf8d67483a7be1ab70713a4ae&L=8&N=8
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - linguistic/source

 linguistic/source/dicimp.cxx |7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 4d1774b3631e4ac93b544c42bd33cb4058a16392
Author: Michael Stahl 
Date:   Fri Jul 5 00:07:43 2013 +0200

fdo#66420: fix user dictionaries on Windows

28300209604ee1bb8e5050322b29e95a07f679d8 added yet another silly temp
file wrapper class, and introduced 2 bugs: the file descriptor is not
closed before renaming it which fails with ERROR_SHARING_VIOLATION
on Win32, and (as a consequence of that) another attempt to save the
dictionary during shutdown fails because SimpleFileAccess cannot be
created and this is not checked.

Change-Id: I7bd3f5d349ed550440a93fe71e3791c9919de3af
(cherry picked from commit d68de5195605bd9236851e0714dd9b03b0f5f3be)
Reviewed-on: https://gerrit.libreoffice.org/4729
Reviewed-by: Fridrich Strba 
Tested-by: Fridrich Strba 

diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 083f4c5..5af73a8 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -393,7 +393,10 @@ struct TmpDictionary
 {
 try
 {
-mxAccess->kill(maTmpURL);
+if (mxAccess.is())
+{
+mxAccess->kill(maTmpURL);
+}
 }
 catch (const uno::Exception &) { }
 }
@@ -492,6 +495,8 @@ sal_uLong DictionaryNeo::saveEntries(const OUString &rURL)
 break;
 }
 
+pStream.reset(); // fdo#66420 close streams so Win32 can move the file
+xStream.clear();
 nErr = aTmpDictionary.renameTmpToURL();
 
 //If we are migrating from an older version, then on first successful
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - postprocess/CustomTarget_signing.mk

 postprocess/CustomTarget_signing.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 03c0f9976dc1c77973658aa02db2823bfc9a09a1
Author: Fridrich Å trba 
Date:   Fri Jul 5 06:59:52 2013 +0200

Missing slash that prevents windows signing

Change-Id: I7c84e861f45643a0e66504d10b5d76b2dbb6f629
(cherry picked from commit 35917a5a5332df758fb60ea8978bdf5cf5460d03)
Reviewed-on: https://gerrit.libreoffice.org/4731
Reviewed-by: Andras Timar 
Tested-by: Andras Timar 

diff --git a/postprocess/CustomTarget_signing.mk 
b/postprocess/CustomTarget_signing.mk
index bf9aa0c..fa0130b 100644
--- a/postprocess/CustomTarget_signing.mk
+++ b/postprocess/CustomTarget_signing.mk
@@ -27,7 +27,7 @@ $(call 
gb_CustomTarget_get_workdir,postprocess/signing)/signing.done : \
 ifeq ($(COM),MSC)
 ifneq ($(ENABLE_DBGUTIL),TRUE)
$(PERL) $(SRCDIR)/postprocess/signing/signing.pl \
-   -e $(SRCDIR)/postprocess/signing/no_signing.txt
+   -e $(SRCDIR)/postprocess/signing/no_signing.txt \
-l $(subst .done,_log.txt,$@) \
$(if $(PFXFILE),-f $(PFXFILE)) \
$(if $(PFXPASSWORD),-p $(PFXPASSWORD)) \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 offapi/com/sun/star/document/XDocumentRecovery.idl |2 +-
 offapi/com/sun/star/drawing/AccessibleGraphicShape.idl |4 ++--
 offapi/com/sun/star/text/AccessibleEndnoteView.idl |2 +-
 vcl/source/window/menu.cxx |4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 9a556a1f355ef828ff326b00cf5c28a10f1d6bb5
Author: Julien Nabet 
Date:   Fri Jul 5 07:26:45 2013 +0200

Fix some idl descriptions

Change-Id: I983ba19bebceb4f38ca51f8c60204c91b78bc965

diff --git a/offapi/com/sun/star/document/XDocumentRecovery.idl 
b/offapi/com/sun/star/document/XDocumentRecovery.idl
index 60dc2be..a18e8dd 100644
--- a/offapi/com/sun/star/document/XDocumentRecovery.idl
+++ b/offapi/com/sun/star/document/XDocumentRecovery.idl
@@ -85,7 +85,7 @@ interface XDocumentRecovery
 Instead, the implementation is responsible to do so, if required.
 
 A default implementation of this method could simply delegate this 
call to
-::com::sun::star::frame:::XLoadable::load(), followed by
+::com::sun::star::frame::XLoadable::load(), followed by
 com::sun::star::frame::XModel::attachResource().
 
 @param SourceLocation
diff --git a/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl 
b/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
index 880583f..9dfd88c 100644
--- a/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
+++ b/offapi/com/sun/star/drawing/AccessibleGraphicShape.idl
@@ -60,8 +60,8 @@ service AccessibleGraphicShape
 the time being this interface does not provide information that is
 not available through the AccessibleShape service:
 the size returned by the
-::com::sun::star::accessibility::XAccessibleImage::getWidth() and
-::com::sun::star::accessibility::XAccessibleImage::getHeight()
+
::com::sun::star::accessibility::XAccessibleImage::getAccessibleImageWidth() and
+
::com::sun::star::accessibility::XAccessibleImage::getAccessibleImageHeight()
 functions is the same as that returned by the
 ::com::sun::star::accessibility::XAccessibleComponent::getSize()
 function; the description returned by
diff --git a/offapi/com/sun/star/text/AccessibleEndnoteView.idl 
b/offapi/com/sun/star/text/AccessibleEndnoteView.idl
index f019eba..86ea0b0 100644
--- a/offapi/com/sun/star/text/AccessibleEndnoteView.idl
+++ b/offapi/com/sun/star/text/AccessibleEndnoteView.idl
@@ -65,7 +65,7 @@ service AccessibleEndnoteView
 The logical order of paragraph and table fragments is never
changed.
 The role is
-::com::sun::star::accessibility::AccessibleRole::ENDNOTE
+::com::sun::star::accessibility::AccessibleRole::END_NOTE
 The name is "endnote" (or the equivalent term
 in application's language) with a number appended.
 The description is endnote" (or the equivalent term
commit f53bebb800ac35ee948640e57bcfff3ca59fd833
Author: Julien Nabet 
Date:   Thu Jul 4 22:37:44 2013 +0200

Remove "!!"

Change-Id: I14bc066fa6383bf33260d65a99a1036fde62b108

diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 7bf3c16..ac9c206 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1915,7 +1915,7 @@ void Menu::SetItemImageAngle( sal_uInt16 nItemId, long 
nAngle10 )
 nDeltaAngle += 3600;
 
 pData->nItemImageAngle = nAngle10;
-if( nDeltaAngle && !!pData->aImage )
+if( nDeltaAngle && pData->aImage )
 pData->aImage = ImplRotImage( pData->aImage, nDeltaAngle );
 }
 }
@@ -1942,7 +1942,7 @@ void Menu::SetItemImageMirrorMode( sal_uInt16 nItemId, 
sal_Bool bMirror )
 )
 {
 pData->bMirrorMode = bMirror ? true : false;
-if( !!pData->aImage )
+if( pData->aImage )
 pData->aImage = ImplMirrorImage( pData->aImage );
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

 vcl/source/window/menu.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2e0d945a6cc2b0e1d8296344648dea32237d3e26
Author: Julien Nabet 
Date:   Fri Jul 5 07:44:13 2013 +0200

Oups, Revert "Remove "!!""

This reverts commit f53bebb800ac35ee948640e57bcfff3ca59fd833.

diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index ac9c206..7bf3c16 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1915,7 +1915,7 @@ void Menu::SetItemImageAngle( sal_uInt16 nItemId, long 
nAngle10 )
 nDeltaAngle += 3600;
 
 pData->nItemImageAngle = nAngle10;
-if( nDeltaAngle && pData->aImage )
+if( nDeltaAngle && !!pData->aImage )
 pData->aImage = ImplRotImage( pData->aImage, nDeltaAngle );
 }
 }
@@ -1942,7 +1942,7 @@ void Menu::SetItemImageMirrorMode( sal_uInt16 nItemId, 
sal_Bool bMirror )
 )
 {
 pData->bMirrorMode = bMirror ? true : false;
-if( pData->aImage )
+if( !!pData->aImage )
 pData->aImage = ImplMirrorImage( pData->aImage );
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Building LO 4.0.4.2 on illumos based OS

Hi Michael, would be a great idea the tinderbox setup.
I will send you the link of the XStream Desktop iso as soon as we have it out.
BTW, can you help me with this? I really don't know what problem is 
thismust be something
about gnu ld, but I had more experience with Sun ld.
Gabriele.
On Thursday, 2013-07-04 at 09:32, Gabriele Bulfon wrote:
Hi,
after long building LO 4.1.0.1 on illumos based OS, I reached this error:
[build LNK] Executable/unopkg.bin
/usr/gnu/bin/ld: 
/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/LinkTarget/Executable/unopkg.bin:
 hidden symbol `main' 
in/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/CObject/desktop/source/pkgchk/unopkg/unopkg_main.o
 is referenced byDSO
/usr/gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
Any idea?
Gabriele.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice