[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - 6 commits - sc/inc sc/qa sc/source

2013-07-23 Thread Kohei Yoshida
 sc/inc/refdata.hxx  |   32 -
 sc/qa/unit/ucalc.hxx|2 
 sc/qa/unit/ucalc_formula.cxx|   69 +++
 sc/source/core/tool/compiler.cxx|   34 +++--
 sc/source/core/tool/interpr4.cxx|   11 +--
 sc/source/core/tool/refdata.cxx |  128 
 sc/source/filter/excel/excform8.cxx |   28 ---
 sc/source/filter/lotus/lotform.cxx  |   10 --
 8 files changed, 138 insertions(+), 176 deletions(-)

New commits:
commit 15d3e71f26f34a41f49e857ec924ae95a8deb23a
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 00:23:06 2013 -0400

More on removing CalcRelFromAbs().

Change-Id: I6474926d9cd8f9273bae3d8179bd14ee19422357

diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 848bbd6..07ea7ef 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -54,10 +54,10 @@ struct SC_DLLPUBLIC ScSingleRefData
 /// No default ctor, because used in ScRawToken union, set InitFlags!
 inline  void InitFlags() { mnFlagValue = 0; }/// all FALSE
 /// InitAddress: InitFlags and set address
-inline  void InitAddress( const ScAddress rAdr );
-inline  void InitAddress( SCCOL nCol, SCROW nRow, SCTAB nTab );
+void InitAddress( const ScAddress rAdr );
+void InitAddress( SCCOL nCol, SCROW nRow, SCTAB nTab );
 /// InitAddressRel: InitFlags and set address, everything relative to rPos
-inline  void InitAddressRel( const ScAddress rAdr, const ScAddress rPos 
);
+void InitAddressRel( const ScAddress rAdr, const ScAddress rPos );
 inline  void SetColRel( bool bVal ) { Flags.bColRel = (bVal ? true : false 
); }
 inline  bool IsColRel() const{ return Flags.bColRel; }
 inline  void SetRowRel( bool bVal ) { Flags.bRowRel = (bVal ? true : false 
); }
@@ -97,29 +97,6 @@ struct SC_DLLPUBLIC ScSingleRefData
 #endif
 };
 
-inline void ScSingleRefData::InitAddress( SCCOL nColP, SCROW nRowP, SCTAB 
nTabP )
-{
-InitFlags();
-nCol = nColP;
-nRow = nRowP;
-nTab = nTabP;
-}
-
-inline void ScSingleRefData::InitAddress( const ScAddress rAdr )
-{
-InitAddress( rAdr.Col(), rAdr.Row(), rAdr.Tab());
-}
-
-inline void ScSingleRefData::InitAddressRel( const ScAddress rAdr,
-const ScAddress rPos )
-{
-InitAddress( rAdr.Col(), rAdr.Row(), rAdr.Tab());
-SetColRel( true );
-SetRowRel( true );
-SetTabRel( true );
-CalcRelFromAbs( rPos );
-}
-
 inline bool ScSingleRefData::Valid() const
 {
 return  nCol = 0  nCol = MAXCOL 
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index c63921f..4a87147 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -5284,7 +5284,7 @@ bool ScCompiler::HandleSingleRef()
 aRefData.SetColRel( true );
 else
 aRefData.SetRowRel( true );
-aRefData.CalcRelFromAbs( aPos );
+aRefData.SetAddress(aRange.aStart, aPos);
 pNew-AddSingleReference( aRefData );
 }
 else
@@ -5301,7 +5301,7 @@ bool ScCompiler::HandleSingleRef()
 aRefData.Ref1.SetRowRel( true );
 aRefData.Ref2.SetRowRel( true );
 }
-aRefData.CalcRelFromAbs( aPos );
+aRefData.SetRange(aRange, aPos);
 if ( bInList )
 pNew-AddDoubleReference( aRefData );
 else
@@ -5328,13 +5328,10 @@ bool ScCompiler::HandleDbData()
 {
 ScComplexRefData aRefData;
 aRefData.InitFlags();
-pDBData-GetArea(   (SCTAB) aRefData.Ref1.nTab,
-(SCCOL) aRefData.Ref1.nCol,
-(SCROW) aRefData.Ref1.nRow,
-(SCCOL) aRefData.Ref2.nCol,
-(SCROW) aRefData.Ref2.nRow);
-aRefData.Ref2.nTab= aRefData.Ref1.nTab;
-aRefData.CalcRelFromAbs( aPos );
+ScRange aRange;
+pDBData-GetArea(aRange);
+aRange.aEnd.SetTab(aRange.aStart.Tab());
+aRefData.SetRange(aRange, aPos);
 ScTokenArray* pNew = new ScTokenArray();
 pNew-AddDoubleReference( aRefData );
 PushTokenArray( pNew, true );
diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx
index 3a7e2b0..439886e 100644
--- a/sc/source/core/tool/refdata.cxx
+++ b/sc/source/core/tool/refdata.cxx
@@ -19,6 +19,27 @@
 
 #include refdata.hxx
 
+void ScSingleRefData::InitAddress( const ScAddress rAdr )
+{
+InitAddress( rAdr.Col(), rAdr.Row(), rAdr.Tab());
+}
+
+void ScSingleRefData::InitAddress( SCCOL nColP, SCROW nRowP, SCTAB nTabP )
+{
+InitFlags();
+nCol = nColP;
+nRow = nRowP;
+nTab = nTabP;
+}
+
+void ScSingleRefData::InitAddressRel( const ScAddress rAdr, const ScAddress 
rPos )
+{
+SetColRel(true);
+SetRowRel(true);
+SetTabRel(true);
+   

[Libreoffice-commits] core.git: sd/Library_sd.mk

2013-07-23 Thread David Tardon
 sd/Library_sd.mk |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2cefde7a4b6aea8154a732ed109407c14a29452a
Author: David Tardon dtar...@redhat.com
Date:   Tue Jul 23 08:04:16 2013 +0200

drop extra )

Change-Id: Ic8a626c90ecf52818c0f521edb5ae717fce441dc

diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 15b720d..43d68ad 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -551,7 +551,7 @@ $(eval $(call gb_Library_add_defs,sd,\
 
 ifeq ($(ENABLE_SDREMOTE_BLUETOOTH),YES)
 
-ifneq ($(OS),MACOSX))
+ifneq ($(OS),MACOSX)
 
 $(eval $(call gb_Library_add_exception_objects,sd,\
 sd/source/ui/remotecontrol/BluetoothServer \
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 54157] LibreOffice 4.0 most annoying bugs

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

Bug 54157 depends on bug 62155, which changed state.

Bug 62155 Summary: Libreoffice crashes after upgrade while using formula bar
https://bugs.freedesktop.org/show_bug.cgi?id=62155

   What|Removed |Added

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

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


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

2013-07-23 Thread Tor Lillqvist
 configure.ac |8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 0d2a7adf4e12b08bb6017df03e6e4ea04acc5df5
Author: Tor Lillqvist t...@iki.fi
Date:   Tue Jul 23 10:36:34 2013 +0300

Correct help message for --enable-macosx-code-signing

Change-Id: I453f53e7afc1474b4db2a89454718652b088ad6c

diff --git a/configure.ac b/configure.ac
index bcc9b4b..add4a6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1120,11 +1120,9 @@ AC_ARG_ENABLE(desktop-gui-elements,
 
 AC_ARG_ENABLE(macosx-code-signing,
 AS_HELP_STRING([--enable-macosx-code-signing=identity],
-[Sign executables, dylibs, frameworks and the app bundle. The
- default is to do signing if there is a suitable certificate
- in your keychain, so if you don't want that, use the
- corresponding --disable option. Experimental work in
- progress, don't use unless you are working on this.]),
+[Sign executables, dylibs, frameworks and the app bundle. If you
+ don't provide an identity the first suitable certificate
+ in your keychain is used.]),
 ,)
 
 AC_ARG_ENABLE(macosx-sandbox,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: compilerplugins/clang config_host/config_global.h.in configure.ac include/sal

2013-07-23 Thread Luboš Luňák
 compilerplugins/clang/unusedvariablecheck.cxx |9 
 config_host/config_global.h.in|4 +++
 configure.ac  |   28 ++
 include/sal/types.h   |6 ++---
 4 files changed, 44 insertions(+), 3 deletions(-)

New commits:
commit 92dfa82d2d25f2acdee0a538bf15f1fac36c0ecf
Author: Luboš Luňák l.lu...@suse.cz
Date:   Tue Jul 23 09:49:57 2013 +0200

adjust for upstreaming of warn_unused attribute

The warn_unused attribute has been upstream to GCC and Clang, so use it if 
present.
Still warn about STL types if those do not use it yet (which is the status 
as of now).

Change-Id: I3c003e44c08d1d141e23bba38cf92e663a5ac353

diff --git a/compilerplugins/clang/unusedvariablecheck.cxx 
b/compilerplugins/clang/unusedvariablecheck.cxx
index a0763ac..86f405d 100644
--- a/compilerplugins/clang/unusedvariablecheck.cxx
+++ b/compilerplugins/clang/unusedvariablecheck.cxx
@@ -8,6 +8,13 @@
  *
  */
 
+#include config_global.h
+
+// If there is support for warn_unused attribute even in STL classes, then 
there's
+// no point in having this check enabled, otherwise keep it at least for STL
+// (LO classes won't get duplicated warnings, as the attribute is different).
+#if !HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL
+
 #include unusedvariablecheck.hxx
 
 #include clang/AST/Attr.h
@@ -101,3 +108,5 @@ bool UnusedVariableCheck::VisitVarDecl( const VarDecl* var )
 static Plugin::Registration UnusedVariableCheck  X( unusedvariablecheck );
 
 } // namespace
+
+#endif
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
index 9b1b12a..31f64e6 100644
--- a/config_host/config_global.h.in
+++ b/config_host/config_global.h.in
@@ -23,5 +23,9 @@ Any change in this header will cause a rebuild of almost 
everything.
 #define HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE 0
 #define HAVE_THREADSAFE_STATICS 0
 #define HAVE_SYSLOG_H 0
+/* Compiler supports __attribute__((warn_unused)). */
+#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED 0
+/* C++ library uses __attribute__((warn_unused)) for basic types like 
std::string. */
+#define HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL 0
 
 #endif
diff --git a/configure.ac b/configure.ac
index add4a6b..1147e4d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5668,6 +5668,34 @@ if test $GCC = yes; then
 AC_MSG_RESULT([yes])
 ], [AC_MSG_RESULT([no])])
 AC_LANG_POP([C++])
+
+AC_MSG_CHECKING([whether $CXX supports __attribute__((warn_unused))])
+AC_LANG_PUSH([C++])
+save_CXXFLAGS=$CXXFLAGS
+CXXFLAGS=$CFLAGS -Werror -Wunknown-pragmas
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+struct __attribute__((warn_unused)) dummy {};
+])], [
+AC_DEFINE([HAVE_GCC_ATTRIBUTE_WARN_UNUSED],[1])
+AC_MSG_RESULT([yes])
+], [AC_MSG_RESULT([no])])
+CXXFLAGS=$save_CXXFLAGS
+AC_LANG_POP([C++])
+
+AC_MSG_CHECKING([whether STL uses __attribute__((warn_unused))])
+AC_LANG_PUSH([C++])
+save_CXXFLAGS=$CXXFLAGS
+CXXFLAGS=$CFLAGS -Werror -Wunused
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([
+#include string
+void f() { std::string s; }
+])], [
+AC_MSG_RESULT([no])
+], [
+AC_DEFINE([HAVE_GCC_ATTRIBUTE_WARN_UNUSED_STL],[1])
+AC_MSG_RESULT([yes])])
+CXXFLAGS=$save_CXXFLAGS
+AC_LANG_POP([C++])
 fi
 
 AC_SUBST(HAVE_GCC_NO_LONG_DOUBLE)
diff --git a/include/sal/types.h b/include/sal/types.h
index 070a3f29..9ce2cef 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -551,13 +551,13 @@ template typename T1, typename T2  inline T1 
static_int_cast(T2 n) {
  or external constructors or destructors. Classes marked with SAL_WARN_UNUSED
  will be warned about.
 
- Currently implemented by a Clang compiler plugin.
-
  @since LibreOffice 4.0
 
 */
 
-#if defined __clang__
+#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
+#define SAL_WARN_UNUSED __attribute__((warn_unused))
+#elif defined __clang__
 #define SAL_WARN_UNUSED __attribute__((annotate(lo_warn_unused)))
 #else
 #define SAL_WARN_UNUSED
___
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

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

Thomas van der Meulen pje...@hotmail.com changed:

   What|Removed |Added

 Depends on||67206

--- Comment #53 from Thomas van der Meulen pje...@hotmail.com ---
I added bug 67206 - No autocalculation of a cell referenced to a cell, if a
column was inserted before -- stops productive work and calculation of cells
doesn't work properly.

-- 
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: configure.ac

2013-07-23 Thread Lionel Elie Mamane
 configure.ac |   23 +--
 1 file changed, 17 insertions(+), 6 deletions(-)

New commits:
commit 19a6c484c3af376416398e78ac29db5aa9a235ce
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 23 10:06:54 2013 +0200

configure.ac: working firebird version check with manual FIREBIRD_C/LDFLAGS

Change-Id: I511eb8bfcfab2d42073f43660518e1e8be0d5788

diff --git a/configure.ac b/configure.ac
index 1147e4d..f1fc3d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8159,15 +8159,26 @@ if test x$enable_firebird_sdbc = xyes; then
 FIREBIRD_CFLAGS=`$FIREBIRDCONFIG --cflags`
 FIREBIRD_LIBS=`$FIREBIRDCONFIG --embedlibs`
 fi
+AC_MSG_RESULT([includes `$FIREBIRD_CFLAGS', libraries 
`$FIREBIRD_LIBS'])
 AC_MSG_CHECKING([Firebird version])
-FIREBIRD_MAJOR=`echo $FIREBIRD_VERSION | cut -d. -f1`
-FIREBIRD_MINOR=`echo $FIREBIRD_VERSION | cut -d. -f2`
-if test $FIREBIRD_MAJOR -eq 2 -a $FIREBIRD_MINOR -eq 5; then
-AC_MSG_RESULT([OK])
+if test -n ${FIREBIRD_VERSION}; then
+FIREBIRD_MAJOR=`echo $FIREBIRD_VERSION | cut -d. -f1`
+FIREBIRD_MINOR=`echo $FIREBIRD_VERSION | cut -d. -f2`
+if test $FIREBIRD_MAJOR -eq 2 -a $FIREBIRD_MINOR -eq 5; 
then
+AC_MSG_RESULT([OK])
+else
+AC_MSG_ERROR([Ensure firebird 2.5.x is installed])
+fi
 else
-AC_MSG_ERROR([Ensure firebird 2.5.x is installed])
+__save_CFLAGS=${CFLAGS}
+CFLAGS=${CFLAGS} ${FIREBIRD_CFLAGS}
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include ibase.h
+#if defined(FB_API_VER)  FB_API_VER == 25
+#else
+#error Wrong Firebird API version
+#endif]])],AC_MSG_RESULT([OK]),AC_MSG_ERROR([Ensure firebird 2.5.x is 
installed]))
+CFLAGS=${__save_CFLAGS}
 fi
-AC_MSG_RESULT([includes $FIREBIRD_CFLAGS, libraries $FIREBIRD_LIBS])
 ENABLE_FIREBIRD_SDBC=TRUE
 elif test $enable_database_connectivity != yes; then
 AC_MSG_RESULT([none])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Jelle van der Waa
 configmgr/source/components.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5d95193f85921863cc127b1a3aec5924ff693592
Author: Jelle van der Waa je...@vdwaa.nl
Date:   Sun Jul 21 21:08:10 2013 +0200

fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO

Change-Id: I9c2405f92aea75756a0fbac7844ff16319210be3
Reviewed-on: https://gerrit.libreoffice.org/5014
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index fa1302a..068a73b 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -479,7 +479,7 @@ Components::Components(
 OUString conf(
 expand(
 OUString(${CONFIGURATION_LAYERS})));
-RTL_LOGFILE_TRACE(configmgr : begin parsing);
+SAL_INFO( configmgr, configmgr : begin parsing );
 int layer = 0;
 for (sal_Int32 i = 0;;) {
 while (i != conf.getLength()  conf[i] == ' ') {
@@ -561,7 +561,7 @@ Components::Components(
 }
 i = n;
 }
-RTL_LOGFILE_TRACE(configmgr : end parsing);
+SAL_INFO( configmgr, configmgr : end parsing );
 }
 
 Components::~Components()
___
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

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

Michael Meeks michael.me...@novell.com changed:

   What|Removed |Added

 Depends on||67086

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


[PATCH libreoffice-4-1] fdo#67093 Change traduction of Title for some more languages

2013-07-23 Thread Petr Mladek (via Code Review)
Hi,

I would like you to review the following patch:

https://gerrit.libreoffice.org/5043

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/translations 
refs/changes/43/5043/1

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
---
M source/as/sw/source/ui/utlui.po
M source/bg/sw/source/ui/utlui.po
M source/br/sw/source/ui/utlui.po
M source/gl/sw/source/ui/utlui.po
M source/lt/sw/source/ui/utlui.po
M source/pt-BR/sw/source/ui/utlui.po
M source/pt/sw/source/ui/utlui.po
M source/ru/sw/source/ui/utlui.po
M source/sv/sw/source/ui/utlui.po
M source/te/sw/source/ui/utlui.po
M source/uk/sw/source/ui/utlui.po
M source/zh-CN/sw/source/ui/utlui.po
M source/zh-TW/sw/source/ui/utlui.po
13 files changed, 13 insertions(+), 13 deletions(-)



diff --git a/source/as/sw/source/ui/utlui.po b/source/as/sw/source/ui/utlui.po
index 467b55e..f1b1353 100644
--- a/source/as/sw/source/ui/utlui.po
+++ b/source/as/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr শিৰোনাম
+msgstr শীৰ্ষক
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/bg/sw/source/ui/utlui.po b/source/bg/sw/source/ui/utlui.po
index 2628690..2e1e2ea 100644
--- a/source/bg/sw/source/ui/utlui.po
+++ b/source/bg/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заглавие
+msgstr Заглавие на документ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/br/sw/source/ui/utlui.po b/source/br/sw/source/ui/utlui.po
index 0f723b2..f37d526 100644
--- a/source/br/sw/source/ui/utlui.po
+++ b/source/br/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Titl
+msgstr Titl pennañ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/gl/sw/source/ui/utlui.po b/source/gl/sw/source/ui/utlui.po
index 62a5275..cbf818d 100644
--- a/source/gl/sw/source/ui/utlui.po
+++ b/source/gl/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título de documento
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/lt/sw/source/ui/utlui.po b/source/lt/sw/source/ui/utlui.po
index cb70517..d8627d6 100644
--- a/source/lt/sw/source/ui/utlui.po
+++ b/source/lt/sw/source/ui/utlui.po
@@ -3142,7 +3142,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Antraštė
+msgstr Dokumento antraštė
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt-BR/sw/source/ui/utlui.po 
b/source/pt-BR/sw/source/ui/utlui.po
index 02906b2..87e7004 100644
--- a/source/pt-BR/sw/source/ui/utlui.po
+++ b/source/pt-BR/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt/sw/source/ui/utlui.po b/source/pt/sw/source/ui/utlui.po
index 73c1a98..41b8a07 100644
--- a/source/pt/sw/source/ui/utlui.po
+++ b/source/pt/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/ru/sw/source/ui/utlui.po b/source/ru/sw/source/ui/utlui.po
index 06e319e..ccc0004 100644
--- a/source/ru/sw/source/ui/utlui.po
+++ b/source/ru/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Заглавие
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/sv/sw/source/ui/utlui.po b/source/sv/sw/source/ui/utlui.po
index f3daaf5..819944c 100644
--- a/source/sv/sw/source/ui/utlui.po
+++ b/source/sv/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Rubrik
+msgstr Titel
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/te/sw/source/ui/utlui.po b/source/te/sw/source/ui/utlui.po
index 7a7b170..dc1ddab 100644
--- a/source/te/sw/source/ui/utlui.po
+++ b/source/te/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr శీర్షిక
+msgstr పత్ర శీర్షిక
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/uk/sw/source/ui/utlui.po b/source/uk/sw/source/ui/utlui.po
index bd75e10..53856e1 100644
--- a/source/uk/sw/source/ui/utlui.po
+++ b/source/uk/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Назва
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/zh-CN/sw/source/ui/utlui.po 
b/source/zh-CN/sw/source/ui/utlui.po
index c3ff05d..6bf682b 100644
--- a/source/zh-CN/sw/source/ui/utlui.po
+++ b/source/zh-CN/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 

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

2013-07-23 Thread Christian Lohmaier
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 35d902124bb230cb5575f105670bafb4124ae58c
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Mon Jul 22 21:24:05 2013 +0200

Updated core
Project: translations  b2d3ee8989e207e7263dc53fb0535cbd3414f03f

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style 
in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-on: https://gerrit.libreoffice.org/5043
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz

diff --git a/translations b/translations
index 0d21655..b2d3ee8 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 0d21655cbcf22cd378725e2d23086ec51f746dd7
+Subproject commit b2d3ee8989e207e7263dc53fb0535cbd3414f03f
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] translations.git: Branch 'libreoffice-4-1' - source/as source/bg source/br source/gl source/lt source/pt source/pt-BR source/ru source/sv source/te source/uk source/zh-CN source/

2013-07-23 Thread Christian Lohmaier
 source/as/sw/source/ui/utlui.po|2 +-
 source/bg/sw/source/ui/utlui.po|2 +-
 source/br/sw/source/ui/utlui.po|2 +-
 source/gl/sw/source/ui/utlui.po|2 +-
 source/lt/sw/source/ui/utlui.po|2 +-
 source/pt-BR/sw/source/ui/utlui.po |2 +-
 source/pt/sw/source/ui/utlui.po|2 +-
 source/ru/sw/source/ui/utlui.po|2 +-
 source/sv/sw/source/ui/utlui.po|2 +-
 source/te/sw/source/ui/utlui.po|2 +-
 source/uk/sw/source/ui/utlui.po|2 +-
 source/zh-CN/sw/source/ui/utlui.po |2 +-
 source/zh-TW/sw/source/ui/utlui.po |2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit b2d3ee8989e207e7263dc53fb0535cbd3414f03f
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Mon Jul 22 21:24:05 2013 +0200

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style 
in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-on: https://gerrit.libreoffice.org/5043
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz

diff --git a/source/as/sw/source/ui/utlui.po b/source/as/sw/source/ui/utlui.po
index 467b55e..f1b1353 100644
--- a/source/as/sw/source/ui/utlui.po
+++ b/source/as/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr শিৰোনাম
+msgstr শীৰ্ষক
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/bg/sw/source/ui/utlui.po b/source/bg/sw/source/ui/utlui.po
index 2628690..2e1e2ea 100644
--- a/source/bg/sw/source/ui/utlui.po
+++ b/source/bg/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заглавие
+msgstr Заглавие на документ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/br/sw/source/ui/utlui.po b/source/br/sw/source/ui/utlui.po
index 0f723b2..f37d526 100644
--- a/source/br/sw/source/ui/utlui.po
+++ b/source/br/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Titl
+msgstr Titl pennañ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/gl/sw/source/ui/utlui.po b/source/gl/sw/source/ui/utlui.po
index 62a5275..cbf818d 100644
--- a/source/gl/sw/source/ui/utlui.po
+++ b/source/gl/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título de documento
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/lt/sw/source/ui/utlui.po b/source/lt/sw/source/ui/utlui.po
index cb70517..d8627d6 100644
--- a/source/lt/sw/source/ui/utlui.po
+++ b/source/lt/sw/source/ui/utlui.po
@@ -3142,7 +3142,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Antraštė
+msgstr Dokumento antraštė
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt-BR/sw/source/ui/utlui.po 
b/source/pt-BR/sw/source/ui/utlui.po
index 02906b2..87e7004 100644
--- a/source/pt-BR/sw/source/ui/utlui.po
+++ b/source/pt-BR/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt/sw/source/ui/utlui.po b/source/pt/sw/source/ui/utlui.po
index 73c1a98..41b8a07 100644
--- a/source/pt/sw/source/ui/utlui.po
+++ b/source/pt/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/ru/sw/source/ui/utlui.po b/source/ru/sw/source/ui/utlui.po
index 06e319e..ccc0004 100644
--- a/source/ru/sw/source/ui/utlui.po
+++ b/source/ru/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Заглавие
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/sv/sw/source/ui/utlui.po b/source/sv/sw/source/ui/utlui.po
index f3daaf5..819944c 100644
--- a/source/sv/sw/source/ui/utlui.po
+++ b/source/sv/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Rubrik
+msgstr Titel
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/te/sw/source/ui/utlui.po b/source/te/sw/source/ui/utlui.po
index 7a7b170..dc1ddab 100644
--- a/source/te/sw/source/ui/utlui.po
+++ b/source/te/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr శీర్షిక
+msgstr పత్ర శీర్షిక
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/uk/sw/source/ui/utlui.po 

[PUSHED libreoffice-4-1] fdo#67093 Change traduction of Title for some more languages

2013-07-23 Thread Petr Mladek (via Code Review)
Hi,

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

If you are interested in details, please visit

https://gerrit.libreoffice.org/5043

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Gerrit-PatchSet: 2
Gerrit-Project: translations
Gerrit-Branch: libreoffice-4-1
Gerrit-Owner: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Gerrit-Reviewer: Fridrich Strba fridr...@documentfoundation.org
Gerrit-Reviewer: Petr Mladek pmla...@suse.cz

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


[PATCH libreoffice-4-1-0] fdo#67093 Change traduction of Title for some more languages

2013-07-23 Thread Petr Mladek (via Code Review)
Hi,

I would like you to review the following patch:

https://gerrit.libreoffice.org/5044

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/translations 
refs/changes/44/5044/1

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-on: https://gerrit.libreoffice.org/5043
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz
---
M source/as/sw/source/ui/utlui.po
M source/bg/sw/source/ui/utlui.po
M source/br/sw/source/ui/utlui.po
M source/gl/sw/source/ui/utlui.po
M source/lt/sw/source/ui/utlui.po
M source/pt-BR/sw/source/ui/utlui.po
M source/pt/sw/source/ui/utlui.po
M source/ru/sw/source/ui/utlui.po
M source/sv/sw/source/ui/utlui.po
M source/te/sw/source/ui/utlui.po
M source/uk/sw/source/ui/utlui.po
M source/zh-CN/sw/source/ui/utlui.po
M source/zh-TW/sw/source/ui/utlui.po
13 files changed, 13 insertions(+), 13 deletions(-)



diff --git a/source/as/sw/source/ui/utlui.po b/source/as/sw/source/ui/utlui.po
index 467b55e..f1b1353 100644
--- a/source/as/sw/source/ui/utlui.po
+++ b/source/as/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr শিৰোনাম
+msgstr শীৰ্ষক
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/bg/sw/source/ui/utlui.po b/source/bg/sw/source/ui/utlui.po
index 2628690..2e1e2ea 100644
--- a/source/bg/sw/source/ui/utlui.po
+++ b/source/bg/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заглавие
+msgstr Заглавие на документ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/br/sw/source/ui/utlui.po b/source/br/sw/source/ui/utlui.po
index 0f723b2..f37d526 100644
--- a/source/br/sw/source/ui/utlui.po
+++ b/source/br/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Titl
+msgstr Titl pennañ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/gl/sw/source/ui/utlui.po b/source/gl/sw/source/ui/utlui.po
index 62a5275..cbf818d 100644
--- a/source/gl/sw/source/ui/utlui.po
+++ b/source/gl/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título de documento
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/lt/sw/source/ui/utlui.po b/source/lt/sw/source/ui/utlui.po
index cb70517..d8627d6 100644
--- a/source/lt/sw/source/ui/utlui.po
+++ b/source/lt/sw/source/ui/utlui.po
@@ -3142,7 +3142,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Antraštė
+msgstr Dokumento antraštė
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt-BR/sw/source/ui/utlui.po 
b/source/pt-BR/sw/source/ui/utlui.po
index 02906b2..87e7004 100644
--- a/source/pt-BR/sw/source/ui/utlui.po
+++ b/source/pt-BR/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt/sw/source/ui/utlui.po b/source/pt/sw/source/ui/utlui.po
index 73c1a98..41b8a07 100644
--- a/source/pt/sw/source/ui/utlui.po
+++ b/source/pt/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/ru/sw/source/ui/utlui.po b/source/ru/sw/source/ui/utlui.po
index 06e319e..ccc0004 100644
--- a/source/ru/sw/source/ui/utlui.po
+++ b/source/ru/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Заглавие
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/sv/sw/source/ui/utlui.po b/source/sv/sw/source/ui/utlui.po
index f3daaf5..819944c 100644
--- a/source/sv/sw/source/ui/utlui.po
+++ b/source/sv/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Rubrik
+msgstr Titel
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/te/sw/source/ui/utlui.po b/source/te/sw/source/ui/utlui.po
index 7a7b170..dc1ddab 100644
--- a/source/te/sw/source/ui/utlui.po
+++ b/source/te/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr శీర్షిక
+msgstr పత్ర శీర్షిక
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/uk/sw/source/ui/utlui.po b/source/uk/sw/source/ui/utlui.po
index bd75e10..53856e1 100644
--- a/source/uk/sw/source/ui/utlui.po
+++ b/source/uk/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Назва
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/zh-CN/sw/source/ui/utlui.po 
b/source/zh-CN/sw/source/ui/utlui.po
index c3ff05d..6bf682b 

[Libreoffice-commits] translations.git: Branch 'libreoffice-4-1-0' - source/as source/bg source/br source/gl source/lt source/pt source/pt-BR source/ru source/sv source/te source/uk source/zh-CN sourc

2013-07-23 Thread Christian Lohmaier
 source/as/sw/source/ui/utlui.po|2 +-
 source/bg/sw/source/ui/utlui.po|2 +-
 source/br/sw/source/ui/utlui.po|2 +-
 source/gl/sw/source/ui/utlui.po|2 +-
 source/lt/sw/source/ui/utlui.po|2 +-
 source/pt-BR/sw/source/ui/utlui.po |2 +-
 source/pt/sw/source/ui/utlui.po|2 +-
 source/ru/sw/source/ui/utlui.po|2 +-
 source/sv/sw/source/ui/utlui.po|2 +-
 source/te/sw/source/ui/utlui.po|2 +-
 source/uk/sw/source/ui/utlui.po|2 +-
 source/zh-CN/sw/source/ui/utlui.po |2 +-
 source/zh-TW/sw/source/ui/utlui.po |2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

New commits:
commit 62f4929b2a7eec3fc5ba39d236c77ed1dccb0f56
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Mon Jul 22 21:24:05 2013 +0200

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style 
in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-on: https://gerrit.libreoffice.org/5043
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz
Reviewed-on: https://gerrit.libreoffice.org/5044
Reviewed-by: Thorsten Behrens tbehr...@suse.com
Reviewed-by: Bosdonnat Cedric cedric.bosdon...@free.fr
Tested-by: Bosdonnat Cedric cedric.bosdon...@free.fr

diff --git a/source/as/sw/source/ui/utlui.po b/source/as/sw/source/ui/utlui.po
index 467b55e..f1b1353 100644
--- a/source/as/sw/source/ui/utlui.po
+++ b/source/as/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr শিৰোনাম
+msgstr শীৰ্ষক
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/bg/sw/source/ui/utlui.po b/source/bg/sw/source/ui/utlui.po
index 2628690..2e1e2ea 100644
--- a/source/bg/sw/source/ui/utlui.po
+++ b/source/bg/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заглавие
+msgstr Заглавие на документ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/br/sw/source/ui/utlui.po b/source/br/sw/source/ui/utlui.po
index 0f723b2..f37d526 100644
--- a/source/br/sw/source/ui/utlui.po
+++ b/source/br/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Titl
+msgstr Titl pennañ
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/gl/sw/source/ui/utlui.po b/source/gl/sw/source/ui/utlui.po
index 62a5275..cbf818d 100644
--- a/source/gl/sw/source/ui/utlui.po
+++ b/source/gl/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título de documento
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/lt/sw/source/ui/utlui.po b/source/lt/sw/source/ui/utlui.po
index cb70517..d8627d6 100644
--- a/source/lt/sw/source/ui/utlui.po
+++ b/source/lt/sw/source/ui/utlui.po
@@ -3142,7 +3142,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Antraštė
+msgstr Dokumento antraštė
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt-BR/sw/source/ui/utlui.po 
b/source/pt-BR/sw/source/ui/utlui.po
index 02906b2..87e7004 100644
--- a/source/pt-BR/sw/source/ui/utlui.po
+++ b/source/pt-BR/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/pt/sw/source/ui/utlui.po b/source/pt/sw/source/ui/utlui.po
index 73c1a98..41b8a07 100644
--- a/source/pt/sw/source/ui/utlui.po
+++ b/source/pt/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Título
+msgstr Título principal
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/ru/sw/source/ui/utlui.po b/source/ru/sw/source/ui/utlui.po
index 06e319e..ccc0004 100644
--- a/source/ru/sw/source/ui/utlui.po
+++ b/source/ru/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Заголовок
+msgstr Заглавие
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/sv/sw/source/ui/utlui.po b/source/sv/sw/source/ui/utlui.po
index f3daaf5..819944c 100644
--- a/source/sv/sw/source/ui/utlui.po
+++ b/source/sv/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 STR_POOLCOLL_DOC_TITEL\n
 string.text
 msgid Title
-msgstr Rubrik
+msgstr Titel
 
 #: poolfmt.src
 msgctxt 
diff --git a/source/te/sw/source/ui/utlui.po b/source/te/sw/source/ui/utlui.po
index 7a7b170..dc1ddab 100644
--- a/source/te/sw/source/ui/utlui.po
+++ b/source/te/sw/source/ui/utlui.po
@@ -3141,7 +3141,7 @@ msgctxt 
 

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

2013-07-23 Thread Christian Lohmaier
 translations |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 760a29b8d622a895875d798e340be66671e72e05
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Mon Jul 22 21:24:05 2013 +0200

Updated core
Project: translations  62f4929b2a7eec3fc5ba39d236c77ed1dccb0f56

fdo#67093 Change traduction of Title for some more languages

For those languages that had an alternative translation for the title style 
in
ede3fe62d4b30ebe82d2e2b837bd5d8247b73438 - still languages left that have
identical translations

Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Reviewed-on: https://gerrit.libreoffice.org/5038
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-on: https://gerrit.libreoffice.org/5043
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz
Reviewed-on: https://gerrit.libreoffice.org/5044
Reviewed-by: Thorsten Behrens tbehr...@suse.com
Reviewed-by: Bosdonnat Cedric cedric.bosdon...@free.fr
Tested-by: Bosdonnat Cedric cedric.bosdon...@free.fr

diff --git a/translations b/translations
index 4ad59c5..62f4929 16
--- a/translations
+++ b/translations
@@ -1 +1 @@
-Subproject commit 4ad59c5fbe4386773ed4e8c33a0550a6385caf6b
+Subproject commit 62f4929b2a7eec3fc5ba39d236c77ed1dccb0f56
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED libreoffice-4-1-0] fdo#67093 Change traduction of Title for some more languages

2013-07-23 Thread Bosdonnat Cedric (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/5044

Approvals:
  Petr Mladek: Verified; Looks good to me, but someone else must approve
  Thorsten Behrens: Looks good to me, but someone else must approve
  Bosdonnat Cedric: Verified; Looks good to me, approved
  Fridrich Strba: Looks good to me, but someone else must approve


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibcd7d03c9ea7608c8963d1cb9b7c2d7cbe2415d5
Gerrit-PatchSet: 2
Gerrit-Project: translations
Gerrit-Branch: libreoffice-4-1-0
Gerrit-Owner: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: Bosdonnat Cedric cedric.bosdon...@free.fr
Gerrit-Reviewer: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Gerrit-Reviewer: Fridrich Strba fridr...@documentfoundation.org
Gerrit-Reviewer: Petr Mladek pmla...@suse.cz
Gerrit-Reviewer: Thorsten Behrens tbehr...@suse.com

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


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

2013-07-23 Thread Stephan Bergmann
 sd/Library_sdui.mk|4 +++
 sd/source/ui/dlg/PhotoAlbumDialog.cxx |   43 --
 2 files changed, 10 insertions(+), 37 deletions(-)

New commits:
commit 82447189ccfc662f86ec00f5001527cc997f5020
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue Jul 23 11:34:53 2013 +0200

If this configuration access throws exceptions sth very fundamental is 
broken

...with the LO installation, so it doesn't make much sense to handle them
locally.

Change-Id: I02fade858f9b507976bf612ba942be90bf25d51f

diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx 
b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 0f13c7f..c321325 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -454,16 +454,7 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
 SFXWB_GRAPHIC | SFXWB_MULTISELECTION
 );
 // Read configuration
-OUString sUrl(.);
-try
-{
-sUrl = officecfg::Office::Impress::Pictures::Path::get();
-}
-catch(const Exception)
-{
-OSL_FAIL(Could not find config for Create Photo Album function);
-}
-
+OUString sUrl(officecfg::Office::Impress::Pictures::Path::get());
 
 INetURLObject aFile( SvtPathOptions().GetPalettePath() );
 if (sUrl != )
@@ -478,17 +469,12 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
 {
 sUrl = aDlg.GetDisplayDirectory();
 // Write out configuration
-try
 {
 boost::shared_ptr comphelper::ConfigurationChanges  batch(
 comphelper::ConfigurationChanges::create());
 officecfg::Office::Impress::Pictures::Path::set(sUrl, batch);
 batch-commit();
 }
-catch(const Exception)
-{
-OSL_FAIL(Could not find config for Create Photo Album 
function);
-}
 
 for ( sal_Int32 i = 0; i  aFilesArr.getLength(); i++ )
 {
commit 2b45d55d87ec1414e3a39a759d014d1e256f7975
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue Jul 23 08:44:50 2013 +0200

fdo#46037: no more comphelper/configurationhelper.hxx in sd

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

diff --git a/sd/Library_sdui.mk b/sd/Library_sdui.mk
index 4ac9000..53f279d 100644
--- a/sd/Library_sdui.mk
+++ b/sd/Library_sdui.mk
@@ -28,6 +28,10 @@ endif
 
 endif
 
+$(eval $(call gb_Library_use_custom_headers,sdui,\
+   officecfg/registry \
+))
+
 $(eval $(call gb_Library_use_external,sdui,boost_headers))
 
 $(eval $(call gb_Library_use_sdk_api,sdui))
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx 
b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 244e236..0f13c7f 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -9,7 +9,6 @@
 
 #include comphelper/namedvaluecollection.hxx
 #include comphelper/processfactory.hxx
-#include comphelper/configurationhelper.hxx
 
 #include com/sun/star/ui/dialogs/TemplateDescription.hpp
 #include com/sun/star/drawing/XMasterPagesSupplier.hpp
@@ -24,6 +23,7 @@
 #include unotools/pathoptions.hxx
 #include unotools/useroptions.hxx
 #include unotools/ucbstreamhelper.hxx
+#include officecfg/Office/Impress.hxx
 
 #include vcl/msgbox.hxx
 #include svx/unoshape.hxx
@@ -455,18 +455,9 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
 );
 // Read configuration
 OUString sUrl(.);
-Reference XInterface  xCfg;
 try
 {
-xCfg = ::comphelper::ConfigurationHelper::openConfig(
-::comphelper::getProcessComponentContext(),
-OUString(/org.openoffice.Office.Impress/),
-::comphelper::ConfigurationHelper::E_READONLY);
-
-::comphelper::ConfigurationHelper::readRelativeKey(
-xCfg,
-OUString(Pictures),
-OUString(Path)) = sUrl;
+sUrl = officecfg::Office::Impress::Pictures::Path::get();
 }
 catch(const Exception)
 {
@@ -489,18 +480,10 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl)
 // Write out configuration
 try
 {
-xCfg = ::comphelper::ConfigurationHelper::openConfig(
-::comphelper::getProcessComponentContext(),
-OUString(/org.openoffice.Office.Impress/),
-::comphelper::ConfigurationHelper::E_STANDARD);
-
-::comphelper::ConfigurationHelper::writeRelativeKey(
-xCfg,
-OUString(Pictures),
-OUString(Path),
-uno::makeAny(sUrl));
-
-::comphelper::ConfigurationHelper::flush(xCfg);
+boost::shared_ptr comphelper::ConfigurationChanges  batch(
+comphelper::ConfigurationChanges::create());
+officecfg::Office::Impress::Pictures::Path::set(sUrl, batch);
+

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

2013-07-23 Thread David Tardon
 postprocess/CustomTarget_signing.mk |3 ++-
 solenv/gbuild/Module.mk |3 +++
 solenv/gbuild/Postprocess.mk|1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 6872ad4764b5924a32f0929cbdbd13fb25ead885
Author: David Tardon dtar...@redhat.com
Date:   Tue Jul 23 11:58:41 2013 +0200

it is not possible to sign libs that are in use

... so we have to make sure they are not, by delaying the signing after
all unit tests have been run. This is just a workaround; IMHO the real
fix is fdo#63315 sign windows binaries during build.

Change-Id: Ia26826ec7d324f840f2606b1928bea71cb4f0c48

diff --git a/postprocess/CustomTarget_signing.mk 
b/postprocess/CustomTarget_signing.mk
index fa0130b..3e2eec4 100644
--- a/postprocess/CustomTarget_signing.mk
+++ b/postprocess/CustomTarget_signing.mk
@@ -22,7 +22,8 @@ $(call 
gb_CustomTarget_get_workdir,postprocess/signing)/signing.done: \
$(SRCDIR)/postprocess/signing/no_signing.txt \
 
 $(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done : \
-   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables)
+   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables) \
+   $(call gb_Postprocess_get_target,AllModuleTests)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
 ifeq ($(COM),MSC)
 ifneq ($(ENABLE_DBGUTIL),TRUE)
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index 3477790..e5dcc3d 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -177,6 +177,9 @@ $(call gb_Helper_make_userfriendly_targets,$(1),Module)
 $(if $(filter-out libreoffice instsetoo_native android ios,$(1)),\
 $(call 
gb_Postprocess_register_target,AllModulesButInstsetNative,Module,$(1)))
 
+$(call gb_Postprocess_get_target,AllModuleTests) : $(call 
gb_Module_get_check_target,$(1))
+$(call gb_Postprocess_get_clean_target,AllModuleTests) : $(call 
gb_Module_get_clean_target,$(1))
+
 endef
 
 # This is called inside the included file and pushes one target on each stack.
diff --git a/solenv/gbuild/Postprocess.mk b/solenv/gbuild/Postprocess.mk
index 2e08cb1..445f0ea 100644
--- a/solenv/gbuild/Postprocess.mk
+++ b/solenv/gbuild/Postprocess.mk
@@ -45,6 +45,7 @@ $(call 
gb_Postprocess_Postprocess,AllModulesButInstsetNative,All modules but ins
 $(call gb_Postprocess_Postprocess,AllPackages,All packages,$(WORKDIR)/Package/)
 $(call gb_Postprocess_Postprocess,AllResources,All 
resources,$(WORKDIR)/AllLangRes/)
 $(call gb_Postprocess_Postprocess,AllUIConfigs,All UI configuration 
files,$(WORKDIR)/UIConfig/)
+$(call gb_Postprocess_Postprocess,AllModuleTests,All modules' 
tests,$(WORKDIR)/Module/check/)
 
 endef
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Stephan Bergmann
 configmgr/source/components.cxx |3 ---
 1 file changed, 3 deletions(-)

New commits:
commit e667bcdf98513ed13d6ebb485f61cbf37c0b4aca
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue Jul 23 12:08:00 2013 +0200

These SAL_INFOs do not make much sense any more

...now that the original RTL_LOGFILE_TRACEs got replaced.

Change-Id: I0997d6bbb90a22678fdc6398e7786ac36b9d73f4

diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index 068a73b..511dd41 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -40,7 +40,6 @@
 #include osl/file.hxx
 #include osl/mutex.hxx
 #include rtl/bootstrap.hxx
-#include rtl/logfile.h
 #include rtl/ref.hxx
 #include rtl/string.h
 #include rtl/ustrbuf.hxx
@@ -479,7 +478,6 @@ Components::Components(
 OUString conf(
 expand(
 OUString(${CONFIGURATION_LAYERS})));
-SAL_INFO( configmgr, configmgr : begin parsing );
 int layer = 0;
 for (sal_Int32 i = 0;;) {
 while (i != conf.getLength()  conf[i] == ' ') {
@@ -561,7 +559,6 @@ Components::Components(
 }
 i = n;
 }
-SAL_INFO( configmgr, configmgr : end parsing );
 }
 
 Components::~Components()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Gui or ux libraries used

2013-07-23 Thread Christian Lohmaier
Hi Abhimanyu, *,

On Monday, July 22, 2013, abhimanyu shegokar wrote:

 Thanks for your detailed explanation but i am looking for libraries like
 gtk which are used for graphics. Can you enlist them?

gtk and many other stuff is optional - if you disable it, you'll get a
slightly ugly LO that doesn't integrate that well into your desktop, but
still works.

And just grep for PKG_CHECK_MODULES in configure.ac - that will give you
the stuff that LO *can* use (but not necessarily is a hard requirement),
for example for the gtk-plugin there's this:

PKG_CHECK_MODULES(GTK, gtk+-2.0 = 2.4 gdk-pixbuf-xlib-2.0 = 2.2
,,AC_MSG_ERROR([requirements to build the gtk-plugin not met. Use
--disable-gtk or install the missing packages]))
PKG_CHECK_MODULES(GTHREAD, gthread-2.0,,AC_MSG_ERROR([requirements
to build the gtk-plugin not met. Use --disable-gtk or install the missing
packages]))

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


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

2013-07-23 Thread David Tardon
 postprocess/CustomTarget_signing.mk |3 ++-
 solenv/gbuild/Module.mk |3 +++
 solenv/gbuild/Postprocess.mk|1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit edecaede4288a661a32b50ae6816b9fb5a77ace7
Author: David Tardon dtar...@redhat.com
Date:   Tue Jul 23 11:58:41 2013 +0200

it is not possible to sign libs that are in use

... so we have to make sure they are not, by delaying the signing after
all unit tests have been run. This is just a workaround; IMHO the real
fix is fdo#63315 sign windows binaries during build.

Change-Id: Ia26826ec7d324f840f2606b1928bea71cb4f0c48
(cherry picked from commit 6872ad4764b5924a32f0929cbdbd13fb25ead885)
Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch

diff --git a/postprocess/CustomTarget_signing.mk 
b/postprocess/CustomTarget_signing.mk
index fa0130b..3e2eec4 100644
--- a/postprocess/CustomTarget_signing.mk
+++ b/postprocess/CustomTarget_signing.mk
@@ -22,7 +22,8 @@ $(call 
gb_CustomTarget_get_workdir,postprocess/signing)/signing.done: \
$(SRCDIR)/postprocess/signing/no_signing.txt \
 
 $(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done : \
-   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables)
+   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables) \
+   $(call gb_Postprocess_get_target,AllModuleTests)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
 ifeq ($(COM),MSC)
 ifneq ($(ENABLE_DBGUTIL),TRUE)
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index c709203..c971a47 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -170,6 +170,9 @@ gb_Module_CURRENTMODULE_DEBUG_ENABLED := $(call 
gb_Module__debug_enabled,$(1))
 gb_Module_CURRENTMODULE_NAME := $(1)
 $(call gb_Helper_make_userfriendly_targets,$(1),Module)
 
+$(call gb_Postprocess_get_target,AllModuleTests) : $(call 
gb_Module_get_check_target,$(1))
+$(call gb_Postprocess_get_clean_target,AllModuleTests) : $(call 
gb_Module_get_clean_target,$(1))
+
 endef
 
 # This is called inside the included file and pushes one target on each stack.
diff --git a/solenv/gbuild/Postprocess.mk b/solenv/gbuild/Postprocess.mk
index 972a795..8f8900b 100644
--- a/solenv/gbuild/Postprocess.mk
+++ b/solenv/gbuild/Postprocess.mk
@@ -29,6 +29,7 @@ $(call 
gb_Postprocess_Postprocess,AllModulesButInstsetNative,All modules but ins
 $(call gb_Postprocess_Postprocess,AllPackages,All packages,$(WORKDIR)/Package/)
 $(call gb_Postprocess_Postprocess,AllResources,All 
resources,$(WORKDIR)/AllLangRes/)
 $(call gb_Postprocess_Postprocess,AllUIConfigs,All UI configuration 
files,$(WORKDIR)/UIConfig/)
+$(call gb_Postprocess_Postprocess,AllModuleTests,All modules' 
tests,$(WORKDIR)/Module/check/)
 
 endef
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Myanmar Workers for your company

2013-07-23 Thread Oryx Internation

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


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


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

2013-07-23 Thread David Tardon
 postprocess/CustomTarget_signing.mk |3 ++-
 solenv/gbuild/Module.mk |3 +++
 solenv/gbuild/Postprocess.mk|1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 24aa881347992435db243fabe57da24b589d7c9f
Author: David Tardon dtar...@redhat.com
Date:   Tue Jul 23 11:58:41 2013 +0200

it is not possible to sign libs that are in use

... so we have to make sure they are not, by delaying the signing after
all unit tests have been run. This is just a workaround; IMHO the real
fix is fdo#63315 sign windows binaries during build.

Change-Id: Ia26826ec7d324f840f2606b1928bea71cb4f0c48
(cherry picked from commit 6872ad4764b5924a32f0929cbdbd13fb25ead885)
Signed-off-by: Fridrich Å trba fridrich.st...@bluewin.ch
(cherry picked from commit edecaede4288a661a32b50ae6816b9fb5a77ace7)
Reviewed-on: https://gerrit.libreoffice.org/5045
Reviewed-by: Petr Mladek pmla...@suse.cz
Reviewed-by: Thorsten Behrens tbehr...@suse.com
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-by: David Tardon dtar...@redhat.com
Tested-by: David Tardon dtar...@redhat.com

diff --git a/postprocess/CustomTarget_signing.mk 
b/postprocess/CustomTarget_signing.mk
index fa0130b..3e2eec4 100644
--- a/postprocess/CustomTarget_signing.mk
+++ b/postprocess/CustomTarget_signing.mk
@@ -22,7 +22,8 @@ $(call 
gb_CustomTarget_get_workdir,postprocess/signing)/signing.done: \
$(SRCDIR)/postprocess/signing/no_signing.txt \
 
 $(call gb_CustomTarget_get_workdir,postprocess/signing)/signing.done : \
-   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables)
+   $(call gb_Postprocess_get_target,AllLibraries) $(call 
gb_Postprocess_get_target,AllExecutables) \
+   $(call gb_Postprocess_get_target,AllModuleTests)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,2)
 ifeq ($(COM),MSC)
 ifneq ($(ENABLE_DBGUTIL),TRUE)
diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
index c709203..c971a47 100644
--- a/solenv/gbuild/Module.mk
+++ b/solenv/gbuild/Module.mk
@@ -170,6 +170,9 @@ gb_Module_CURRENTMODULE_DEBUG_ENABLED := $(call 
gb_Module__debug_enabled,$(1))
 gb_Module_CURRENTMODULE_NAME := $(1)
 $(call gb_Helper_make_userfriendly_targets,$(1),Module)
 
+$(call gb_Postprocess_get_target,AllModuleTests) : $(call 
gb_Module_get_check_target,$(1))
+$(call gb_Postprocess_get_clean_target,AllModuleTests) : $(call 
gb_Module_get_clean_target,$(1))
+
 endef
 
 # This is called inside the included file and pushes one target on each stack.
diff --git a/solenv/gbuild/Postprocess.mk b/solenv/gbuild/Postprocess.mk
index 972a795..8f8900b 100644
--- a/solenv/gbuild/Postprocess.mk
+++ b/solenv/gbuild/Postprocess.mk
@@ -29,6 +29,7 @@ $(call 
gb_Postprocess_Postprocess,AllModulesButInstsetNative,All modules but ins
 $(call gb_Postprocess_Postprocess,AllPackages,All packages,$(WORKDIR)/Package/)
 $(call gb_Postprocess_Postprocess,AllResources,All 
resources,$(WORKDIR)/AllLangRes/)
 $(call gb_Postprocess_Postprocess,AllUIConfigs,All UI configuration 
files,$(WORKDIR)/UIConfig/)
+$(call gb_Postprocess_Postprocess,AllModuleTests,All modules' 
tests,$(WORKDIR)/Module/check/)
 
 endef
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Miklos Vajna
 sw/qa/extras/rtfimport/data/fdo64637.rtf   |   13 +
 sw/qa/extras/rtfimport/rtfimport.cxx   |   10 ++
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |9 +++--
 3 files changed, 30 insertions(+), 2 deletions(-)

New commits:
commit bb67e709b70919efb41ec41e93dd92953dc6a003
Author: Miklos Vajna vmik...@suse.cz
Date:   Tue Jul 23 12:01:47 2013 +0200

fdo#64637 RTF import: handle multiple RTF_COMPANY

Instead of unconditionally calling addProperty(), first check the
existence with hasPropertyByName() and call setPropertyValue() instead,
if necessary.

Change-Id: Ie0a075bbfe6eaa1f66726c456105dcdef9001d30

diff --git a/sw/qa/extras/rtfimport/data/fdo64637.rtf 
b/sw/qa/extras/rtfimport/data/fdo64637.rtf
new file mode 100644
index 000..9bec690
--- /dev/null
+++ b/sw/qa/extras/rtfimport/data/fdo64637.rtf
@@ -0,0 +1,13 @@
+{\rtf1
+{\info
+{\upr
+{\company aaa}
+{\*\ud
+{\company
+bbb
+}
+}
+}
+}
+foo
+}
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx 
b/sw/qa/extras/rtfimport/rtfimport.cxx
index 8e89c7d..93489d7 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -155,6 +155,7 @@ public:
 void testGroupshape();
 void testFdo66565();
 void testFdo54900();
+void testFdo64637();
 
 CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
@@ -294,6 +295,7 @@ void Test::run()
 {groupshape.rtf, Test::testGroupshape},
 {fdo66565.rtf, Test::testFdo66565},
 {fdo54900.rtf, Test::testFdo54900},
+{fdo64637.rtf, Test::testFdo64637},
 };
 header();
 for (unsigned int i = 0; i  SAL_N_ELEMENTS(aMethods); ++i)
@@ -1432,6 +1434,14 @@ void Test::testFdo54900()
 CPPUNIT_ASSERT_EQUAL(style::ParagraphAdjust_CENTER, 
static_caststyle::ParagraphAdjust(getPropertysal_Int16(getParagraphOfText(1,
 xCell-getText()), ParaAdjust)));
 }
 
+void Test::testFdo64637()
+{
+// The problem was that the custom Company property was added twice, the 
second invocation resulted in an exception.
+uno::Referencedocument::XDocumentPropertiesSupplier 
xDocumentPropertiesSupplier(mxComponent, uno::UNO_QUERY);
+uno::Referencebeans::XPropertySet 
xPropertySet(xDocumentPropertiesSupplier-getDocumentProperties()-getUserDefinedProperties(),
 uno::UNO_QUERY);
+CPPUNIT_ASSERT_EQUAL(OUString(bbb), getPropertyOUString(xPropertySet, 
Company));
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 249e51b..840c2c2 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -4045,11 +4045,16 @@ int RTFDocumentImpl::popState()
 case DESTINATION_COMPANY:
 {
 OUString aName = aState.nDestinationState == 
DESTINATION_OPERATOR ? OUString(Operator) : OUString(Company);
+uno::Any aValue = 
uno::makeAny(m_aStates.top().aDestinationText.makeStringAndClear());
 if (m_xDocumentProperties.is())
 {
 uno::Referencebeans::XPropertyContainer 
xUserDefinedProperties = m_xDocumentProperties-getUserDefinedProperties();
-xUserDefinedProperties-addProperty(aName, 
beans::PropertyAttribute::REMOVABLE,
-
uno::makeAny(m_aStates.top().aDestinationText.makeStringAndClear()));
+uno::Referencebeans::XPropertySet 
xPropertySet(xUserDefinedProperties, uno::UNO_QUERY);
+uno::Referencebeans::XPropertySetInfo xPropertySetInfo = 
xPropertySet-getPropertySetInfo();
+if (xPropertySetInfo-hasPropertyByName(aName))
+xPropertySet-setPropertyValue(aName, aValue);
+else
+xUserDefinedProperties-addProperty(aName, 
beans::PropertyAttribute::REMOVABLE, aValue);
 }
 }
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dictionaries.git: Changes to 'refs/tags/libreoffice-4.1.0.4'

2013-07-23 Thread Christian Lohmaier
Tag 'libreoffice-4.1.0.4' created by Christian Lohmaier 
lohmaier+libreoff...@googlemail.com at 2013-07-23 11:41 -0700

Tag libreoffice-4.1.0.4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)

iQIcBAABAgAGBQJR7l2/AAoJEPQ0oe+v7q6jjGkQAJf877R0yPnoehc0IFja/I3T
GUGVEV/q++lexWqab1ddBeHDFN80pXb8M00g/5+6USBDcPhZB5Pf1CI9gTNwWw2g
SC+UmkQ5RxbzcfMNFyEvsNBkIUnIikz6kRxy6+KdOde0PZIgPBT1Ma06410SdRfZ
TS5jGn/QkjY30Fq59xOZFkDhjis6p1mrJBerwti4b3QMvW6ajm3rs69ZSIksHFRT
+w97QBgGHObVl0356pffZxF3dpfc+MXnP71T+7BhZgJnwFYQYNDe//mzqV9TefNA
+1iM2elxiXFntXNV26QN2PB3WRZGTVZOj8H5oYv9UkeU9BBAmvZGpfBW3qnkYJHa
eGPoeps1qKmW6C0eRwzuLDS5zmwA6o820scWu/FWX6Iu8zK2x+qnMr6rm1kMO59i
QQdkjFLd1r2b2H/8NWGe1oNJDvrMclnoMxBzZgGxuAZjTnP/oeiwwGTo0iBlpewq
unYFdaqFbEb1XeVsuoOaf0eDu7D3HfuEhCmdefn5mLxfDYNp1Kct3HjVQfkZ/6Wo
LAzbBvR2r29hS9ejRNk5SAGXjKmrjPSI6baRPCP9VZc84fWBYetDdjps2SsZ/lEN
1ONd58k5wSlKqoYgL+sYP02vdKAIT+CGrW+6HVHY6TmCvQpoDSNLn5JSVfhVswKn
nYjwqtaw282I/9DYill4
=wWfm
-END PGP SIGNATURE-

Changes since libreoffice-4-1-branch-point-14:
---
 0 files changed
---
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] translations.git: Changes to 'refs/tags/libreoffice-4.1.0.4'

2013-07-23 Thread Christian Lohmaier
Tag 'libreoffice-4.1.0.4' created by Christian Lohmaier 
lohmaier+libreoff...@googlemail.com at 2013-07-23 11:41 -0700

Tag libreoffice-4.1.0.4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)

iQIcBAABAgAGBQJR7l3CAAoJEPQ0oe+v7q6jnOMQAJeuKdlpT3VAYjLPtirsrTnZ
FR+xaXCkz78YGPlhWZVLRUXL+fky/Jimlk8RNfEOHTEXmDM0BM3n+aEJfZtKuMmm
7MJlG66gLns+OLOYhDoP1Vy2HTLjBNh9NImFlcpiV7MYScuu4GriIlIfC4z2uyC2
FzKRaeY+1+WnWlkGQAYOomue22yAjX1AcB1NQ5f6IN8ebbgEtZZ4UR1/8kZ4sg7a
7/M3fWrZahF9MYjjb8TYlWiIX8wFRe3U/1t5UqWXFqIM/WaHEJWZLHsscWyw96rZ
Gb+59Q2TGFRjKl6e7px2RxXsnhKy/B9+mhzikJI5P9kKa2+G8uoNA8BqUj9kTgIe
/1KHaMmDRy8ssujNxQbI2EvqNoZOhSPZmaGf78PJ/ixaL8fMzRF1Kwy4xCtHC1Jn
5rIDGDt+zViG2YhCqAXgbC8kSiB6GZtNpo0mOHYSHU6OFpLJVpaYnrIBCsSBLLLI
eAYOIR4kc58aTNGAlfAYVdxUy5QLIaJP1VEdGVsbIW2KUm1jq5v8TJ+jgTVB3Lax
yP4fvZS97DPacpgU5k5eZnEYHTEaSiEJDVWlTheL3yZQYQl8mLl//5vTZHJRhisA
Re/ifu6h8f9i3WTm0uaCuN2dNIzOZMomNhZZdsXjxLd6sXhIyC28bANLfS3xYEoW
DE3fFMzU64On/k3F4Cr7
=7a82
-END PGP SIGNATURE-

Changes since libreoffice-4-1-branch-point-30:
---
 0 files changed
---
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Changes to 'refs/tags/libreoffice-4.1.0.4'

2013-07-23 Thread Christian Lohmaier
Tag 'libreoffice-4.1.0.4' created by Christian Lohmaier 
lohmaier+libreoff...@googlemail.com at 2013-07-23 11:41 -0700

Tag libreoffice-4.1.0.4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)

iQIcBAABAgAGBQJR7l3BAAoJEPQ0oe+v7q6jWgEP/A+arkDuErIIPlKQdIKB9KUd
L9szkd+Ca66Ksng2gfrnTubTGJCYlBs+5bg7tf9VXQ8DXIZerN1SPJ0NaG1WX0tI
YSAKo5ifCFziC0naaHodEgZLb0E52hsn8xuxT5QqILKtnelm/56zwQjAh0InPeCt
nR3rRsRWNCJtQSMTczOKaYpjQiOFSG7X3H9S494f/Gmoa1Obl4Np1MvuuJEffEsQ
gG4uYI/zsRmsFozsrXCz2YrHQ0swRv3XQK++sVqkL7yDV+XwtPkO/G0mLYzWlx08
qNQLavC/7ZHTBwhNUKdhLIBNBLxLY0rpwNUXKrrzsVxzSQKsac9u9qnl5qD6aIwC
5ERIdb6Ao/p8R8TfJbrxOj1Q862HNWaZKjCv5A3CtZx2hLpIFSNxBOGQe9opRhxe
w5pJREMnYyhuSz+iZExMl+mOP1Q3T0NEbf6r6q+C6iid7kSuVQ6YddAQlFrneZcW
wlzFkrzHuUFQ0wLmx+MhY6H8cTPhhqK4tUOj8nlUq9uhGOVZhUtvjgKVUrrwEEja
6dnQsci+xw7Gzz4ZXIlT73251jJc6LYcvUWXa/r8HLUPf4L5zaBEnvn4kZwAsQAe
fcnsxVbsxnVmhm/lHdOLaJx75GLXBskiOfgAV5PqC02PEaeLqnJFFDVF/8cJA5gO
Ov0ZyPvqa0QLpjAbhC/p
=uzaW
-END PGP SIGNATURE-

Changes since libreoffice-4-1-branch-point-15:
---
 0 files changed
---
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Changes to 'refs/tags/libreoffice-4.1.0.4'

2013-07-23 Thread Christian Lohmaier
Tag 'libreoffice-4.1.0.4' created by Christian Lohmaier 
lohmaier+libreoff...@googlemail.com at 2013-07-23 11:41 -0700

Tag libreoffice-4.1.0.4
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (GNU/Linux)

iQIcBAABAgAGBQJR7l3EAAoJEPQ0oe+v7q6jIkQQALSIgJVV5YeMlxItbVkAksR5
rqd+xPEqRlcQ8fKqtu/M8KogsUhUKy3ApWMeB1xgit+dh8Bm36rQYEk+PONwCZHg
20Y+5SNAVJAYRmueFUK7YUIm93TOChNh7aIIld/N31WF82iDiIv8LyTnGYHi4yO5
+1fnd4SVKSkZMxyBBSHsUCk6NnBLQp2/oHAKftczvxmm0EZIoQYKJKvxlTBQIisg
Up7nCx7M3ZUR66sR4N5I28uCDwtzFemN6jxMmq7GFba6Gli3aWXTRMAMk2ntn9pJ
PLn6/C9Mtz4UGu906w1V52+CjLyZy8niR9sERSGoCegb1KcZp7WSegGybe9R39cB
9K1GYMgSmlt12j5Gat1SoWq1Yi64kL5FAjd5inJKyM3b6H+4on2QzvG+t/B87WOY
lYtPz7z0fW4c8hVgDH+BO4gjV5lTsNUM8ZjRKTc+HhZu/OAZc8ZYXoRuCtennmCh
B55CiniR1kxu35XuRzVG/rcmRdJZdSby9n7BZEiVQKMUgAuHCWTDfN0+UwsZ/xJn
P3i7bTq5Kw/16XYbjNveES6x5RXg0JcFtB5SGjBR8/hS9ZpBnhPygokeuqFHMw/2
UyAmVKzhDaA/HVZ1sU/fBOOR9Bl8A4lpIaCw8ps64ZORh8O2SkhrVAyqGeT8I8Rt
w9/eTGCCDloiFHit2juI
=o/9F
-END PGP SIGNATURE-

Changes since libreoffice-4.1.0.1-246:
---
 0 files changed
---
___
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-23 Thread Christian Lohmaier
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 07d528294e6559a631ad994f8e20095067516d98
Author: Christian Lohmaier lohmaier+libreoff...@googlemail.com
Date:   Tue Jul 23 12:43:18 2013 +0200

bump product version to 4.1.0.4.0+

Change-Id: Icb96aaaf1b95c1d5f456348f04c2718c3ef3c75b

diff --git a/configure.ac b/configure.ac
index 2fa4abf..5df4ac8 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.3.0+],[],[],[http://documentfoundation.org/])
+AC_INIT([LibreOffice],[4.1.0.4.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


Re: Merging Calc's label range functionality with named range.

2013-07-23 Thread Eike Rathke
Hi Kohei,

On Thursday, 2013-07-18 08:25:45 -0400, Kohei Yoshida wrote:

 * The actual label name displayed is taken from a cell's content,
formula expressions using a label automatically change their display
label names whenever that cell content is changed.
* This is not possible with named ranges.
 Sure. But is this *that* important to users?  To me the whole label
 range implementation is such a duplicate functionality for very
 little marginal difference, and I'm not really sure if that
 difference even matters.

For those who use it it probably is important ... anyhow, this is even
part of ODFF, so we somehow should support it. What is debatable is the
automatic label lookup that IMHO should be deprecated and the default
configuration setting be disabled.


 * One label names exactly one row or one column, expressions or
multi-column/row ranges are not possible.
* The named expressions dialog could restrict that though.
 
 I don't see how that restriction could be useful.  You can define
 one column / one row only named ranges (or database ranges for that
 matter).  Is there a use case where having this restriction is
 useful in real life?

It is needed for the intersection of row and column labels, that works
only with vectors, e.g.  ='Sales' 'Hamburg'


 * The label name can include spaces and other arbitrary characters that
in a formula expression would have special meanings, using such a name
in an expression is possible by enclosing the entire label name in
single quotes. A label name can even be a string that otherwise would
be a cell reference.
 Yes.  And the fact that this can be a string is actually very scary
 to me.  This potentially makes tracking references very difficult
 without sacrificing performance.  Dropping it would enable us to
 optimize it further.

The performance bottleneck is the automatic label thing where the
sheet's content is searched for a string; searching just a few defined
label ranges (if any) doesn't make much difference compared to named
ranges.


* A named range currently has to consist of alphanumeric+underscore
  characters and can't resemble a cell reference.
* ODFF does provide means to store usage of such non-simple names
  though with $$SingleQuoted but we need to implement that in the
  formula compiler (anyway), see
  
  http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#__RefHeading__1017964_715980110
 
 Furthermore we probably could use exactly the Label functionality for
 the GSoC Enhanced Database Ranges Table feature when it comes to
 in-Table formula expressions adressing the Table's rows or columns.
 Actually it would be necessary to support identical label names for
 different Tables (ranges) within one sheet, again this is not possible
 with named ranges.
 
 I'd rather we extend the database range code to support these
 missing bits rather than piggybacking on top of the label range
 code.  I don't see it as a reason why we need to keep label range.

I meant the special Excel cell formula syntax for formulas in cells of
a Table that address rows/columns/intersections of the Table by their
header names. That is very similar to defined labels
compiler/interpreter-wise. Of course it doesn't matter where we actually
stick the defined label in, having them as part of the database range
probably is best because we usually can derive it from the top-row of
the database range (don't know currently if Excel allows more than one
row for those Table labels, they did a very awkward thing with their
labels back then).

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack


pgpn4l6eo23Y3.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2013-07-23 Thread David Tardon
 include/sal/types.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68c8dcec1f8689191e1be3366ec3c127096ae4d4
Author: David Tardon dtar...@redhat.com
Date:   Tue Jul 23 13:36:51 2013 +0200

WaE: HAVE_GCC_ATTRIBUTE_WARN_UNUSED is not defined

Change-Id: Id45e2a5c31471b4f5a59c4511bbacc12f78356f6

diff --git a/include/sal/types.h b/include/sal/types.h
index 9ce2cef..7e3a0b6 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -555,7 +555,7 @@ template typename T1, typename T2  inline T1 
static_int_cast(T2 n) {
 
 */
 
-#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
+#if defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED
 #define SAL_WARN_UNUSED __attribute__((warn_unused))
 #elif defined __clang__
 #define SAL_WARN_UNUSED __attribute__((annotate(lo_warn_unused)))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[GSOC]Use Widget Layout for the Start Center Weekly Update 05

2013-07-23 Thread Krisztian Pinter
Hi all!

Since my last update I was working on the custom widget for thumbnails.
After updating my master, and recompiling, it came to light that I
introduced circular dependencies, which I've been trying to resolve ever
since.
I wanted to use the class ThumbnailView (
http://opengrok.libreoffice.org/xref/core/include/sfx2/thumbnailview.hxx)
in BackingWindow. ThumbnailView is in sfx2 and BackingWindow is in
framework. Sfx2 depends on framework, so I can't just simply include it.
Kendy told me to move the class. I tried putting it in vcl, since UI stuff
is in there, and both framework and sfx2 uses it, but ThumbnailView uses
stuff from drawinglayer, which depends on vcl, so that didn't work.
I thought about putting it in framework, but I'm not sure it'd logically
belong there. Also, I found the structure of framework somewhat confusing,
and it seems to me that the only submodule that exports things globally is
fwe, where ThumbnailView doesn't seem to belong either (and sorry if I'm
using any terms horribly wrong here).

I'd be really glad if someone would be kind enough to give some suggestions
about resolving this, because I'm stuck.

All the best,
Krisztian
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2013-07-23 Thread Tor Lillqvist
 include/sal/types.h |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2fbcff579b54cb1c3148fb1fb20c1c7d42857ec9
Author: Tor Lillqvist t...@iki.fi
Date:   Tue Jul 23 15:08:56 2013 +0300

Revert WaE: HAVE_GCC_ATTRIBUTE_WARN_UNUSED is not defined

Nope, that caused warning: unknown attribute 'warn_unused' ignored with 
Clang.

This reverts commit 68c8dcec1f8689191e1be3366ec3c127096ae4d4.

diff --git a/include/sal/types.h b/include/sal/types.h
index 7e3a0b6..9ce2cef 100644
--- a/include/sal/types.h
+++ b/include/sal/types.h
@@ -555,7 +555,7 @@ template typename T1, typename T2  inline T1 
static_int_cast(T2 n) {
 
 */
 
-#if defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED
+#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
 #define SAL_WARN_UNUSED __attribute__((warn_unused))
 #elif defined __clang__
 #define SAL_WARN_UNUSED __attribute__((annotate(lo_warn_unused)))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] update ids for move tab dialog .ui conversion

2013-07-23 Thread via Code Review
Hi,

I would like you to review the following patch:

https://gerrit.libreoffice.org/5047

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/help refs/changes/47/5047/1

update ids for move tab dialog .ui conversion

Change-Id: Ie0efc7dad30b37ce996b9de0e162e3ddbe024b06
---
M helpers/help_hid.lst
M source/text/scalc/01/0218.xhp
2 files changed, 6 insertions(+), 9 deletions(-)



diff --git a/helpers/help_hid.lst b/helpers/help_hid.lst
index cc6dc8e..e129ca0 100644
--- a/helpers/help_hid.lst
+++ b/helpers/help_hid.lst
@@ -6309,7 +6309,6 @@
 sc_CheckBox_RID_SCDLG_INSCONT_BTN_LINK,1493435427,
 sc_CheckBox_RID_SCDLG_INSCONT_BTN_SKIP_EMPTY,1493435425,
 sc_CheckBox_RID_SCDLG_INSCONT_BTN_TRANSPOSE,1493435426,
-sc_CheckBox_RID_SCDLG_MOVETAB_BTN_COPY,1493451781,
 sc_CheckBox_RID_SCDLG_NEWSCENARIO_CB_ATTRIB,1493845017,
 sc_CheckBox_RID_SCDLG_NEWSCENARIO_CB_COPYALL,1493845019,
 sc_CheckBox_RID_SCDLG_NEWSCENARIO_CB_PRINTFRAME,1493845015,
@@ -6431,8 +6430,6 @@
 sc_ListBox_RID_SCDLG_DPSUBTOTAL_OPT_LB_SORT_BY,1495404037,
 sc_ListBox_RID_SCDLG_IMPORTOPT_DDLB_FONT,1494175241,
 sc_ListBox_RID_SCDLG_IMPORTOPT_LB_FONT,1494175242,
-sc_ListBox_RID_SCDLG_MOVETAB_LB_DEST,1493454338,
-sc_ListBox_RID_SCDLG_MOVETAB_LB_INSERT,1493454340,
 sc_ListBox_RID_SCDLG_NEWSCENARIO_LB_COLOR,1493847574,
 sc_ListBox_RID_SCDLG_PIVOTFILTER_LB_COND1,1493749277,
 sc_ListBox_RID_SCDLG_PIVOTFILTER_LB_COND2,1493749278,
diff --git a/source/text/scalc/01/0218.xhp 
b/source/text/scalc/01/0218.xhp
index d3d0547..dd4a82f 100644
--- a/source/text/scalc/01/0218.xhp
+++ b/source/text/scalc/01/0218.xhp
@@ -45,14 +45,14 @@
   embed href=text/scalc/00/0402.xhp#btaverko/
 /section
 paragraph role=warning id=par_id2282479 xml-lang=en-US l10n=NEWWhen 
you copy and paste cells containing link 
href=text/scalc/01/04060102.xhpdate values/link between different 
spreadsheets, both spreadsheet documents must be set to the same date base. If 
date bases differ, the displayed date values will change!/paragraph
-bookmark xml-lang=en-US branch=hid/sc:ListBox:RID_SCDLG_MOVETAB:LB_DEST 
id=bm_id3146119 localize=false/
+bookmark xml-lang=en-US branch=hid/modules/scalc/ui/movetabdialog/doc 
id=bm_id3146119 localize=false/
 paragraph role=heading id=hd_id3163710 xml-lang=en-US level=2 
l10n=U oldref=3To Document/paragraph
-paragraph role=paragraph id=par_id3148645 xml-lang=en-US l10n=U 
oldref=4ahelp hid=SC:LISTBOX:RID_SCDLG_MOVETAB:LB_DESTIndicates where 
the current sheet is to be moved or copied to./ahelp Select emph- new 
document -/emph if you want to create a new location for the sheet to be 
moved or copied./paragraph
-bookmark xml-lang=en-US branch=hid/sc:ListBox:RID_SCDLG_MOVETAB:LB_INSERT 
id=bm_id3147350 localize=false/
+paragraph role=paragraph id=par_id3148645 xml-lang=en-US l10n=U 
oldref=4ahelp hid=modules/scalc/ui/movetabdialog/docIndicates where the 
current sheet is to be moved or copied to./ahelp Select emph- new document 
-/emph if you want to create a new location for the sheet to be moved or 
copied./paragraph
+bookmark xml-lang=en-US branch=hid/modules/scalc/ui/movetabdialog/table 
id=bm_id3147350 localize=false/
 paragraph role=heading id=hd_id3154012 xml-lang=en-US level=2 
l10n=U oldref=5Insert Before/paragraph
-paragraph role=paragraph id=par_id3145366 xml-lang=en-US l10n=U 
oldref=6ahelp hid=SC:LISTBOX:RID_SCDLG_MOVETAB:LB_INSERTThe current 
sheet is moved or copied in front of the selected sheet./ahelp The emph- 
move to end position -/emph option places the current sheet at the 
end./paragraph
-bookmark xml-lang=en-US branch=hid/sc:CheckBox:RID_SCDLG_MOVETAB:BTN_COPY 
id=bm_id3156283 localize=false/
+paragraph role=paragraph id=par_id3145366 xml-lang=en-US l10n=U 
oldref=6ahelp hid=modules/scalc/ui/movetabdialog/tableThe current sheet 
is moved or copied in front of the selected sheet./ahelp The emph- move to 
end position -/emph option places the current sheet at the end./paragraph
+bookmark xml-lang=en-US branch=hid/modules/scalc/ui/movetabdialog/copy 
id=bm_id3156283 localize=false/
 paragraph role=heading id=hd_id3153726 xml-lang=en-US level=2 
l10n=U oldref=7Copy/paragraph
-paragraph role=paragraph id=par_id3144764 xml-lang=en-US l10n=U 
oldref=8ahelp hid=SC:CHECKBOX:RID_SCDLG_MOVETAB:BTN_COPYSpecifies that 
the sheet is to be copied. If the option is unmarked, the sheet is 
moved./ahelp Moving sheets is the default./paragraph
+paragraph role=paragraph id=par_id3144764 xml-lang=en-US l10n=U 
oldref=8ahelp hid=modules/scalc/ui/movetabdialog/copySpecifies that the 
sheet is to be copied. If the option is unmarked, the sheet is moved./ahelp 
Moving sheets is the default./paragraph
 /body
 /helpdocument

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0efc7dad30b37ce996b9de0e162e3ddbe024b06
Gerrit-PatchSet: 1
Gerrit-Project: help
Gerrit-Branch: master
Gerrit-Owner: Tamás Csikós 

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

2013-07-23 Thread Noel Grandin
 include/sfx2/sfxuno.hxx |5 -
 sfx2/source/bastyp/mieclip.cxx  |2 +-
 sfx2/source/bastyp/sfxhtml.cxx  |2 +-
 sfx2/source/control/shell.cxx   |2 +-
 sw/source/core/unocore/unodraw.cxx  |2 +-
 sw/source/core/unocore/unoframe.cxx |2 +-
 sw/source/core/unocore/unotext.cxx  |2 +-
 sw/source/ui/utlui/unotools.cxx |9 -
 8 files changed, 14 insertions(+), 12 deletions(-)

New commits:
commit d8fa15f0ea3bbf38f5142f83121b7c72c483c7f5
Author: Noel Grandin n...@peralex.com
Date:   Tue Jul 23 14:55:38 2013 +0200

fdo#67213 - crash on opening AutoText dialog (Ctrl+F3)

I created this bug with commit
32eaa77db33b3b1f5793e92167b9f8c2708ea543
fdo#46808, Convert frame::FrameControl service to new style

If we cannot create a css::frame::FrameControl service, just continue.

Change-Id: Iffd6952fd5153af5a1ab72af2bc55864816a750d

diff --git a/sw/source/ui/utlui/unotools.cxx b/sw/source/ui/utlui/unotools.cxx
index 62fadcc..64d97c9 100644
--- a/sw/source/ui/utlui/unotools.cxx
+++ b/sw/source/ui/utlui/unotools.cxx
@@ -112,7 +112,14 @@ void SwOneExampleFrame::CreateControl()
 uno::Reference lang::XMultiServiceFactory 
 xMgr = 
comphelper::getProcessServiceFactory();
 uno::Reference uno::XComponentContext  xContext = 
comphelper::getProcessComponentContext();
-m_xFrameControl = frame::FrameControl::create(xContext);
+try
+{
+m_xFrameControl = frame::FrameControl::create(xContext);
+}
+catch ( css::uno::DeploymentException )
+{
+return;
+}
 
 uno::Reference awt::XWindowPeer   xParent( 
aTopWindow.GetComponentInterface() );
 
commit 312f3aac56b410021bdf3db70d36b7fe88b3744f
Author: Noel Grandin n...@peralex.com
Date:   Tue Jul 23 14:32:10 2013 +0200

expand out the U2S and S2U macros from sfxuno.hxx

They are vestiges of the old string classes.

Change-Id: I5dd458bd2dac5f2e867ddaa731190f159b8a3b65

diff --git a/include/sfx2/sfxuno.hxx b/include/sfx2/sfxuno.hxx
index 3dee2ba..cab9200 100644
--- a/include/sfx2/sfxuno.hxx
+++ b/include/sfx2/sfxuno.hxx
@@ -66,11 +66,6 @@ bool GetEncryptionData_Impl( const SfxItemSet* pSet, 
css::uno::Sequence css::be
 
 #define FrameSearchFlagssal_Int32
 
-// Macros to convert string - unicode and unicode - string.
-// We use UTF8 everytime. Its the best way to do this!
-#define S2U(STRING) OStringToOUString(STRING, 
RTL_TEXTENCODING_UTF8)
-#define U2S(STRING) OUStringToOString(STRING, 
RTL_TEXTENCODING_UTF8)
-
 
//
 //  macros for declaration and definition of uno-services
 
//
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index 71776fd..45404d8 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -60,7 +60,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream rStream )
 else if (sTmp.equalsL(RTL_CONSTASCII_STRINGPARAM(EndFragment)))
 nFragEnd = sLine.copy(nIndex).toInt32();
 else if (sTmp.equalsL(RTL_CONSTASCII_STRINGPARAM(SourceURL)))
-sBaseURL = S2U(sLine.copy(nIndex));
+sBaseURL = OStringToOUString( sLine.copy(nIndex), 
RTL_TEXTENCODING_UTF8 );
 
 if (nEnd = 0  nStt = 0 
 (sBaseURL.Len() || rStream.Tell() = 
static_castsal_Size(nStt)))
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index bbbd5de..e45fcc1 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -255,7 +255,7 @@ sal_Bool SfxHTMLParser::FinishFileDownload( String rStr )
 
 aStream.Seek( 0 );
 OString sBuffer = read_uInt8s_ToOString(aStream, nLen);
-rStr = S2U(sBuffer);
+rStr = OStringToOUString( sBuffer, RTL_TEXTENCODING_UTF8 );
 }
 
 delete pDLMedium;
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index 5542998..4f8b945 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -992,7 +992,7 @@ void SfxShell::SetVerbs(const com::sun::star::uno::Sequence 
 com::sun::star::em
 pNewSlot-fnExec = SFX_STUB_PTR(SfxShell,VerbExec);
 pNewSlot-fnState = SFX_STUB_PTR(SfxShell,VerbState);
 pNewSlot-pType = 0; // HACK(SFX_TYPE(SfxVoidItem)) ???
-pNewSlot-pName = U2S(aVerbs[n].VerbName).getStr();
+pNewSlot-pName = OUStringToOString( aVerbs[n].VerbName, 
RTL_TEXTENCODING_UTF8 ).getStr();
 pNewSlot-pLinkedSlot = 0;
 pNewSlot-nArgDefCount = 0;
 pNewSlot-pFirstArgDef = 0;
diff --git a/sw/source/core/unocore/unodraw.cxx 
b/sw/source/core/unocore/unodraw.cxx
index 

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

2013-07-23 Thread Efe Gürkan YALAMAN
Rebased ref, commits from common ancestor:
commit e48c4f22d018037868e8aee4790d8ae6e7aa6162
Author: Efe Gürkan YALAMAN efeyala...@gmail.com
Date:   Tue Jul 23 16:28:39 2013 +0300

Reset method implementation.

Change-Id: I34fb54feb636eb9b3f61062969855f9d80140c08

diff --git a/cui/source/options/optaboutconfig.cxx 
b/cui/source/options/optaboutconfig.cxx
index 48036df..b7072c3 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -14,8 +14,8 @@
 #include comphelper/processfactory.hxx
 #include com/sun/star/configuration/theDefaultProvider.hpp
 #include com/sun/star/lang/XMultiServiceFactory.hpp
-#include com/sun/star/container/XNameAccess.hpp
 #include com/sun/star/beans/NamedValue.hpp
+#include com/sun/star/beans/Property.hpp
 #include com/sun/star/container/XNameAccess.hpp
 #include com/sun/star/container/XHierarchicalNameAccess.hpp
 
@@ -83,14 +83,20 @@ void CuiAboutConfigTabPage::InsertEntry( OUString rProp, 
OUString  rStatus, OU
 pPrefBox-Insert( pEntry );
 }
 
+void CuiAboutConfigTabPage::Reset( const SfxItemSet )
+{
+   pPrefBox-Clear();
+
+   Reference XNameAccess  xConfigAccess = getConfigAccess();
+
+   FillItems( xConfigAccess, OUString(org.openoffice) );
+}
 
 void CuiAboutConfigTabPage::FillItems( Reference XNameAccess xNameAccess, 
OUString sPath)
 {
 sal_Bool bIsLeafNode;
 
-//Reference XNameAccess  xNextNameAccess;
 Reference XHierarchicalNameAccess  xHierarchicalNameAccess( xNameAccess, 
uno::UNO_QUERY_THROW );
-//Reference XHierarchicalNameAccess  xNextHierarchicalNameAccess;
 
 uno::Sequence OUString  seqItems = xNameAccess-getElementNames();
 for( sal_Int16 i = 0; i  seqItems.getLength(); ++i )
@@ -115,6 +121,8 @@ void CuiAboutConfigTabPage::FillItems( Reference 
XNameAccess xNameAccess, OUSt
 if( bIsLeafNode )
 {
 //InsertEntry( sPath, , , );
+//Reference beans::Property  aProperty = 
xHierarchicalNameAccess-getAsProperty();//getPropertyValue( seqItems[ i ] );
+//InsertEntry( sPath + OUString(/) + seqItems[ i ], 
OUString(), OUString(), xNameAccess-getPropertyValue( seqItems[ i ] ) );
 }
 }
 }
diff --git a/cui/source/options/optaboutconfig.hxx 
b/cui/source/options/optaboutconfig.hxx
index 2982378..343f0c9 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -35,6 +35,7 @@ public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet rItemset );
 
void InsertEntry(OUString rProp, OUString  rStatus, OUString rType, 
OUString rValue);
+   void Reset( const SfxItemSet );
void FillItems( com::sun::star::uno::Reference  
com::sun::star::container::XNameAccess  xNameAccess, OUString sPath);
com::sun::star::uno::Reference com::sun::star::container::XNameAccess  
getConfigAccess();
 
commit 5bb3a60925b6b49811a225120f09b575234d5d15
Author: Efe Gürkan YALAMAN efeyala...@gmail.com
Date:   Mon Jul 22 23:09:28 2013 +0300

FillItems implemened

This method will be used for traversing configuration tree.

Change-Id: Iefd8a21d1cb27496c87502755834c31b1a35ba44

diff --git a/cui/source/options/optaboutconfig.cxx 
b/cui/source/options/optaboutconfig.cxx
index 09805c0..48036df 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -16,10 +16,14 @@
 #include com/sun/star/lang/XMultiServiceFactory.hpp
 #include com/sun/star/container/XNameAccess.hpp
 #include com/sun/star/beans/NamedValue.hpp
+#include com/sun/star/container/XNameAccess.hpp
+#include com/sun/star/container/XHierarchicalNameAccess.hpp
 
 
 using namespace svx;
 using namespace ::com::sun::star;
+using namespace com::sun::star::uno;
+using namespace com::sun::star::container;
 
 #define ITEMID_PREF 1
 #define ITEMID_TYPE 2
@@ -79,12 +83,43 @@ void CuiAboutConfigTabPage::InsertEntry( OUString rProp, 
OUString  rStatus, OU
 pPrefBox-Insert( pEntry );
 }
 
-sal_Bool CuiAboutConfigTabPage::FillItems()
+
+void CuiAboutConfigTabPage::FillItems( Reference XNameAccess xNameAccess, 
OUString sPath)
 {
-return sal_False;
+sal_Bool bIsLeafNode;
+
+//Reference XNameAccess  xNextNameAccess;
+Reference XHierarchicalNameAccess  xHierarchicalNameAccess( xNameAccess, 
uno::UNO_QUERY_THROW );
+//Reference XHierarchicalNameAccess  xNextHierarchicalNameAccess;
+
+uno::Sequence OUString  seqItems = xNameAccess-getElementNames();
+for( sal_Int16 i = 0; i  seqItems.getLength(); ++i )
+{
+Any aNode = xHierarchicalNameAccess-getByHierarchicalName( 
seqItems[i] );
+Reference XHierarchicalNameAccess xNextHierarchicalNameAccess( 
aNode, uno::UNO_QUERY_THROW );
+Reference XNameAccess  xNextNameAccess( xNextHierarchicalNameAccess, 
uno::UNO_QUERY_THROW );
+
+bIsLeafNode = sal_True;
+
+try
+{
+uno::Sequence  OUString   seqNext = 
xNextNameAccess-getElementNames();
+

[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source

2013-07-23 Thread Kohei Yoshida
 sc/source/core/data/column3.cxx |1 -
 sc/source/core/data/table2.cxx  |1 -
 sc/source/core/tool/consoli.cxx |   16 ++--
 3 files changed, 6 insertions(+), 12 deletions(-)

New commits:
commit 3346bbca14734129ddd1900570b1c28afcc553db
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 09:50:10 2013 -0400

More on removing use of CalcRelFromAbs().

Some of them were called for all absolute references, which is not
necessary.

Change-Id: If19ee74731f40ca208e1cc1804c6b6e53073d891

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 83592fe..1e0ec16 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -920,7 +920,6 @@ void ScColumn::CopyFromClip(
 aRef.nRow = nDestRow - nDy; // Source row
 aDestPos.SetRow( nDestRow );
 
-aRef.CalcRelFromAbs( aDestPos );
 ScTokenArray aArr;
 aArr.AddSingleReference( aRef );
 SetFormulaCell(nDestRow, new ScFormulaCell(pDocument, aDestPos, 
aArr));
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index f54912b..96839f1 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -975,7 +975,6 @@ void ScTable::TransposeClip( SCCOL nCol1, SCROW nRow1, 
SCCOL nCol2, SCROW nRow2,
 aRef.nTab = nTab;
 aRef.InitFlags();   // - all absolute
 aRef.SetFlag3D(true);
-aRef.CalcRelFromAbs( aDestPos );
 ScTokenArray aArr;
 aArr.AddSingleReference( aRef );
 
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 5f05383..f7795ca 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -708,8 +708,8 @@ void ScConsData::OutputToDocument( ScDocument* pDestDoc, 
SCCOL nCol, SCROW nRow,
 String aString;
 
 ScSingleRefData aSRef;  // Daten fuer Referenz-Formelzellen
-aSRef.InitFlags();
-aSRef.SetFlag3D(sal_True);
+aSRef.InitFlags(); // This reference is absolute at all times.
+aSRef.SetFlag3D(true);
 
 ScComplexRefData aCRef; // Daten fuer Summen-Zellen
 aCRef.InitFlags();
@@ -741,9 +741,7 @@ void ScConsData::OutputToDocument( ScDocument* pDestDoc, 
SCCOL nCol, SCROW nRow,
 {
 //  Referenz einfuegen (absolut, 3d)
 
-aSRef.nCol = aRef.nCol;
-aSRef.nRow = aRef.nRow;
-aSRef.nTab = aRef.nTab;
+
aSRef.SetAddress(ScAddress(aRef.nCol,aRef.nRow,aRef.nTab), ScAddress());
 
 ScTokenArray aRefArr;
 aRefArr.AddSingleReference(aSRef);
@@ -760,11 +758,9 @@ void ScConsData::OutputToDocument( ScDocument* pDestDoc, 
SCCOL nCol, SCROW nRow,
 ScAddress aDest( 
sal::static_int_castSCCOL(nCol+nArrX),
  
sal::static_int_castSCROW(nRow+nArrY+nNeeded), nTab );
 
-aCRef.Ref1.nTab = aCRef.Ref2.nTab = nTab;
-aCRef.Ref1.nCol = aCRef.Ref2.nCol = 
sal::static_int_castSCsCOL( nCol+nArrX );
-aCRef.Ref1.nRow = nRow+nArrY;
-aCRef.Ref2.nRow = nRow+nArrY+nNeeded-1;
-aCRef.CalcRelFromAbs( aDest );
+ScRange 
aRange(sal::static_int_castSCCOL(nCol+nArrX), nRow+nArrY, nTab);
+aRange.aEnd.SetRow(nRow+nArrY+nNeeded-1);
+aCRef.SetRange(aRange, aDest);
 
 ScTokenArray aArr;
 aArr.AddOpCode(eOpCode);// 
ausgewaehlte Funktion
___
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/source

2013-07-23 Thread Alex Ivan
 sw/source/core/docnode/ndtbl.cxx |   21 +++--
 1 file changed, 7 insertions(+), 14 deletions(-)

New commits:
commit 338f4d7f21180a997fdd045669fb0c09f2e3
Author: Alex Ivan alexni...@yahoo.com
Date:   Tue Jul 23 17:00:46 2013 +0300

Fix hard format/table style separation issue

Fixed the failed unit test brought by the previous
patch which attempted to correctly separate the hard
format from the table style in table insertion and
text to table methods.

Change-Id: I5eb7ddf074c8c8aaf2b2ec58aa7a94db8792a309

diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index eaa15ac..cefcef2 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -329,8 +329,8 @@ const SwTable* SwDoc::InsertTable( const 
SwInsertTableOptions rInsTblOpts,
 
 // Create the Box/Line/Table construct
 SwTableLineFmt* pLineFmt = MakeTableLineFmt();
-SwTableFmt* pTableFmt = pTAFmt ? pTAFmt-GetTableStyle()
-: MakeTblFrmFmt( aTblName, GetDfltFrmFmt() );
+SwTableFmt* pTableStyle = pTAFmt ? pTAFmt-GetTableStyle() : NULL;
+SwTableFmt* pTableFmt = MakeTblFrmFmt( aTblName, pTableStyle );
 
 /* If the node to insert the table at is a context node and has a
non-default FRAMEDIR propagate it to the table. */
@@ -350,10 +350,6 @@ const SwTable* SwDoc::InsertTable( const 
SwInsertTableOptions rInsTblOpts,
 pTableFmt-SetFmtAttr( SwFmtHoriOrient( 0, eAdjust ) );
 // All lines use the left-to-right Fill-Order!
 pLineFmt-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT ) );
-pTableFmt-GetFirstLineFmt()-SetFmtAttr( SwFmtFillOrder( 
ATT_LEFT_TO_RIGHT ) );
-pTableFmt-GetOddLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
) );
-pTableFmt-GetEvenLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
) );
-pTableFmt-GetLastLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
) );
 
 // Set USHRT_MAX as the Table's default SSize
 SwTwips nWidth = USHRT_MAX;
@@ -404,7 +400,7 @@ const SwTable* SwDoc::InsertTable( const 
SwInsertTableOptions rInsTblOpts,
 ::lcl_SetDfltBorders( pTableFmt );
 
 SwTable * pNdTbl = pTblNd-GetTable();
-pNdTbl-GetTableFmt()-RegisterToFormat( *pTableFmt );
+pNdTbl-RegisterToFormat( *pTableFmt );
 
 pNdTbl-SetRowsToRepeat( nRowsToRepeat );
 pNdTbl-SetTableModel( bNewModel );
@@ -603,15 +599,11 @@ const SwTable* SwDoc::TextToTable( const 
SwInsertTableOptions rInsTblOpts,
 // Create the Box/Line/Table construct
 SwTableBoxFmt* pBoxFmt = MakeTableBoxFmt();
 SwTableLineFmt* pLineFmt = MakeTableLineFmt();
-SwTableFmt* pTableFmt = pTAFmt ? pTAFmt-GetTableStyle()
-: MakeTblFrmFmt( GetUniqueTblName(), GetDfltFrmFmt() );
+SwTableFmt* pTableStyle = pTAFmt ? pTAFmt-GetTableStyle() : NULL;
+SwTableFmt* pTableFmt = MakeTblFrmFmt( GetUniqueTblName(), pTableStyle );
 
 // All Lines have a left-to-right Fill Order
 pLineFmt-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT ));
-pTableFmt-GetFirstLineFmt()-SetFmtAttr( SwFmtFillOrder( 
ATT_LEFT_TO_RIGHT ));
-pTableFmt-GetOddLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
));
-pTableFmt-GetEvenLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
));
-pTableFmt-GetLastLineFmt()-SetFmtAttr( SwFmtFillOrder( ATT_LEFT_TO_RIGHT 
));
 // The Table's SSize is USHRT_MAX
 pTableFmt-SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, USHRT_MAX ));
 if( !(rInsTblOpts.mnInsMode  tabopts::SPLIT_LAYOUT) )
@@ -658,7 +650,8 @@ const SwTable* SwDoc::TextToTable( const 
SwInsertTableOptions rInsTblOpts,
 
 // Set Orientation in the Table's Fmt
 pTableFmt-SetFmtAttr( SwFmtHoriOrient( 0, eAdjust ) );
-pNdTbl-GetTableFmt()-RegisterToFormat( *pTableFmt );
+
+pNdTbl-RegisterToFormat( *pTableFmt );
 
 if( rInsTblOpts.mnInsMode  tabopts::DEFAULT_BORDER )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: ios/experimental

2013-07-23 Thread Ptyl Dragon
 ios/experimental/LibreOffice/LibreOffice/lo.mm |   36 ++---
 1 file changed, 33 insertions(+), 3 deletions(-)

New commits:
commit 70e247733e762ed7b20645c8c843e78294b38f0f
Author: Ptyl Dragon p...@cloudon.com
Date:   Tue Jul 9 13:20:00 2013 +0300

Add more components

Change-Id: I30daf067fe9a1804a55be75c040db49dfbb18d92

diff --git a/ios/experimental/LibreOffice/LibreOffice/lo.mm 
b/ios/experimental/LibreOffice/LibreOffice/lo.mm
index 53c9921..167948c 100644
--- a/ios/experimental/LibreOffice/LibreOffice/lo.mm
+++ b/ios/experimental/LibreOffice/LibreOffice/lo.mm
@@ -19,11 +19,18 @@ extern C {
 extern void * analysis_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
 extern void * animcore_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
 extern void * avmedia_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
-extern void * dba_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * chartcore_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
+extern void * cui_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * date_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * dba_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * dbaxml_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * embobj_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * emboleobj_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
 extern void * evtatt_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * expwrap_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * fastsax_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * fileacc_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * filterconfig1_component_getFactory( const char * pImplName, 
void * pServiceManager, void * pRegistryKey );
 extern void * frm_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * fsstorage_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
 extern void * fwk_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
@@ -42,17 +49,25 @@ extern C {
 extern void * sdd_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * sm_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * smd_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * sot_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * spell_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * spl_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * svgfilter_component_getFactory( const char * pImplName, void 
* pServiceManager, void * pRegistryKey );
 extern void * svt_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * svx_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * svxcore_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * sw_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * swd_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * t602filter_component_getFactory( const char * pImplName, 
void * pServiceManager, void * pRegistryKey );
 extern void * textfd_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
-extern void * unoxml_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * tk_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
+extern void * ucppkg1_component_getFactory( const char * pImplName, void * 
pServiceManager, void * pRegistryKey );
 extern void * 

[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/inc sc/source

2013-07-23 Thread Kohei Yoshida
 sc/inc/refdata.hxx  |   36 +++-
 sc/source/core/tool/refdata.cxx |   32 
 2 files changed, 39 insertions(+), 29 deletions(-)

New commits:
commit d46a4ac204ff0d85f94d64d196c75e701d9187d0
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 11:16:46 2013 -0400

Make these non-inline.

Change-Id: I99cf45edfe584f69fb6465de84cdcff5842e37a6

diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 145da50..ccbc1c5 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -78,9 +78,9 @@ struct SC_DLLPUBLIC ScSingleRefData
 inline  void SetRelName( bool bVal ){ Flags.bRelName = (bVal ? true : 
false ); }
 inline  bool IsRelName() const  { return Flags.bRelName; }
 
-inline  bool Valid() const;
+bool Valid() const;
 /// In external references nTab is -1
-inline  bool ValidExternal() const;
+bool ValidExternal() const;
 
 ScAddress toAbs( const ScAddress rPos ) const;
 void SetAddress( const ScAddress rAddr, const ScAddress rPos );
@@ -96,20 +96,6 @@ struct SC_DLLPUBLIC ScSingleRefData
 #endif
 };
 
-inline bool ScSingleRefData::Valid() const
-{
-return  nCol = 0  nCol = MAXCOL 
-nRow = 0  nRow = MAXROW 
-nTab = 0  nTab = MAXTAB;
-}
-
-inline bool ScSingleRefData::ValidExternal() const
-{
-return  nCol = 0  nCol = MAXCOL 
-nRow = 0  nRow = MAXROW 
-nTab == -1;
-}
-
 /// Complex reference (a range) into the sheet
 struct ScComplexRefData
 {
@@ -134,13 +120,13 @@ struct ScComplexRefData
 Ref1.InitAddress( nCol1, nRow1, nTab1 );
 Ref2.InitAddress( nCol2, nRow2, nTab2 );
 }
-inline bool IsDeleted() const
-{ return Ref1.IsDeleted() || Ref2.IsDeleted(); }
-inline bool Valid() const
-{ return Ref1.Valid()  Ref2.Valid(); }
+
+bool IsDeleted() const;
+bool Valid() const;
+
 /** In external references nTab is -1 for the start tab and -1 for the end
 tab if one sheet, or =0 if more than one sheets. */
-inline  bool ValidExternal() const;
+bool ValidExternal() const;
 
 SC_DLLPUBLIC ScRange toAbs( const ScAddress rPos ) const;
 void SetRange( const ScRange rRange, const ScAddress rPos );
@@ -160,14 +146,6 @@ struct ScComplexRefData
 #endif
 };
 
-inline bool ScComplexRefData::ValidExternal() const
-{
-return Ref1.ValidExternal() 
-Ref2.nCol = 0  Ref2.nCol = MAXCOL 
-Ref2.nRow = 0  Ref2.nRow = MAXROW 
-Ref2.nTab = Ref1.nTab;
-}
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/tool/refdata.cxx b/sc/source/core/tool/refdata.cxx
index 3d49fa8..a804838 100644
--- a/sc/source/core/tool/refdata.cxx
+++ b/sc/source/core/tool/refdata.cxx
@@ -75,6 +75,20 @@ bool ScSingleRefData::IsDeleted() const
 return IsColDeleted() || IsRowDeleted() || IsTabDeleted();
 }
 
+bool ScSingleRefData::Valid() const
+{
+return  nCol = 0  nCol = MAXCOL 
+nRow = 0  nRow = MAXROW 
+nTab = 0  nTab = MAXTAB;
+}
+
+bool ScSingleRefData::ValidExternal() const
+{
+return  nCol = 0  nCol = MAXCOL 
+nRow = 0  nRow = MAXROW 
+nTab == -1;
+}
+
 ScAddress ScSingleRefData::toAbs( const ScAddress rPos ) const
 {
 SCCOL nRetCol = Flags.bColRel ? nRelCol + rPos.Col() : nCol;
@@ -292,6 +306,24 @@ ScComplexRefData ScComplexRefData::Extend( const 
ScComplexRefData  rRef, const
 return Extend( rRef.Ref1, rPos).Extend( rRef.Ref2, rPos);
 }
 
+bool ScComplexRefData::IsDeleted() const
+{
+return Ref1.IsDeleted() || Ref2.IsDeleted();
+}
+
+bool ScComplexRefData::Valid() const
+{
+return Ref1.Valid()  Ref2.Valid();
+}
+
+bool ScComplexRefData::ValidExternal() const
+{
+return Ref1.ValidExternal() 
+Ref2.nCol = 0  Ref2.nCol = MAXCOL 
+Ref2.nRow = 0  Ref2.nRow = MAXROW 
+Ref2.nTab = Ref1.nTab;
+}
+
 ScRange ScComplexRefData::toAbs( const ScAddress rPos ) const
 {
 return ScRange(Ref1.toAbs(rPos), Ref2.toAbs(rPos));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Eike Rathke
 sc/source/filter/xml/celltextparacontext.cxx |   84 +++
 sc/source/filter/xml/celltextparacontext.hxx |   23 +++
 sc/source/filter/xml/xmlimprt.cxx|   19 ++
 sc/source/filter/xml/xmlimprt.hxx|   14 
 4 files changed, 138 insertions(+), 2 deletions(-)

New commits:
commit be10607d358f7587f10e76084893ceed3a4c9215
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 23 17:17:18 2013 +0200

resolved fdo#67094 handle text:s in text:p and text:span

821521f757569c96ded6004bb2cb0d003481b55b introduced XML_SPAN but removed
handling of XML_S repeated U+0020, SPACE

Change-Id: Ic1b00c9dbc33c750b9a8cae910b4ca0bed42ab5a

diff --git a/sc/source/filter/xml/celltextparacontext.cxx 
b/sc/source/filter/xml/celltextparacontext.cxx
index fbbcf6f..f251f11 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -12,6 +12,7 @@
 #include xmlcelli.hxx
 
 #include xmloff/nmspmap.hxx
+#include comphelper/string.hxx
 
 #include com/sun/star/xml/sax/XAttributeList.hpp
 
@@ -53,6 +54,8 @@ SvXMLImportContext* 
ScXMLCellTextParaContext::CreateChildContext(
 const SvXMLTokenMap rTokenMap = 
GetScImport().GetCellTextParaElemTokenMap();
 switch (rTokenMap.Get(nPrefix, rLocalName))
 {
+case XML_TOK_CELL_TEXT_S:
+return new ScXMLCellFieldSContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SPAN:
 return new ScXMLCellTextSpanContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SHEET_NAME:
@@ -179,6 +182,12 @@ SvXMLImportContext* 
ScXMLCellTextSpanContext::CreateChildContext(
 p-SetStyleName(maStyleName);
 return p;
 }
+case XML_TOK_CELL_TEXT_SPAN_ELEM_S:
+{
+ScXMLCellFieldSContext* p = new 
ScXMLCellFieldSContext(GetScImport(), nPrefix, rLocalName, mrParentCxt);
+p-SetStyleName(maStyleName);
+return p;
+}
 default:
 ;
 }
@@ -338,4 +347,79 @@ SvXMLImportContext* 
ScXMLCellFieldURLContext::CreateChildContext(
 return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
 }
 
+ScXMLCellFieldSContext::ScXMLCellFieldSContext(
+ScXMLImport rImport, sal_uInt16 nPrefix, const OUString rLName, 
ScXMLCellTextParaContext rParent) :
+ScXMLImportContext(rImport, nPrefix, rLName),
+mrParentCxt(rParent),
+mnCount(1)
+{
+}
+
+void ScXMLCellFieldSContext::SetStyleName(const OUString rStyleName)
+{
+maStyleName = rStyleName;
+}
+
+void ScXMLCellFieldSContext::StartElement(const 
uno::Referencexml::sax::XAttributeList xAttrList)
+{
+if (!xAttrList.is())
+return;
+
+OUString aLocalName;
+sal_Int16 nAttrCount = xAttrList-getLength();
+
+const SvXMLTokenMap rTokenMap = GetScImport().GetCellTextSAttrTokenMap();
+for (sal_Int16 i = 0; i  nAttrCount; ++i)
+{
+sal_uInt16 nAttrPrefix = 
GetImport().GetNamespaceMap().GetKeyByAttrName(
+xAttrList-getNameByIndex(i), aLocalName);
+
+const OUString rAttrValue = xAttrList-getValueByIndex(i);
+sal_uInt16 nToken = rTokenMap.Get(nAttrPrefix, aLocalName);
+switch (nToken)
+{
+case XML_TOK_CELL_TEXT_S_ATTR_C:
+mnCount = rAttrValue.toInt32();
+if (mnCount = 0)
+mnCount = 1; // worth a warning?
+break;
+default:
+;
+}
+}
+}
+
+void ScXMLCellFieldSContext::EndElement()
+{
+if (mnCount)
+PushSpaces();
+}
+
+SvXMLImportContext* ScXMLCellFieldSContext::CreateChildContext(
+sal_uInt16 nPrefix, const OUString rLocalName, const 
uno::Referencexml::sax::XAttributeList /*xAttrList*/)
+{
+// text:s does not have child elements, but ...
+if (mnCount)
+{
+PushSpaces();
+}
+
+return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
+}
+
+void ScXMLCellFieldSContext::PushSpaces()
+{
+if (mnCount  0)
+{
+if (mnCount == 1)
+mrParentCxt.PushSpan( , maStyleName);
+else
+{
+OUStringBuffer aBuf( mnCount);
+comphelper::string::padToLength( aBuf, mnCount, ' ');
+mrParentCxt.PushSpan( aBuf.makeStringAndClear(), maStyleName);
+}
+}
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/celltextparacontext.hxx 
b/sc/source/filter/xml/celltextparacontext.hxx
index 10e5a23..68adaae 100644
--- a/sc/source/filter/xml/celltextparacontext.hxx
+++ b/sc/source/filter/xml/celltextparacontext.hxx
@@ -134,6 +134,27 @@ public:
 sal_uInt16 nPrefix, const OUString rLocalName, const 
com::sun::star::uno::Referencecom::sun::star::xml::sax::XAttributeList 
xAttrList);
 };
 
+/**
+ * This context handles text:s element inside text:p or text:span.
+ */
+class ScXMLCellFieldSContext : public 

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

2013-07-23 Thread Cédric Bosdonnat
 sw/source/ui/table/tautofmt.cxx |   63 ++--
 1 file changed, 36 insertions(+), 27 deletions(-)

New commits:
commit 09cd784b800e448e7e8ad2b0d499a01236c978ea
Author: Cédric Bosdonnat cedric.bosdonnat@free.fr
Date:   Tue Jul 23 17:53:36 2013 +0200

More protection for pCurData: NULL means default, not much to do then

Change-Id: Ied3a04a7b7be4f4f7b6174e3d6d2a6e53848afd0

diff --git a/sw/source/ui/table/tautofmt.cxx b/sw/source/ui/table/tautofmt.cxx
index c0f2bc9..bdb2478 100644
--- a/sw/source/ui/table/tautofmt.cxx
+++ b/sw/source/ui/table/tautofmt.cxx
@@ -89,7 +89,7 @@ private:
 voidPaintCells  ();
 
 sal_uInt8GetFormatIndex( size_t nCol, size_t nRow ) const;
-const SvxBoxItem   GetBoxItem( size_t nCol, size_t nRow ) const;
+const SvxBoxItem*   GetBoxItem( size_t nCol, size_t nRow ) const;
 
 voidDrawString( size_t nCol, size_t nRow );
 voidDrawStrings();
@@ -584,21 +584,23 @@ rCTLFont.MethodName( Value );
 
 void AutoFmtPreview::MakeFonts( sal_uInt8 nIndex, Font rFont, Font rCJKFont, 
Font rCTLFont )
 {
-const SwTableBoxFmt rBoxFmt = *pCurData-GetBoxFmt( nIndex );
-
 rFont = rCJKFont = rCTLFont = GetFont();
 Size aFontSize( rFont.GetSize().Width(), 10 );
 
-lcl_SetFontProperties( rFont, rBoxFmt.GetFont(), rBoxFmt.GetWeight(), 
rBoxFmt.GetPosture() );
-lcl_SetFontProperties( rCJKFont, rBoxFmt.GetCJKFont(), 
rBoxFmt.GetCJKWeight(), rBoxFmt.GetCJKPosture() );
-lcl_SetFontProperties( rCTLFont, rBoxFmt.GetCTLFont(), 
rBoxFmt.GetCTLWeight(), rBoxFmt.GetCTLPosture() );
-
-SETONALLFONTS( SetUnderline,
(FontUnderline)rBoxFmt.GetUnderline().GetValue() );
-SETONALLFONTS( SetOverline, 
(FontUnderline)rBoxFmt.GetOverline().GetValue() );
-SETONALLFONTS( SetStrikeout,
(FontStrikeout)rBoxFmt.GetCrossedOut().GetValue() );
-SETONALLFONTS( SetOutline,  rBoxFmt.GetContour().GetValue() );
-SETONALLFONTS( SetShadow,   rBoxFmt.GetShadowed().GetValue() );
-SETONALLFONTS( SetColor,rBoxFmt.GetColor().GetValue() );
+if ( pCurData )
+{
+const SwTableBoxFmt rBoxFmt = *pCurData-GetBoxFmt( nIndex );
+lcl_SetFontProperties( rFont, rBoxFmt.GetFont(), rBoxFmt.GetWeight(), 
rBoxFmt.GetPosture() );
+lcl_SetFontProperties( rCJKFont, rBoxFmt.GetCJKFont(), 
rBoxFmt.GetCJKWeight(), rBoxFmt.GetCJKPosture() );
+lcl_SetFontProperties( rCTLFont, rBoxFmt.GetCTLFont(), 
rBoxFmt.GetCTLWeight(), rBoxFmt.GetCTLPosture() );
+
+SETONALLFONTS( SetUnderline,
(FontUnderline)rBoxFmt.GetUnderline().GetValue() );
+SETONALLFONTS( SetOverline, 
(FontUnderline)rBoxFmt.GetOverline().GetValue() );
+SETONALLFONTS( SetStrikeout,
(FontStrikeout)rBoxFmt.GetCrossedOut().GetValue() );
+SETONALLFONTS( SetOutline,  rBoxFmt.GetContour().GetValue() );
+SETONALLFONTS( SetShadow,   rBoxFmt.GetShadowed().GetValue() );
+SETONALLFONTS( SetColor,rBoxFmt.GetColor().GetValue() );
+}
 SETONALLFONTS( SetSize, aFontSize );
 SETONALLFONTS( SetTransparent,  sal_True );
 }
@@ -616,9 +618,12 @@ sal_uInt8 AutoFmtPreview::GetFormatIndex( size_t nCol, 
size_t nRow ) const
 return pnFmtMap[ maArray.GetCellIndex( nCol, nRow, mbRTL ) ];
 }
 
-const SvxBoxItem AutoFmtPreview::GetBoxItem( size_t nCol, size_t nRow ) const
+const SvxBoxItem* AutoFmtPreview::GetBoxItem( size_t nCol, size_t nRow ) const
 {
-return pCurData-GetBoxFmt( GetFormatIndex( nCol, nRow ) )-GetBox();
+if ( pCurData )
+return pCurData-GetBoxFmt( GetFormatIndex( nCol, nRow ) )-GetBox();
+else
+return NULL;
 }
 
 void AutoFmtPreview::DrawString( size_t nCol, size_t nRow )
@@ -664,7 +669,7 @@ void AutoFmtPreview::DrawString( size_t nCol, size_t nRow )
 case 23:nVal = 39; nNum = 13;   goto MAKENUMSTR;
 case 24:nVal = 108; nNum = 15;  goto MAKENUMSTR;
 MAKENUMSTR:
-if( pCurData-IsValueFormat() )
+if( pCurData  pCurData-IsValueFormat() )
 {
 String sFmt; LanguageType eLng, eSys;
 pCurData-GetBoxFmt( (sal_uInt8)nNum )-GetValueFormat( sFmt, 
eLng, eSys );
@@ -693,7 +698,7 @@ MAKENUMSTR:
 
 Size theMaxStrSize( cellRect.GetWidth() - FRAME_OFFSET,
 cellRect.GetHeight() - FRAME_OFFSET );
-if( pCurData-IsFont() )
+if( pCurData  pCurData-IsFont() )
 {
 Font aFont, aCJKFont, aCTLFont;
 MakeFonts( nFmtIndex, aFont, aCJKFont, aCTLFont );
@@ -705,7 +710,7 @@ MAKENUMSTR:
 aScriptedText.SetText( cellString, m_xBreak );
 aStrSize = aScriptedText.GetTextSize();
 
-if( pCurData-IsFont() 
+if( pCurData  pCurData-IsFont() 
 theMaxStrSize.Height()  aStrSize.Height() )
 {
 // If the string in this font does not
@@ -733,7 +738,7 @@ MAKENUMSTR:

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

2013-07-23 Thread Eike Rathke
 sc/source/filter/xml/celltextparacontext.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1de20e764ed64beed83bb455b6bdbc9fbebed0a3
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 23 17:56:42 2013 +0200

unset mnCount in ScXMLCellFieldSContext::CreateChildContext()

For the syntactically invalid (because text:s does not have child
elements and thus unlikely) case that there would be a child element
nevertheless, so we wouldn't import the sequence of spaces multiple
times.

Change-Id: I2b2288aee21f200c9fd2ba961974ef4de074f57e

diff --git a/sc/source/filter/xml/celltextparacontext.cxx 
b/sc/source/filter/xml/celltextparacontext.cxx
index f251f11..b8740f0 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -402,6 +402,7 @@ SvXMLImportContext* 
ScXMLCellFieldSContext::CreateChildContext(
 if (mnCount)
 {
 PushSpaces();
+mnCount = 0;
 }
 
 return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Stephan Bergmann
 unotools/source/config/configitem.cxx |   22 +-
 1 file changed, 5 insertions(+), 17 deletions(-)

New commits:
commit 7f67dd5dfae59a492a88fb2569ee5600add1ecde
Author: Stephan Bergmann sberg...@redhat.com
Date:   Tue Jul 23 19:00:33 2013 +0200

OSL_FAIL - SAL_WARN

Change-Id: If0c4dce547184ca48f221793daf33e4592912cb2

diff --git a/unotools/source/config/configitem.cxx 
b/unotools/source/config/configitem.cxx
index 228fc5d..3403140 100644
--- a/unotools/source/config/configitem.cxx
+++ b/unotools/source/config/configitem.cxx
@@ -487,23 +487,11 @@ Sequence Any  ConfigItem::GetProperties(const Sequence 
OUString  rNames)
 }
 catch (const Exception rEx)
 {
-#if OSL_DEBUG_LEVEL  0
-OString sMsg(XHierarchicalNameAccess: );
-sMsg += OString(rEx.Message.getStr(),
-rEx.Message.getLength(),
- RTL_TEXTENCODING_ASCII_US);
-sMsg += OString(\n/org.openoffice.);
-sMsg += OString(sSubTree.getStr(),
-sSubTree.getLength(),
- RTL_TEXTENCODING_ASCII_US);
-sMsg += OString(/);
-sMsg += OString(pNames[i].getStr(),
-pNames[i].getLength(),
- RTL_TEXTENCODING_ASCII_US);
-OSL_FAIL(sMsg.getStr());
-#else
-(void) rEx; // avoid warning
-#endif
+SAL_WARN(
+unotools.config,
+ignoring XHierarchicalNameAccess to /org.openoffice.
+ sSubTree  /  pNames[i]   Exception: 
+ rEx.Message);
 }
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - reportbuilder/java reportdesign/source

2013-07-23 Thread Lionel Elie Mamane
 reportbuilder/java/libformula.properties   
  |4 
 
reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
|   57 ++
 
reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java
 |4 
 
reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
 |2 
 reportdesign/source/core/sdr/RptObject.cxx 
  |2 
 reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
  |2 
 6 files changed, 24 insertions(+), 47 deletions(-)

New commits:
commit c4ed35820178c6c990311e8fb48ea91b39c05988
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 23 19:24:54 2013 +0200

a date is a date, not a float

Change-Id: Id9beab6a9cd9b7fa15ce0699b6eeb8a1e32448fe

diff --git 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
index d4c86c6..eca94e6 100644
--- 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
+++ 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
@@ -84,9 +84,9 @@ public class FormatValueUtility
 }
 else if (value instanceof Date)
 {
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, float);
-ret = HSSFDateUtil.getExcelDate((Date) value).toString();
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, 
ret);
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, date);
+ret = formatDate((Date) value);
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, ret);
 }
 else if (value instanceof Number)
 {
commit cab9b82fb31217223511afcea88ad7446999492b
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 23 19:14:04 2013 +0200

fdo#67186 switch reporbuilder to null date == 1899-12-30

This brings it in line with the default for other LibreOffice
components (e.g. Calc), or with the only supported value (e.g. Writer
tables), respectively.

Configure Pentaho jfreereport to also take null date == 1899-12-30

This combined allows reportbuilder to make absolutely no fiddly
conversion itself, leaving them to jfreereport and Writer table
cell format.

Also:

 - Make absolutely no conversion itself, also e.g. for booleans.

 - ODF compliance: make the value-type match the set foo-value attribute.

 - Use value-type=void instead of empty value-type=string

Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee

diff --git a/reportbuilder/java/libformula.properties 
b/reportbuilder/java/libformula.properties
index f903736..79022b6 100644
--- a/reportbuilder/java/libformula.properties
+++ b/reportbuilder/java/libformula.properties
@@ -19,8 +19,8 @@
 
 ##
 # Any configuration will happen here.
-org.pentaho.reporting.libraries.formula.datesystem.StartYear=1930
-org.pentaho.reporting.libraries.formula.datesystem.ExcelHack=false
+org.pentaho.reporting.libraries.formula.ZeroDate=1899
+org.pentaho.reporting.libraries.formula.ExcelDateBugAware=false
 
 #
 # A list of all known functions.
diff --git 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
index 4c1b8dd..d4c86c6 100644
--- 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
+++ 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
@@ -85,7 +85,7 @@ public class FormatValueUtility
 else if (value instanceof Date)
 {
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, float);
-ret = HSSFDateUtil.getExcelDate((Date) value, false, 2).toString();
+ret = HSSFDateUtil.getExcelDate((Date) value).toString();
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, 
ret);
 }
 else if (value instanceof Number)
@@ -112,8 +112,7 @@ public class FormatValueUtility
 }
 else
 {
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, string);
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
STRING_VALUE, );
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, void);
 }
 return ret;
 }
@@ -122,61 +121,39 @@ public class FormatValueUtility
 {
 if (value instanceof Time)
 {
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, 

Re: [Libreoffice-commits] core.git: #i121577# Allow setting toolbar name in Addons.xcu

2013-07-23 Thread Ariel Constenla-Haile
Hi Stephan,

On Tue, Jul 23, 2013 at 07:09:36PM +0200, Stephan Bergmann wrote:
 Do we really want the below commits introduce an incompatible change
 in LO 4.2?

This change should only be applied on a major release - if ever (in
retrospective, I wouldn't even commit this code, but not because I don't
think it is an improvement...); in context:
http://markmail.org/message/jpn4e3no4jgv3n4d
http://markmail.org/message/fhsepy2a56yhubi2

 On 06/24/2013 12:58 PM, Ariel Constenla-Haile wrote:


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpKd4CYN57xU.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Bug 60270] LibreOffice 4.1 most annoying bugs

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

Mihkel Tõnnov mihh...@gmail.com changed:

   What|Removed |Added

 Depends on||61544

--- Comment #54 from Mihkel Tõnnov mihh...@gmail.com ---
Adding bug 61544 - Some fields don't fit into Options dialog

Several duplicates (so it must be annoying to several people), leaves parts of
options dialog inaccessible.

-- 
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: 2 commits - sw/source

2013-07-23 Thread Zolnai Tamás
 sw/source/core/text/itrcrsr.cxx |   11 ++-
 sw/source/core/text/txtdrop.cxx |3 +++
 2 files changed, 9 insertions(+), 5 deletions(-)

New commits:
commit 1f47b46959267a25195d4f3f5602ca638bb14c58
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Tue Jul 23 13:14:53 2013 +0200

Fix drop caps background

Background were shifted upwards with the descent
of the character and so the default grey background
hanged out under the user added background.
Examples: A (no descent), S (small descent)
Q (big descent)

Change-Id: I044fc63cf9988152e7b6aa4042bcf14651e097c0

diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx
index d61ca5c..d708cc67 100644
--- a/sw/source/core/text/txtdrop.cxx
+++ b/sw/source/core/text/txtdrop.cxx
@@ -281,9 +281,11 @@ void SwDropPortion::PaintTxt( const SwTxtPaintInfo rInf ) 
const
 
 const SwDropPortionPart* pCurrPart = GetPart();
 const xub_StrLen nOldLen = GetLen();
+const KSHORT nOldAscent = GetAscent();
 
 const SwTwips nBasePosY  = rInf.Y();
 ((SwTxtPaintInfo)rInf).Y( nBasePosY + nY );
+((SwDropPortion*)this)-SetAscent( nOldAscent + nY );
 SwDropSave aSave( rInf );
 // for text inside drop portions we let vcl handle the text directions
 SwLayoutModeModifier aLayoutModeModifier( *rInf.GetOut() );
@@ -304,6 +306,7 @@ void SwDropPortion::PaintTxt( const SwTxtPaintInfo rInf ) 
const
 
 ((SwTxtPaintInfo)rInf).Y( nBasePosY );
 ((SwDropPortion*)this)-SetLen( nOldLen );
+((SwDropPortion*)this)-SetAscent( nOldAscent );
 }
 
 /*
commit c8b4ffc2adcc744c0d7d5e68944439238828692b
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Tue Jul 23 11:18:38 2013 +0200

Check explicitily the space at the end of the line

Can be bugous when the last character not a space.
I don't have any real life examples, just some extreme
-Line break is inside a word without hyphenation
-A tabulator follow the last character of the line and so
this tabulator get to the next line.

Change-Id: I3c5d372295b960a5cc22c19ada382d0a995787cc

diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index a162a24..42ab844 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -1259,7 +1259,7 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, 
const Point rPoint,
 // If necessary, as catch up, do the adjustment
 GetAdjusted();
 
-const XubString rText = GetInfo().GetTxt();
+const OUString rText = GetInfo().GetTxt();
 xub_StrLen nOffset = 0;
 
 // x is the horizontal offset within the line.
@@ -1452,7 +1452,7 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, 
const Point rPoint,
 ( pPor-IsMarginPortion()  !pPor-GetPortion() 
   // 46598: Consider the situation: We might end up behind the 
last character,
   // in the last line of a centered paragraph
-  nCurrStart  rText.Len() ) )
+  nCurrStart  rText.getLength() ) )
 --nCurrStart;
 else if( pPor-InFldGrp()  ((SwFldPortion*)pPor)-IsFollow()
   nWidth  nX )
@@ -1523,7 +1523,9 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, 
const Point rPoint,
 }
 }
 
-if( bLastPortion  (pCurr-GetNext() || pFrm-GetFollow() ) )
+// Skip space at the end of the line
+if( bLastPortion  (pCurr-GetNext() || pFrm-GetFollow() )
+ rText[nCurrStart + nLength - 1] == ' ' )
 --nLength;
 
 if( nWidth  nX ||
@@ -1592,8 +1594,7 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, 
const Point rPoint,
 else
 nOldProp = 0;
 {
-OUString aText = rText;
-SwTxtSizeInfo aSizeInf( GetInfo(), aText, nCurrStart );
+SwTxtSizeInfo aSizeInf( GetInfo(), rText, nCurrStart );
 ((SwTxtCursor*)this)-SeekAndChg( aSizeInf );
 SwTxtSlot aDiffTxt( aSizeInf, ((SwTxtPortion*)pPor), false, 
false );
 SwFontSave aSave( aSizeInf, pPor-IsDropPortion() ?
___
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' - sc/source

2013-07-23 Thread Eike Rathke
 sc/source/filter/xml/celltextparacontext.cxx |   84 +++
 sc/source/filter/xml/celltextparacontext.hxx |   23 +++
 sc/source/filter/xml/xmlimprt.cxx|   19 ++
 sc/source/filter/xml/xmlimprt.hxx|   14 
 4 files changed, 138 insertions(+), 2 deletions(-)

New commits:
commit f9f768c3443a6194e6b46c4c6a7be1de712d54f6
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 23 17:17:18 2013 +0200

resolved fdo#67094 handle text:s in text:p and text:span

821521f757569c96ded6004bb2cb0d003481b55b introduced XML_SPAN but removed
handling of XML_S repeated U+0020, SPACE

Change-Id: Ic1b00c9dbc33c750b9a8cae910b4ca0bed42ab5a
(cherry picked from commit be10607d358f7587f10e76084893ceed3a4c9215)
Reviewed-on: https://gerrit.libreoffice.org/5051
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/sc/source/filter/xml/celltextparacontext.cxx 
b/sc/source/filter/xml/celltextparacontext.cxx
index fbbcf6f..f251f11 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -12,6 +12,7 @@
 #include xmlcelli.hxx
 
 #include xmloff/nmspmap.hxx
+#include comphelper/string.hxx
 
 #include com/sun/star/xml/sax/XAttributeList.hpp
 
@@ -53,6 +54,8 @@ SvXMLImportContext* 
ScXMLCellTextParaContext::CreateChildContext(
 const SvXMLTokenMap rTokenMap = 
GetScImport().GetCellTextParaElemTokenMap();
 switch (rTokenMap.Get(nPrefix, rLocalName))
 {
+case XML_TOK_CELL_TEXT_S:
+return new ScXMLCellFieldSContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SPAN:
 return new ScXMLCellTextSpanContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SHEET_NAME:
@@ -179,6 +182,12 @@ SvXMLImportContext* 
ScXMLCellTextSpanContext::CreateChildContext(
 p-SetStyleName(maStyleName);
 return p;
 }
+case XML_TOK_CELL_TEXT_SPAN_ELEM_S:
+{
+ScXMLCellFieldSContext* p = new 
ScXMLCellFieldSContext(GetScImport(), nPrefix, rLocalName, mrParentCxt);
+p-SetStyleName(maStyleName);
+return p;
+}
 default:
 ;
 }
@@ -338,4 +347,79 @@ SvXMLImportContext* 
ScXMLCellFieldURLContext::CreateChildContext(
 return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
 }
 
+ScXMLCellFieldSContext::ScXMLCellFieldSContext(
+ScXMLImport rImport, sal_uInt16 nPrefix, const OUString rLName, 
ScXMLCellTextParaContext rParent) :
+ScXMLImportContext(rImport, nPrefix, rLName),
+mrParentCxt(rParent),
+mnCount(1)
+{
+}
+
+void ScXMLCellFieldSContext::SetStyleName(const OUString rStyleName)
+{
+maStyleName = rStyleName;
+}
+
+void ScXMLCellFieldSContext::StartElement(const 
uno::Referencexml::sax::XAttributeList xAttrList)
+{
+if (!xAttrList.is())
+return;
+
+OUString aLocalName;
+sal_Int16 nAttrCount = xAttrList-getLength();
+
+const SvXMLTokenMap rTokenMap = GetScImport().GetCellTextSAttrTokenMap();
+for (sal_Int16 i = 0; i  nAttrCount; ++i)
+{
+sal_uInt16 nAttrPrefix = 
GetImport().GetNamespaceMap().GetKeyByAttrName(
+xAttrList-getNameByIndex(i), aLocalName);
+
+const OUString rAttrValue = xAttrList-getValueByIndex(i);
+sal_uInt16 nToken = rTokenMap.Get(nAttrPrefix, aLocalName);
+switch (nToken)
+{
+case XML_TOK_CELL_TEXT_S_ATTR_C:
+mnCount = rAttrValue.toInt32();
+if (mnCount = 0)
+mnCount = 1; // worth a warning?
+break;
+default:
+;
+}
+}
+}
+
+void ScXMLCellFieldSContext::EndElement()
+{
+if (mnCount)
+PushSpaces();
+}
+
+SvXMLImportContext* ScXMLCellFieldSContext::CreateChildContext(
+sal_uInt16 nPrefix, const OUString rLocalName, const 
uno::Referencexml::sax::XAttributeList /*xAttrList*/)
+{
+// text:s does not have child elements, but ...
+if (mnCount)
+{
+PushSpaces();
+}
+
+return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
+}
+
+void ScXMLCellFieldSContext::PushSpaces()
+{
+if (mnCount  0)
+{
+if (mnCount == 1)
+mrParentCxt.PushSpan( , maStyleName);
+else
+{
+OUStringBuffer aBuf( mnCount);
+comphelper::string::padToLength( aBuf, mnCount, ' ');
+mrParentCxt.PushSpan( aBuf.makeStringAndClear(), maStyleName);
+}
+}
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/celltextparacontext.hxx 
b/sc/source/filter/xml/celltextparacontext.hxx
index 10e5a23..68adaae 100644
--- a/sc/source/filter/xml/celltextparacontext.hxx
+++ b/sc/source/filter/xml/celltextparacontext.hxx
@@ -134,6 +134,27 @@ public:
 sal_uInt16 nPrefix, 

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

2013-07-23 Thread Miklos Vajna
 sw/qa/extras/rtfimport/data/fdo64637.rtf   |   13 +
 sw/qa/extras/rtfimport/rtfimport.cxx   |   10 ++
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |9 +++--
 3 files changed, 30 insertions(+), 2 deletions(-)

New commits:
commit 58a285d8d504c5ae952d314238dbbaa873b51db7
Author: Miklos Vajna vmik...@suse.cz
Date:   Tue Jul 23 12:01:47 2013 +0200

fdo#64637 RTF import: handle multiple RTF_COMPANY

Instead of unconditionally calling addProperty(), first check the
existence with hasPropertyByName() and call setPropertyValue() instead,
if necessary.

(cherry picked from commit bb67e709b70919efb41ec41e93dd92953dc6a003)

Change-Id: Ie0a075bbfe6eaa1f66726c456105dcdef9001d30
Reviewed-on: https://gerrit.libreoffice.org/5049
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/sw/qa/extras/rtfimport/data/fdo64637.rtf 
b/sw/qa/extras/rtfimport/data/fdo64637.rtf
new file mode 100644
index 000..9bec690
--- /dev/null
+++ b/sw/qa/extras/rtfimport/data/fdo64637.rtf
@@ -0,0 +1,13 @@
+{\rtf1
+{\info
+{\upr
+{\company aaa}
+{\*\ud
+{\company
+bbb
+}
+}
+}
+}
+foo
+}
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx 
b/sw/qa/extras/rtfimport/rtfimport.cxx
index 58353bf..9a6974f 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -146,6 +146,7 @@ public:
 void testFdo39001();
 void testFdo66565();
 void testFdo54900();
+void testFdo64637();
 
 CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
@@ -279,6 +280,7 @@ void Test::run()
 {fdo39001.rtf, Test::testFdo39001},
 {fdo66565.rtf, Test::testFdo66565},
 {fdo54900.rtf, Test::testFdo54900},
+{fdo64637.rtf, Test::testFdo64637},
 };
 header();
 for (unsigned int i = 0; i  SAL_N_ELEMENTS(aMethods); ++i)
@@ -1343,6 +1345,14 @@ void Test::testFdo54900()
 CPPUNIT_ASSERT_EQUAL(style::ParagraphAdjust_CENTER, 
static_caststyle::ParagraphAdjust(getPropertysal_Int16(getParagraphOfText(1,
 xCell-getText()), ParaAdjust)));
 }
 
+void Test::testFdo64637()
+{
+// The problem was that the custom Company property was added twice, the 
second invocation resulted in an exception.
+uno::Referencedocument::XDocumentPropertiesSupplier 
xDocumentPropertiesSupplier(mxComponent, uno::UNO_QUERY);
+uno::Referencebeans::XPropertySet 
xPropertySet(xDocumentPropertiesSupplier-getDocumentProperties()-getUserDefinedProperties(),
 uno::UNO_QUERY);
+CPPUNIT_ASSERT_EQUAL(OUString(bbb), getPropertyOUString(xPropertySet, 
Company));
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 5e93fc2..769191b 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -4006,11 +4006,16 @@ int RTFDocumentImpl::popState()
 case DESTINATION_COMPANY:
 {
 OUString aName = aState.nDestinationState == 
DESTINATION_OPERATOR ? OUString(Operator) : OUString(Company);
+uno::Any aValue = 
uno::makeAny(m_aStates.top().aDestinationText.makeStringAndClear());
 if (m_xDocumentProperties.is())
 {
 uno::Referencebeans::XPropertyContainer 
xUserDefinedProperties = m_xDocumentProperties-getUserDefinedProperties();
-xUserDefinedProperties-addProperty(aName, 
beans::PropertyAttribute::REMOVABLE,
-
uno::makeAny(m_aStates.top().aDestinationText.makeStringAndClear()));
+uno::Referencebeans::XPropertySet 
xPropertySet(xUserDefinedProperties, uno::UNO_QUERY);
+uno::Referencebeans::XPropertySetInfo xPropertySetInfo = 
xPropertySet-getPropertySetInfo();
+if (xPropertySetInfo-hasPropertyByName(aName))
+xPropertySet-setPropertyValue(aName, aValue);
+else
+xUserDefinedProperties-addProperty(aName, 
beans::PropertyAttribute::REMOVABLE, aValue);
 }
 }
 break;
___
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' - vcl/inc vcl/source

2013-07-23 Thread Caolán McNamara
 vcl/inc/svdata.hxx  |   22 ++
 vcl/source/app/svdata.cxx   |9 +
 vcl/source/app/svmain.cxx   |3 +++
 vcl/source/gdi/bitmapex.cxx |   42 ++
 4 files changed, 52 insertions(+), 24 deletions(-)

New commits:
commit 2331a7a2a748a94546c702a80e8916f548e30176
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Jun 20 10:01:10 2013 +0100

move static bitmap into a svapp member

so it won't crash on exit when its dtor uses stuff destroyed by deinitvcl
already.

also fix comparisons, i.e. presumably
aLastColorTopLeft == aLastColorTopLeft etc
should have been aLastColorTopLeft == aColorTopLeft

Change-Id: I1f3dc47504c5add113b3a8bcadf010ca3b9f4c31
(cherry picked from commit a3694b1b32cb0677019962a5908fe775c83ed5a6)
Reviewed-on: https://gerrit.libreoffice.org/5048
Reviewed-by: Miklos Vajna vmik...@suse.cz
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com

diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index 86b0d7a9..a929165 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -284,6 +284,26 @@ struct ImplSVNWFData
 boolmbDDListBoxNoTextArea:1;
 };
 
+struct BlendFrameCache
+{
+Size m_aLastSize;
+sal_uInt8 m_nLastAlpha;
+Color m_aLastColorTopLeft;
+Color m_aLastColorTopRight;
+Color m_aLastColorBottomRight;
+Color m_aLastColorBottomLeft;
+BitmapEx m_aLastResult;
+
+BlendFrameCache()
+: m_aLastSize(0, 0)
+, m_nLastAlpha(0)
+, m_aLastColorTopLeft(COL_BLACK)
+, m_aLastColorTopRight(COL_BLACK)
+, m_aLastColorBottomRight(COL_BLACK)
+, m_aLastColorBottomLeft(COL_BLACK)
+{
+}
+};
 
 struct ImplSVData
 {
@@ -312,6 +332,7 @@ struct ImplSVData
 UnoWrapperBase* mpUnoWrapper;
 Window* mpIntroWindow;  // the splash screen
 DockingManager* mpDockingManager;
+BlendFrameCache*mpBlendFrameCache;
 sal_BoolmbIsTestTool;
 
 oslThreadIdentifier mnMainThreadId;
@@ -330,6 +351,7 @@ Window* ImplGetDefaultWindow();
 VCL_PLUGIN_PUBLIC ResMgr* ImplGetResMgr();
 VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if 
no res mgr
 DockingManager* ImplGetDockingManager();
+BlendFrameCache*ImplGetBlendFrameCache();
 voidImplWindowAutoMnemonic( Window* pWindow );
 
 voidImplUpdateSystemProcessWindow();
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index feec982..2a7bc93 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -256,6 +256,15 @@ DockingManager* ImplGetDockingManager()
 return pSVData-mpDockingManager;
 }
 
+BlendFrameCache* ImplGetBlendFrameCache()
+{
+ImplSVData* pSVData = ImplGetSVData();
+if ( !pSVData-mpBlendFrameCache)
+pSVData-mpBlendFrameCache= new BlendFrameCache();
+
+return pSVData-mpBlendFrameCache;
+}
+
 class AccessBridgeCurrentContext: public cppu::WeakImplHelper1 
com::sun::star::uno::XCurrentContext 
 {
 public:
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 21a351b..9104be9 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -540,6 +540,9 @@ void DeInitVCL()
 if ( pSVData-maAppData.mpFirstEventHook )
 ImplFreeEventHookData();
 
+if (pSVData-mpBlendFrameCache)
+delete pSVData-mpBlendFrameCache, pSVData-mpBlendFrameCache = NULL;
+
 ImplDeletePrnQueueList();
 delete pSVData-maGDIData.mpScreenFontList;
 pSVData-maGDIData.mpScreenFontList = NULL;
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 1266043..094b7c7 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -959,31 +959,25 @@ BitmapEx VCL_DLLPUBLIC createBlendFrame(
 Color aColorBottomRight,
 Color aColorBottomLeft)
 {
-static Size aLastSize(0, 0);
-static sal_uInt8 nLastAlpha(0);
-static Color aLastColorTopLeft(COL_BLACK);
-static Color aLastColorTopRight(COL_BLACK);
-static Color aLastColorBottomRight(COL_BLACK);
-static Color aLastColorBottomLeft(COL_BLACK);
-static BitmapEx aLastResult;
-
-if(aLastSize == rSize
- nLastAlpha == nAlpha
- aLastColorTopLeft == aLastColorTopLeft
- aLastColorTopRight == aLastColorTopRight
- aLastColorBottomRight == aLastColorBottomRight
- aLastColorBottomLeft == aLastColorBottomLeft)
+BlendFrameCache* pBlendFrameCache = ImplGetBlendFrameCache();
+
+if(pBlendFrameCache-m_aLastSize == rSize
+ pBlendFrameCache-m_nLastAlpha == nAlpha
+ pBlendFrameCache-m_aLastColorTopLeft == aColorTopLeft
+ pBlendFrameCache-m_aLastColorTopRight == aColorTopRight
+ pBlendFrameCache-m_aLastColorBottomRight == 

[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - e3/e2cffab73c3acb48e79ce148807cb9528014a3

2013-07-23 Thread Caolán McNamara
 e3/e2cffab73c3acb48e79ce148807cb9528014a3 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit c728c3a966c02dce0584ff99a98f8b9ee31fe394
Author: Caolán McNamara caol...@redhat.com
Date:   Tue Jul 23 21:05:12 2013 +0100

Notes added by 'git notes add'

diff --git a/e3/e2cffab73c3acb48e79ce148807cb9528014a3 
b/e3/e2cffab73c3acb48e79ce148807cb9528014a3
new file mode 100644
index 000..9fd34f2
--- /dev/null
+++ b/e3/e2cffab73c3acb48e79ce148807cb9528014a3
@@ -0,0 +1 @@
+reject: regression from 551fe0714a688ef563d4ab67e1fb55a23698b8f2
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/inc sc/source

2013-07-23 Thread Kohei Yoshida
 sc/inc/column.hxx|1 
 sc/inc/table.hxx |   20 ++-
 sc/source/core/data/column.cxx   |   30 ++-
 sc/source/core/data/document.cxx |   50 ++-
 sc/source/core/data/table2.cxx   |7 +
 5 files changed, 94 insertions(+), 14 deletions(-)

New commits:
commit fd340291c4ef579ee42850f9b7842d6afe98877d
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 16:02:37 2013 -0400

Broadcast on formula cells containing COLUMN functions on column insertion.

To ensure that the change gets propagated properly. This fixes
testFuncCOLUMN() cppunit test.

Change-Id: Ia1ffc2880b7dae530ceb11c617c3963f7bfaeb00

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 00b2a63..5ef6cce 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -431,6 +431,7 @@ public:
 voidStartAllListeners();
 voidStartNeededListeners(); // only for cells where 
NeedsListening()==true
 voidSetRelNameDirty();
+void BroadcastRecalcOnRefMove();
 
 voidCompileDBFormula();
 voidCompileDBFormula( bool bCreateFormulaString );
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 0e4305a..00cc7e5 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -862,6 +862,24 @@ public:
 
 void SetFormulaResults( SCCOL nCol, SCROW nRow, const double* pResults, 
size_t nLen );
 
+/**
+ * Have formula cells with NeedsListening() == true start listening to the
+ * document.
+ */
+void StartNeededListeners();
+
+/**
+ * Mark dirty those formula cells that has named ranges with relative
+ * references.
+ */
+void SetRelNameDirty();
+
+/**
+ * Broadcast dirty formula cells that contain functions such as CELL(),
+ * COLUMN() or ROW() which may change its value on move.
+ */
+void BroadcastRecalcOnRefMove();
+
 #if DEBUG_COLUMN_STORAGE
 void DumpFormulaGroups( SCCOL nCol ) const;
 #endif
@@ -968,8 +986,6 @@ private:
 void StartListening( sc::StartListeningContext rCxt, SCCOL nCol, SCROW 
nRow, SvtListener rListener );
 void EndListening( sc::EndListeningContext rCxt, SCCOL nCol, SCROW nRow, 
SvtListener rListener );
 voidStartAllListeners();
-voidStartNeededListeners(); // only for cells where 
NeedsListening()==TRUE
-voidSetRelNameDirty();
 
 voidSetLoadingMedium(bool bLoading);
 
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 23a740f..da3cb49 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2144,6 +2144,7 @@ void resetColumnPosition(sc::CellStoreType rCells, SCCOL 
nCol)
 
 void ScColumn::SwapCol(ScColumn rCol)
 {
+maBroadcasters.swap(rCol.maBroadcasters);
 maCells.swap(rCol.maCells);
 maCellTextAttrs.swap(rCol.maCellTextAttrs);
 
@@ -2163,7 +2164,6 @@ void ScColumn::SwapCol(ScColumn rCol)
 
 CellStorageModified();
 rCol.CellStorageModified();
-
 }
 
 void ScColumn::MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn rCol)
@@ -3004,6 +3004,26 @@ void ScColumn::SetDirtyAfterLoad()
 sc::ProcessFormula(maCells, aFunc);
 }
 
+namespace {
+
+class RecalcOnRefMoveCollector
+{
+std::vectorSCROW maDirtyRows;
+public:
+void operator() (size_t nRow, ScFormulaCell* pCell)
+{
+if (pCell-GetDirty()  pCell-GetCode()-IsRecalcModeOnRefMove())
+maDirtyRows.push_back(nRow);
+}
+
+const std::vectorSCROW getDirtyRows() const
+{
+return maDirtyRows;
+}
+};
+
+}
+
 void ScColumn::SetRelNameDirty()
 {
 sc::AutoCalcSwitch aSwitch(*pDocument, false);
@@ -3011,6 +3031,14 @@ void ScColumn::SetRelNameDirty()
 sc::ProcessFormula(maCells, aFunc);
 }
 
+void ScColumn::BroadcastRecalcOnRefMove()
+{
+sc::AutoCalcSwitch aSwitch(*pDocument, false);
+RecalcOnRefMoveCollector aFunc;
+sc::ProcessFormula(maCells, aFunc);
+BroadcastCells(aFunc.getDirtyRows());
+}
+
 void ScColumn::CalcAll()
 {
 CalcAllHandler aFunc;
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index dfc17cf..9cba374 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1334,6 +1334,36 @@ bool ScDocument::CanInsertCol( const ScRange rRange ) 
const
 return bTest;
 }
 
+namespace {
+
+struct StartNeededListenersHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-StartNeededListeners();
+}
+};
+
+struct SetRelNameDirtyHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-SetRelNameDirty();
+}
+};
+
+struct BroadcastRecalcOnRefMoveHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-BroadcastRecalcOnRefMove();
+}
+};
+
+}
 
 bool ScDocument::InsertCol( SCROW 

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

2013-07-23 Thread Eike Rathke
 sc/source/filter/xml/celltextparacontext.cxx |   84 +++
 sc/source/filter/xml/celltextparacontext.hxx |   23 +++
 sc/source/filter/xml/xmlimprt.cxx|   19 ++
 sc/source/filter/xml/xmlimprt.hxx|   14 
 4 files changed, 138 insertions(+), 2 deletions(-)

New commits:
commit 3d1ab404feb742c59652b381c54af4ca624dca15
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 23 17:17:18 2013 +0200

resolved fdo#67094 handle text:s in text:p and text:span

821521f757569c96ded6004bb2cb0d003481b55b introduced XML_SPAN but removed
handling of XML_S repeated U+0020, SPACE

Change-Id: Ic1b00c9dbc33c750b9a8cae910b4ca0bed42ab5a
(cherry picked from commit be10607d358f7587f10e76084893ceed3a4c9215)
Reviewed-on: https://gerrit.libreoffice.org/5052
Reviewed-by: Petr Mladek pmla...@suse.cz
Tested-by: Petr Mladek pmla...@suse.cz
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Reviewed-by: Kohei Yoshida kohei.yosh...@suse.de
Tested-by: Kohei Yoshida kohei.yosh...@suse.de

diff --git a/sc/source/filter/xml/celltextparacontext.cxx 
b/sc/source/filter/xml/celltextparacontext.cxx
index fbbcf6f..f251f11 100644
--- a/sc/source/filter/xml/celltextparacontext.cxx
+++ b/sc/source/filter/xml/celltextparacontext.cxx
@@ -12,6 +12,7 @@
 #include xmlcelli.hxx
 
 #include xmloff/nmspmap.hxx
+#include comphelper/string.hxx
 
 #include com/sun/star/xml/sax/XAttributeList.hpp
 
@@ -53,6 +54,8 @@ SvXMLImportContext* 
ScXMLCellTextParaContext::CreateChildContext(
 const SvXMLTokenMap rTokenMap = 
GetScImport().GetCellTextParaElemTokenMap();
 switch (rTokenMap.Get(nPrefix, rLocalName))
 {
+case XML_TOK_CELL_TEXT_S:
+return new ScXMLCellFieldSContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SPAN:
 return new ScXMLCellTextSpanContext(GetScImport(), nPrefix, 
rLocalName, *this);
 case XML_TOK_CELL_TEXT_SHEET_NAME:
@@ -179,6 +182,12 @@ SvXMLImportContext* 
ScXMLCellTextSpanContext::CreateChildContext(
 p-SetStyleName(maStyleName);
 return p;
 }
+case XML_TOK_CELL_TEXT_SPAN_ELEM_S:
+{
+ScXMLCellFieldSContext* p = new 
ScXMLCellFieldSContext(GetScImport(), nPrefix, rLocalName, mrParentCxt);
+p-SetStyleName(maStyleName);
+return p;
+}
 default:
 ;
 }
@@ -338,4 +347,79 @@ SvXMLImportContext* 
ScXMLCellFieldURLContext::CreateChildContext(
 return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
 }
 
+ScXMLCellFieldSContext::ScXMLCellFieldSContext(
+ScXMLImport rImport, sal_uInt16 nPrefix, const OUString rLName, 
ScXMLCellTextParaContext rParent) :
+ScXMLImportContext(rImport, nPrefix, rLName),
+mrParentCxt(rParent),
+mnCount(1)
+{
+}
+
+void ScXMLCellFieldSContext::SetStyleName(const OUString rStyleName)
+{
+maStyleName = rStyleName;
+}
+
+void ScXMLCellFieldSContext::StartElement(const 
uno::Referencexml::sax::XAttributeList xAttrList)
+{
+if (!xAttrList.is())
+return;
+
+OUString aLocalName;
+sal_Int16 nAttrCount = xAttrList-getLength();
+
+const SvXMLTokenMap rTokenMap = GetScImport().GetCellTextSAttrTokenMap();
+for (sal_Int16 i = 0; i  nAttrCount; ++i)
+{
+sal_uInt16 nAttrPrefix = 
GetImport().GetNamespaceMap().GetKeyByAttrName(
+xAttrList-getNameByIndex(i), aLocalName);
+
+const OUString rAttrValue = xAttrList-getValueByIndex(i);
+sal_uInt16 nToken = rTokenMap.Get(nAttrPrefix, aLocalName);
+switch (nToken)
+{
+case XML_TOK_CELL_TEXT_S_ATTR_C:
+mnCount = rAttrValue.toInt32();
+if (mnCount = 0)
+mnCount = 1; // worth a warning?
+break;
+default:
+;
+}
+}
+}
+
+void ScXMLCellFieldSContext::EndElement()
+{
+if (mnCount)
+PushSpaces();
+}
+
+SvXMLImportContext* ScXMLCellFieldSContext::CreateChildContext(
+sal_uInt16 nPrefix, const OUString rLocalName, const 
uno::Referencexml::sax::XAttributeList /*xAttrList*/)
+{
+// text:s does not have child elements, but ...
+if (mnCount)
+{
+PushSpaces();
+}
+
+return new SvXMLImportContext(GetImport(), nPrefix, rLocalName);
+}
+
+void ScXMLCellFieldSContext::PushSpaces()
+{
+if (mnCount  0)
+{
+if (mnCount == 1)
+mrParentCxt.PushSpan( , maStyleName);
+else
+{
+OUStringBuffer aBuf( mnCount);
+comphelper::string::padToLength( aBuf, mnCount, ' ');
+mrParentCxt.PushSpan( aBuf.makeStringAndClear(), maStyleName);
+}
+}
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/filter/xml/celltextparacontext.hxx 
b/sc/source/filter/xml/celltextparacontext.hxx
index 10e5a23..68adaae 100644
--- 

[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - 2 commits - sc/qa sc/source

2013-07-23 Thread Kohei Yoshida
 sc/qa/unit/ucalc.hxx |2 +
 sc/qa/unit/ucalc_formula.cxx |   37 +
 sc/source/core/data/document.cxx |   67 ---
 3 files changed, 75 insertions(+), 31 deletions(-)

New commits:
commit d638ba896f4d52c06a5c452c6a56904a3c6429bb
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 16:49:35 2013 -0400

Broadcast on recalc-ref-on-move cells for the other 3 directions.

Change-Id: I7794bd51c5fedb6c6c75f6910b7743df96d156c3

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 9cba374..f32fcd5 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -1122,6 +1122,36 @@ bool ScDocument::CanInsertRow( const ScRange rRange ) 
const
 return bTest;
 }
 
+namespace {
+
+struct StartNeededListenersHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-StartNeededListeners();
+}
+};
+
+struct SetRelNameDirtyHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-SetRelNameDirty();
+}
+};
+
+struct BroadcastRecalcOnRefMoveHandler : std::unary_functionScTable*, void
+{
+void operator() (ScTable* p)
+{
+if (p)
+p-BroadcastRecalcOnRefMove();
+}
+};
+
+}
 
 bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
 SCCOL nEndCol,   SCTAB nEndTab,
@@ -1204,6 +1234,8 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB 
nStartTab,
 for (; it != maTabs.end(); ++it)
 if (*it)
 (*it)-SetRelNameDirty();
+
+std::for_each(maTabs.begin(), maTabs.end(), 
BroadcastRecalcOnRefMoveHandler());
 }
 bRet = true;
 }
@@ -1297,6 +1329,8 @@ void ScDocument::DeleteRow( SCCOL nStartCol, SCTAB 
nStartTab,
 for (; it != maTabs.end(); ++it)
 if (*it)
 (*it)-SetRelNameDirty();
+
+std::for_each(maTabs.begin(), maTabs.end(), 
BroadcastRecalcOnRefMoveHandler());
 }
 
 SetAutoCalc( bOldAutoCalc );
@@ -1334,37 +1368,6 @@ bool ScDocument::CanInsertCol( const ScRange rRange ) 
const
 return bTest;
 }
 
-namespace {
-
-struct StartNeededListenersHandler : std::unary_functionScTable*, void
-{
-void operator() (ScTable* p)
-{
-if (p)
-p-StartNeededListeners();
-}
-};
-
-struct SetRelNameDirtyHandler : std::unary_functionScTable*, void
-{
-void operator() (ScTable* p)
-{
-if (p)
-p-SetRelNameDirty();
-}
-};
-
-struct BroadcastRecalcOnRefMoveHandler : std::unary_functionScTable*, void
-{
-void operator() (ScTable* p)
-{
-if (p)
-p-BroadcastRecalcOnRefMove();
-}
-};
-
-}
-
 bool ScDocument::InsertCol( SCROW nStartRow, SCTAB nStartTab,
 SCROW nEndRow,   SCTAB nEndTab,
 SCCOL nStartCol, SCSIZE nSize, ScDocument* 
pRefUndoDoc,
@@ -1524,6 +1527,8 @@ void ScDocument::DeleteCol(SCROW nStartRow, SCTAB 
nStartTab, SCROW nEndRow, SCTA
 for (; it != maTabs.end(); ++it)
 if (*it)
 (*it)-SetRelNameDirty();
+
+std::for_each(maTabs.begin(), maTabs.end(), 
BroadcastRecalcOnRefMoveHandler());
 }
 
 SetAutoCalc( bOldAutoCalc );
commit 8edaa54f681a58f7266748437fa3c62dec8873cb
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 16:48:56 2013 -0400

Add test for ROW function.

Change-Id: Ie918d3b9d635febe40ac974a37da0743830b65eb

diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx
index 71a3268..ac17bd9 100644
--- a/sc/qa/unit/ucalc.hxx
+++ b/sc/qa/unit/ucalc.hxx
@@ -90,6 +90,7 @@ public:
 void testFormulaRefUpdateRange();
 void testFormulaRefUpdateSheets();
 void testFuncCOLUMN();
+void testFuncROW();
 void testFuncSUM();
 void testFuncPRODUCT();
 void testFuncN();
@@ -280,6 +281,7 @@ public:
 CPPUNIT_TEST(testFormulaRefUpdateRange);
 CPPUNIT_TEST(testFormulaRefUpdateSheets);
 CPPUNIT_TEST(testFuncCOLUMN);
+CPPUNIT_TEST(testFuncROW);
 CPPUNIT_TEST(testFuncSUM);
 CPPUNIT_TEST(testFuncPRODUCT);
 CPPUNIT_TEST(testFuncN);
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 0aee2eb..c651b6d 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -855,6 +855,43 @@ void Test::testFuncCOLUMN()
 // The cell that references the moved cell should update its value as well.
 CPPUNIT_ASSERT_EQUAL(7.0, m_pDoc-GetValue(ScAddress(0,1,0)));
 
+// Move the column in the other direction.
+m_pDoc-DeleteCol(ScRange(5,0,0,5,MAXROW,0));
+
+CPPUNIT_ASSERT_EQUAL(6.0, m_pDoc-GetValue(ScAddress(5,10,0)));
+
+// The cell that references the moved cell should update its value as well.
+CPPUNIT_ASSERT_EQUAL(6.0, m_pDoc-GetValue(ScAddress(0,1,0)));
+
+

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

2013-07-23 Thread Eike Rathke
 sc/qa/unit/data/ods/rich-text-cells.ods |binary
 sc/qa/unit/subsequent_filters-test.cxx  |   57 +++-
 2 files changed, 49 insertions(+), 8 deletions(-)

New commits:
commit 038d162b175b62d67a94d4418b3a15a1a382419d
Author: Eike Rathke er...@redhat.com
Date:   Tue Jul 23 22:58:25 2013 +0200

unit test for text:s in text:p and text:span, fdo#67094

Change-Id: I033668dcdcdcc1a5710f2ddacadf9a1a5344638e

diff --git a/sc/qa/unit/data/ods/rich-text-cells.ods 
b/sc/qa/unit/data/ods/rich-text-cells.ods
index da3a1ed..b039c37 100644
Binary files a/sc/qa/unit/data/ods/rich-text-cells.ods and 
b/sc/qa/unit/data/ods/rich-text-cells.ods differ
diff --git a/sc/qa/unit/subsequent_filters-test.cxx 
b/sc/qa/unit/subsequent_filters-test.cxx
index 3ed4d6e..79d31c8 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -1660,18 +1660,20 @@ void ScFiltersTest::testRichTextContentODS()
 
 // first line is bold.
 pEditText-GetCharAttribs(0, aAttribs);
-bool bHasBold = false;
-for (it = aAttribs.begin(), itEnd = aAttribs.end(); it != itEnd; ++it)
 {
-if (it-pAttr-Which() == EE_CHAR_WEIGHT)
+bool bHasBold = false;
+for (it = aAttribs.begin(), itEnd = aAttribs.end(); it != itEnd; ++it)
 {
-const SvxWeightItem rItem = static_castconst 
SvxWeightItem(*it-pAttr);
-bHasBold = (rItem.GetWeight() == WEIGHT_BOLD);
-if (bHasBold)
-break;
+if (it-pAttr-Which() == EE_CHAR_WEIGHT)
+{
+const SvxWeightItem rItem = static_castconst 
SvxWeightItem(*it-pAttr);
+bHasBold = (rItem.GetWeight() == WEIGHT_BOLD);
+if (bHasBold)
+break;
+}
 }
+CPPUNIT_ASSERT_MESSAGE(First line should be bold., bHasBold);
 }
-CPPUNIT_ASSERT_MESSAGE(First line should be bold., bHasBold);
 
 // second line is italic.
 pEditText-GetCharAttribs(1, aAttribs);
@@ -1738,6 +1740,45 @@ void ScFiltersTest::testRichTextContentODS()
 const SvxURLField* pURLData = static_castconst SvxURLField*(pData);
 CPPUNIT_ASSERT_MESSAGE(URL is not absolute with respect to the file 
system., pURLData-GetURL().startsWith(file:///));
 
+// Embedded spaces as text:s text:c='4' /, normal text
+aPos.IncRow();
+CPPUNIT_ASSERT_EQUAL(CELLTYPE_STRING, pDoc-GetCellType(aPos));
+CPPUNIT_ASSERT_EQUAL(OUString(one two), pDoc-GetString(aPos.Col(), 
aPos.Row(), aPos.Tab()));
+
+// Leading space as text:s /.
+aPos.IncRow();
+CPPUNIT_ASSERT_EQUAL(CELLTYPE_STRING, pDoc-GetCellType(aPos));
+CPPUNIT_ASSERT_EQUAL(OUString( =3+4), pDoc-GetString(aPos.Col(), 
aPos.Row(), aPos.Tab()));
+
+// Embedded spaces with text:s text:c='4' / inside a text:span, text
+// partly bold.
+aPos.IncRow();
+CPPUNIT_ASSERT_EQUAL(CELLTYPE_EDIT, pDoc-GetCellType(aPos));
+pEditText = pDoc-GetEditText(aPos);
+CPPUNIT_ASSERT_MESSAGE(Failed to retrieve edit text object., pEditText);
+CPPUNIT_ASSERT_EQUAL(static_castsal_Int32(1), 
pEditText-GetParagraphCount());
+aParaText = pEditText-GetText(0);
+CPPUNIT_ASSERT_EQUAL(OUString(one two), aParaText);
+pEditText-GetCharAttribs(0, aAttribs);
+{
+bool bHasBold = false;
+for (it = aAttribs.begin(), itEnd = aAttribs.end(); it != itEnd; ++it)
+{
+if (it-pAttr-Which() == EE_CHAR_WEIGHT)
+{
+const SvxWeightItem rItem = static_castconst 
SvxWeightItem(*it-pAttr);
+bHasBold = (rItem.GetWeight() == WEIGHT_BOLD);
+if (bHasBold)
+{
+OUString aSeg = aParaText.copy(it-nStart, it-nEnd - 
it-nStart);
+CPPUNIT_ASSERT_EQUAL(OUString(e t), aSeg);
+break;
+}
+}
+}
+CPPUNIT_ASSERT_MESSAGE(Expected a bold sequence., bHasBold);
+}
+
 xDocSh-DoClose();
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Tomaž Vajngerl
 include/svtools/ruler.hxx   |2 -
 sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx |   22 +++-
 svx/source/dialog/svxruler.cxx  |4 +-
 3 files changed, 9 insertions(+), 19 deletions(-)

New commits:
commit 0153ea7e11e5e67d272dfb3630e3ea7cc4d99df9
Author: Tomaž Vajngerl qui...@gmail.com
Date:   Tue Jul 23 22:59:31 2013 +0200

Fix compiler errors and warnings..

Change-Id: Id35cdec02c7a5175e1b429b723679541292ddfb3

diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index 4c08745..04237df 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -693,7 +693,7 @@ private:
 
 protected:
 long GetRulerVirHeight() const;
-MapMode GetMapMode() const { return maMapMode; }
+MapMode GetCurrentMapMode() const { return maMapMode; }
 RulerUnitData GetCurrentRulerUnit() const;
 
 public:
diff --git a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx 
b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
index cb00bac..2c7325a 100644
--- a/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
+++ b/sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx
@@ -35,14 +35,14 @@ static const char* lclBasicStatisticsLabels[] =
 Groups, Count, Sum, Mean, Variance, NULL
 };
 
-static const char* lclAnovaLabels[] =
+static const char* lclBasicStatisticsFormula[] =
 {
-Source of Variation, SS, df, MS, F, P-value, F critical, NULL
+=COUNT(%RANGE%), =SUM(%RANGE%), =AVERAGE(%RANGE%), =VAR(%RANGE%), 
NULL
 };
 
-static const char* lclAnovaFormula[] =
+static const char* lclAnovaLabels[] =
 {
-=COUNT(%RANGE%), =SUM(%RANGE%), =AVERAGE(%RANGE%), =VAR(%RANGE%), 
NULL
+Source of Variation, SS, df, MS, F, P-value, F critical, NULL
 };
 
 static const OUString lclWildcardRange(%RANGE%);
@@ -65,16 +65,6 @@ OUString lclCreateMultiParameterFormula(
 return aResult;
 }
 
-class CellAddressIterator
-{
-public:
-CellAddressIterator(ScAddress aStartAddress)
-{}
-
-virtual ~CellAddressIterator()
-{}
-};
-
 }
 
 ScAnalysisOfVarianceDialog::ScAnalysisOfVarianceDialog(
@@ -147,10 +137,10 @@ void 
ScAnalysisOfVarianceDialog::CalculateInputAndWriteToOutput( )
 OUString aFormulaString;
 OUString aFormulaTemplate;
 
-for(sal_Int32 i = 0; lclAnovaFormula[i] != NULL; i++)
+for(sal_Int32 i = 0; lclBasicStatisticsFormula[i] != NULL; i++)
 {
 aAddress = ScAddress(outCol, outRow, outTab);
-aFormulaTemplate = 
OUString::createFromAscii(lclAnovaFormula[i]);
+aFormulaTemplate = 
OUString::createFromAscii(lclBasicStatisticsFormula[i]);
 aFormulaString = aFormulaTemplate.replaceAll(lclWildcardRange, 
aReferenceString);
 pDocShell-GetDocFunc().SetFormulaCell(aAddress, new 
ScFormulaCell(mDocument, aAddress, aFormulaString), true);
 outCol++;
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index ff87c51..d5ab943 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -436,10 +436,10 @@ SvxRuler::~SvxRuler()
 
 void SvxRuler::NormalizePosition(long rValue) const
 {
-long aNewPositionLogic = pEditWin-PixelToLogic(Size(0, rValue), 
GetMapMode()).Height();
+long aNewPositionLogic = pEditWin-PixelToLogic(Size(0, rValue), 
GetCurrentMapMode()).Height();
 long aTickDivider = GetCurrentRulerUnit().nTick1;
 aNewPositionLogic = (aNewPositionLogic / aTickDivider) * aTickDivider;
-rValue = pEditWin-LogicToPixel(Size(0, aNewPositionLogic), 
GetMapMode()).Height();
+rValue = pEditWin-LogicToPixel(Size(0, aNewPositionLogic), 
GetCurrentMapMode()).Height();
 }
 
 long SvxRuler::ConvertHPosPixel(long nVal) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/gsoc-basic-ide-completion-and-other-bits' - basctl/Library_basctl.mk basctl/source basctl/uiconfig basctl/UIConfig_basicide.mk basic/source include/basi

2013-07-23 Thread Gergo Mocsi
 basctl/Library_basctl.mk  |1 
 basctl/UIConfig_basicide.mk   |1 
 basctl/source/basicide/baside2.cxx|   13 
 basctl/source/basicide/codecompleteoptionsdlg.cxx |   74 
+++
 basctl/source/basicide/codecompleteoptionsdlg.hxx |   54 ++
 basctl/uiconfig/basicide/menubar/menubar.xml  |2 
 basctl/uiconfig/basicide/ui/codecompleteoptionsdlg.ui |  212 
++
 basic/source/classes/codecompletecache.cxx|   21 
 basic/source/classes/sbxmod.cxx   |3 
 include/basic/codecompletecache.hxx   |4 
 officecfg/registry/data/org/openoffice/Office/UI/BasicIDECommands.xcu |4 
 sfx2/sdi/sfx.sdi  |4 
 12 files changed, 371 insertions(+), 22 deletions(-)

New commits:
commit c4373b6e3b07bbd0d633499da4e1afd692d03889
Author: Gergo Mocsi gmocs...@gmail.com
Date:   Tue Jul 23 23:00:55 2013 +0200

GSOC work, ModalDialog instead of menu entry

Created a ModalDialog named CodeCompleteOptionsDlg to edit options for code 
completition/suggestion.
Unimplemented features in it are disabled.
The dialog window uses Glade .ui file.

Change-Id: I1b59f386a9575aa25b38c5a1d7d1f020498a69ab

diff --git a/basctl/Library_basctl.mk b/basctl/Library_basctl.mk
index c008ad6..b609aae 100644
--- a/basctl/Library_basctl.mk
+++ b/basctl/Library_basctl.mk
@@ -99,6 +99,7 @@ $(eval $(call gb_Library_add_exception_objects,basctl,\
basctl/source/basicide/linenumberwindow \
basctl/source/basicide/localizationmgr \
basctl/source/basicide/macrodlg \
+   basctl/source/basicide/codecompleteoptionsdlg \
basctl/source/basicide/moduldl2 \
basctl/source/basicide/moduldlg \
basctl/source/basicide/objdlg \
diff --git a/basctl/UIConfig_basicide.mk b/basctl/UIConfig_basicide.mk
index 013df6e..624f426 100644
--- a/basctl/UIConfig_basicide.mk
+++ b/basctl/UIConfig_basicide.mk
@@ -30,6 +30,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/BasicIDE,\
 
 $(eval $(call gb_UIConfig_add_uifiles,modules/BasicIDE,\
basctl/uiconfig/basicide/ui/basicmacrodialog \
+   basctl/uiconfig/basicide/ui/codecompleteoptionsdlg \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/basctl/source/basicide/baside2.cxx 
b/basctl/source/basicide/baside2.cxx
index 1fff14a..bc24c57 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -54,6 +54,7 @@
 #include cassert
 #include basic/codecompletecache.hxx
 #include svtools/miscopt.hxx
+#include codecompleteoptionsdlg.hxx
 
 namespace basctl
 {
@@ -1013,8 +1014,8 @@ void ModulWindow::ExecuteCommand (SfxRequest rReq)
 break;
 case SID_BASICIDE_CODECOMPLETITION:
 {
-SFX_REQUEST_ARG(rReq, pItem, SfxBoolItem, rReq.GetSlot(), false);
-CodeCompleteOptions::SetCodeCompleteOn( pItem  pItem-GetValue() 
);
+boost::scoped_ptr CodeCompleteOptionsDlg  pDlg( new 
CodeCompleteOptionsDlg( this ) );
+pDlg-Execute();
 }
 break;
 case SID_CUT:
@@ -1166,15 +1167,9 @@ void ModulWindow::GetState( SfxItemSet rSet )
 case SID_BASICIDE_CODECOMPLETITION:
 {
 SvtMiscOptions aMiscOptions;
-if( aMiscOptions.IsExperimentalMode() )
-{
-rSet.Put(SfxBoolItem( nWh, 
CodeCompleteOptions::IsCodeCompleteOn() ));
-std::cerr code complete set to:   
CodeCompleteOptions::IsCodeCompleteOn()  std::endl;
-}
-else
+if( !aMiscOptions.IsExperimentalMode() )
 {
 rSet.Put( SfxVisibilityItem(nWh, false) );
-//CodeCompleteOptions::SetCodeCompleteOn( false );
 }
 }
 break;
diff --git a/basctl/source/basicide/codecompleteoptionsdlg.cxx 
b/basctl/source/basicide/codecompleteoptionsdlg.cxx
new file mode 100644
index 000..a948ab6
--- /dev/null
+++ b/basctl/source/basicide/codecompleteoptionsdlg.cxx
@@ -0,0 +1,74 @@
+/* -*- 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 

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

2013-07-23 Thread Jelle van der Waa
 slideshow/inc/pch/precompiled_slideshow.hxx  |1 -
 slideshow/source/engine/shapes/viewshape.cxx |9 -
 2 files changed, 10 deletions(-)

New commits:
commit 689363662cc81fcf629850fa0b002577cc61e97d
Author: Jelle van der Waa je...@vdwaa.nl
Date:   Tue Jul 23 21:59:24 2013 +0200

fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO

Change-Id: If2c1ce9ca27e27ed5ecc15a448b7332855e31309
Reviewed-on: https://gerrit.libreoffice.org/5058
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/slideshow/inc/pch/precompiled_slideshow.hxx 
b/slideshow/inc/pch/precompiled_slideshow.hxx
index 6e3af46..0d1d283 100644
--- a/slideshow/inc/pch/precompiled_slideshow.hxx
+++ b/slideshow/inc/pch/precompiled_slideshow.hxx
@@ -194,7 +194,6 @@
 #include osl/diagnose.hxx
 #include queue
 #include rtl/instance.hxx
-#include rtl/logfile.hxx
 #include rtl/math.hxx
 #include rtl/ref.hxx
 #include rtl/ustrbuf.hxx
diff --git a/slideshow/source/engine/shapes/viewshape.cxx 
b/slideshow/source/engine/shapes/viewshape.cxx
index 1b1a96c..6be622b 100644
--- a/slideshow/source/engine/shapes/viewshape.cxx
+++ b/slideshow/source/engine/shapes/viewshape.cxx
@@ -24,7 +24,6 @@
 
 #include math.h
 
-#include rtl/logfile.hxx
 #include rtl/math.hxx
 
 #include com/sun/star/rendering/XCanvas.hpp
@@ -66,7 +65,6 @@ namespace slideshow
   const GDIMetaFileSharedPtr   rMtf,
   const ShapeAttributeLayerSharedPtr   rAttr 
) const
 {
-RTL_LOGFILE_CONTEXT( aLog, 
::presentation::internal::ViewShape::prefetch() );
 ENSURE_OR_RETURN_FALSE( rMtf,
ViewShape::prefetch(): no valid metafile! );
 
@@ -188,8 +186,6 @@ namespace slideshow
   const ::basegfx::B2DPolyPolygon*  pClip,
   const VectorOfDocTreeNodes   rSubsets ) 
const
 {
-RTL_LOGFILE_CONTEXT( aLog, 
::presentation::internal::ViewShape::draw() );
-
 ::cppcanvas::RendererSharedPtr pRenderer(
 getRenderer( rDestinationCanvas, rMtf, rAttr ) );
 
@@ -305,8 +301,6 @@ namespace slideshow
   double
nPrio,
   bool  
bIsVisible ) const
 {
-RTL_LOGFILE_CONTEXT( aLog, 
::presentation::internal::ViewShape::renderSprite() );
-
 // TODO(P1): For multiple views, it might pay off to reorg Shape 
and ViewShape,
 // in that all the common setup steps here are refactored to Shape 
(would then
 // have to be performed only _once_ per Shape paint).
@@ -524,8 +518,6 @@ namespace slideshow
 const VectorOfDocTreeNodes rSubsets,
 boolbIsVisible 
) const
 {
-RTL_LOGFILE_CONTEXT( aLog, 
::presentation::internal::ViewShape::render() );
-
 // TODO(P1): For multiple views, it might pay off to reorg Shape 
and ViewShape,
 // in that all the common setup steps here are refactored to Shape 
(would then
 // have to be performed only _once_ per Shape paint).
@@ -858,7 +850,6 @@ namespace slideshow
 int nUpdateFlags,
 boolbIsVisible ) const
 {
-RTL_LOGFILE_CONTEXT( aLog, 
::presentation::internal::ViewShape::update() );
 ENSURE_OR_RETURN_FALSE( mpViewLayer-getCanvas(), 
ViewShape::update(): Invalid layer canvas );
 
 // Shall we render to a sprite, or to a plain canvas?
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Jelle van der Waa
 package/source/zippackage/ZipPackage.cxx |9 -
 1 file changed, 9 deletions(-)

New commits:
commit 7e3fdd1fdcd2dbcbd87a88d19a781e845f7d0fca
Author: Jelle van der Waa je...@vdwaa.nl
Date:   Tue Jul 23 22:26:05 2013 +0200

fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO

Change-Id: I595c10b9c3df8ea487d9fde0a7910ba0bca0ab43
Reviewed-on: https://gerrit.libreoffice.org/5059
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/package/source/zippackage/ZipPackage.cxx 
b/package/source/zippackage/ZipPackage.cxx
index db24748..5f42210 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -62,7 +62,6 @@
 #include cppuhelper/typeprovider.hxx
 #include rtl/uri.hxx
 #include rtl/random.h
-#include rtl/logfile.hxx
 #include rtl/instance.hxx
 #include osl/time.h
 #include com/sun/star/io/XAsyncOutputMonitor.hpp
@@ -580,7 +579,6 @@ void ZipPackage::getZipFileContents()
 void SAL_CALL ZipPackage::initialize( const uno::Sequence Any  aArguments )
 throw( Exception, RuntimeException )
 {
-RTL_LOGFILE_TRACE_AUTHOR ( package, mg115289, { 
ZipPackage::initialize );
 sal_Bool bHaveZipFile = sal_True;
 uno::Reference XProgressHandler  xProgressHandler;
 beans::NamedValue aNamedValue;
@@ -785,8 +783,6 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence 
Any  aArguments )
 }
 }
 }
-
-RTL_LOGFILE_TRACE_AUTHOR ( package, mg115289, } 
ZipPackage::initialize );
 }
 
 //
@@ -1371,9 +1367,6 @@ void SAL_CALL ZipPackage::commitChanges()
 throw WrappedTargetException(OSL_LOG_PREFIX This package is read 
only!,
 static_cast  OWeakObject *  ( this ), makeAny ( aException ) 
);
 }
-
-RTL_LOGFILE_TRACE_AUTHOR ( package, mg115289, { 
ZipPackage::commitChanges );
-
 // first the writeTempFile is called, if it returns a stream the stream 
should be written to the target
 // if no stream was returned, the file was written directly, nothing 
should be done
 
@@ -1527,8 +1520,6 @@ void SAL_CALL ZipPackage::commitChanges()
 
 // after successful storing it can be set to false
 m_bMediaTypeFallbackUsed = sal_False;
-
-RTL_LOGFILE_TRACE_AUTHOR ( package, mg115289, } 
ZipPackage::commitChanges );
 }
 
 //
___
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' - reportbuilder/java reportdesign/source

2013-07-23 Thread Lionel Elie Mamane
 reportbuilder/java/libformula.properties   
  |4 
 
reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
|   53 ++
 
reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/TableCellLayoutController.java
 |4 
 
reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java
 |2 
 reportdesign/source/core/sdr/RptObject.cxx 
  |4 
 reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
  |2 
 6 files changed, 23 insertions(+), 46 deletions(-)

New commits:
commit be945e8e54a93921a12597c7b3a5b012951600ac
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 23 19:14:04 2013 +0200

fdo#67186 switch reporbuilder to null date == 1899-12-30

This brings it in line with the default for other LibreOffice
components (e.g. Calc), or with the only supported value (e.g. Writer
tables), respectively.

Configure Pentaho jfreereport to also take null date == 1899-12-30

This combined allows reportbuilder to make absolutely no fiddly
conversion itself, leaving them to jfreereport and Writer table
cell format.

Also:

 - Make absolutely no conversion itself, also e.g. for booleans.

 - ODF compliance: make the value-type match the set foo-value attribute.

 - Use value-type=void instead of empty value-type=string

Conflicts:
reportdesign/source/core/sdr/RptObject.cxx

Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
Reviewed-on: https://gerrit.libreoffice.org/5054
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/reportbuilder/java/libformula.properties 
b/reportbuilder/java/libformula.properties
index f903736..79022b6 100644
--- a/reportbuilder/java/libformula.properties
+++ b/reportbuilder/java/libformula.properties
@@ -19,8 +19,8 @@
 
 ##
 # Any configuration will happen here.
-org.pentaho.reporting.libraries.formula.datesystem.StartYear=1930
-org.pentaho.reporting.libraries.formula.datesystem.ExcelHack=false
+org.pentaho.reporting.libraries.formula.ZeroDate=1899
+org.pentaho.reporting.libraries.formula.ExcelDateBugAware=false
 
 #
 # A list of all known functions.
diff --git 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
index 4c1b8dd..d4c86c6 100644
--- 
a/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
+++ 
b/reportbuilder/java/org/libreoffice/report/pentaho/layoutprocessor/FormatValueUtility.java
@@ -85,7 +85,7 @@ public class FormatValueUtility
 else if (value instanceof Date)
 {
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, float);
-ret = HSSFDateUtil.getExcelDate((Date) value, false, 2).toString();
+ret = HSSFDateUtil.getExcelDate((Date) value).toString();
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, 
ret);
 }
 else if (value instanceof Number)
@@ -112,8 +112,7 @@ public class FormatValueUtility
 }
 else
 {
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, string);
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
STRING_VALUE, );
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, void);
 }
 return ret;
 }
@@ -122,61 +121,39 @@ public class FormatValueUtility
 {
 if (value instanceof Time)
 {
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, time);
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
time-value, formatTime((Time) value));
 }
 else if (value instanceof java.sql.Date)
 {
-if (float.equals(valueType) || valueType == null)
-{
-// This is to work around fdo#63478
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE, HSSFDateUtil.getExcelDate((Date) value, false, 0).toString());
-}
-else
-{
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, formatDate((Date) value));
-}
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, date);
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, formatDate((Date) value));
 }
 else if (value instanceof Date)
 {
-// This is what we *should* do, but see fdo#63478
-// variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, 

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

2013-07-23 Thread Lionel Elie Mamane
 
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
|   53 ++
 
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
 |4 
 
reportbuilder/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java
 |2 
 reportbuilder/java/libformula.properties   
   |4 
 reportdesign/source/core/sdr/RptObject.cxx 
   |3 
 reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
   |2 
 6 files changed, 23 insertions(+), 45 deletions(-)

New commits:
commit ac2d93cca0791a728583a40dc379c89c22582855
Author: Lionel Elie Mamane lio...@mamane.lu
Date:   Tue Jul 23 19:14:04 2013 +0200

fdo#67186 switch reporbuilder to null date == 1899-12-30

This brings it in line with the default for other LibreOffice
components (e.g. Calc), or with the only supported value (e.g. Writer
tables), respectively.

Configure Pentaho jfreereport to also take null date == 1899-12-30

This combined allows reportbuilder to make absolutely no fiddly
conversion itself, leaving them to jfreereport and Writer table
cell format.

Also:

 - Make absolutely no conversion itself, also e.g. for booleans.

 - ODF compliance: make the value-type match the set foo-value attribute.

 - Use value-type=void instead of empty value-type=string

Conflicts:
reportdesign/source/core/sdr/RptObject.cxx

Conflicts:
reportdesign/source/core/sdr/RptObject.cxx
reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx

Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
Reviewed-on: https://gerrit.libreoffice.org/5055
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git 
a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
 
b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
index 8c9e986..a462cae 100644
--- 
a/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
+++ 
b/reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
@@ -85,7 +85,7 @@ public class FormatValueUtility
 else if (value instanceof Date)
 {
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, float);
-ret = HSSFDateUtil.getExcelDate((Date) value, false, 2).toString();
+ret = HSSFDateUtil.getExcelDate((Date) value).toString();
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, 
ret);
 }
 else if (value instanceof Number)
@@ -112,8 +112,7 @@ public class FormatValueUtility
 }
 else
 {
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, string);
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
STRING_VALUE, );
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, void);
 }
 return ret;
 }
@@ -122,61 +121,39 @@ public class FormatValueUtility
 {
 if (value instanceof Time)
 {
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, time);
 variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
time-value, formatTime((Time) value));
 }
 else if (value instanceof java.sql.Date)
 {
-if (float.equals(valueType) || valueType == null)
-{
-// This is to work around fdo#63478
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE, HSSFDateUtil.getExcelDate((Date) value, false, 0).toString());
-}
-else
-{
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, formatDate((Date) value));
-}
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, date);
+variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, formatDate((Date) value));
 }
 else if (value instanceof Date)
 {
-// This is what we *should* do, but see fdo#63478
-// variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, date);
-// variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
date-value, formatDate((Date) value));
-// so we do that instead to work around:
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, 
VALUE_TYPE, float);
-variableSection.setAttribute(OfficeNamespaces.OFFICE_NS, VALUE, 
HSSFDateUtil.getExcelDate((Date) value, false, 0).toString());
+

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

2013-07-23 Thread Julien Nabet
 writerfilter/Library_writerfilter.mk  |1 +
 writerfilter/inc/pch/precompiled_writerfilter.hxx |1 -
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   21 ++---
 3 files changed, 3 insertions(+), 20 deletions(-)

New commits:
commit 4231190ad3a4ee7e459f7e1a5e9fd85ca3dca124
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue Jul 23 09:30:57 2013 +0200

fdo#46037: no more comphelper/configurationhelper.hxx in writerfilter

Change-Id: If2500bf09f8bb23f70d46d8dbef5d8bbf9fc3fb3
Reviewed-on: https://gerrit.libreoffice.org/5041
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/writerfilter/Library_writerfilter.mk 
b/writerfilter/Library_writerfilter.mk
index 4fab4aa..aaa2969 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -10,6 +10,7 @@
 $(eval $(call gb_Library_Library,writerfilter))
 
 $(eval $(call gb_Library_use_custom_headers,writerfilter,\
+officecfg/registry \
oox/generated \
writerfilter/source \
 ))
diff --git a/writerfilter/inc/pch/precompiled_writerfilter.hxx 
b/writerfilter/inc/pch/precompiled_writerfilter.hxx
index 641211a..899ca0e 100644
--- a/writerfilter/inc/pch/precompiled_writerfilter.hxx
+++ b/writerfilter/inc/pch/precompiled_writerfilter.hxx
@@ -152,7 +152,6 @@
 #include com/sun/star/xml/sax/SAXException.hpp
 #include com/sun/star/xml/sax/XParser.hpp
 #include comphelper/classids.hxx
-#include comphelper/configurationhelper.hxx
 #include comphelper/embeddedobjectcontainer.hxx
 #include comphelper/mediadescriptor.hxx
 #include comphelper/servicehelper.hxx
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 7086c75..9427e60 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -67,33 +67,16 @@
 
 #include map
 
-#include comphelper/configurationhelper.hxx
 #include comphelper/stlunosequence.hxx
 #include vcl/svapp.hxx
 #include vcl/outdev.hxx
+#include officecfg/Office/Common.hxx
 
 using namespace ::com::sun::star;
 using namespace ::rtl;
 namespace writerfilter {
 namespace dmapper{
 
-sal_Bool lcl_IsUsingEnhancedFields( const uno::Reference 
uno::XComponentContext  rxContext )
-{
-bool bResult(sal_False);
-try
-{
-OUString writerConfig = org.openoffice.Office.Common;
-
-uno::Reference uno::XInterface  xCfgAccess = 
::comphelper::ConfigurationHelper::openConfig( rxContext, writerConfig, 
::comphelper::ConfigurationHelper::E_READONLY );
-::comphelper::ConfigurationHelper::readRelativeKey( xCfgAccess, 
OUString( Filter/Microsoft/Import  ), OUString( 
ImportWWFieldsAsEnhancedFields  ) ) = bResult;
-
-}
-catch( const uno::Exception )
-{
-}
-return bResult;
-}
-
 // Populate Dropdown Field properties from FFData structure
 void lcl_handleDropdownField( const uno::Reference beans::XPropertySet  
rxFieldProps, FFDataHandler::Pointer_t pFFDataHandler )
 {
@@ -206,7 +189,7 @@ DomainMapper_Impl::DomainMapper_Impl(
 getTableManager( ).setHandler(m_pTableHandler);
 
 getTableManager( ).startLevel();
-m_bUsingEnhancedFields = lcl_IsUsingEnhancedFields( m_xComponentContext );
+m_bUsingEnhancedFields = 
officecfg::Office::Common::Filter::Microsoft::Import::ImportWWFieldsAsEnhancedFields::get();
 
 m_pSdtHelper = new SdtHelper(*this);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Julien Nabet
 fpicker/source/win32/filepicker/VistaFilePicker.cxx |   19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

New commits:
commit 7cbf9c9e0a34937783dfa7f78d460dcf70504841
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue Jul 23 09:49:31 2013 +0200

fdo#46037: no more comphelper/configurationhelper.hxx in fpicker

Change-Id: I571e0271d9432118d886561e140d689b2d1b8713
Reviewed-on: https://gerrit.libreoffice.org/5042
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx 
b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 2bf2e28..1f204d6 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -37,12 +37,12 @@
 #include com/sun/star/ui/dialogs/ExecutableDialogResults.hpp
 
 #include cppuhelper/interfacecontainer.h
-#include comphelper/configurationhelper.hxx
 #include comphelper/processfactory.hxx
 #include osl/diagnose.h
 #include osl/mutex.hxx
 #include osl/file.hxx
 #include tchar.h
+#include officecfg/Office/Common.hxx
 
 #ifdef _MSC_VER
 #pragma warning (push, 1)
@@ -215,18 +215,15 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const 
OUString sDirectory)
 throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException )
 {
-const OUString aPackage(org.openoffice.Office.Common/);
-const OUString aRelPath(Path/Info);
-const OUString aKey(WorkPathChanged);
+bool bChanged = 
officecfg::Office::Common::Path::Info::WorkPathChanged::get();
 
-css::uno::Any aValue = ::comphelper::ConfigurationHelper::readDirectKey(
-comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, aKey, 
::comphelper::ConfigurationHelper::E_READONLY);
-
-bool bChanged(false);
-if (( aValue = bChanged )  bChanged )
+if (bChanged )
 {
-::comphelper::ConfigurationHelper::writeDirectKey(
-comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, 
aKey, css::uno::makeAny(false), ::comphelper::ConfigurationHelper::E_STANDARD);
+boost::shared_ptr comphelper::ConfigurationChanges  batch(
+comphelper::ConfigurationChanges::create());
+officecfg::Office::Common::Path::Info::WorkPathChanged::set(
+false, batch);
+batch-commit();
 }
 
 RequestRef rRequest(new Request());
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: fpicker/Library_fps.mk writerfilter/Library_writerfilter.mk

2013-07-23 Thread Fridrich Štrba
 fpicker/Library_fps.mk   |4 
 writerfilter/Library_writerfilter.mk |2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit d1f58e5ea695e823e931aad1bfb1d7b4bf17634c
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Wed Jul 24 00:21:12 2013 +0200

Trying to fix the windows build

Change-Id: I19d17a490c9af3d14a315a92ae2af86cc2e92d51

diff --git a/fpicker/Library_fps.mk b/fpicker/Library_fps.mk
index c4b3e0e..4a1056a 100644
--- a/fpicker/Library_fps.mk
+++ b/fpicker/Library_fps.mk
@@ -10,6 +10,10 @@
 
 $(eval $(call gb_Library_Library,fps))
 
+$(eval $(call gb_Library_use_custom_headers,fps,\
+   officecfg/registry \
+))
+
 $(eval $(call gb_Library_add_nativeres,fps,fps/Fps))
 
 $(eval $(call gb_Library_set_componentfile,fps,fpicker/source/win32/fps))
diff --git a/writerfilter/Library_writerfilter.mk 
b/writerfilter/Library_writerfilter.mk
index aaa2969..0f3bdb1 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -10,7 +10,7 @@
 $(eval $(call gb_Library_Library,writerfilter))
 
 $(eval $(call gb_Library_use_custom_headers,writerfilter,\
-officecfg/registry \
+   officecfg/registry \
oox/generated \
writerfilter/source \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: fpicker/Library_fps.mk fpicker/source writerfilter/Library_writerfilter.mk

2013-07-23 Thread Fridrich Štrba
 fpicker/Library_fps.mk  |4 
 fpicker/source/win32/filepicker/VistaFilePicker.cxx |   19 +++
 writerfilter/Library_writerfilter.mk|2 +-
 3 files changed, 12 insertions(+), 13 deletions(-)

New commits:
commit 57ebb84c1fdfc868cc01bd4b12e95ca043cda718
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Wed Jul 24 00:29:11 2013 +0200

Revert fdo#46037: no more comphelper/configurationhelper.hxx in fpicker

This reverts commit 7cbf9c9e0a34937783dfa7f78d460dcf70504841.

Revert Trying to fix the windows build

This reverts commit d1f58e5ea695e823e931aad1bfb1d7b4bf17634c.

Change-Id: I67d00ec010a834e27b0e79b0afd92c5a2e7d47d6

diff --git a/fpicker/Library_fps.mk b/fpicker/Library_fps.mk
index 4a1056a..c4b3e0e 100644
--- a/fpicker/Library_fps.mk
+++ b/fpicker/Library_fps.mk
@@ -10,10 +10,6 @@
 
 $(eval $(call gb_Library_Library,fps))
 
-$(eval $(call gb_Library_use_custom_headers,fps,\
-   officecfg/registry \
-))
-
 $(eval $(call gb_Library_add_nativeres,fps,fps/Fps))
 
 $(eval $(call gb_Library_set_componentfile,fps,fpicker/source/win32/fps))
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx 
b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 1f204d6..2bf2e28 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -37,12 +37,12 @@
 #include com/sun/star/ui/dialogs/ExecutableDialogResults.hpp
 
 #include cppuhelper/interfacecontainer.h
+#include comphelper/configurationhelper.hxx
 #include comphelper/processfactory.hxx
 #include osl/diagnose.h
 #include osl/mutex.hxx
 #include osl/file.hxx
 #include tchar.h
-#include officecfg/Office/Common.hxx
 
 #ifdef _MSC_VER
 #pragma warning (push, 1)
@@ -215,15 +215,18 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const 
OUString sDirectory)
 throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException )
 {
-bool bChanged = 
officecfg::Office::Common::Path::Info::WorkPathChanged::get();
+const OUString aPackage(org.openoffice.Office.Common/);
+const OUString aRelPath(Path/Info);
+const OUString aKey(WorkPathChanged);
 
-if (bChanged )
+css::uno::Any aValue = ::comphelper::ConfigurationHelper::readDirectKey(
+comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, aKey, 
::comphelper::ConfigurationHelper::E_READONLY);
+
+bool bChanged(false);
+if (( aValue = bChanged )  bChanged )
 {
-boost::shared_ptr comphelper::ConfigurationChanges  batch(
-comphelper::ConfigurationChanges::create());
-officecfg::Office::Common::Path::Info::WorkPathChanged::set(
-false, batch);
-batch-commit();
+::comphelper::ConfigurationHelper::writeDirectKey(
+comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, 
aKey, css::uno::makeAny(false), ::comphelper::ConfigurationHelper::E_STANDARD);
 }
 
 RequestRef rRequest(new Request());
diff --git a/writerfilter/Library_writerfilter.mk 
b/writerfilter/Library_writerfilter.mk
index 0f3bdb1..aaa2969 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -10,7 +10,7 @@
 $(eval $(call gb_Library_Library,writerfilter))
 
 $(eval $(call gb_Library_use_custom_headers,writerfilter,\
-   officecfg/registry \
+officecfg/registry \
oox/generated \
writerfilter/source \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: fpicker/Library_fps.mk fpicker/source writerfilter/Library_writerfilter.mk

2013-07-23 Thread Julien Nabet
 fpicker/Library_fps.mk  |4 +++
 fpicker/source/win32/filepicker/VistaFilePicker.cxx |   22 ++--
 writerfilter/Library_writerfilter.mk|2 -
 3 files changed, 16 insertions(+), 12 deletions(-)

New commits:
commit 75ef95ebc48517d228d369167f89424a72b320bf
Author: Julien Nabet serval2...@yahoo.fr
Date:   Tue Jul 23 09:49:31 2013 +0200

fdo#46037: no more comphelper/configurationhelper.hxx in fpicker

Change-Id: I571e0271d9432118d886561e140d689b2d1b8713
Reviewed-on: https://gerrit.libreoffice.org/5042
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/fpicker/Library_fps.mk b/fpicker/Library_fps.mk
index c4b3e0e..4a1056a 100644
--- a/fpicker/Library_fps.mk
+++ b/fpicker/Library_fps.mk
@@ -10,6 +10,10 @@
 
 $(eval $(call gb_Library_Library,fps))
 
+$(eval $(call gb_Library_use_custom_headers,fps,\
+   officecfg/registry \
+))
+
 $(eval $(call gb_Library_add_nativeres,fps,fps/Fps))
 
 $(eval $(call gb_Library_set_componentfile,fps,fpicker/source/win32/fps))
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx 
b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 2bf2e28..b7f7d83 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -37,12 +37,15 @@
 #include com/sun/star/ui/dialogs/ExecutableDialogResults.hpp
 
 #include cppuhelper/interfacecontainer.h
-#include comphelper/configurationhelper.hxx
 #include comphelper/processfactory.hxx
 #include osl/diagnose.h
 #include osl/mutex.hxx
 #include osl/file.hxx
 #include tchar.h
+#ifdef RGB
+#undef RGB
+#endif
+#include officecfg/Office/Common.hxx
 
 #ifdef _MSC_VER
 #pragma warning (push, 1)
@@ -215,18 +218,15 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const 
OUString sDirectory)
 throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException )
 {
-const OUString aPackage(org.openoffice.Office.Common/);
-const OUString aRelPath(Path/Info);
-const OUString aKey(WorkPathChanged);
-
-css::uno::Any aValue = ::comphelper::ConfigurationHelper::readDirectKey(
-comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, aKey, 
::comphelper::ConfigurationHelper::E_READONLY);
+bool bChanged = 
officecfg::Office::Common::Path::Info::WorkPathChanged::get();
 
-bool bChanged(false);
-if (( aValue = bChanged )  bChanged )
+if (bChanged )
 {
-::comphelper::ConfigurationHelper::writeDirectKey(
-comphelper::getComponentContext(m_xSMGR), aPackage, aRelPath, 
aKey, css::uno::makeAny(false), ::comphelper::ConfigurationHelper::E_STANDARD);
+boost::shared_ptr comphelper::ConfigurationChanges  batch(
+comphelper::ConfigurationChanges::create());
+officecfg::Office::Common::Path::Info::WorkPathChanged::set(
+false, batch);
+batch-commit();
 }
 
 RequestRef rRequest(new Request());
diff --git a/writerfilter/Library_writerfilter.mk 
b/writerfilter/Library_writerfilter.mk
index aaa2969..0f3bdb1 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -10,7 +10,7 @@
 $(eval $(call gb_Library_Library,writerfilter))
 
 $(eval $(call gb_Library_use_custom_headers,writerfilter,\
-officecfg/registry \
+   officecfg/registry \
oox/generated \
writerfilter/source \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Efe Gürkan YALAMAN
 cui/source/options/optaboutconfig.cxx |   10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit d6922c0c193eda5245f7088456973878d635f8a1
Author: Efe Gürkan YALAMAN efeyala...@gmail.com
Date:   Wed Jul 24 02:00:05 2013 +0300

Tabpage doesn't crash on load and traverses configurations

Tabpage now works without crashing. It also traverses configurations.
Traversed configurations doesn't display yet. But traversal can be seen
when debugging. Root of the traversal should be given as a until /
part. For example org.openoffice not accepted. But
org.openoffice.Office.Canvas accepted.

Change-Id: I2d3026781bfaafa0f721b317249c8879f103bd05

diff --git a/cui/source/options/optaboutconfig.cxx 
b/cui/source/options/optaboutconfig.cxx
index b7072c3..0b9eb61 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -89,7 +89,7 @@ void CuiAboutConfigTabPage::Reset( const SfxItemSet )
 
Reference XNameAccess  xConfigAccess = getConfigAccess();
 
-   FillItems( xConfigAccess, OUString(org.openoffice) );
+   FillItems( xConfigAccess, OUString(org.openoffice.Office.Canvas) );
 }
 
 void CuiAboutConfigTabPage::FillItems( Reference XNameAccess xNameAccess, 
OUString sPath)
@@ -102,13 +102,13 @@ void CuiAboutConfigTabPage::FillItems( Reference 
XNameAccess xNameAccess, OUSt
 for( sal_Int16 i = 0; i  seqItems.getLength(); ++i )
 {
 Any aNode = xHierarchicalNameAccess-getByHierarchicalName( 
seqItems[i] );
-Reference XHierarchicalNameAccess xNextHierarchicalNameAccess( 
aNode, uno::UNO_QUERY_THROW );
-Reference XNameAccess  xNextNameAccess( xNextHierarchicalNameAccess, 
uno::UNO_QUERY_THROW );
 
 bIsLeafNode = sal_True;
 
 try
 {
+Reference XHierarchicalNameAccess xNextHierarchicalNameAccess( 
aNode, uno::UNO_QUERY_THROW );
+Reference XNameAccess  xNextNameAccess( 
xNextHierarchicalNameAccess, uno::UNO_QUERY_THROW );
 uno::Sequence  OUString   seqNext = 
xNextNameAccess-getElementNames();
 FillItems( xNextNameAccess, sPath + OUString(/) + seqItems[i] );
 bIsLeafNode = sal_False;
@@ -122,7 +122,7 @@ void CuiAboutConfigTabPage::FillItems( Reference 
XNameAccess xNameAccess, OUSt
 {
 //InsertEntry( sPath, , , );
 //Reference beans::Property  aProperty = 
xHierarchicalNameAccess-getAsProperty();//getPropertyValue( seqItems[ i ] );
-//InsertEntry( sPath + OUString(/) + seqItems[ i ], 
OUString(), OUString(), xNameAccess-getPropertyValue( seqItems[ i ] ) );
+//InsertEntry( sPath + OUString(/) + seqItems[ i ], 
OUString(), OUString(), xHierarchicalNameAccess-getByHierarchicalName( 
seqItems[ i ] ).Value );
 }
 }
 }
@@ -136,7 +136,7 @@ Reference XNameAccess  
CuiAboutConfigTabPage::getConfigAccess()
 
 beans::NamedValue aProperty;
 aProperty.Name = nodepath;
-aProperty.Value = uno::makeAny( OUString(org.openoffice) );
+aProperty.Value = uno::makeAny( OUString(org.openoffice.Office.Canvas) );
 
 uno::Sequence uno::Any  aArgumentList( 1 );
 aArgumentList[0] = uno::makeAny( aProperty );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-07-23 Thread Marcos Paulo de Souza
 Repository.mk |   30 ---
 scp2/source/ooo/file_library_ooo.scp  |  133 --
 scp2/source/ooo/module_hidden_ooo.scp |   12 ---
 3 files changed, 16 insertions(+), 159 deletions(-)

New commits:
commit b0c43257d9db19ac45a93d8fb1e7648e82517289
Author: Marcos Paulo de Souza marcos.souza@gmail.com
Date:   Mon Jul 22 20:45:05 2013 -0300

fdo#60924 autoinstall - gbuild/scp2: still more libs to OOO

Change-Id: I89a661908fe7d679aa68d5ba9ead41d6b0a0d6bf
Reviewed-on: https://gerrit.libreoffice.org/5039
Reviewed-by: Fridrich Strba fridr...@documentfoundation.org
Tested-by: Fridrich Strba fridr...@documentfoundation.org

diff --git a/Repository.mk b/Repository.mk
index 95ad515..cf98c411 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -358,9 +358,24 @@ $(eval $(call 
gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
xsltfilter \
$(if $(filter $(OS),WNT), \
ado \
-   $(if $(DISABLE_ATL),,oleautobridge) \
+dnd \
+dtrans \
+fps \
+ftransl \
+$(if $(SOLAR_JAVA),java_uno_accessbridge) \
+$(if $(DISABLE_ATL),,oleautobridge \
+ inprocserv \
+) \
+$(if $(HAVE_WINDOWS_SDK),instooofiltmsi \
+ qslnkmsi \
+ reg4allmsdoc \
+ sdqsmsi \
+ sellangmsi \
+ sn_tools \
+) \
smplmail \
wininetbe1 \
+xmlsec1 \
) \
$(if $(filter $(OS),MACOSX), \
AppleRemote \
@@ -528,7 +543,6 @@ $(eval $(call 
gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
bluez_bluetooth \
emboleobj \
-   java_uno_accessbridge \
libreoffice \
macab1 \
macabdrv1 \
@@ -549,28 +563,17 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, 
\
 
 ifeq ($(OS),WNT)
 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
-   dnd \
-   dtrans \
fop \
-   fps \
-   ftransl \
-   inprocserv \
-   instooofiltmsi \
jfregca \
ooofilt \
ooofilt_x64 \
propertyhdl \
propertyhdl_x64 \
-   qslnkmsi \
-   reg4allmsdoc \
regactivex \
regpatchactivex \
-   sdqsmsi \
-   sellangmsi \
shlxthdl \
shlxthdl_x64 \
shlxtmsi \
-   sn_tools \
so_activex \
so_activex_x64 \
sysdtrans \
@@ -613,7 +616,6 @@ $(eval $(call gb_Helper_register_libraries,EXTENSIONLIBS, \
 
 ifeq ($(OS),WNT)
 $(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
-   xmlsec1 \
xmlsec1-nss \
 ))
 ifneq ($(CROSS_COMPILING),YES)
diff --git a/scp2/source/ooo/file_library_ooo.scp 
b/scp2/source/ooo/file_library_ooo.scp
index a710c7e..b92eaab 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -26,15 +26,6 @@
  /
 #include macros.inc
 
-#if defined SOLAR_JAVA  defined WNT
-File gid_File_Lib_Accessbridge
-LIB_FILE_BODY;
-Styles = (PACKED);
-Dir = SCP2_OOO_BIN_DIR;
-Name = java_uno_accessbridge.dll;
-End
-#endif
-
 #ifndef SYSTEM_CLUCENE
 File gid_File_Lib_CLucene
 LIB_FILE_BODY;
@@ -121,44 +112,11 @@ End
 
 #endif
 
-#ifdef WNT
-
-File gid_File_Lib_Dnd
-LIB_FILE_BODY;
-Styles = (PACKED);
-Dir = SCP2_OOO_BIN_DIR;
-Name = dnd.dll;
-End
-
-#endif
-
-#ifdef WNT
-
-File gid_File_Lib_Dtrans
-LIB_FILE_BODY;
-Name = dtrans.dll;
-Dir = SCP2_OOO_BIN_DIR;
-Styles = (PACKED);
-End
-
-#endif
-
 /* fdo#60491 always need emboleobj library on non-WNT platforms */
 #if !defined(WNT) || !defined(DISABLE_ATL)
 SPECIAL_LIB_FILE(gid_File_Lib_Emboleobj,emboleobj)
 #endif
 
-#if defined(WNT)  !defined(DISABLE_ATL)
-
-File gid_File_Lib_Inprocserv
-LIB_FILE_BODY;
-Styles = (PACKED);
-Dir = SCP2_OOO_BIN_DIR;
-Name = inprocserv.dll;
-End
-
-#endif
-
 #ifdef UNX
 
 #ifdef MACOSX
@@ -179,17 +137,6 @@ End
 
 #endif  // #ifdef UNX
 
-#ifdef WNT
-
-File gid_File_Lib_Fps
-LIB_FILE_BODY;
-Styles = (PACKED);
-Dir = SCP2_OOO_BIN_DIR;
-Name = fps.dll;
-End
-
-#endif
-
 #if defined UNX  ! defined MACOSX
 #ifdef ENABLE_TDE
 File gid_File_Bin_TdeFilePicker
@@ -284,17 +231,6 @@ End
 
 #endif
 
-#ifdef WNT
-
-File gid_File_Lib_Ftransl
-LIB_FILE_BODY;
-Styles = (PACKED);
-Dir = SCP2_OOO_BIN_DIR;
-Name = ftransl.dll;
-End
-
-#endif
-
 #ifndef SYSTEM_ICU
 
 File gid_File_Lib_Icudata
@@ -344,17 +280,6 @@ End
 
 #endif
 
-#if defined(WNT)  defined(HAVE_WINDOWS_SDK)
-
-File 

[ANN] LibreOffice 4.1.0 RC4 test builds available for smoketesting

2013-07-23 Thread Thorsten Behrens
Hi *,

QA found a number of problems that were initially addressed via a
hotfix for the Linux packages, but then resulted in a fully new build
today - we're now uploading builds of LibreOffice 4.1.0 RC4 to a
public (but non-mirrored - so don't spread news too widely!) place, as
soon as they're available. Grab them here:

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

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

The list of fixed bugs vs. 4.1.0 RC3 is available here

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

I'd like to especially ask QA volunteers from the following locales,
to please verify the fix of fdo#67093:

as
bg
br
gl
lt
pt-BR
pt
ru
sv
te
uk
zh-CN
zh-TW

Thanks a lot for your help,

-- Thorsten


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


[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - 3 commits - sc/inc sc/qa sc/source

2013-07-23 Thread Kohei Yoshida
 sc/inc/tokenarray.hxx   |3 +
 sc/qa/unit/ucalc.hxx|2 
 sc/qa/unit/ucalc_formula.cxx|   73 
 sc/source/core/data/formulacell.cxx |   22 --
 sc/source/core/tool/token.cxx   |   52 +
 5 files changed, 139 insertions(+), 13 deletions(-)

New commits:
commit a62b7f10ec1fddd7d2bd6517dec75a617aaa12be
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 22:33:27 2013 -0400

Re-implement adjusting of references on move.

Change-Id: I52a8b78ed072eb6bcd86b4f80936a869046cbc4d

diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 5ff7da0..2ae6c90 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -129,6 +129,9 @@ public:
  */
 sc::RefUpdateResult AdjustReferenceOnShift( const sc::RefUpdateContext 
rCxt, const ScAddress rOldPos );
 
+sc::RefUpdateResult AdjustReferenceOnMove(
+const sc::RefUpdateContext rCxt, const ScAddress rOldPos, const 
ScAddress rNewPos );
+
 /**
  * Adjust all references on sheet deletion.
  *
diff --git a/sc/source/core/data/formulacell.cxx 
b/sc/source/core/data/formulacell.cxx
index 63d2c9b..725c5d9 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -2365,7 +2365,6 @@ bool ScFormulaCell::UpdateReferenceOnMove(
 aOldPos.Set(aPos.Col() - rCxt.mnColDelta, aPos.Row() - 
rCxt.mnRowDelta, aPos.Tab() - rCxt.mnTabDelta);
 }
 
-
 // Check presence of any references or column row names.
 pCode-Reset();
 bool bHasRefs = (pCode-GetNextReferenceRPN() != NULL);
@@ -2389,22 +2388,19 @@ bool ScFormulaCell::UpdateReferenceOnMove(
 pOldCode.reset(pCode-Clone());
 
 bool bValChanged = false;
-bool bRangeModified = false;// any range, not only shared formula
+bool bRefModified = false;
 bool bRefSizeChanged = false;
 
 if (bHasRefs)
 {
 // Update cell or range references.
-ScCompiler aComp(pDocument, aPos, *pCode);
-aComp.SetGrammar(pDocument-GetGrammar());
-aComp.UpdateReference(
-URM_MOVE, aOldPos, rCxt.maRange,
-rCxt.mnColDelta, rCxt.mnRowDelta, rCxt.mnTabDelta,
-bValChanged, bRefSizeChanged);
-bRangeModified = aComp.HasModifiedRange();
+sc::RefUpdateResult aRes = pCode-AdjustReferenceOnMove(rCxt, aOldPos, 
aPos);
+bRefModified = aRes.mbReferenceModified;
+bValChanged = aRes.mbValueChanged;
 }
 
-bCellStateChanged |= bValChanged;
+if (bValChanged || bRefModified)
+bCellStateChanged = true;
 
 if (bOnRefMove)
 // Cell may reference itself, e.g. ocColumn, ocRow without parameter
@@ -2429,7 +2425,7 @@ bool ScFormulaCell::UpdateReferenceOnMove(
 bHasRelName = HasRelNameReference();
 // Reference changed and new listening needed?
 // Except in Insert/Delete without specialties.
-bNewListening = (bRangeModified || bColRowNameCompile
+bNewListening = (bRefModified || bColRowNameCompile
 || bValChanged || bHasRelName)
 // #i36299# Don't duplicate action during cutpaste / dragdrop
 // on a cell in the range moved, start/end listeners is done
@@ -2442,7 +2438,7 @@ bool ScFormulaCell::UpdateReferenceOnMove(
 
 bool bNeedDirty = false;
 // NeedDirty for changes except for Copy and Move/Insert without RelNames
-if ( bRangeModified || bColRowNameCompile ||
+if ( bRefModified || bColRowNameCompile ||
  (bValChanged  bHasRelName  (bHasRelName || bInDeleteUndo || 
bRefSizeChanged)) || bOnRefMove)
 bNeedDirty = true;
 
@@ -2451,7 +2447,7 @@ bool ScFormulaCell::UpdateReferenceOnMove(
 
 bValChanged = false;
 
-if ( ( bCompile = (bCompile || bValChanged || bRangeModified || 
bColRowNameCompile) ) != 0 )
+if ( ( bCompile = (bCompile || bValChanged || bRefModified || 
bColRowNameCompile) ) != 0 )
 {
 CompileTokenArray( bNewListening ); // no Listening
 bNeedDirty = true;
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 64beedf..b783525 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -2472,6 +2472,58 @@ sc::RefUpdateResult 
ScTokenArray::AdjustReferenceOnShift( const sc::RefUpdateCon
 return aRes;
 }
 
+sc::RefUpdateResult ScTokenArray::AdjustReferenceOnMove(
+const sc::RefUpdateContext rCxt, const ScAddress rOldPos, const 
ScAddress rNewPos )
+{
+// When moving, the range is the destination range. We need to use the old
+// range prior to the move for hit analysis.
+ScRange aOldRange = rCxt.maRange;
+aOldRange.Move(-rCxt.mnColDelta, -rCxt.mnRowDelta, -rCxt.mnTabDelta);
+
+sc::RefUpdateResult aRes;
+
+FormulaToken** p = pCode;
+FormulaToken** pEnd = p + static_castsize_t(nLen);
+for (; p != pEnd; ++p)
+{
+switch ((*p)-GetType())
+{
+ 

[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/qa

2013-07-23 Thread Kohei Yoshida
 sc/qa/unit/ucalc_formula.cxx |   22 ++
 1 file changed, 22 insertions(+)

New commits:
commit c92abf7e27ea8dc579e00b751648bf03e147f09f
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 23:06:03 2013 -0400

Add test for partial move of referenced range.

Change-Id: I48d0a3ea631f26b779fd6faddeb30c30a831f493

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index ebf74e7..ec6a6da 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -907,6 +907,28 @@ void Test::testFormulaRefUpdateMove()
 if (!checkFormula(*m_pDoc, ScAddress(1,12,0), $D$6))
 CPPUNIT_FAIL(Wrong formula.);
 
+// The value cells are in D4:D6. Push D4:D5 to the right but leave D6
+// where it is.
+m_pDoc-InsertCol(ScRange(3,0,0,3,4,0));
+
+// Only the values of B10 and B11 should be updated.
+CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc-GetValue(1,9,0));
+CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc-GetValue(1,10,0));
+CPPUNIT_ASSERT_EQUAL(2.0, m_pDoc-GetValue(1,11,0));
+CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc-GetValue(1,12,0));
+
+if (!checkFormula(*m_pDoc, ScAddress(1,9,0), SUM(D4:D6)))
+CPPUNIT_FAIL(Wrong formula.);
+
+if (!checkFormula(*m_pDoc, ScAddress(1,10,0), SUM($D$4:$D$6)))
+CPPUNIT_FAIL(Wrong formula.);
+
+if (!checkFormula(*m_pDoc, ScAddress(1,11,0), E5))
+CPPUNIT_FAIL(Wrong formula.);
+
+if (!checkFormula(*m_pDoc, ScAddress(1,12,0), $D$6))
+CPPUNIT_FAIL(Wrong formula.);
+
 m_pDoc-DeleteTab(0);
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - 2 commits - sc/qa sc/source

2013-07-23 Thread Kohei Yoshida
 sc/qa/unit/ucalc_formula.cxx|5 +-
 sc/source/core/data/formulacell.cxx |   65 +++-
 2 files changed, 9 insertions(+), 61 deletions(-)

New commits:
commit e8b93b07408d437e04d00a4ff927b09184add57c
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Wed Jul 24 00:00:16 2013 -0400

I'm supposed to move it, not shift it.

Change-Id: I3fe1f05a57089b42296e5758542772d69119c17a

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index ec6a6da..af5f96c 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -907,9 +907,10 @@ void Test::testFormulaRefUpdateMove()
 if (!checkFormula(*m_pDoc, ScAddress(1,12,0), $D$6))
 CPPUNIT_FAIL(Wrong formula.);
 
-// The value cells are in D4:D6. Push D4:D5 to the right but leave D6
+// The value cells are in D4:D6. Move D4:D5 to the right but leave D6
 // where it is.
-m_pDoc-InsertCol(ScRange(3,0,0,3,4,0));
+bMoved = rFunc.MoveBlock(ScRange(3,3,0,3,4,0), ScAddress(4,3,0), true, 
false, false, false);
+CPPUNIT_ASSERT_MESSAGE(Failed to move D4:D5 to E4:E5, bMoved);
 
 // Only the values of B10 and B11 should be updated.
 CPPUNIT_ASSERT_EQUAL(3.0, m_pDoc-GetValue(1,9,0));
commit 641280e198cdd416a365adef12be30e0ef7d0977
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Tue Jul 23 23:58:11 2013 -0400

There isn't much we have to do for copy.

Change-Id: I4d297f15e8030fdf068c7e3102f9d03aff401cf9

diff --git a/sc/source/core/data/formulacell.cxx 
b/sc/source/core/data/formulacell.cxx
index 725c5d9..158dc85 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -2504,85 +2504,32 @@ bool ScFormulaCell::UpdateReferenceOnCopy(
 // on reference update. Bail out.
 return false;
 
-bool bCellStateChanged = false;
 boost::scoped_ptrScTokenArray pOldCode;
 if (pUndoDoc)
 pOldCode.reset(pCode-Clone());
 
-bool bValChanged = false;
-bool bRangeModified = false;// any range, not only shared formula
-bool bRefSizeChanged = false;
-
-if (bHasRefs)
-{
-// Update cell or range references.
-ScCompiler aComp(pDocument, aPos, *pCode);
-aComp.SetGrammar(pDocument-GetGrammar());
-aComp.UpdateReference(
-URM_COPY, aOldPos, rCxt.maRange, rCxt.mnColDelta, rCxt.mnRowDelta, 
rCxt.mnTabDelta,
-bValChanged, bRefSizeChanged);
-bRangeModified = aComp.HasModifiedRange();
-}
-
-bCellStateChanged |= bValChanged;
-
 if (bOnRefMove)
 // Cell may reference itself, e.g. ocColumn, ocRow without parameter
-bOnRefMove = (bValChanged || (aPos != aOldPos));
-
-bool bColRowNameCompile = false;
-bool bNewListening = false;
-bool bInDeleteUndo = false;
-
-if (bHasRefs)
-{
-// Upon Insert ColRowNames have to be recompiled in case the
-// insertion occurs right in front of the range.
-if (bHasColRowNames)
-bColRowNameCompile = checkCompileColRowName(rCxt, *pDocument, 
*pCode, aOldPos, aPos, bValChanged);
-
-ScChangeTrack* pChangeTrack = pDocument-GetChangeTrack();
-bInDeleteUndo = (pChangeTrack  pChangeTrack-IsInDeleteUndo());
+bOnRefMove = (aPos != aOldPos);
 
-// Reference changed and new listening needed?
-// Except in Insert/Delete without specialties.
-bNewListening =
-(bRangeModified || bColRowNameCompile || (bValChanged  
(bInDeleteUndo || bRefSizeChanged)));
+bool bNeedDirty = bOnRefMove;
 
-if ( bNewListening )
-EndListeningTo(pDocument, pOldCode.get(), aOldPos);
-}
-
-bool bNeedDirty = false;
-// NeedDirty for changes except for Copy and Move/Insert without RelNames
-if ( bRangeModified || bColRowNameCompile || bOnRefMove)
-bNeedDirty = true;
-
-if (pUndoDoc  (bValChanged || bOnRefMove))
+if (pUndoDoc  bOnRefMove)
 setOldCodeToUndo(pUndoDoc, aUndoPos, pOldCode.get(), eTempGrammar, 
cMatrixFlag);
 
-bValChanged = false;
-
-if ( ( bCompile = (bCompile || bValChanged || bRangeModified || 
bColRowNameCompile) ) != 0 )
+if (bCompile)
 {
-CompileTokenArray( bNewListening ); // no Listening
+CompileTokenArray(false); // no Listening
 bNeedDirty = true;
 }
 
-if ( !bInDeleteUndo )
-{   // In ChangeTrack Delete-Reject listeners are established in
-// InsertCol/InsertRow
-if ( bNewListening )
-StartListeningTo( pDocument );
-}
-
 if (bNeedDirty)
 {   // Cut off references, invalid or similar?
 sc::AutoCalcSwitch(*pDocument, false);
 SetDirty();
 }
 
-return bCellStateChanged;
+return false;
 }
 
 bool ScFormulaCell::UpdateReference(
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org

Re: [Libreoffice-qa] FDO Version Management

2013-07-23 Thread Bjoern Michaelsen
Hi,

On Mon, Jul 22, 2013 at 11:02:40PM -0700, Joel Madero wrote:
 we know that some distros are still using 3.4 (RHEL) and 3.5 (Ubuntu 12.04 
 12.10), 

Ubuntu 12.10 has LibreOffice 3.6

 Also, I'd like to get feedback about a version pre-bibisect -
 right now we just mark these as 3.5beta0 as it's at least that old
 but that's not really incredibly accurate as to the level of triage
 work that has been done. Pre-bibisect instead would say 3.5 or
 older which is as far as we can prove if the bug appears in
 earliest bibisect package.

Hmmm, IMHO the real solution would be to extend bibisect to that range. OTOH,
doing that is such a pain ...

Best,

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


Re: [Libreoffice-qa] FDO Version Management

2013-07-23 Thread Cor Nouws

Bjoern Michaelsen wrote (23-07-13 11:15)


Hmmm, IMHO the real solution would be to extend bibisect to that range. OTOH,
doing that is such a pain ...


I have some older installations. Unless I am mistaken, most of the list 
below


LO330beta3
LibO330
LibO330beta2
LibO331rc2
LibO332
LibO333rc1
LibO334rc1
LibO340rc2
LibO341rc3
LibO342rc2
LibO342rc3
LibO343rc1
LibO343rc2
LibO344rc1
LibO345rc1
LibO345rc2
LO346rc1
daily02

So if really needed, I can do some tests there.


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


Re: [Libreoffice-qa] FDO Version Management

2013-07-23 Thread Bjoern Michaelsen
Hi,

On Tue, Jul 23, 2013 at 03:35:04PM +0200, Cor Nouws wrote:
 Bjoern Michaelsen wrote (23-07-13 11:15)
 
 Hmmm, IMHO the real solution would be to extend bibisect to that range. OTOH,
 doing that is such a pain ...
 
 I have some older installations. Unless I am mistaken, most of the
 list below
 
 LO330beta3
 LibO330
 LibO330beta2
 LibO331rc2
 LibO332
 LibO333rc1
 LibO334rc1
 LibO340rc2
 LibO341rc3
 LibO342rc2
 LibO342rc3
 LibO343rc1
 LibO343rc2
 LibO344rc1
 LibO345rc1
 LibO345rc2
 LO346rc1
 daily02
 
 So if really needed, I can do some tests there.

That would be awesome!

Currently there are only some 23 unresolved bibisect*older bugs:

 
https://bugs.freedesktop.org/report.cgi?x_axis_field=componenty_axis_field=versionz_axis_field=query_format=report-tableshort_desc_type=allwordssubstrshort_desc=product=LibreOfficebug_status=UNCONFIRMEDbug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDbug_status=RESOLVEDbug_status=VERIFIEDbug_status=CLOSEDbug_status=NEEDINFObug_status=PLEASETESTresolution=---longdesc_type=allwordssubstrlongdesc=bug_file_loc_type=allwordssubstrbug_file_loc=status_whiteboard_type=allwordssubstrstatus_whiteboard=bibisect+olderkeywords_type=allwordskeywords=bug_id=bug_id_type=anyexactemailtype1=substringemail1=emailtype2=substringemail2=emailtype3=substringemail3=chfieldvalue=chfieldfrom=chfieldto=Nowj_top=ANDf1=noopo1=noopv1=format=tableaction=wrap

it would probably be helpful to triage those down to an exact version --
although my fear is most will end up being introduced with the big merge
between 3.3 and 3.4.

Best,

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


[Libreoffice-bugs] [Bug 67202] New: Other: templates

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

  Priority: medium
Bug ID: 67202
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: Other: templates
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: dwil...@swcp.com
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.0.4.2 release
 Component: Spreadsheet
   Product: LibreOffice

Problem description: no template entry on the file menu 

Steps to reproduce:
1. 
2. 
3. 

Current behavior:can not get to template manager as per help directions

Expected behavior:file - templates - open from template
dialog box appears with list of templates to choose from to create new
document. This would enable user to have a library of templates to quickly pick
correct formatting etc. for the job at hand. Lack of a coherent and functioning
template manager is just inexcusable in 21 st century software. Please try to
get back to basic functionality.



Operating System: Linux (Other)
Version: 4.0.4.2 release

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


[Libreoffice-bugs] [Bug 67203] New: LibreOffice Impress 4.1 3D OpenGL transitions induce a crash

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

  Priority: medium
Bug ID: 67203
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: LibreOffice Impress 4.1 3D OpenGL transitions induce a
crash
  Severity: major
Classification: Unclassified
OS: Linux (All)
  Reporter: princet...@optonline.net
  Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
   Version: unspecified
 Component: UI
   Product: LibreOffice

With LibreOffice 4.1 and Mesa 9.2 (on Fedora 19), the following error occurs
when trying to demo any 3D (has to be from the libreoffice-ogltrans package)
transition.

This bug seems to exist for users of the R600g driver, as I cannot seem to
confirm this at the moment on any other cards that are available to me.


The following output was generated in gdb:

[New Thread 0x71af4700 (LWP 4058)]
[New Thread 0x7fffe880f700 (LWP 4059)]
[New Thread 0x7fffe3fff700 (LWP 4060)]
[New Thread 0x7fffe2ff6700 (LWP 4061)]
[New Thread 0x7fffdb2af700 (LWP 4062)]
Detaching after fork from child process 4063.
[New Thread 0x7fffd90fc700 (LWP 4065)]
[Thread 0x7fffd90fc700 (LWP 4065) exited]
[Thread 0x7fffe880f700 (LWP 4059) exited]
[New Thread 0x7fffe880f700 (LWP 4066)]
[New Thread 0x7fffd90fc700 (LWP 4067)]
[Thread 0x7fffd90fc700 (LWP 4067) exited]
[New Thread 0x7fffceb75700 (LWP 4068)]
[New Thread 0x7fffd90fc700 (LWP 4069)]
[Thread 0x7fffe880f700 (LWP 4066) exited]
[New Thread 0x7fffe880f700 (LWP 4070)]
[New Thread 0x7fffcd285700 (LWP 4071)]
[New Thread 0x7fffc3afc700 (LWP 4072)]
[Thread 0x7fffc3afc700 (LWP 4072) exited]
[Thread 0x7fffe880f700 (LWP 4070) exited]
[New Thread 0x7fffe880f700 (LWP 4073)]
[New Thread 0x7fffc3afc700 (LWP 4074)]
[Thread 0x7fffc3afc700 (LWP 4074) exited]
[Thread 0x7fffe880f700 (LWP 4073) exited]
[New Thread 0x7fffe880f700 (LWP 4075)]

Program received signal SIGSEGV, Segmentation fault.
0x003c67c1a167 in GetGLXScreenConfigs () from /lib64/libGL.so.1


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


[Libreoffice-bugs] [Bug 67203] LibreOffice Impress 4.1 3D OpenGL transitions induce a crash on R600g

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

princet...@optonline.net changed:

   What|Removed |Added

Summary|LibreOffice Impress 4.1 3D  |LibreOffice Impress 4.1 3D
   |OpenGL transitions induce a |OpenGL transitions induce a
   |crash   |crash on R600g

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


[Libreoffice-bugs] [Bug 67204] New: How many formulae in libre office calc 4.0.2.2

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

  Priority: medium
Bug ID: 67204
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: How many formulae in libre office calc 4.0.2.2
  Severity: critical
Classification: Unclassified
OS: All
  Reporter: satenderku...@tetrain.com
  Hardware: All
Status: UNCONFIRMED
   Version: 4.0.2.2 release
 Component: Spreadsheet
   Product: LibreOffice

Hi,
please help to know that how many formulae in libreoffice calc(4.0.2.2)

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


[Libreoffice-bugs] [Bug 67205] New: CRITBINOM function description is wrong

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

  Priority: medium
Bug ID: 67205
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: CRITBINOM function description is wrong
  Severity: normal
Classification: Unclassified
OS: All
  Reporter: mikeyy@gmail.com
  Hardware: Other
Status: NEW
   Version: 4.1.0.2 rc
 Component: Documentation
   Product: LibreOffice

Reported by Sergio, smarque...@gmail.com
This affects HELP and UI in EN_US

Dana 22.7.2013. 23:11, Sérgio Marques je napisao:


 I don´t have an bugzilla account. Can You do it? Or someone with an account 
 there.
 What needs to be fixed is:
 UI:
 File: sc/source/ui/src.po
 Context:
  
 scfuncs.src RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_KRIT_BINOM 1 string.text


  Comment:  

 o6CUv


 Border arguments of the binomial distribution.
 To:
 Context:
  
 scfuncs.src RID_SC_FUNCTION_DESCRIPTIONS2.SC_OPCODE_CRIT_BINOM 1 string.text
 Returns the smallest value for which the cumulative binomial distribution is 
 greater than or equal to a criterion value.
 Help files:
 File:
  

 scalc/01.po
 Context:
  
 04060183.xhp par_id3149254 49 help.text
 Comment:
  

 yXdFy

 From:

 ahelp hid=HID_FUNC_KRITBINOMReturns the smallest value for which the 
 cumulative binomialdistribution is less than or equal to a criterion 
 value./ahelp

 To

 ahelp hid=HID_FUNC_CRITBINOMReturns the smallest value for which the 
 cumulative binomialdistribution is greater than or equal to a criterion 
 value./ahelp

 If someone could do it I would appreciate it.

 http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#CRITBINOM

 Regards

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


[Libreoffice-bugs] [Bug 67203] LibreOffice Impress 4.1 3D OpenGL transitions induce a crash on R600g

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

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

   What|Removed |Added

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

--- Comment #1 from Julien Nabet serval2...@yahoo.fr ---
princeton: would it be possible you provide a backtrace by following this link?
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_a_backtrace

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


[Libreoffice-bugs] [Bug 60862] Support LibreOffice on the Android platform

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

Tor Lillqvist tlillqv...@suse.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #11 from Tor Lillqvist tlillqv...@suse.com ---
I still think this bug makes no sense at all. Already the first sentence in the
initial comment is totally misleading.

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


[Libreoffice-bugs] [Bug 67206] New: EDITING: No autocalculation of a cell referenced to a cell, if a column was inserted before

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

  Priority: medium
Bug ID: 67206
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: EDITING: No autocalculation of a cell referenced to a
cell, if a column was inserted before
  Severity: normal
Classification: Unclassified
OS: Windows (All)
  Reporter: moglivonw...@t-online.de
  Hardware: Other
Whiteboard: BSA
Status: UNCONFIRMED
   Version: 4.1.0.3 rc
 Component: Spreadsheet
   Product: LibreOffice

Problem description: 
A cell with reference to another cell with formula won't
recalculate/autocalculate, if a column was inserted before.

Steps to reproduce:
1. In a row enter numbers for example 1 2 3 in cells A1, B1, C1
   In cell D1 enter =sum(A1:C1)
   In cell E2 enter =D1+1
   Changing any numbers in A1, B1 or C1 works well.
2. Insert a column between the number-cells, for example
   between A1 and B1.
   (All references will updated correctly.)
3. Enter a number (5 or so) into the new and empty cell B1.
   :-(
   Cell D1 autocalculate correctly,
   cell F2 not!

Current behavior:
After inserting a column some cells won't recalculate automaticly.
Cell F2 dont't recalculate automaticly.

Expected behavior:
Cell F2 must recalculate automaticly.
Operating System: Windows 7
Version: 4.1.0.3 rc

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


[Libreoffice-bugs] [Bug 59524] Allow FILESAVE with password for xlsx and other not LibreOffice XML-based formats

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

Bernard Gray bernard.g...@gmail.com changed:

   What|Removed |Added

 CC||bernard.g...@gmail.com

--- Comment #5 from Bernard Gray bernard.g...@gmail.com ---
Please note that under Ubuntu 12.10, using the libreoffice-ppa packages
(currently 4.0.4~rc2-0ubuntu1~quantal1) the Save with password checkbox is
enabled, but if you tick it and enter a password, no password is saved with the
file.

Unless this is specific to those ppa packages only, this would qualify for
changing this reports Importance from Enhancement to Critical

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


[Libreoffice-bugs] [Bug 67201] OpenFile Error .odt from old .doc (MS-Word) converted

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

--- Comment #2 from James spa...@gmx.net ---
Guenther: Could you please attach a sample file which this can be tested
against? Otherwise it's very difficult to confirm this problem.

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


[Libreoffice-bugs] [Bug 67071] vlookup between two files is really slow and Libreoffice crashes

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

--- Comment #10 from Menno Scholten scholten.me...@gmail.com ---
Hello Mario,

i agree that the example files i posted are very large, most of the time the
file to enrich is smaller (100 lines), but the file where the information is
coming from is often big.
You are right that a database solution would be better, but vlookup is used by
normal users, who have a basic knowledge of Excel/Calc. The information is
often exported from our ERP DB en then manipulated in Calc, because we don't
want to program 100 different lists for 100 different purposes every week.
Sometimes we receive a spreadsheet from a customer to enrich.

Hi Petr,

i just tested with both sheets in one spreadsheet instead of two spreadsheets.
Then it workes fine. It look like the connections between two spreadsheets is
the problem.

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


[Libreoffice-bugs] [Bug 67158] Other: 'File -- Recent Documents' should show only files relavant to opened application.

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

--- Comment #2 from pharmankur pharman...@gmail.com ---
Ok,
In that case there should be an option of 'PINNING' important documents.
Because as all files of all LO applications are recorded in history, history
list gets populated rapidly  document keeps moving downwards in list 
disappear frequently.

* This might be a new request !

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


[Libreoffice-bugs] [Bug 67164] Other: Installation instructions inappropriate under Ubuntu

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

pharmankur pharman...@gmail.com changed:

   What|Removed |Added

Summary|Other: Instalation  |Other: Installation
   |instructions inappropriate  |instructions inappropriate
   |under Ubuntu|under Ubuntu

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


[Libreoffice-bugs] [Bug 67164] Installation instructions of LO 4.1.0.3 rc are inappropriate under Ubuntu

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

pharmankur pharman...@gmail.com changed:

   What|Removed |Added

Summary|Other: Installation |Installation instructions
   |instructions inappropriate  |of LO 4.1.0.3 rc are
   |under Ubuntu|inappropriate under Ubuntu

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


[Libreoffice-bugs] [Bug 43489] [Task] Incorrect behavior using existing User Profile for upgrade

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

Bug 43489 depends on bug 62155, which changed state.

Bug 62155 Summary: Libreoffice crashes after upgrade while using formula bar
https://bugs.freedesktop.org/show_bug.cgi?id=62155

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 54157] LibreOffice 4.0 most annoying bugs

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

Bug 54157 depends on bug 62155, which changed state.

Bug 62155 Summary: Libreoffice crashes after upgrade while using formula bar
https://bugs.freedesktop.org/show_bug.cgi?id=62155

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 62155] Libreoffice crashes after upgrade while using formula bar

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

Wiebe Cazemier wi...@halfgaar.net changed:

   What|Removed |Added

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

--- Comment #14 from Wiebe Cazemier wi...@halfgaar.net ---
Reopening, crashes with 4.0.4. 

Archlinux, kernel 3.9.4-1-ARCH
extra/libreoffice-calc 4.0.4-1 (libreoffice) [installed]
core/glibc 2.17-6 (base) [installed: 2.17-5]

Stacktrace:

# gdb
attach somepid (don't remember)
output
(gdb) continue
Continuing.
[New Thread 0x7ff32eca6700 (LWP 1679)]

typing = in formula bar in empty spread

Program received signal SIGABRT, Aborted.
0x7ff34893f1c9 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x7ff34893f1c9 in raise () from /usr/lib/libc.so.6
#1  0x7ff3489405c8 in abort () from /usr/lib/libc.so.6
#2  0x7ff34922b935 in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/libstdc++.so.6
#3  0x7ff349229aa6 in ?? () from /usr/lib/libstdc++.so.6
#4  0x7ff349229ad3 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x7ff349229cfe in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x7ff32fc9ca49 in ?? () from
/usr/lib/libreoffice/ure/lib/libgcc3_uno.so
#7  0x7ff32fc9ad83 in ?? () from
/usr/lib/libreoffice/ure/lib/libgcc3_uno.so
#8  0x7ff32fc9b1d3 in ?? () from
/usr/lib/libreoffice/ure/lib/libgcc3_uno.so
#9  0x7ff32fca33c6 in privateSnippetExecutor () from
/usr/lib/libreoffice/ure/lib/libgcc3_uno.so
#10 0x7ff347c892dd in ?? () from
/usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#11 0x7ff347c889c2 in ?? () from
/usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#12 0x7ff347c822c4 in ?? () from
/usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
#13 0x7ff30f65d142 in
ScUnoAddInCollection::LoadComponent(ScUnoAddInFuncData const) () from
/usr/lib/libreoffice/program/../program/libsclo.so
#14 0x7ff30f65c3e8 in ScUnoAddInCollection::GetFuncData(rtl::OUString
const, bool) () from /usr/lib/libreoffice/program/../program/libsclo.so
#15 0x7ff30f608900 in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#16 0x7ff30f82e09c in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#17 0x7ff30f82e46b in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#18 0x7ff30f82e5e1 in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#19 0x7ff30f8338a5 in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#20 0x7ff30f834b5a in ?? () from
/usr/lib/libreoffice/program/../program/libsclo.so
#21 0x7ff3454ab6fe in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#22 0x7ff3454adfbf in ?? () from /usr/lib/libreoffice/program/libvcllo.so
#23 0x7ff3391ecccf in ?? () from
/usr/lib/libreoffice/program/libvclplug_gtklo.so
#24 0x7ff3391ee231 in ?? () from
/usr/lib/libreoffice/program/libvclplug_gtklo.so
#25 0x7ff340c21fc9 in g_cclosure_marshal_VOID__STRINGv () from
/usr/lib/libgobject-2.0.so.0
#26 0x7ff340c1f687 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x7ff340c37778 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#28 0x7ff340c38992 in g_signal_emit_by_name () from
/usr/lib/libgobject-2.0.so.0
#29 0x7ff340c21fc9 in g_cclosure_marshal_VOID__STRINGv () from
/usr/lib/libgobject-2.0.so.0
#30 0x7ff340c1f687 in ?? () from /usr/lib/libgobject-2.0.so.0
#31 0x7ff340c37778 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#32 0x7ff340c38992 in g_signal_emit_by_name () from
/usr/lib/libgobject-2.0.so.0
#33 0x7ff33895dc80 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x7ff33895e1b9 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x7ff33895fff3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x7ff3391ee5cc in ?? () from
/usr/lib/libreoffice/program/libvclplug_gtklo.so
#37 0x7ff3391ee7ec in ?? () from
/usr/lib/libreoffice/program/libvclplug_gtklo.so
#38 0x7ff3389764c5 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x7ff340c1f458 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#40 0x7ff340c3040d in ?? () from /usr/lib/libgobject-2.0.so.0
#41 0x7ff340c37e52 in g_signal_emit_valist () from
/usr/lib/libgobject-2.0.so.0
#42 0x7ff340c38462 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#43 0x7ff338a85624 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#44 0x7ff338974d47 in gtk_propagate_event () from
/usr/lib/libgtk-x11-2.0.so.0
#45 0x7ff33897502b in gtk_main_do_event () from
/usr/lib/libgtk-x11-2.0.so.0
#46 0x7ff3385f0afc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#47 0x7ff340958e46 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#48 0x7ff340959198 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0x7ff34095923c in g_main_context_iteration () from

[Libreoffice-bugs] [Bug 34465] get rid of all calls to virtual const SfxPoolItem* Put( const SfxPoolItem, USHORT nWhich)

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

--- Comment #9 from Maciej Rumianowski maciej.rumianow...@gmail.com ---
Created attachment 82856
  -- https://bugs.freedesktop.org/attachment.cgi?id=82856action=edit
Patches

Attaching my patches which are a work in progress and should not be committed
to master. I am not sure about last two patches, they break things.
Here is the list of patches:
0001-Add-CloneAtWhich.patch
0002-changes-in-svx.patch
0003-sc-Replace-two-arg-Put-method-with-one-arg-and-clone.patch
0004-changes-in-svl.patch
0005-sw-Replace-two-arg-Put-method-with-one-arg-and-clone.patch
0006-cui-Replace-two-arg-Put-method-with-one-arg-and-clon.patch
0007-sd-Replace-two-arg-Put-method-with-one-arg-and-clone.patch
0008-editeng-Replace-two-arg-Put-method-with-one-arg-and-.patch
0009-Use-one-arg-Put-method-instead.patch
0010-svl-Replace-two-arg-Put-method-with-one-arg-and-clon.patch
0011-remove-Put-const-SfxPoolItem-sal_uInt16-nWhich.patch
0012-correct-handling-of-disabled-items.patch

Master was at eee2fe2e7efe1476d363bfb36b09d7e0d4042438 back then

Hope that helps Someone.

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


[Libreoffice-bugs] [Bug 67207] New: FILESAVE replaces the FIELDS in a MAILMERGE document with the fieldname when database is on a samba share

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

  Priority: medium
Bug ID: 67207
  Assignee: libreoffice-bugs@lists.freedesktop.org
   Summary: FILESAVE replaces the FIELDS in a MAILMERGE document
with the  fieldname  when database is on a samba
share
  Severity: normal
Classification: Unclassified
OS: Linux (All)
  Reporter: francis.p.jo...@gmail.com
  Hardware: x86 (IA32)
Status: UNCONFIRMED
   Version: 3.5.7.2 release
 Component: Writer
   Product: LibreOffice

1. On a samba share on another computer on your local network:
(a) Create a calc doc (spreadsheet).  
(b) Put in columns c1 c2 c3 in first row, with data 1, 2, 3 in second row.

2. On your local computer, create a database file connected tothe calc doc:
(a) use existing database, type Spreadsheet
(b) navigate to the calc doc you create above.
(c) save the .odb file in your local directory (you can't save it on the samba
share --- LO will refuse to write there so you don't have much choice here)

3. Create a writer doc.
(a) put in some blah blah blah fixed text
(b) open up the data sources and select the database you created in (2)
above.
(c) drag some fields from the db into the writer doc.  You can put in columns
c1, c2, c3 for example.  When you do this, they look like c1, where all the
text has a dark grey background and the whole thing is a solid field entity
(you can't put your cursor between the c and the 1 for example.

4. Print the writer doc.  
(a) LO will notice that there are form fields and ask if you want to print a
form letter - say yes.
(b) choose Print to File, one file per doc, use column 1 as the doc name
generator.

5. You will find that you have one new doc (corresponding to the one record in
the spreadsheet) in your Documents folder... and it is correctly printed.

6.  Save the writer doc.  This will save it on the samba share.

7.  Reopen the writer doc.  It won't have any form fields any more.  They will
all simply be changed into fixed and editable text with the names of the
database fields e.g., c1 ... no longer with dark grey background.  Just
plain text.

What should happen: when I save a doc with database fields, it should save it
so that I can reopen it later and print another form letter.  This works fine
as long as the writer doc is on my local machine.

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


[Libreoffice-bugs] [Bug 67207] FILESAVE replaces the FIELDS in a MAILMERGE document with the fieldname when writer doc is on a samba share

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

drdumbo francis.p.jo...@gmail.com changed:

   What|Removed |Added

Summary|FILESAVE replaces the   |FILESAVE replaces the
   |FIELDS in a MAILMERGE   |FIELDS in a MAILMERGE
   |document with the |document with the 
   |fieldname  when database  |fieldname  when writer
   |is on a samba share |doc is on a samba share

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


[Libreoffice-bugs] [Bug 59524] Allow FILESAVE with password for xlsx and other not LibreOffice XML-based formats

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

--- Comment #6 from Bill Robertson billr...@gmail.com ---
1/ Agree with Rainer's point - xls files do save with a password under LO, so
behaviour is inconsistent.

2/ Also agree with Bernard's point - allowing a (Linux) user to save with a
password then not encrypting the file is a bug.

Note that the vast majority of our desktops are Linux so this is a showstopper
for us

PS I expect we would be willing contribute towards sponsoring a fix /
enhancement.

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


[Libreoffice-bugs] [Bug 62155] Libreoffice crashes after upgrade while using formula bar

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

--- Comment #15 from Stephan Bergmann sberg...@redhat.com ---
(In reply to comment #14)
 (gdb) continue
 Continuing.
 [New Thread 0x7ff32eca6700 (LWP 1679)]
 
 typing = in formula bar in empty spread
 
 Program received signal SIGABRT, Aborted.
 0x7ff34893f1c9 in raise () from /usr/lib/libc.so.6
 (gdb) bt
 #0  0x7ff34893f1c9 in raise () from /usr/lib/libc.so.6
 #1  0x7ff3489405c8 in abort () from /usr/lib/libc.so.6
 #2  0x7ff34922b935 in __gnu_cxx::__verbose_terminate_handler() () from
 /usr/lib/libstdc++.so.6
 #3  0x7ff349229aa6 in ?? () from /usr/lib/libstdc++.so.6
 #4  0x7ff349229ad3 in std::terminate() () from /usr/lib/libstdc++.so.6
 #5  0x7ff349229cfe in __cxa_throw () from /usr/lib/libstdc++.so.6
 #6  0x7ff32fc9ca49 in ?? () from
 /usr/lib/libreoffice/ure/lib/libgcc3_uno.so
 #7  0x7ff32fc9ad83 in ?? () from
 /usr/lib/libreoffice/ure/lib/libgcc3_uno.so
 #8  0x7ff32fc9b1d3 in ?? () from
 /usr/lib/libreoffice/ure/lib/libgcc3_uno.so
 #9  0x7ff32fca33c6 in privateSnippetExecutor () from
 /usr/lib/libreoffice/ure/lib/libgcc3_uno.so
 #10 0x7ff347c892dd in ?? () from
 /usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
 #11 0x7ff347c889c2 in ?? () from
 /usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
 #12 0x7ff347c822c4 in ?? () from
 /usr/lib/libreoffice/program/../ure-link/lib/libuno_cppuhelpergcc3.so.3
 #13 0x7ff30f65d142 in
 ScUnoAddInCollection::LoadComponent(ScUnoAddInFuncData const) () from
 /usr/lib/libreoffice/program/../program/libsclo.so

Your problem is slightly different to the one originally discussed in this bug,
as it throws an uncaught exception in ScUnoAddInCollection::LoadComponent, past
the call to ScUnoAddInCollection::Initialize where an exception was not caught
in the original bug's scenario.

__gnu_cxx::__verbose_terminate_handler indicates that there most certainly was
printed something along the lines of uncaught exception of type ... printed
to stderr prior to Program received signal SIGABRT, Aborted. that you elided.
 Can you provide that?

Also, can you provide the output of unopkg list, unopkg list --shared, and
unopkg list --bundled?

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


[Libreoffice-bugs] [Bug 59524] Allow FILESAVE with password for xlsx and other not LibreOffice XML-based formats

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

ign_christian ign_christ...@yahoo.com changed:

   What|Removed |Added

   Hardware|x86 (IA32)  |All
 OS|Linux (All) |All

--- Comment #7 from ign_christian ign_christ...@yahoo.com ---
Hi Bill, perhaps you could sponsoring via:
http://www.freedomsponsors.org/core/issue/?s=project_id=149project_name=LibreOffice

Hope that boost more attraction :)

Set Platform to: All - also affect Windows (except comment 5)

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


  1   2   3   >