RE: need help: clean build of master does not run

2012-04-27 Thread Winfried Donkers
Yay, that is from before my fix.  So my theory that the problem should
be solved by now is not yet proven wrong.

Congratulations :)

at the second attempt is odd (unless you explicitly start soffice.bin
instead of soffice)

I did

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


RE: advice needed: bug44456 addition of ODF-formula datedif to calc

2012-04-27 Thread Winfried Donkers
@Eike and @Regina:

Thank you for your reactions.
Unfortunately I have to be absent for a couple of days, so I cannot respond to 
you, nor put your advises/suggenstions into the code yet.
But I will get back to you and make the enhancement fit to submit :-)

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


[Libreoffice-commits] .: libxmlsec/makefile.mk

2012-04-27 Thread Tor Lillqvist
 libxmlsec/makefile.mk |4 
 1 file changed, 4 insertions(+)

New commits:
commit ec913638c55a41b0ac354f9f564d13a8f53449f3
Author: Tor Lillqvist tlillqv...@suse.com
Date:   Thu Apr 26 23:22:47 2012 +0300

Add comment telling that the MinGW stuff here is not for cross-compilation

diff --git a/libxmlsec/makefile.mk b/libxmlsec/makefile.mk
index 64a9ca8..1470503 100644
--- a/libxmlsec/makefile.mk
+++ b/libxmlsec/makefile.mk
@@ -99,6 +99,10 @@ xmlsec_LIBS+=$(MINGW_SHARED_LIBSTDCPP)
 .ENDIF
 CONFIGURE_DIR=
 CONFIGURE_ACTION=.$/configure
+
+# Note that this is obsolete crack for building *locally* on Windows with 
MinGW,
+# something we don't see the point in here in LibreOffice
+
 CONFIGURE_FLAGS=--with-libxslt=no --with-openssl=no --with-gnutls=no 
--with-mozilla_ver=1.7.5 --enable-mscrypto --disable-crypto-dl 
--build=i586-pc-mingw32 --host=i586-pc-mingw32 CC=$(xmlsec_CC) 
LDFLAGS=-no-undefined -L$(ILIB:s/;/ -L/) LIBS=$(xmlsec_LIBS) 
LIBXML2LIB=$(LIBXML2LIB) ZLIB3RDLIB=$(ZLIB3RDLIB) OBJDUMP=$(WRAPCMD) objdump
 
 .IF $(SYSTEM_NSS) != YES
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: New feature for libre Calc

2012-04-27 Thread Michael Meeks
Hi Bandula,

On Thu, 2012-04-26 at 22:37 -0700, Bandula Rodrigo wrote:
 Would like to suggest  a small feature that is used in ms xl. It
 goes like this :

This is not a suitable list for feature requests - it is for developers
discussing patches, fixes and questions about the code.

 We are using libre office in more than 300 computers now. and no
 complains. only this accounts people are complaining.

So, for a successful large deployment it is recommended that you pay
for enterprise support - that has a couple of benefits: first you help
indirectly fund the improvement of LibreOffice, and because of that you
can get your specific feature requests and bugs dealt with. Faliing a
support contract, you could contract individual features with local
developers :-)

All the best,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: need help: clean build of master does not run

2012-04-27 Thread Stephan Bergmann

On 04/27/2012 08:29 AM, Winfried Donkers wrote:

at the second attempt is odd (unless you explicitly start soffice.bin
instead of soffice)


I did


Ah, that's by design, then.  When soffice.bin detects upon start-up that 
the per-user information about bundled or shared extensions is outdated, 
it updates that information and then exits with a special exit code (81) 
that causes the wrapping process (on Linux that's oosplash, in turn 
started from soffice) to restart soffice.bin automatically.


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


Re: support for repeating format code in calc

2012-04-27 Thread Noel Power

Hi Eike,

I had a little further look,

On 25/04/12 10:37, Noel Power wrote:
maybe I am naive, isn't this complicating things ( right/left 
justified ? ) doesn't it just fill to available width ( granted with 
assumed knowledge of column width border size etc. ) with 0 or more of 
the character to repeat ? I would expect an existing left/center/right 
justification on the cell to be ignored when this 'special' format 
code is specified ( admittedly I haven't tried this... )
ok, I didn't test exhaustively but just some quick testing. Hopefully I 
changed the correct thing, with mso 2002 I modified the cell|format 
cells|allignment|horizontal ( used values center, left, right etc. ) 
which didn't seem to affect the display. So if I did tested the right 
thing then it would seem that justification is ignored in this case.


[...]
Afaics  with mso ( 2002 at least) and libreoffice  the formatter fails 
silently,
seems to be the case with again some quick testing ( which kindof sucks 
I guess )
I mean generally I suppose people just rely on the preview and/or 
applying the format to show you if the format worked. With that in 
mind I would specify ( in whatever specification blurb we might 
provide ) that we expect only one '*[char]' in the format but in the 
event of more that one occurrence we take ( to be decided ) either the 
first or last one and ignore the others.
again with some quick testing looks like in this case excel will take 
the last specified repeat and use that.


[...]


I assume also left/centered/right justification affects things for
leading/trailing fills.
unless Excel does this I would avoid such complication like the plague 
( especially given my complete ignorance in such matters ;-) ) Saying 
that I didn't test even what would happen on the calc side with same :-/
see above, seems ( and imho sensibly ) to ignore justification when the 
repeat code is encountered

[...]



we could use

 String aFill;
 aFill.Expand( nNumCharsToInsert, mnChar);
 aTmpStr.Insert( aFill, mnPos);

to avoid multiple reallocations with character-based Insert.

we just should use that, I will change it thanks!

I *will* change that (just need  to get around to it )

thanks,

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


[Libreoffice-commits] .: 3 commits - cui/AllLangResTarget_cui.mk cui/Library_cui.mk cui/source officecfg/registry svx/inc unusedcode.easy xmlsecurity/source

2012-04-27 Thread Caolán McNamara
 cui/AllLangResTarget_cui.mk|1 
 cui/Library_cui.mk |1 
 cui/source/inc/cuires.hrc  |4 
 cui/source/inc/helpid.hrc  |1 
 cui/source/options/certpath.cxx|  266 +
 cui/source/options/certpath.hrc|   72 +++
 cui/source/options/certpath.hxx|   69 +++
 cui/source/options/certpath.src|  110 +
 cui/source/options/fontsubs.cxx|8 
 cui/source/options/optinet2.cxx|   52 ++
 cui/source/options/optinet2.hrc|5 
 cui/source/options/optinet2.hxx|   15 
 cui/source/options/optinet2.src|   20 
 cui/source/options/optjava.cxx |6 
 cui/source/options/optjava.src |2 
 cui/source/options/webconninfo.cxx |6 
 officecfg/registry/schema/org/openoffice/Office/Common.xcs |5 
 svx/inc/svx/simptabl.hxx   |4 
 unusedcode.easy|2 
 xmlsecurity/source/xmlsec/nss/nssinitializer.cxx   |   83 ++--
 20 files changed, 665 insertions(+), 67 deletions(-)

New commits:
commit 207313157688d79cb0d53e920a03423c81a7bc23
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Apr 27 10:50:08 2012 +0100

Resolves: fdo#39825 Make detection of certificate folder ui-configurable

Display in the (unix) options gui the NSS cert dir that has been 
auto-detected
for use with digital signatures. Show the other detected possibilities and
allow it to be overridden.

The autodetection should basically work out of the box, but if there's some
bustage at least the UI can be used to sort it out and/or let developers
debug it.

This removes the need for the horrible MOZILLA_CERTIFICATE_FOLDER hack,
though that's still supported.

diff --git a/cui/AllLangResTarget_cui.mk b/cui/AllLangResTarget_cui.mk
index c4ef420..b0cd1de 100644
--- a/cui/AllLangResTarget_cui.mk
+++ b/cui/AllLangResTarget_cui.mk
@@ -83,6 +83,7 @@ $(eval $(call gb_SrsTarget_add_files,cui/res,\
 cui/source/dialogs/tbxform.src \
 cui/source/dialogs/thesdlg.src \
 cui/source/dialogs/zoom.src \
+cui/source/options/certpath.src \
 cui/source/options/connpooloptions.src \
 cui/source/options/dbregister.src \
 cui/source/options/doclinkdialog.src \
diff --git a/cui/Library_cui.mk b/cui/Library_cui.mk
index 1251306..089014e 100644
--- a/cui/Library_cui.mk
+++ b/cui/Library_cui.mk
@@ -134,6 +134,7 @@ $(eval $(call gb_Library_add_exception_objects,cui,\
 cui/source/factory/cuiresmgr \
 cui/source/factory/dlgfact \
 cui/source/factory/init \
+cui/source/options/certpath \
 cui/source/options/cfgchart \
 cui/source/options/connpoolconfig \
 cui/source/options/connpooloptions \
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index b782942..17ca8b5 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -173,7 +173,7 @@
 #define RID_SVXERR_JRE_NOT_RECOGNIZED   (RID_SVX_START + 256)
 #define RID_SVXERR_JRE_FAILED_VERSION   (RID_SVX_START + 257)
 #define RID_SVX_MSGBOX_JAVA_RESTART ( RID_SVX_START +  0 )
-#define RID_SVX_MSGBOX_JAVA_RESTART2( RID_SVX_START +  1 )
+#define RID_SVX_MSGBOX_OPTIONS_RESTART  ( RID_SVX_START +  1 )
 #define RID_SVXDLG_LNG_ED_NUM_PREBREAK  (RID_SVX_START +  830)
 #define RID_SVXDLG_EDIT_MODULES (RID_SVX_START +  831)
 #define RID_SVXSTR_PATH_NAME_START  (RID_SVX_START + 1003)
@@ -434,6 +434,8 @@
 #define RID_CUISTR_CONTROLS_INVISIBLE   (RID_SVX_START + 
1196)
 #define RID_CUISTR_CONTROLS_INSERTTABLE (RID_SVX_START + 
1197)
 
+#define RID_SVXDLG_CERTPATH (RID_SVX_START + 
1198)
+
 #define RID_CUI_DIALOG_COLORPICKER  (RID_SVX_START + 3)
 
 #endif
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index ea1bcd1..65c7180 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -397,6 +397,7 @@
 #define HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_MODIFY  
CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_MODIFY
 #define HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_MODIFY  
CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY_CONFIRM_PASSWORD_TO_MODIFY
 #define HID_HYPERLINK_DIALOG
CUI_HID_HYPERLINK_DIALOG
+#define HID_DLG_CERTPATH   
CUI_HID_DLG_CERTPATH
 
 #endif
 
diff --git a/cui/source/options/certpath.cxx b/cui/source/options/certpath.cxx
new file mode 100644
index 000..b220125
--- 

[Libreoffice-commits] .: 2 commits - filter/Executable_svg2odf.mk filter/Library_svgfilter.mk filter/source

2012-04-27 Thread Caolán McNamara
 filter/Executable_svg2odf.mk |2 +-
 filter/Library_svgfilter.mk  |1 +
 filter/source/config/cache/basecontainer.cxx |2 +-
 filter/source/config/cache/filterfactory.cxx |6 +++---
 4 files changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 7fd546207223f3a5d86f4d9399df52da9fbb9c23
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Apr 27 11:35:28 2012 +0100

WaE: fix various msvc2008 warnings

Change-Id: Ic4db9792177754222da324bfce58eee06b74c3bf

diff --git a/filter/Executable_svg2odf.mk b/filter/Executable_svg2odf.mk
index 329ca8e..aa4e44c 100644
--- a/filter/Executable_svg2odf.mk
+++ b/filter/Executable_svg2odf.mk
@@ -58,7 +58,7 @@ $(eval $(call gb_Executable_use_libraries,svg2odf,\
$(gb_STDLIBS) \
 ))
 
-$(eval $(call gb_Executable_add_cxxobjects,svg2odf,\
+$(eval $(call gb_Executable_add_exception_objects,svg2odf,\
 filter/source/svg/test/svg2odf \
 filter/source/svg/test/odfserializer \
 ))
diff --git a/filter/source/config/cache/basecontainer.cxx 
b/filter/source/config/cache/basecontainer.cxx
index 642c726..f8f26a1 100644
--- a/filter/source/config/cache/basecontainer.cxx
+++ b/filter/source/config/cache/basecontainer.cxx
@@ -342,7 +342,7 @@ css::uno::Any SAL_CALL BaseContainer::getByName(const 
::rtl::OUString sItem)
 aItem = pCache-getItem(m_eType, sItem);
 pCache-addStatePropsToItem(m_eType, sItem, aItem); // add implicit 
props Finalized/Mandatory
 }
-catch(const css::container::NoSuchElementException exNotExist)
+catch(const css::container::NoSuchElementException)
 {
 throw;
 }
diff --git a/filter/source/config/cache/filterfactory.cxx 
b/filter/source/config/cache/filterfactory.cxx
index 935ada0..fb24a65 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -414,7 +414,7 @@ OUStringList 
FilterFactory::impl_queryMatchByDocumentService(const QueryTokenize
 // It match the query ...
 lResult.push_back(sName);
 }
-catch(const css::uno::RuntimeException exRun)
+catch(const css::uno::RuntimeException)
 { throw; }
 catch(const css::uno::Exception)
 { continue; }
@@ -539,7 +539,7 @@ OUStringList 
FilterFactory::impl_getListOfInstalledModules() const
 OUStringList lModules(xModuleConfig-getElementNames());
 return lModules;
 }
-catch(const css::uno::RuntimeException exRun)
+catch(const css::uno::RuntimeException)
 { throw; }
 catch(const css::uno::Exception)
 {}
@@ -633,7 +633,7 @@ OUStringList 
FilterFactory::impl_readSortedFilterListFromConfig(const ::rtl::OUS
 return lSortedFilters;
 }
 }
-catch(const css::uno::RuntimeException exRun)
+catch(const css::uno::RuntimeException)
 { throw; }
 catch(const css::uno::Exception)
 {}
commit fd96b86c0a8cf1c40946e2aa2e4fc4f92839c5dc
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Apr 27 11:34:45 2012 +0100

missing FILTER_DLLIMPLEMENTATION define

possibly svg2odf didn't work under windows, etc.

Change-Id: I5f30130b988105337706dee64cac900f4ef399ae

diff --git a/filter/Library_svgfilter.mk b/filter/Library_svgfilter.mk
index c37938f..c03714f 100644
--- a/filter/Library_svgfilter.mk
+++ b/filter/Library_svgfilter.mk
@@ -25,6 +25,7 @@ $(eval $(call 
gb_Library_set_componentfile,svgfilter,filter/source/svg/svgfilter
 
 $(eval $(call gb_Library_add_defs,svgfilter,\
-DUSE_MODERN_SPIRIT \
+   -DFILTER_DLLIMPLEMENTATION \
 ))
 
 $(eval $(call gb_Library_set_include,svgfilter,\
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Need Writer Painting Advice

2012-04-27 Thread Michael Stahl
On 27/04/12 12:56, Andrew Higginson wrote:
 Hi,
  
 I want to draw something like the file attached.
  
 It will be a box that apears when a user goes full screen (basically to
 say, you are in full screen mode, press KEY to go back)
  
 I need it to be drawn 'above' any pages, so that when the user scrolls,
 it stays in the same
 place (so it is not similar to the new header and footer blue boxes, in
 that they are per
 page, this needs to be one box for the whole document)
  
 So what I need to know is in which control's Paint() method do I need to
 put the painting code for this?

i don't know, but the document content is painted from
SwRootFrm::Paint(), which therefore is a place where you should _not_
implement this (because everything in there depends on which part of the
document is currently displayed), but if you set a breakpoint there and
go a bit up the stack then perhaps you'll see a more suitable location...

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


a stab at removing atl stuff. window experience needed.

2012-04-27 Thread Caolán McNamara
In an effort to make building under windows a pain-free as possible. I'm
playing with removing the atl usage in embedserv seeing as MSVC2008
Express doesn't come with it.

voodoo-programming in embedserv using:
http://samscode.blogspot.com/2009/10/atl-removal-part-1-removing-begincommap.html

I end up with the attached.

a) I haven't a clue what embedserv even does, or how to test it ?
b) I see that we have...

CComModule _Module;
BEGIN_OBJECT_MAP(ObjectMap)
END_OBJECT_MAP()

_Module.Init(ObjectMap, hInstance, NULL);
...
_Module.Term();

because I'm clueless, I'm wondering if this even makes sense when we
have an empty OBJECT_MAP ?, or is still doing some necessary reference
counting of the module itself ? I mean we could follow
http://samscode.blogspot.com/2009/10/atl-removal-part-3-tackling-module-and.html
 and convert it over. But might be a bit silly to do that if its just some 
non-functional stub left over form some wizard generated code.

C.
diff --git a/embedserv/Library_emser.mk b/embedserv/Library_emser.mk
index 4cc20c3..c8089da 100644
--- a/embedserv/Library_emser.mk
+++ b/embedserv/Library_emser.mk
@@ -55,16 +55,6 @@ $(eval $(call gb_Library_use_libraries,emser,\
 	$(gb_STDLIBS) \
 ))
 
-ifeq ($(USE_DEBUG_RUNTIME),)
-$(eval $(call gb_Library_add_libs,emser,\
-	$(ATL_LIB)/atls.lib \
-))
-else
-$(eval $(call gb_Library_add_libs,emser,\
-	$(ATL_LIB)/atlsd.lib \
-))
-endif
-
 $(eval $(call gb_Library_add_exception_objects,emser,\
 	embedserv/source/embed/docholder \
 	embedserv/source/embed/ed_idataobj \
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index 306c7aa..7d4f7df 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -75,6 +75,8 @@ using namespace ::com::sun::star;
 
 extern ::rtl::OUString  getFilterNameFromGUID_Impl( GUID* );
 
+_COM_SMARTPTR_TYPEDEF(IOleInPlaceActiveObject, __uuidof(IOleInPlaceActiveObject));
+
 // add mutex locking ???
 
 DocumentHolder::DocumentHolder(
@@ -528,7 +530,7 @@ HRESULT DocumentHolder::UIActivate()
 //3.  Set the active object
 
 OLECHAR starOffice[] = {'S','t','a','r','O','f','f','i','c','e',0};
-CComPtr IOleInPlaceActiveObject  pObj = new CIIAObj( this );
+IOleInPlaceActiveObjectPtr pObj = new CIIAObj( this );
 
 if (NULL!=m_pIOleIPFrame)
 m_pIOleIPFrame-SetActiveObject(
diff --git a/embedserv/source/embed/ed_idataobj.cxx b/embedserv/source/embed/ed_idataobj.cxx
index d4f75f4..4d570c5 100644
--- a/embedserv/source/embed/ed_idataobj.cxx
+++ b/embedserv/source/embed/ed_idataobj.cxx
@@ -29,25 +29,12 @@
 #pragma warning(disable : 4917 4555)
 #endif
 
-// actually this workaround should be in presys.h!
-//#define UINT64 USE_WIN_UINT64
-//#define INT64 USE_WIN_INT64
-//#define UINT32 USE_WIN_UINT32
-//#define INT32 USE_WIN_INT32
-
 #include embeddoc.hxx
 
-//#undef UINT64
-//#undef INT64
-//#undef UINT32
-//#undef INT32
-
-
 #include com/sun/star/uno/Any.h
 #include com/sun/star/uno/Exception.hpp
 #include com/sun/star/datatransfer/XTransferable.hpp
 
-
 #include osl/thread.h
 
 using namespace ::com::sun::star;
@@ -149,7 +136,7 @@ STDMETHODIMP EmbedDocument_Impl::GetData( FORMATETC * pFormatetc, STGMEDIUM * pM
 if ( !( pFormatetc-tymed  TYMED_ISTORAGE ) )
 return DV_E_TYMED;
 
-CComPtr IStorage  pNewStg;
+IStoragePtr pNewStg;
 HRESULT hr = StgCreateDocfile( NULL, STGM_CREATE | STGM_READWRITE | STGM_DELETEONRELEASE, 0, pNewStg );
 if ( FAILED( hr ) || !pNewStg ) return STG_E_MEDIUMFULL;
 
diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx
index 8eadce0..f6f163e 100644
--- a/embedserv/source/embed/ed_ipersiststr.cxx
+++ b/embedserv/source/embed/ed_ipersiststr.cxx
@@ -44,12 +44,13 @@
 #include com/sun/star/frame/XComponentLoader.hpp
 #include com/sun/star/util/XUrlTransformer.hpp
 
-
 #include osl/mutex.hxx
 #include osl/diagnose.h
 
 #include string.h
 
+_COM_SMARTPTR_TYPEDEF(IMalloc, __uuidof(IMalloc));
+
 #define EXT_STREAM_LENGTH 16
 
 using namespace ::com::sun::star;
@@ -276,8 +277,8 @@ HRESULT EmbedDocument_Impl::SaveTo_Impl( IStorage* pStg )
 
 // for saveto operation the master storage
 // should not enter NoScribble mode
-CComPtr IStream  pOrigOwn = m_pOwnStream;
-CComPtr IStream  pOrigExt = m_pExtStream;
+IStreamPtr pOrigOwn = m_pOwnStream;
+IStreamPtr pOrigExt = m_pExtStream;
 HRESULT hr = Save( pStg, sal_False );
 pStg-Commit( STGC_ONLYIFCURRENT );
 m_pOwnStream = pOrigOwn;
@@ -579,8 +580,8 @@ STDMETHODIMP EmbedDocument_Impl::Load( IStorage *pStg )
 
 if ( FAILED( hr ) )
 {
-m_pOwnStream = CComPtr IStream ();
-m_pExtStream = CComPtr IStream ();
+m_pOwnStream = IStreamPtr();
+m_pExtStream = IStreamPtr();
 hr = pStg-DestroyElement( reinterpret_castLPCWSTR(aOfficeEmbedStreamName.getStr()) );
 hr = pStg-DestroyElement( 

Re: Need Writer Painting Advice

2012-04-27 Thread Regina Henschel

Hi Andrew,

Andrew Higginson schrieb:

Hi,

I want to draw something like the file attached.

It will be a box that apears when a user goes full screen (basically to
say, you are in full screen mode, press KEY to go back)

I need it to be drawn 'above' any pages, so that when the user scrolls, it
stays in the same
place (so it is not similar to the new header and footer blue boxes, in
that they are per
page, this needs to be one box for the whole document)


The full screen mode has a little toolbar window with title Full 
screen, that behaves the same way as you want. Perhaps you can tweak it 
to show your desired text and looks like you want.


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


License Statement

2012-04-27 Thread Marc-André Laverdière
Hello,

Just to make sure it is out there...

all of my past and future contributions are licensed under the
MPL/LGPLv3+ dual license until further notice.

Marc-André LAVERDIÈRE
Perseverance must finish its work so that you may be mature and complete,
not lacking anything. -James 1:4
http://asimplediscipleslife.blogspot.com/
mlaverd.theunixplace.com
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: chart2/qa sc/qa test/inc test/source

2012-04-27 Thread Markus Mohrhard
 chart2/qa/unit/data/tolerance.xml |7 +++
 sc/qa/extras/regression-test.cxx  |7 ---
 test/inc/test/xmldiff.hxx |2 +-
 test/source/diff/diff.cxx |   10 --
 4 files changed, 20 insertions(+), 6 deletions(-)

New commits:
commit 60d39b758dc9308d6ce7464875b3a17f26be3d79
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Apr 27 13:50:37 2012 +0200

add tolerance to chart regression test

Change-Id: I5e7694571815df48e54488a33435bb7d022e6889

diff --git a/chart2/qa/unit/data/tolerance.xml 
b/chart2/qa/unit/data/tolerance.xml
new file mode 100644
index 000..d2c00fb
--- /dev/null
+++ b/chart2/qa/unit/data/tolerance.xml
@@ -0,0 +1,7 @@
+?xml version=1.0?
+tolerances
+tolerance elementName=XShape attribName=positionX value=2 
relative=false/
+tolerance elementName=XShape attribName=positionY value=2 
relative=false/
+tolerance elementName=XShape attribName=sizeX value=2 
relative=false/
+tolerance elementName=XShape attribName=sizeY value=2 
relative=false/
+/tolerances
diff --git a/sc/qa/extras/regression-test.cxx b/sc/qa/extras/regression-test.cxx
index 77a7557..2c28105 100644
--- a/sc/qa/extras/regression-test.cxx
+++ b/sc/qa/extras/regression-test.cxx
@@ -65,14 +65,15 @@ using namespace ::com::sun::star::uno;
 
 namespace {
 
-bool checkDumpAgainstFile( const rtl::OUString rDump, const rtl::OUString 
aFilePath )
+bool checkDumpAgainstFile( const rtl::OUString rDump, const rtl::OUString 
aFilePath, const rtl::OUString rToleranceFile)
 {
 rtl::OString aOFile = rtl::OUStringToOString(aFilePath, 
RTL_TEXTENCODING_UTF8);
+rtl::OString aToleranceFile = rtl::OUStringToOString(rToleranceFile, 
RTL_TEXTENCODING_UTF8);
 
 CPPUNIT_ASSERT_MESSAGE(dump is empty, !rDump.isEmpty());
 
 rtl::OString aDump = rtl::OUStringToOString(rDump, RTL_TEXTENCODING_UTF8);
-XMLDiff aDiff(aOFile.getStr(), 
aDump.getStr(),static_castint(rDump.getLength()));
+XMLDiff aDiff(aOFile.getStr(), 
aDump.getStr(),static_castint(rDump.getLength()), aToleranceFile.getStr());
 
 return aDiff.compare();
 }
@@ -148,7 +149,7 @@ void ScChartRegressionTest::test()
 
 rtl::OUString aDump = xDumper-dump();
 std::cout  aDump;
-bool bCompare = checkDumpAgainstFile( aDump, 
getPathFromSrc(/chart2/qa/unit/data/reference/testChart.xml) );
+bool bCompare = checkDumpAgainstFile( aDump, 
getPathFromSrc(/chart2/qa/unit/data/reference/testChart.xml), 
getPathFromSrc(/chart2/qa/unit/data/tolerance.xml) );
 CPPUNIT_ASSERT(bCompare);
 }
 
diff --git a/test/inc/test/xmldiff.hxx b/test/inc/test/xmldiff.hxx
index a787132..c092637 100644
--- a/test/inc/test/xmldiff.hxx
+++ b/test/inc/test/xmldiff.hxx
@@ -78,7 +78,7 @@ class OOO_DLLPUBLIC_TEST XMLDiff
 public:
 XMLDiff(const std::string file1, const std::string file2, const 
std::string toleranceFile);
 XMLDiff(const std::string file1, const std::string file2);
-XMLDiff(const char* pFileName, const char* pContent, int size);
+XMLDiff(const char* pFileName, const char* pContent, int size, const char* 
pToleranceFileName);
 ~XMLDiff();
 
 bool compare();
diff --git a/test/source/diff/diff.cxx b/test/source/diff/diff.cxx
index 8587fd7..574805d 100644
--- a/test/source/diff/diff.cxx
+++ b/test/source/diff/diff.cxx
@@ -56,10 +56,14 @@ XMLDiff::XMLDiff(const std::string file1, const 
std::string file2)
 xmlFile2 = xmlParseFile(file2.c_str());
 }
 
-XMLDiff::XMLDiff( const char* pFileName, const char* pContent, int size)
+XMLDiff::XMLDiff( const char* pFileName, const char* pContent, int size, const 
char* pToleranceFile)
 {
 xmlFile1 = xmlParseFile(pFileName);
 xmlFile2 = xmlParseMemory(pContent, size);
+
+xmlDocPtr xmlToleranceFile = xmlParseFile(pToleranceFile);
+loadToleranceFile(xmlToleranceFile);
+xmlFreeDoc(xmlToleranceFile);
 }
 
 XMLDiff::~XMLDiff()
@@ -84,7 +88,9 @@ void readAttributesForTolerance(xmlNodePtr node, tolerance 
tol)
 tol.value = val;
 
 xmlChar* relative = xmlGetProp(node, BAD_CAST(relative));
-bool rel = xmlXPathCastStringToBoolean(relative);
+bool rel = false;
+if(xmlStrEqual(relative, BAD_CAST(true)))
+rel = true;
 xmlFree(relative);
 tol.relative = rel;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2012-04-27 Thread Miklos Vajna
 sw/source/filter/ww8/ww8graf.cxx |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit e652ba3c7357e0396498629891a1391ace67c4d7
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Apr 27 14:30:16 2012 +0200

n#757910 fix WW8 import of textboxes with thin border/inner margin

There were two problems here:

First, nLineThick was already in twips, so converting it again from EMU
rendered thin borders invisible.

Second, when the border width is set to zero, that means a minimal
border, but we interpreted it as default width (which resulted in less
space for the textbox contents than required).

diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index b044636..65431a5 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -1568,7 +1568,7 @@ sal_Int32 
SwWW8ImplReader::MatchSdrBoxIntoFlyBoxItem(const Color rLineColor,
 SvxBorderLine aLine;
 aLine.SetColor( rLineColor );
 
-aLine.SetWidth( long ( nLineThick / 65 ) ); // Convert EMUs to Twips
+aLine.SetWidth( nLineThick ); // No conversion here, nLineThick is 
already in twips
 aLine.SetStyle( nIdx );
 
 for(sal_uInt16 nLine = 0; nLine  4; ++nLine)
@@ -1625,7 +1625,8 @@ void SwWW8ImplReader::MatchSdrItemsIntoFlySet( SdrObject* 
pSdrObj,
 // Rahmen-GROESSE benoetigt!
 SvxBoxItem aBox(sw::util::ItemGetSvxBoxItem(rFlySet, RES_BOX));
 // dashed oder solid wird zu solid
-sal_Int32 nLineThick = 0, nOutside=0;
+// WW-default: 0.75 pt = 15 twips
+sal_Int32 nLineThick = 15, nOutside=0;
 
 // check if LineStyle is *really* set!
 const SfxPoolItem* pItem;
@@ -1640,7 +1641,7 @@ void SwWW8ImplReader::MatchSdrItemsIntoFlySet( SdrObject* 
pSdrObj,
 nLineThick = WW8ITEMVALUE(rOldSet, XATTR_LINEWIDTH, XLineWidthItem);
 
 if( !nLineThick )
-nLineThick = 15; // WW-default: 0.75 pt
+nLineThick = 1; // for Writer, zero is no border, so set a 
minimal value
 
 nOutside = MatchSdrBoxIntoFlyBoxItem(aLineColor, eLineStyle,
 eDashing, eShapeType, nLineThick, aBox);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - fpicker/source sfx2/source

2012-04-27 Thread Stephan Bergmann
 fpicker/source/office/PlacesListBox.cxx |2 +-
 sfx2/source/doc/guisaveas.cxx   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 449440706c6db8f10d37321ed1280d986d07b9f3
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Apr 27 14:38:50 2012 +0200

NOINITIALSELECTION important for Save As

...as otherwise the initial selection would overwrite the passed-in
directory where to save to.

Change-Id: Iafb3aa8a120a777f9bf15c00ab3b9c0379bd3b2c

diff --git a/fpicker/source/office/PlacesListBox.cxx 
b/fpicker/source/office/PlacesListBox.cxx
index 5338cb7..708b500 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -40,7 +40,7 @@ namespace css = com::sun::star;
 using rtl::OUString;
 
 PlacesListBox_Impl::PlacesListBox_Impl( Window* pParent, const rtl::OUString 
rTitle ) :
-SvHeaderTabListBox( pParent, WB_TABSTOP ),
+SvHeaderTabListBox( pParent, WB_TABSTOP | WB_NOINITIALSELECTION ),
 mpHeaderBar( NULL )
 {
 Size aBoxSize = pParent-GetSizePixel( );
commit 41b0d974e40ba777955dd22a09a0bfe44d17fdeb
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Apr 27 14:34:25 2012 +0200

SetDisplayDirectory is deprecated

...and SetDisplayFolder seems correct here, anyway, given that 
aReccomendedDir (sic)
denotes a directory, not a file.

Change-Id: I2f77e8e9fe0948a028f344639d383726b4b8641d

diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 4009639..3231bde 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -957,7 +957,7 @@ sal_Bool ModelData_Impl::OutputFileDialog( sal_Int8 
nStoreMode,
 
 ::rtl::OUString aReccomendedDir = GetReccomendedDir( aSuggestedDir );
 if ( !aReccomendedDir.isEmpty() )
-pFileDlg-SetDisplayDirectory( aReccomendedDir );
+pFileDlg-SetDisplayFolder( aReccomendedDir );
 ::rtl::OUString aReccomendedName = GetReccomendedName( aSuggestedName, 
aAdjustToType );
 if ( !aReccomendedName.isEmpty() )
 pFileDlg-SetFileName( aReccomendedName );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: a stab at removing atl stuff. window experience needed.

2012-04-27 Thread Regina Henschel

Hi Caolán,

Caolán McNamara schrieb:

In an effort to make building under windows a pain-free as possible.
I'm playing with removing the atl usage in embedserv seeing as
MSVC2008 Express doesn't come with it.


But there is a way to get the needed libraries.
https://wiki.documentfoundation.org/Development/BuildingOnWindowsWithCygwinAndMSVCExpress#Getting_ATL_work_with_Visual_Studio_Express



voodoo-programming in embedserv using:
http://samscode.blogspot.com/2009/10/atl-removal-part-1-removing-begincommap.html

 I end up with the attached.

a) I haven't a clue what embedserv even does, or how to test it ? b)
I see that we have...

CComModule _Module; BEGIN_OBJECT_MAP(ObjectMap) END_OBJECT_MAP()

_Module.Init(ObjectMap, hInstance, NULL); ... _Module.Term();

because I'm clueless, I'm wondering if this even makes sense when we
have an empty OBJECT_MAP ?, or is still doing some necessary
reference counting of the module itself ? I mean we could follow
http://samscode.blogspot.com/2009/10/atl-removal-part-3-tackling-module-and.html
and convert it over. But might be a bit silly to do that if its just
some non-functional stub left over form some wizard generated code.


I don't know about the code. But I thought atl is needed for OLE 
embedding. You should be able to use MathType for example.  You can test 
it with a new OLE object of type PaintBrush. (Insert  Object  OLE 
object  From file seems to be broken in the moment.)


Kind regards
Regina


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


Re: Removed unused methods

2012-04-27 Thread Jan Holesovsky
Hi Jesus,

Jesús Corrius píše v Čt 26. 04. 2012 v 15:52 +0200:

 I have added a comment so it doesn't happen again:
 
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=34fe1bed19e4cf66500d7e7817eb251c42f8f439

#ifdef WNT / #endif would be better ;-) - can you do that, please?

Thank you,
Kendy

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


Re: [Libreoffice-ux-advise] [PUSHED] fdo#48870: Remove cookie handling code.

2012-04-27 Thread Stefan Knorr (Astron)
Hi Gabor, Michael,

        No doubt Astron will be glad to see that cookie image die ;-)

No doubt, I am. Thank you, Gabor!


        On the 'cleanup themes to help artists' front, bug:

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

        could use being split into smaller pieces, and checking / removing them
 in chunks - having tons of obsolete images around there is just annoying
 for the artists :-)

Oh wow, hadn't seen that bug. Sounds great!

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


Re: a stab at removing atl stuff. window experience needed.

2012-04-27 Thread Jesús Corrius
On Fri, Apr 27, 2012 at 1:28 PM, Caolán McNamara caol...@redhat.com wrote:
 In an effort to make building under windows a pain-free as possible. I'm
 playing with removing the atl usage in embedserv seeing as MSVC2008
 Express doesn't come with it.

And mingw doesn't compile it...

There's also some problematic code in shellextensions, I think.

 a) I haven't a clue what embedserv even does, or how to test it ?

I used to develop COM+ stuff in plain C (much fun) like 10 years ago.
I just remember the basics but I surely remember how to test it. I can
help you with that. In fact, I will try the component this weekend if
I have some spare time. It would be a lot of fun.

 b) I see that we have...

 CComModule _Module;
 BEGIN_OBJECT_MAP(ObjectMap)
 END_OBJECT_MAP()

 _Module.Init(ObjectMap, hInstance, NULL);
 ...
 _Module.Term();

 because I'm clueless, I'm wondering if this even makes sense when we
 have an empty OBJECT_MAP ?, or is still doing some necessary reference
 counting of the module itself ? I mean we could follow
 http://samscode.blogspot.com/2009/10/atl-removal-part-3-tackling-module-and.html
  and convert it over. But might be a bit silly to do that if its just some 
 non-functional stub left over form some wizard generated code.

Right. If my memory serves me well, this code was almost an exact copy
of an MSDN old sample with a few changes here and there. So I wouldn't
be surprised if some parts of the code are just there because they
were in the sample.

The code in the blog post looks perfectly well to me. And yes,
everything you find there is required.

-- 
Jesús Corrius je...@softcatala.org
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: a stab at removing atl stuff. window experience needed.

2012-04-27 Thread Jesús Corrius
 I don't know about the code. But I thought atl is needed for OLE embedding.
 You should be able to use MathType for example.  You can test it with a new
 OLE object of type PaintBrush. (Insert  Object  OLE object  From file
 seems to be broken in the moment.)

ATL is just a helper to make COM+ development easier, usually used in
conjunction with MFC.
You can do everything without it, but then you have to write more code.

-- 
Jesús Corrius je...@softcatala.org
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: chart2/qa

2012-04-27 Thread Markus Mohrhard
 chart2/qa/unit/data/tolerance.xml |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fb4bbfbaccb6ac4ecf04384684827d9d0969f167
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Apr 27 15:10:44 2012 +0200

increase tolerance for now for clang tinderbox

see fdo#49221

Change-Id: I77ac9a80b497048c4729376f486f34a27f489067

diff --git a/chart2/qa/unit/data/tolerance.xml 
b/chart2/qa/unit/data/tolerance.xml
index d2c00fb..895c994 100644
--- a/chart2/qa/unit/data/tolerance.xml
+++ b/chart2/qa/unit/data/tolerance.xml
@@ -1,7 +1,7 @@
 ?xml version=1.0?
 tolerances
 tolerance elementName=XShape attribName=positionX value=2 
relative=false/
-tolerance elementName=XShape attribName=positionY value=2 
relative=false/
+tolerance elementName=XShape attribName=positionY value=1.2 
relative=true/
 tolerance elementName=XShape attribName=sizeX value=2 
relative=false/
-tolerance elementName=XShape attribName=sizeY value=2 
relative=false/
+tolerance elementName=XShape attribName=sizeY value=1.2 
relative=true/
 /tolerances
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Removed unused methods

2012-04-27 Thread Stephan Bergmann

On 04/27/2012 02:54 PM, Jan Holesovsky wrote:

Jesús Corrius píše v Čt 26. 04. 2012 v 15:52 +0200:

I have added a comment so it doesn't happen again:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=34fe1bed19e4cf66500d7e7817eb251c42f8f439


#ifdef WNT / #endif would be better


Would it really be better?  With our huge configuration matrix, I guess 
there will always be functions left unused for some specific 
configurations.  #ifdef'ing up the code to avoid that in general would 
IMO not make the code better, but worse (by cluttering it with #ifdefs).


If a class has some generally-useful--looking member functions that 
happen to only be used with certain configurations, I see nothing bad 
with leaving them in unconditionally.  (Note, I have no idea whether the 
given FontSelectPattern ctor qualifies.)


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


[Libreoffice-commits] .: chart2/qa

2012-04-27 Thread Markus Mohrhard
 chart2/qa/unit/data/tolerance.xml |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 26966ebf030c4d988284c78d9772c0f9ae0e5383
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Apr 27 15:15:24 2012 +0200

increase the tollerance for x differences for sberg's tinderbox

Change-Id: I0538e1ccebf81d1cbcfe2756045ebb9e876e50ac

diff --git a/chart2/qa/unit/data/tolerance.xml 
b/chart2/qa/unit/data/tolerance.xml
index 895c994..82e9e45 100644
--- a/chart2/qa/unit/data/tolerance.xml
+++ b/chart2/qa/unit/data/tolerance.xml
@@ -1,7 +1,7 @@
 ?xml version=1.0?
 tolerances
-tolerance elementName=XShape attribName=positionX value=2 
relative=false/
+tolerance elementName=XShape attribName=positionX value=1.01 
relative=true/
 tolerance elementName=XShape attribName=positionY value=1.2 
relative=true/
-tolerance elementName=XShape attribName=sizeX value=2 
relative=false/
+tolerance elementName=XShape attribName=sizeX value=1.01 
relative=true/
 tolerance elementName=XShape attribName=sizeY value=1.2 
relative=true/
 /tolerances
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PUSHED][PATCH] Fix debug message and remove useless try...catch from ImplImageTree::loadImage

2012-04-27 Thread Caolán McNamara
On Thu, 2012-04-26 at 00:08 +0200, Gábor Stefanik wrote:
 The debug message references a different file name than what is
 actually being loaded.
 
 Also, the try...catch block looks superfluous, it merely re-throws
 whatever exception it has caught.

Seems to be the case alright, pushed now, thanks for this.

C.

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


Re: [PUSHED][REVIEW:3-5] fdo#48876 fix RTF import of \sl without \slmult

2012-04-27 Thread Caolán McNamara
On Thu, 2012-04-26 at 10:50 +0200, Miklos Vajna wrote:
 Hi,
 
 See
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=99b875a
 
 Regression from 3.4; backported patch attached.

Seems sane, pushed.

C.

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


[Libreoffice-commits] .: Branch 'libreoffice-3-5' - writerfilter/source

2012-04-27 Thread Caolán McNamara
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |   10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
commit beef79827164be4e5a60310515fa6aaf8d76237c
Author: Miklos Vajna vmik...@suse.cz
Date:   Sat Apr 21 12:53:22 2012 +0200

fdo#48876 fix RTF import of \sl without \slmult

(backport of 99b875aee04a808fb28715fb0e143a2b00332832)

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index ff81727..fd57905 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2404,9 +2404,15 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, 
int nParam)
 }
 break;
 case RTF_SL:
-if (nParam  0)
 {
-// NS_sprm::LN_PDyaLine could be used, but that won't work 
with slmult
+// This is similar to RTF_ABSH, negative value means 'exact', 
positive means 'at least'.
+RTFValue::Pointer_t pValue(new 
RTFValue(NS_ooxml::LN_Value_wordprocessingml_ST_LineSpacingRule_atLeast));
+if (nParam  0)
+{
+pValue.reset(new 
RTFValue(NS_ooxml::LN_Value_wordprocessingml_ST_LineSpacingRule_exact));
+pIntValue.reset(new RTFValue(-nParam));
+}
+
m_aStates.top().aParagraphAttributes-push_back(make_pair(NS_ooxml::LN_CT_Spacing_lineRule,
 pValue));
 
m_aStates.top().aParagraphAttributes-push_back(make_pair(NS_ooxml::LN_CT_Spacing_line,
 pIntValue));
 }
 break;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - dbaccess/Library_dbaxml.mk dbaccess/Library_dbui.mk dbaccess/Library_dbu.mk dbaccess/Library_sdbt.mk vcl/source

2012-04-27 Thread Caolán McNamara
 dbaccess/Library_dbaxml.mk  |3 ---
 dbaccess/Library_dbu.mk |4 ++--
 dbaccess/Library_dbui.mk|4 ++--
 dbaccess/Library_sdbt.mk|3 ---
 vcl/source/gdi/impimagetree.cxx |   13 -
 5 files changed, 8 insertions(+), 19 deletions(-)

New commits:
commit eb1a4bb908534b68527a9746aca4b6d5dd6a538d
Author: Gábor Stefanik netrolller...@gmail.com
Date:   Wed Apr 25 23:49:06 2012 +0200

Fix debug message and remove useless try...catch from 
ImplImageTree::loadImage

diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
index 31f507c..14dfcd1 100644
--- a/vcl/source/gdi/impimagetree.cxx
+++ b/vcl/source/gdi/impimagetree.cxx
@@ -170,15 +170,10 @@ bool ImplImageTree::loadImage(
 if (found || !loadMissing)
 return found;
 
-try {
-OSL_TRACE(
-ImplImageTree::loadImage exception couldn't load \%s\, fetching 
missing_icon.png,
-rtl::OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr());
-found = loadDefaultImage(style, bitmap);
-} catch (css::uno::RuntimeException ) {
-throw;
-}
-return found;
+OSL_TRACE(
+ImplImageTree::loadImage exception couldn't load \%s\, fetching 
default image,
+rtl::OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr());
+return loadDefaultImage(style, bitmap);
 }
 
 bool ImplImageTree::loadDefaultImage(
commit d4e9eb3db2c9abcfdfbb0dc3889873db2f788e58
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Apr 27 13:50:26 2012 +0100

WaE: exception handlers used in code without unwind support

Change-Id: I1efec5017927d06c519f65312ab29e2b19a6cff6

diff --git a/dbaccess/Library_dbaxml.mk b/dbaccess/Library_dbaxml.mk
index 093a2eb..0854533 100644
--- a/dbaccess/Library_dbaxml.mk
+++ b/dbaccess/Library_dbaxml.mk
@@ -86,9 +86,6 @@ $(eval $(call gb_Library_add_exception_objects,dbaxml,\
 dbaccess/source/filter/xml/xmlTableFilterList \
 dbaccess/source/filter/xml/xmlTableFilterPattern \
 dbaccess/source/shared/flt_reghelper \
-))
-
-$(eval $(call gb_Library_add_noexception_objects,dbaxml,\
 dbaccess/source/shared/xmlstrings \
 ))
 
diff --git a/dbaccess/Library_dbu.mk b/dbaccess/Library_dbu.mk
index 44d75b5..5d9462c 100644
--- a/dbaccess/Library_dbu.mk
+++ b/dbaccess/Library_dbu.mk
@@ -87,6 +87,7 @@ $(eval $(call 
gb_Library_set_componentfile,dbu,dbaccess/util/dbu))
 
 $(eval $(call gb_Library_add_exception_objects,dbu,\
 dbaccess/source/shared/dbu_reghelper \
+dbaccess/source/shared/dbustrings \
 dbaccess/source/ui/app/AppController \
 dbaccess/source/ui/app/AppControllerDnD \
 dbaccess/source/ui/app/AppControllerGen \
@@ -156,6 +157,7 @@ $(eval $(call gb_Library_add_exception_objects,dbu,\
 dbaccess/source/ui/dlg/indexdialog \
 dbaccess/source/ui/dlg/indexfieldscontrol \
 dbaccess/source/ui/dlg/odbcconfig \
+dbaccess/source/ui/dlg/optionalboolitem \
 dbaccess/source/ui/dlg/paramdialog \
 dbaccess/source/ui/dlg/queryfilter \
 dbaccess/source/ui/dlg/queryorder \
@@ -266,9 +268,7 @@ $(eval $(call gb_Library_add_exception_objects,dbu,\
 ))
 
 $(eval $(call gb_Library_add_noexception_objects,dbu,\
-dbaccess/source/shared/dbustrings \
 dbaccess/source/ui/control/ScrollHelper \
-dbaccess/source/ui/dlg/optionalboolitem \
 dbaccess/source/ui/querydesign/TableFieldInfo \
 ))
 
diff --git a/dbaccess/Library_dbui.mk b/dbaccess/Library_dbui.mk
index a8f6aa2..ca2c126 100644
--- a/dbaccess/Library_dbui.mk
+++ b/dbaccess/Library_dbui.mk
@@ -98,6 +98,7 @@ $(eval $(call gb_Library_use_libraries,dbui,\
 endif
 
 $(eval $(call gb_Library_add_exception_objects,dbui,\
+   dbaccess/source/shared/dbustrings \
dbaccess/source/ui/app/AppDetailView \
dbaccess/source/ui/app/AppController \
dbaccess/source/ui/app/AppControllerDnD \
@@ -143,6 +144,7 @@ $(eval $(call gb_Library_add_exception_objects,dbui,\
dbaccess/source/ui/dlg/dlgsave \
dbaccess/source/ui/dlg/admincontrols \
dbaccess/source/ui/dlg/adminpages \
+   dbaccess/source/ui/dlg/optionalboolitem \
dbaccess/source/ui/dlg/queryorder \
dbaccess/source/ui/dlg/queryfilter \
dbaccess/source/ui/dlg/paramdialog \
@@ -274,14 +276,12 @@ $(eval $(call gb_Library_add_noexception_objects,dbui, \
dbaccess/source/ui/browser/AsyncronousLink \
dbaccess/source/ui/dlg/dlgsize \
dbaccess/source/ui/dlg/dlgattr \
-   dbaccess/source/ui/dlg/optionalboolitem \
dbaccess/source/ui/querydesign/TableFieldInfo \
dbaccess/source/ui/querydesign/QTableConnectionData \
dbaccess/source/ui/querydesign/QTableWindowData \
dbaccess/source/ui/querydesign/ConnectionLine \
dbaccess/source/ui/querydesign/ConnectionLineData \
dbaccess/source/shared/dbu_reghelper \
-   dbaccess/source/shared/dbustrings \
 ))
 
 # the following source file can't be compiled with optimization by some 

[Bug 41883] MinGW port Most Annoying Bugs

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41883

Bug 41883 depends on bug 44489, which changed state.

Bug 44489 Summary: MinGW: Will not launch
https://bugs.freedesktop.org/show_bug.cgi?id=44489

   What|Old Value   |New Value

 Resolution||FIXED
 Status|ASSIGNED|RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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] .: sw/qa

2012-04-27 Thread Miklos Vajna
 sw/qa/extras/ooxmltok/ooxmltok.cxx   |   22 +--
 sw/qa/extras/rtfexport/rtfexport.cxx |   18 -
 sw/qa/extras/rtftok/rtftok.cxx   |   68 +--
 3 files changed, 54 insertions(+), 54 deletions(-)

New commits:
commit 1fc8ccaf585285d7b2b4e5ba7f588be606691b74
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Apr 27 15:36:23 2012 +0200

sw/qa/extras: no need to use different class names for these tests

diff --git a/sw/qa/extras/ooxmltok/ooxmltok.cxx 
b/sw/qa/extras/ooxmltok/ooxmltok.cxx
index e5bdece..65fb287 100644
--- a/sw/qa/extras/ooxmltok/ooxmltok.cxx
+++ b/sw/qa/extras/ooxmltok/ooxmltok.cxx
@@ -47,7 +47,7 @@ using rtl::OUString;
 using rtl::OUStringBuffer;
 using namespace com::sun::star;
 
-class OoxmlModelTest : public test::BootstrapFixture, public 
unotest::MacrosTest
+class Test : public test::BootstrapFixture, public unotest::MacrosTest
 {
 public:
 virtual void setUp();
@@ -58,7 +58,7 @@ public:
 void testN750935();
 void testN757890();
 
-CPPUNIT_TEST_SUITE(OoxmlModelTest);
+CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
 CPPUNIT_TEST(testN751054);
 CPPUNIT_TEST(testN751117);
@@ -74,12 +74,12 @@ private:
 uno::Referencelang::XComponent mxComponent;
 };
 
-void OoxmlModelTest::load(const OUString rFilename)
+void Test::load(const OUString rFilename)
 {
 mxComponent = 
loadFromDesktop(getURLFromSrc(/sw/qa/extras/ooxmltok/data/) + rFilename);
 }
 
-void OoxmlModelTest::setUp()
+void Test::setUp()
 {
 test::BootstrapFixture::setUp();
 
@@ -87,7 +87,7 @@ void OoxmlModelTest::setUp()
 CPPUNIT_ASSERT(mxDesktop.is());
 }
 
-void OoxmlModelTest::tearDown()
+void Test::tearDown()
 {
 if (mxComponent.is())
 mxComponent-dispose();
@@ -95,7 +95,7 @@ void OoxmlModelTest::tearDown()
 test::BootstrapFixture::tearDown();
 }
 
-void OoxmlModelTest::testN751054()
+void Test::testN751054()
 {
 load(OUString(RTL_CONSTASCII_USTRINGPARAM(n751054.docx)));
 
@@ -107,7 +107,7 @@ void OoxmlModelTest::testN751054()
 CPPUNIT_ASSERT(eValue != text::TextContentAnchorType_AS_CHARACTER);
 }
 
-void OoxmlModelTest::testN751117()
+void Test::testN751117()
 {
 load(n751117.docx);
 
@@ -133,7 +133,7 @@ void OoxmlModelTest::testN751117()
 
CPPUNIT_ASSERT(xServiceInfo-supportsService(com.sun.star.drawing.LineShape));
 }
 
-void OoxmlModelTest::testN751017()
+void Test::testN751017()
 {
 load(n751017.docx);
 uno::Referencetext::XTextFieldsSupplier xTextFieldsSupplier(mxComponent, 
uno::UNO_QUERY);
@@ -180,7 +180,7 @@ void OoxmlModelTest::testN751017()
 CPPUNIT_ASSERT(bFoundGet);
 }
 
-void OoxmlModelTest::testN750935()
+void Test::testN750935()
 {
 load(n750935.docx);
 uno::Referenceframe::XModel xModel(mxComponent, uno::UNO_QUERY);
@@ -190,7 +190,7 @@ void OoxmlModelTest::testN750935()
 CPPUNIT_ASSERT_EQUAL(sal_Int16(5), xCursor-getPage());
 }
 
-void OoxmlModelTest::testN757890()
+void Test::testN757890()
 {
 load(n757890.docx);
 
@@ -212,7 +212,7 @@ void OoxmlModelTest::testN757890()
 CPPUNIT_ASSERT_EQUAL(text::HoriOrientation::CENTER, nValue);
 }
 
-CPPUNIT_TEST_SUITE_REGISTRATION(OoxmlModelTest);
+CPPUNIT_TEST_SUITE_REGISTRATION(Test);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
 
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx 
b/sw/qa/extras/rtfexport/rtfexport.cxx
index 5bab469..d33ec36 100644
--- a/sw/qa/extras/rtfexport/rtfexport.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport.cxx
@@ -39,7 +39,7 @@ using rtl::OUString;
 using rtl::OUStringBuffer;
 using namespace com::sun::star;
 
-class RtfExportTest : public test::BootstrapFixture, public unotest::MacrosTest
+class Test : public test::BootstrapFixture, public unotest::MacrosTest
 {
 public:
 virtual void setUp();
@@ -47,7 +47,7 @@ public:
 void testZoom();
 void testFdo38176();
 
-CPPUNIT_TEST_SUITE(RtfExportTest);
+CPPUNIT_TEST_SUITE(Test);
 #if !defined(MACOSX)  !defined(WNT)
 CPPUNIT_TEST(testZoom);
 CPPUNIT_TEST(testFdo38176);
@@ -61,7 +61,7 @@ private:
 uno::Referencelang::XComponent mxComponent;
 };
 
-void RtfExportTest::roundtrip(const OUString rFilename)
+void Test::roundtrip(const OUString rFilename)
 {
 uno::Referencelang::XComponent xImported = 
loadFromDesktop(getURLFromSrc(/sw/qa/extras/rtfexport/data/) + rFilename);
 uno::Referenceframe::XStorable xStorable(xImported, uno::UNO_QUERY);
@@ -74,7 +74,7 @@ void RtfExportTest::roundtrip(const OUString rFilename)
 mxComponent = loadFromDesktop(aTempFile.GetURL());
 }
 
-int RtfExportTest::getLength()
+int Test::getLength()
 {
 uno::Referencetext::XTextDocument xTextDocument(mxComponent, 
uno::UNO_QUERY);
 uno::Referencecontainer::XEnumerationAccess 
xParaEnumAccess(xTextDocument-getText(), uno::UNO_QUERY);
@@ -93,7 +93,7 @@ int RtfExportTest::getLength()
 return aBuf.getLength();
 }
 
-void RtfExportTest::setUp()
+void Test::setUp()
 {
 test::BootstrapFixture::setUp();
 
@@ -101,7 +101,7 @@ void 

[Libreoffice-commits] .: sw/CppunitTest_sw_subsequent_ww8tok.mk sw/Module_sw.mk sw/qa

2012-04-27 Thread Miklos Vajna
 sw/CppunitTest_sw_subsequent_ww8tok.mk |   78 
 sw/Module_sw.mk|1 
 sw/qa/extras/ww8tok/data/n757910.doc   |binary
 sw/qa/extras/ww8tok/ww8tok.cxx |  103 +
 4 files changed, 182 insertions(+)

New commits:
commit 053dd54992a08162658a73fc1fb1795c7f5c6c1e
Author: Miklos Vajna vmik...@suse.cz
Date:   Fri Apr 27 15:50:39 2012 +0200

testcase for n#757910

diff --git a/sw/CppunitTest_sw_subsequent_ww8tok.mk 
b/sw/CppunitTest_sw_subsequent_ww8tok.mk
new file mode 100644
index 000..f8f5ff3
--- /dev/null
+++ b/sw/CppunitTest_sw_subsequent_ww8tok.mk
@@ -0,0 +1,78 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the License); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an AS IS basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# The Initial Developer of the Original Code is
+#   Miklos Vajna vmik...@suse.cz (SUSE, Inc.)
+# Portions created by the Initial Developer are Copyright (C) 2012 the
+# Initial Developer. All Rights Reserved.
+#
+# Major Contributor(s):
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the GPLv3+), or
+# the GNU Lesser General Public License Version 3 or later (the LGPLv3+),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+#*
+
+$(eval $(call gb_CppunitTest_CppunitTest,sw_subsequent_ww8tok))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,sw_subsequent_ww8tok, \
+sw/qa/extras/ww8tok/ww8tok \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,sw_subsequent_ww8tok, \
+cppu \
+sal \
+test \
+unotest \
+$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,sw_subsequent_ww8tok,\
+offapi \
+udkapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,sw_subsequent_ww8tok))
+
+$(eval $(call gb_CppunitTest_use_components,sw_subsequent_ww8tok,\
+comphelper/util/comphelp \
+configmgr/source/configmgr \
+fileaccess/source/fileacc \
+filter/source/config/cache/filterconfig1 \
+framework/util/fwk \
+i18npool/util/i18npool \
+package/util/package2 \
+sw/util/sw \
+sw/util/swd \
+sfx2/util/sfx \
+svl/source/fsstor/fsstorage \
+toolkit/util/tk \
+ucb/source/core/ucb1 \
+ucb/source/ucp/file/ucpfile1 \
+unoxml/source/service/unoxml \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,sw_subsequent_ww8tok))
+
+$(eval $(call gb_CppunitTest_use_filter_configuration,sw_subsequent_ww8tok))
+
+$(eval $(call gb_CppunitTest_use_extra_configuration,sw_subsequent_ww8tok,\
+   $(OUTDIR)/unittest/registry \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index de2bd90..bc0679c 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -55,6 +55,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
 CppunitTest_sw_filters_test \
 CppunitTest_sw_macros_test \
 CppunitTest_sw_subsequent_ooxmltok \
+CppunitTest_sw_subsequent_ww8tok \
 CppunitTest_sw_subsequent_rtfexport \
 CppunitTest_sw_subsequent_rtftok \
 ))
diff --git a/sw/qa/extras/ww8tok/data/n757910.doc 
b/sw/qa/extras/ww8tok/data/n757910.doc
new file mode 100644
index 000..49a0e59
Binary files /dev/null and b/sw/qa/extras/ww8tok/data/n757910.doc differ
diff --git a/sw/qa/extras/ww8tok/ww8tok.cxx b/sw/qa/extras/ww8tok/ww8tok.cxx
new file mode 100644
index 000..a7e2ae8
--- /dev/null
+++ b/sw/qa/extras/ww8tok/ww8tok.cxx
@@ -0,0 +1,103 @@
+/*
+ * Version: MPL 1.1 / GPLv3+ / LGPLv3+
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Initial Developer of the Original Code is
+ *   Miklos Vajna vmik...@suse.cz (SUSE, Inc.)
+ * Portions created by the Initial Developer are Copyright (C) 2012 the
+ * Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *

[REVIEW:3-5] fdo#48037 fix RTF import of localized fields

2012-04-27 Thread Miklos Vajna
Hi,

See
http://cgit.freedesktop.org/libreoffice/core/commit/?id=6f7defd

Regression from 3.4; backported patch attached.

Thanks,

Miklos
From 1bd34686c06e97821b8ad224b831b5a2d0c7c0ea Mon Sep 17 00:00:00 2001
From: Miklos Vajna vmik...@suse.cz
Date: Wed, 25 Apr 2012 17:51:45 +0200
Subject: [PATCH] fdo#48037 fix RTF import of localized fields

---
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index ff81727..7c2b92d 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -2198,6 +2198,9 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
 if (nSprm  0)
 {
 m_aStates.top().aCharacterSprms-push_back(make_pair(nSprm, pIntValue));
+// Language is a character property, but we should store it at a paragraph level as well for fields.
+if (nKeyword == RTF_LANG  m_bNeedPap)
+m_aStates.top().aParagraphSprms-push_back(make_pair(nSprm, pIntValue));
 return 0;
 }
 // Trivial paragraph sprms.
-- 
1.7.7

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


[Libreoffice-commits] .: sfx2/source

2012-04-27 Thread Stephan Bergmann
 sfx2/source/dialog/filedlghelper.cxx |   61 ++-
 1 file changed, 47 insertions(+), 14 deletions(-)

New commits:
commit 2d0ff6aa5d6951aaa00e2d6cf3878788b025983e
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Apr 27 16:54:32 2012 +0200

Related fdo#43895: Fixed shortcommings of FileDialogHelper_Impl::verifyPath

* maPath.reverseCompareToAsciiL(file:///tmp,11) == 0 failed for 
file:///tmp/
* It was unclear whether special treatment should only happen for files 
directly
  in /tmp or also in sub-dirs; assuming the latter now.
* Proper translation from file URL to system path.

diff --git a/sfx2/source/dialog/filedlghelper.cxx 
b/sfx2/source/dialog/filedlghelper.cxx
index 138f8a3..43f643e 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -63,6 +63,7 @@
 #include unotools/ucbstreamhelper.hxx
 #include unotools/ucbhelper.hxx
 #include unotools/localfilehelper.hxx
+#include osl/file.hxx
 #include osl/mutex.hxx
 #include osl/security.hxx
 #include osl/thread.hxx
@@ -1641,24 +1642,56 @@ void FileDialogHelper_Impl::getRealFilter( String 
_rFilter ) const
 void FileDialogHelper_Impl::verifyPath()
 {
 #ifdef UNX
-static char const s_FileScheme[] = file://;
-if (0 != rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength(
-maPath.getStr(), maPath.getLength(),
-s_FileScheme, RTL_CONSTASCII_LENGTH(s_FileScheme)))
-{
-return;
-}
-const OString sFullPath = OUStringToOString(
-maPath.copy(RTL_CONSTASCII_LENGTH(s_FileScheme)) + maFileName,
-osl_getThreadTextEncoding() );
-struct stat aFileStat;
-stat( sFullPath.getStr(), aFileStat );
 // lp#905355, fdo#43895
 // Check that the file has read only permission and is in /tmp -- this is
 //  the case if we have opened the file from the web with firefox only.
-if ( maPath.reverseCompareToAsciiL(file:///tmp,11) == 0 
-( aFileStat.st_mode  (S_IRWXO + S_IRWXG + S_IRWXU) ) == S_IRUSR )
+if (maFileName.isEmpty()) {
+return;
+}
+INetURLObject url(maPath);
+if (url.GetProtocol() != INET_PROT_FILE
+|| url.getName(0, true, INetURLObject::DECODE_WITH_CHARSET) != tmp)
+{
+return;
+}
+if (maFileName.indexOf('/') != -1) {
+SAL_WARN(sfx2, maFileName   contains /);
+return;
+}
+url.insertName(
+maFileName, false, INetURLObject::LAST_SEGMENT, true,
+INetURLObject::ENCODE_ALL);
+rtl::OUString sysPathU;
+osl::FileBase::RC e = osl::FileBase::getSystemPathFromFileURL(
+url.GetMainURL(INetURLObject::NO_DECODE), sysPathU);
+if (e != osl::FileBase::E_None) {
+SAL_WARN(
+sfx2,
+getSystemPathFromFileURL(
+ url.GetMainURL(INetURLObject::NO_DECODE)  ) failed with 
+ +e);
+return;
+}
+rtl::OString sysPathC;
+if (!sysPathU.convertToString(
+sysPathC, osl_getThreadTextEncoding(),
+(RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR
+ | RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR)))
 {
+SAL_WARN(
+sfx2,
+convertToString(  sysPathU  ) failed for encoding 
+ +osl_getThreadTextEncoding());
+return;
+}
+struct stat aFileStat;
+if (stat(sysPathC.getStr(), aFileStat) == -1) {
+SAL_WARN(
+sfx2,
+stat(  sysPathC.getStr()  ) failed with errno   errno);
+return;
+}
+if ((aFileStat.st_mode  (S_IRWXO | S_IRWXG | S_IRWXU)) == S_IRUSR) {
 maPath = SvtPathOptions().GetWorkPath();
 mxFileDlg-setDisplayDirectory( maPath );
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: libpng/libpng-1.5.10.patch libpng/libpng-1.5.1.patch libpng/makefile.mk ooo.lst.in

2012-04-27 Thread Fridrich Strba
 libpng/libpng-1.5.1.patch  |  281 -
 libpng/libpng-1.5.10.patch |  266 ++
 libpng/makefile.mk |4 
 ooo.lst.in |2 
 4 files changed, 269 insertions(+), 284 deletions(-)

New commits:
commit 9840bcba8f5bc647a6bb860a3e6fbbb80156d444
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Fri Apr 27 17:03:40 2012 +0200

Upgrading libpng

Change-Id: I0a87cdc3e0d9db5b4375c27ba240fefb933a82c6

diff --git a/libpng/libpng-1.5.1.patch b/libpng/libpng-1.5.1.patch
deleted file mode 100644
index ebae94a..000
--- a/libpng/libpng-1.5.1.patch
+++ /dev/null
@@ -1,281 +0,0 @@
 misc/libpng-1.5.1/makefile.mk  2011-03-24 21:49:50.911397154 +0100
-+++ misc/build/libpng-1.5.1/makefile.mk2011-03-24 21:47:23.379397048 
+0100
-@@ -1 +1,49 @@
--dummy
-+#*
-+#
-+#   Copyright according the GNU Public License.
-+#
-+#*
-+
-+PRJ=..$/..$/..$/..
-+
-+PRJNAME=libpng
-+TARGET=libpng
-+LIBTARGET=NO
-+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
-+VISIBILITY_HIDDEN=TRUE
-+
-+# --- Settings ---
-+
-+.INCLUDE :  settings.mk
-+
-+
-+.IF $(GUI)$(CPU)==WNTP
-+CFLAGS=$(CFLAGS) -Od
-+.ENDIF
-+
-+# --- Files 
-+
-+SLOFILES=  $(SLO)$/png.obj\
-+$(SLO)$/pngerror.obj  \
-+$(SLO)$/pngget.obj\
-+$(SLO)$/pngmem.obj\
-+$(SLO)$/pngpread.obj  \
-+$(SLO)$/pngread.obj   \
-+$(SLO)$/pngrio.obj\
-+$(SLO)$/pngrtran.obj  \
-+$(SLO)$/pngrutil.obj  \
-+$(SLO)$/pngset.obj\
-+$(SLO)$/pngtest.obj   \
-+$(SLO)$/pngtrans.obj  \
-+$(SLO)$/pngvalid.obj  \
-+$(SLO)$/pngwio.obj\
-+$(SLO)$/pngwrite.obj  \
-+$(SLO)$/pngwtran.obj  \
-+$(SLO)$/pngwutil.obj
-+
-+LIB1TARGET=$(SLB)$/$(TARGET).lib
-+LIB1ARCHIV=$(LB)$/$(TARGET).a
-+LIB1OBJFILES=$(SLOFILES)
-+
-+.INCLUDE :  target.mk
-+
 misc/libpng-1.5.1/pnglibconf.h 2011-03-24 21:49:50.913397154 +0100
-+++ misc/build/libpng-1.5.1/pnglibconf.h   2011-03-24 21:47:23.380397048 
+0100
-@@ -1 +1,176 @@
--dummy
-+
-+/* libpng STANDARD API DEFINITION */
-+
-+/* pnglibconf.h - library build configuration */
-+
-+/* libpng version 1.5.0 - last changed on January 6, 2011 */
-+
-+/* Copyright (c) 1998-2011 Glenn Randers-Pehrson */
-+
-+/* This code is released under the libpng license. */
-+/* For conditions of distribution and use, see the disclaimer */
-+/* and license in png.h */
-+
-+/* pnglibconf.h */
-+/* Machine generated file: DO NOT EDIT */
-+/* Derived from: scripts/pnglibconf.dfa */
-+#ifndef PNGLCONF_H
-+#define PNGLCONF_H
-+/* settings */
-+#define PNG_MAX_GAMMA_8 11
-+#define PNG_CALLOC_SUPPORTED
-+#define PNG_QUANTIZE_RED_BITS 5
-+#define PNG_USER_WIDTH_MAX 100L
-+#define PNG_QUANTIZE_GREEN_BITS 5
-+#define PNG_API_RULE 0
-+#define PNG_QUANTIZE_BLUE_BITS 5
-+#define PNG_USER_CHUNK_CACHE_MAX 0
-+#define PNG_USER_HEIGHT_MAX 100L
-+#define PNG_sCAL_PRECISION 5
-+#define PNG_COST_SHIFT 3
-+#define PNG_WEIGHT_SHIFT 8
-+#define PNG_USER_CHUNK_MALLOC_MAX 0
-+#define PNG_DEFAULT_READ_MACROS 1
-+#define PNG_ZBUF_SIZE 8192
-+#define PNG_GAMMA_THRESHOLD_FIXED 5000
-+/* end of settings */
-+/* options */
-+#define PNG_INFO_IMAGE_SUPPORTED
-+#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
-+#define PNG_POINTER_INDEXING_SUPPORTED
-+#define PNG_WARNINGS_SUPPORTED
-+#define PNG_FLOATING_ARITHMETIC_SUPPORTED
-+#define PNG_WRITE_SUPPORTED
-+#define PNG_WRITE_INTERLACING_SUPPORTED
-+#define PNG_WRITE_16BIT_SUPPORTED
-+#define PNG_EASY_ACCESS_SUPPORTED
-+#define PNG_ALIGN_MEMORY_SUPPORTED
-+#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
-+#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
-+#define PNG_USER_LIMITS_SUPPORTED
-+#define PNG_FIXED_POINT_SUPPORTED
-+/*#undef PNG_ERROR_NUMBERS_SUPPORTED*/
-+#define PNG_ERROR_TEXT_SUPPORTED
-+#define PNG_READ_SUPPORTED
-+/*#undef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED*/
-+#define PNG_BENIGN_ERRORS_SUPPORTED
-+#define PNG_SETJMP_SUPPORTED
-+#define PNG_WRITE_FLUSH_SUPPORTED
-+#define PNG_MNG_FEATURES_SUPPORTED
-+#define PNG_FLOATING_POINT_SUPPORTED
-+#define PNG_INCH_CONVERSIONS_SUPPORTED
-+#define PNG_STDIO_SUPPORTED
-+#define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
-+#define PNG_USER_MEM_SUPPORTED
-+#define PNG_IO_STATE_SUPPORTED
-+#define PNG_SET_USER_LIMITS_SUPPORTED
-+#define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
-+#define PNG_WRITE_INT_FUNCTIONS_SUPPORTED
-+#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
-+#define PNG_WRITE_FILTER_SUPPORTED
-+#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
-+#define PNG_WRITE_iCCP_SUPPORTED

[Libreoffice-commits] .: sfx2/source

2012-04-27 Thread Stephan Bergmann
 sfx2/source/dialog/filedlghelper.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ce44a0326e9e399a23d0adaadcf99f2e62a363d7
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Apr 27 17:22:43 2012 +0200

Missing #include errno.h

Change-Id: I79490015faf57a3f84395fa9ba29dd17503b9ef6

diff --git a/sfx2/source/dialog/filedlghelper.cxx 
b/sfx2/source/dialog/filedlghelper.cxx
index 43f643e..0fcc340 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -102,7 +102,9 @@
 #include sfxlocal.hrc
 #include rtl/oustringostreaminserter.hxx
 #include rtl/strbuf.hxx
+
 #ifdef UNX
+#include errno.h
 #include sys/stat.h
 #endif
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Need Writer Painting Advice

2012-04-27 Thread Andrew Higginson
Thanks Michael and Regina


 The full screen mode has a little toolbar window with title Full screen,
 that behaves the same way as you want. Perhaps you can tweak it to show
 your desired text and looks like you want.


Yeah however the thing is I want to get rid of this :P But thanks anyway

I shall have a deeper dig in the code, but if anyone can point to it before
I find it, I would still appreciate it :)


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


[Libreoffice-commits] .: libpng/libpng-1.5.10.patch

2012-04-27 Thread Fridrich Strba
 libpng/libpng-1.5.10.patch |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 08ea0e636de1c1db7fd4f2063ff8980301bc0992
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Fri Apr 27 17:25:43 2012 +0200

Another undefined function in libpng

Change-Id: I4cc93e31ea2866b8b8e8fb508a398b963c1b7318

diff --git a/libpng/libpng-1.5.10.patch b/libpng/libpng-1.5.10.patch
index 46ed2e2..956f265 100644
--- a/libpng/libpng-1.5.10.patch
+++ b/libpng/libpng-1.5.10.patch
@@ -52,7 +52,7 @@
 +
 --- misc/libpng-1.5.10/pnglibconf.h2011-03-24 21:49:50.913397154 +0100
 +++ misc/build/libpng-1.5.10/pnglibconf.h  2011-03-24 21:47:23.380397048 
+0100
-@@ -1 +1,178 @@
+@@ -1 +1,179 @@
 -dummy
 +
 +/* libpng STANDARD API DEFINITION */
@@ -230,6 +230,7 @@
 +#define PNG_iTXt_SUPPORTED
 +#define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
 +#define PNG_READ_COMPRESSED_TEXT_SUPPORTED
++#define PNG_READ_STRIP_16_TO_8_SUPPORTED
 +/* end of options */
 +#endif /* PNGLCONF_H */
 --- misc/libpng-1.5.10/pngstruct.h 2011-02-03 05:58:17.0 +0100
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch

2012-04-27 Thread Fridrich Strba
 gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch |   42 ---
 1 file changed, 23 insertions(+), 19 deletions(-)

New commits:
commit 2d9b6917808b76af76a85755b9f24ff4b49ee38b
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Fri Apr 27 17:59:02 2012 +0200

Fix gdk-pixbuf on windows

Change-Id: I24cfe6dee408d0a6108da31eddc3abcfd2256671

diff --git a/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch 
b/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
index 142ea34..a6f6a84 100644
--- a/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
+++ b/gdk-pixbuf/gdk-pixbuf-2.23.0-win32.patch
@@ -128,70 +128,74 @@
 +
 +/* Define to empty if `const' does not conform to ANSI C. */
 +#undef const
 misc/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c 2010-07-10 02:54:35.0 
+0200
-+++ misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c   2011-03-22 
02:18:55.515625000 +0100
-@@ -27,6 +27,7 @@
- #include stdio.h
- #include stdlib.h
- #include png.h
-+#include pngstruct.h
+--- misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c
 misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/io-png.c
+@@ -30,6 +30,10 @@
+ #include pngstruct.h
  #include gdk-pixbuf-private.h
  
++#ifndef png_jmpbuf
++#  define png_jmpbuf(png_ptr) ((png_ptr)-png_jmpbuf)
++#endif
++
  
-@@ -183,7 +184,7 @@
+ 
+ static gboolean
+@@ -183,7 +183,7 @@ png_simple_error_callback(png_structp png_save_ptr,
   error_msg);
  }
  
 -longjmp (png_save_ptr-jmpbuf, 1);
-+longjmp (png_save_ptr-png_jmpbuf, 1);
++longjmp (png_jmpbuf (png_save_ptr), 1);
  }
  
  static void
-@@ -287,7 +288,7 @@
+@@ -287,7 +287,7 @@ gdk_pixbuf__png_image_load (FILE *f, GError **error)
return NULL;
}
  
 -  if (setjmp (png_ptr-jmpbuf)) {
-+  if (setjmp (png_ptr-png_jmpbuf)) {
++  if (setjmp (png_jmpbuf (png_ptr))) {
g_free (rows);
  
if (pixbuf)
-@@ -459,7 +460,7 @@
+@@ -459,7 +459,7 @@ gdk_pixbuf__png_image_begin_load (GdkPixbufModuleSizeFunc 
size_func,
  return NULL;
  }
  
 -  if (setjmp (lc-png_read_ptr-jmpbuf)) {
-+  if (setjmp (lc-png_read_ptr-png_jmpbuf)) {
++  if (setjmp (png_jmpbuf (lc-png_read_ptr))) {
if (lc-png_info_ptr)
png_destroy_read_struct(lc-png_read_ptr, NULL, NULL);
  g_free(lc);
-@@ -531,7 +532,7 @@
+@@ -531,7 +531,7 @@ gdk_pixbuf__png_image_load_increment(gpointer context,
  lc-error = error;
  
  /* Invokes our callbacks as needed */
 -  if (setjmp (lc-png_read_ptr-jmpbuf)) {
-+  if (setjmp (lc-png_read_ptr-png_jmpbuf)) {
++  if (setjmp (png_jmpbuf (lc-png_read_ptr))) {
  lc-error = NULL;
return FALSE;
} else {
-@@ -769,7 +770,7 @@
+@@ -769,7 +769,7 @@ png_error_callback(png_structp png_read_ptr,
   error_msg);
  }
  
 -longjmp (png_read_ptr-jmpbuf, 1);
-+longjmp (png_read_ptr-png_jmpbuf, 1);
++longjmp (png_jmpbuf (png_read_ptr), 1);
  }
  
  static void
-@@ -978,7 +979,7 @@
+@@ -978,7 +978,7 @@ static gboolean real_save_png (GdkPixbuf*pixbuf,
   success = FALSE;
   goto cleanup;
 }
 -   if (setjmp (png_ptr-jmpbuf)) {
-+   if (setjmp (png_ptr-png_jmpbuf)) {
++   if (setjmp (png_jmpbuf (png_ptr))) {
   success = FALSE;
   goto cleanup;
 }
+
 --- misc/gdk-pixbuf-2.23.0/gdk-pixbuf/makefile.msc 2010-06-25 
23:40:10.0 +0200
 +++ misc/build/gdk-pixbuf-2.23.0/gdk-pixbuf/makefile.msc   2011-03-24 
06:13:30.515625000 +0100
 @@ -1,9 +1,19 @@
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - svx/source

2012-04-27 Thread Takeshi Abe
 svx/source/dialog/svxbmpnumvalueset.cxx |8 ---
 svx/source/engine3d/obj3d.cxx   |2 
 svx/source/engine3d/polysc3d.cxx|2 
 svx/source/engine3d/scene3d.cxx |2 
 svx/source/fmcomp/gridctrl.cxx  |   54 
 svx/source/gallery2/galmisc.cxx |2 
 svx/source/gengal/gengal.cxx|   32 --
 svx/source/inc/docrecovery.hxx  |4 -
 svx/source/inc/fmexch.hxx   |8 ---
 svx/source/inc/fmurl.hxx|1 
 svx/source/items/grfitem.cxx|   18 
 svx/source/items/viewlayoutitem.cxx |   11 
 svx/source/items/zoomslideritem.cxx |   11 
 svx/source/sdr/contact/displayinfo.cxx  |2 
 svx/source/sdr/contact/viewcontactofsdrpage.cxx |4 -
 svx/source/sdr/properties/properties.cxx|   14 --
 svx/source/tbxctrls/linectrl.cxx|   17 ---
 svx/source/tbxctrls/tbxcolorupdate.cxx  |2 
 18 files changed, 194 deletions(-)

New commits:
commit 3b328186706e6819acfea7b3a6dc8c9d3b6f9693
Author: Takeshi Abe t...@fixedpoint.jp
Date:   Sat Apr 28 01:13:49 2012 +0900

removed unused defines

Change-Id: I892902a8a4c6c01092d53019bc8a1b3f88667a4f

diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx 
b/svx/source/dialog/svxbmpnumvalueset.cxx
index e885e17..6758b92 100644
--- a/svx/source/dialog/svxbmpnumvalueset.cxx
+++ b/svx/source/dialog/svxbmpnumvalueset.cxx
@@ -81,14 +81,6 @@ using rtl::OUString;
 #define NUM_PAGETYPE_SINGLENUM  1
 #define NUM_PAGETYPE_NUM2
 #define NUM_PAGETYPE_BMP3
-#define PAGETYPE_USER_START 10
-
-#define SHOW_NUMBERING  0
-#define SHOW_BULLET 1
-#define SHOW_BITMAP 2
-
-#define MAX_BMP_WIDTH   16
-#define MAX_BMP_HEIGHT  16
 
 static const sal_Char cNumberingType[] = NumberingType;
 static const sal_Char cValue[] = Value;
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index d8105dc..0081bee 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -85,8 +85,6 @@
 #include svx/sdr/contact/viewcontactofe3dscene.hxx
 #include svx/e3dsceneupdater.hxx
 
-#define ITEMVALUE(ItemSet,Id,Cast)  ((const Cast)(ItemSet).Get(Id)).GetValue()
-
 //
 
 using namespace com::sun::star;
diff --git a/svx/source/engine3d/polysc3d.cxx b/svx/source/engine3d/polysc3d.cxx
index 709f667..38c9dad 100644
--- a/svx/source/engine3d/polysc3d.cxx
+++ b/svx/source/engine3d/polysc3d.cxx
@@ -43,8 +43,6 @@
 #include svx/xtable.hxx
 #include svx/xlnwtit.hxx
 
-#define ITEMVALUE(ItemSet,Id,Cast)  ((const Cast)(ItemSet).Get(Id)).GetValue()
-
 //
 
 TYPEINIT1(E3dPolyScene, E3dScene);
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 805829f..76d6a89 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -55,8 +55,6 @@
 #include basegfx/polygon/b2dpolypolygontools.hxx
 #include svx/e3dsceneupdater.hxx
 
-#define ITEMVALUE(ItemSet,Id,Cast)  ((const Cast)(ItemSet).Get(Id)).GetValue()
-
 //
 
 class ImpRemap3DDepth
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx
index 36a7571..ce923fb 100644
--- a/svx/source/gengal/gengal.cxx
+++ b/svx/source/gengal/gengal.cxx
@@ -191,9 +191,6 @@ static rtl::OUString Smartify( const rtl::OUString rPath )
 return aURL.GetMainURL( INetURLObject::NO_DECODE );
 }
 
-#define OUSTRING_CSTR( str ) \
-rtl::OUStringToOString( str, RTL_TEXTENCODING_ASCII_US ).getStr()
-
 void GalApp::Init()
 {
 if( getenv( OOO_INSTALL_PREFIX ) == NULL ) {
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index dfbd66c..1159f01 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -50,17 +50,13 @@
 
 #define RECOVERY_CMDPART_PROTOCOL   
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( vnd.sun.star.autorecovery:))
 
-#define RECOVERY_CMDPART_DO_PREPARE_EMERGENCY_SAVE  
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( /doPrepareEmergencySave  ))
 #define RECOVERY_CMDPART_DO_EMERGENCY_SAVE  
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( /doEmergencySave ))
 #define RECOVERY_CMDPART_DO_RECOVERY
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( /doAutoRecovery  ))
 #define RECOVERY_CMDPART_DO_CRASHREPORT 
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( /doCrashReport   ))
-#define RECOVERY_CMDPART_DO_ENTRY_BACKUP
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( /doEntryBackup   ))
-#define RECOVERY_CMDPART_DO_ENTRY_CLEANUP   

Re: Need Writer Painting Advice

2012-04-27 Thread Andrew Higginson
On 27 April 2012 18:01, Cedric Bosdonnat cbosdon...@suse.com wrote:

 You will need to create your own control for that with your own Paint()
 implementation. You should get some inspiration from the
 SwHeaderFooterWin class:

 http://cgit.freedesktop.org/libreoffice/core/tree/sw/source/ui/docvw/HeaderFooterWin.cxx


Do you think that it is necessary to do that? Would adding some drawing
code in the correct Paint() method not suffice?

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


Re: [PUSHED] fdo#48870: Remove cookie handling code.

2012-04-27 Thread Thorsten Behrens
Marking this thread pushed.

-- Thorsten


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


[Libreoffice-commits] .: sw/Module_sw.mk

2012-04-27 Thread Lubos Lunak
 sw/Module_sw.mk |1 -
 1 file changed, 1 deletion(-)

New commits:
commit e8897be1e1883b327cd324ab45e84fbed3af41df
Author: Luboš Luňák l.lu...@suse.cz
Date:   Fri Apr 27 19:29:07 2012 +0200

temporarily disable a test with a build race condition

diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index bc0679c..de2bd90 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -55,7 +55,6 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
 CppunitTest_sw_filters_test \
 CppunitTest_sw_macros_test \
 CppunitTest_sw_subsequent_ooxmltok \
-CppunitTest_sw_subsequent_ww8tok \
 CppunitTest_sw_subsequent_rtfexport \
 CppunitTest_sw_subsequent_rtftok \
 ))
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [PATCH] EasyHack #32621 - More robust ExternalMailer support

2012-04-27 Thread Thorsten Behrens
Dave Steele wrote:
 Proposed patch attached to use the gnome-open/xdg-open URI handler,
 with a mailto link, when the currently configured mailer is not
 recognized.

Hi Dave,

hmm - can you elaborate a bit when that case happens? The code looks
very much like the DESKTOP_LAUNCH part, and I thought that was
~standardized

 http://lists.freedesktop.org/archives/xdg/2004-August/002873.html

at least we can possibly fold the two branches together, by falling
back to xdg/kde/gnome-open?

Cc Kendy, who did this originally IIRC.

Cheers,

-- Thorsten


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


Re: [Libreoffice-commits] .: sw/Module_sw.mk

2012-04-27 Thread Lubos Lunak
On Friday 27 of April 2012, Lubos Lunak wrote:
  sw/Module_sw.mk |1 -
  1 file changed, 1 deletion(-)

 New commits:
 commit e8897be1e1883b327cd324ab45e84fbed3af41df
 Author: Luboš Luňák l.lu...@suse.cz
 Date:   Fri Apr 27 19:29:07 2012 +0200

 temporarily disable a test with a build race condition

 diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
 index bc0679c..de2bd90 100644
 --- a/sw/Module_sw.mk
 +++ b/sw/Module_sw.mk
 @@ -55,7 +55,6 @@ $(eval $(call gb_Module_add_slowcheck_targets,sw,\
  CppunitTest_sw_filters_test \
  CppunitTest_sw_macros_test \
  CppunitTest_sw_subsequent_ooxmltok \
 -CppunitTest_sw_subsequent_ww8tok \
  CppunitTest_sw_subsequent_rtfexport \
  CppunitTest_sw_subsequent_rtftok \
  ))

 Miklos, as I said, this had nothing to do with the Clang compiler. I've set 
up another tindebox with exactly the same setup except for using GCC, and it 
has the problem as well. The Clang tinderbox has a setup that is actually 
unique or rare in several aspects besides the compiler (32bit, icecream, make 
check), so I'll keep it running, so that people do not go looking for Clang 
problems that are not there. 

 In this case I assume the problem is because this tinderbox uses icecream and 
so the build is massively parallel and more likely to trigger build race 
conditions. Build finishes fine if I run make again. I don't know why exactly 
it breaks (wouldn't it be nice if the warning messages actually said why 
things went wrong?), but I suspect the reference to 
$(OUTDIR)/unittest/registry in the *.mk file.

-- 
 Lubos Lunak
 l.lu...@suse.cz
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [RESOLVED] Delete-unused-code-ImpSvtData-ImpSvtData

2012-04-27 Thread Thorsten Behrens
Obsoleted by Caolan's ImpSvtData refactor. No Dtor in the new impl.

-- Thorsten


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


[Libreoffice-commits] .: 3 commits - svtools/source vcl/source

2012-04-27 Thread Jan Holesovsky
 svtools/source/config/colorcfg.cxx |9 -
 svtools/source/control/ruler.cxx   |  328 ++---
 vcl/source/app/settings.cxx|2 
 3 files changed, 57 insertions(+), 282 deletions(-)

New commits:
commit 778d80bc2c37e4549daff2cc1f74f8665235407b
Author: Jan Holesovsky ke...@suse.cz
Date:   Fri Apr 27 21:48:32 2012 +0200

ruler: Implemented the design by Mirek M.

See http://listarchives.libreoffice.org/global/design/msg04151.html for
details.

Change-Id: I9c01ecd5951deba13ed6ddd2a69946dc1334ca43

diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 39ba070..0dd5031 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -279,7 +279,7 @@ void Ruler::ImplInit( WinBits nWinBits )
 
 // Border-Breiten berechnen
 if ( nWinBits  WB_BORDER )
-mnBorderWidth = 2;
+mnBorderWidth = 1;
 else
 mnBorderWidth = 0;
 
@@ -543,7 +543,7 @@ void Ruler::ImplDrawTicks( long nMin, long nMax, long 
nStart, long nCenter )
 nTickCount = nTick3;
 }
 else
-maVirDev.SetLineColor( 
GetSettings().GetStyleSettings().GetWindowTextColor() );
+maVirDev.SetLineColor( 
GetSettings().GetStyleSettings().GetShadowColor() );
 
 if ( !bNoTicks )
 {
@@ -680,7 +680,7 @@ void Ruler::ImplDrawBorders( long nMin, long nMax, long 
nVirTop, long nVirBottom
 ImplVDrawLine( n1, nVirTop, n1, nVirBottom );
 ImplVDrawLine( n1, nVirBottom, n2, nVirBottom );
 ImplVDrawLine( n2-1, nVirTop, n2-1, nVirBottom );
-maVirDev.SetLineColor( rStyleSettings.GetWindowTextColor() );
+maVirDev.SetLineColor( rStyleSettings.GetDarkShadowColor() );
 ImplVDrawLine( n2, nVirTop, n2, nVirBottom );
 
 if ( mpData-pBorders[i].nStyle  RULER_BORDER_VARIABLE )
@@ -752,84 +752,13 @@ void Ruler::ImplDrawIndent( const Polygon rPoly, 
sal_uInt16 nStyle )
 const StyleSettings rStyleSettings = GetSettings().GetStyleSettings();
 Point   aPos1;
 Point   aPos2;
-sal_uInt16  nIndentStyle = nStyle  RULER_INDENT_STYLE;
 
 if ( nStyle  RULER_STYLE_INVISIBLE )
 return;
 
-if ( nStyle  RULER_STYLE_DONTKNOW )
-{
-maVirDev.SetLineColor( rStyleSettings.GetShadowColor() );
-maVirDev.SetFillColor( rStyleSettings.GetFaceColor() );
-}
-else
-{
-maVirDev.SetLineColor( rStyleSettings.GetDarkShadowColor() );
-maVirDev.SetFillColor( rStyleSettings.GetFaceColor() );
-}
-
+maVirDev.SetLineColor( rStyleSettings.GetDarkShadowColor() );
+maVirDev.SetFillColor( rStyleSettings.GetWorkspaceColor() );
 maVirDev.DrawPolygon( rPoly );
-
-if ( !(nStyle  RULER_STYLE_DONTKNOW) )
-{
-if ( nIndentStyle == RULER_INDENT_BOTTOM )
-{
-maVirDev.SetLineColor( rStyleSettings.GetLightColor() );
-aPos1 = rPoly.GetPoint( 2 );
-aPos1.X()++;
-aPos2 = rPoly.GetPoint( 1 );
-aPos2.X()++;
-maVirDev.DrawLine( aPos2, aPos1 );
-aPos2.X()--;
-aPos2.Y()++;
-aPos1 = rPoly.GetPoint( 0 );
-aPos1.Y()++;
-maVirDev.DrawLine( aPos2, aPos1 );
-maVirDev.SetLineColor( rStyleSettings.GetShadowColor() );
-aPos2 = rPoly.GetPoint( 4 );
-aPos2.Y()++;
-maVirDev.DrawLine( aPos1, aPos2 );
-aPos2.X()--;
-aPos1 = rPoly.GetPoint( 3 );
-aPos1.X()--;
-maVirDev.DrawLine( aPos2, aPos1 );
-aPos1.Y()--;
-aPos2 = rPoly.GetPoint( 2 );
-aPos2.X()++;
-aPos2.Y()--;
-maVirDev.DrawLine( aPos2, aPos1 );
-}
-else
-{
-maVirDev.SetLineColor( rStyleSettings.GetLightColor() );
-aPos1 = rPoly.GetPoint( 2 );
-aPos1.X()++;
-aPos1.Y()++;
-aPos2 = rPoly.GetPoint( 3 );
-aPos2.Y()++;
-maVirDev.DrawLine( aPos1, aPos2 );
-aPos2 = rPoly.GetPoint( 1 );
-aPos2.X()++;
-maVirDev.DrawLine( aPos1, aPos2 );
-aPos2.X()--;
-aPos2.Y()--;
-aPos1 = rPoly.GetPoint( 0 );
-aPos1.Y()--;
-maVirDev.DrawLine( aPos2, aPos1 );
-maVirDev.SetLineColor( rStyleSettings.GetShadowColor() );
-aPos2 = rPoly.GetPoint( 4 );
-aPos2.Y()--;
-maVirDev.DrawLine( aPos1, aPos2 );
-aPos2.X()--;
-aPos1 = rPoly.GetPoint( 3 );
-aPos1.X()--;
-maVirDev.DrawLine( aPos2, aPos1 );
-}
-
-maVirDev.SetLineColor( rStyleSettings.GetDarkShadowColor() );
-maVirDev.SetFillColor();
-maVirDev.DrawPolygon( rPoly );
-}
 }
 
 // ---
@@ -858,7 

[Libreoffice-commits] .: instsetoo_native/util solenv/bin

2012-04-27 Thread Andras Timar
 instsetoo_native/util/openoffice.lst |8 --
 solenv/bin/modules/installer/windows/file.pm |   32 +--
 2 files changed, 11 insertions(+), 29 deletions(-)

New commits:
commit 5525fb3ab80d0899de8eabe11498e3ee75ca0ceb
Author: Andras Timar ati...@suse.com
Date:   Fri Apr 27 21:45:48 2012 +0200

fdo#48087 get real version numbers from executables for the File table of 
MSI

This is only a partial fix to the bug, the second part will be the creation
and population of MsiFileHash table.

diff --git a/instsetoo_native/util/openoffice.lst 
b/instsetoo_native/util/openoffice.lst
index 7c41ebf..770154a 100644
--- a/instsetoo_native/util/openoffice.lst
+++ b/instsetoo_native/util/openoffice.lst
@@ -17,8 +17,6 @@ Globals
 BASISPACKAGEPREFIX libobasis
 UREPACKAGEPREFIX libreoffice
 SOLSUREPACKAGEPREFIX libreoffice
-USE_FILEVERSION 1
-LIBRARYVERSION 9.4.0
 REGISTRATION_HOST 
https://registration.libreoffice.org/RegistrationWeb
 REGISTRATIONURL http://survey.libreoffice.org/user/index.php
 PROGRESSBARCOLOR 126,170,23
@@ -76,8 +74,6 @@ LibreOffice
 BETAUPGRADECODE
 STUBUPGRADECODE {0E7B27B8-D658-4BF9-98D6-EC361582EB4A}
 CHANGETARGETDIR 1
-USE_FILEVERSION 1
-LIBRARYVERSION 9.4.0
 PATCHCODEFILE ooo_patchcodes.txt
 STARTCENTER_ADDFEATURE_URL http://extensions.libreoffice.org/
 STARTCENTER_INFO_URL http://www.libreoffice.org/
@@ -136,8 +132,6 @@ LibreOffice_Dev
 BETAUPGRADECODE
 STUBUPGRADECODE {0E7B27B8-D658-4BF9-98D6-EC361582EB4A}
 CHANGETARGETDIR 1
-USE_FILEVERSION 1
-LIBRARYVERSION 9.4.0
 PATCHCODEFILE ooodev_patchcodes.txt
 CODEFILENAME codes_ooodev.txt
 LOCALUSERDIR $ORIGIN/..
@@ -404,8 +398,6 @@ OxygenOffice
 BETAUPGRADECODE
 STUBUPGRADECODE {0E7B27B8-D658-4BF9-98D6-EC361582EB4A}
 CHANGETARGETDIR 1
-USE_FILEVERSION 1
-LIBRARYVERSION 9.4.0
 PATCHCODEFILE ooo_patchcodes.txt
 PROGRESSBARCOLOR 126,170,23
 PROGRESSSIZE 430,5
diff --git a/solenv/bin/modules/installer/windows/file.pm 
b/solenv/bin/modules/installer/windows/file.pm
index 0519b06..9108876 100644
--- a/solenv/bin/modules/installer/windows/file.pm
+++ b/solenv/bin/modules/installer/windows/file.pm
@@ -553,32 +553,22 @@ sub get_fileversion
 
 my $fileversion = ;
 
-if ( $allvariables-{'USE_FILEVERSION'} )
+if ( $onefile-{'Name'} =~ /\.bin$|\.com$|\.dll$|\.exe$|\.pyd$/ )
 {
-if ( ! $allvariables-{'LIBRARYVERSION'} ) { 
installer::exiter::exit_program(ERROR: USE_FILEVERSION is set, but not 
LIBRARYVERSION, get_fileversion); }
-my $libraryversion = $allvariables-{'LIBRARYVERSION'};
-if ( $libraryversion =~ /^\s*(\d+)\.(\d+)\.(\d+)\s*$/ )
+open (EXE, $onefile-{'sourcepath'});
+binmode EXE;
+{local $/ = undef; $exedata = EXE;}
+close EXE;
+
+my $binaryfileversion = 
(V\x00S\x00_\x00V\x00E\x00R\x00S\x00I\x00O\x00N\x00_\x00I\x00N\x00F\x00O\x00\x00\x00\x00\x00\xbd\x04\xef\xfe\x00\x00\x01\x00)();
+
+if ($exedata =~ /$binaryfileversion/ms)
 {
-my $major = $1;
-my $minor = $2;
-my $micro = $3;
-my $concat = 100 * $minor + $micro;
-$libraryversion = $major . \. . $concat;
+my ($header, $subversion, $version, $vervariant, $microversion) = 
($1,unpack( , $2));
+$fileversion = $version . . . $subversion . . . $microversion 
. . . $vervariant;
 }
-my $vendornumber = 0;
-if ( $allvariables-{'VENDORPATCHVERSION'} ) { $vendornumber = 
$allvariables-{'VENDORPATCHVERSION'}; }
-$fileversion = $libraryversion . \. . $installer::globals::buildid . 
\. . $vendornumber;
-if ( $onefile-{'FileVersion'} ) { $fileversion = 
$onefile-{'FileVersion'}; } # overriding FileVersion in scp
-
-# if ( $styles =~ /\bFONT\b/ )
-# {
-#   my $newfileversion = 
installer::windows::font::get_font_version($onefile-{'sourcepath'});
-#   if ( $newfileversion != 0 ) { $fileversion = $newfileversion; }
-# }
 }
 
-if ( $installer::globals::prepare_winpatch ) { $fileversion = ; } # 
Windows patches do not allow this version # - who says so?
-
 return $fileversion;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: chart2/qa

2012-04-27 Thread Markus Mohrhard
 chart2/qa/unit/data/tolerance.xml |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 52348aa791c6006d27c94146907c788b6318e816
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Apr 27 22:50:35 2012 +0200

sberg's tinderbox needs a bit more tolerance than 1%

Change-Id: If1df2da94bc20b10dd8c5d3e8b77304fef565e19

diff --git a/chart2/qa/unit/data/tolerance.xml 
b/chart2/qa/unit/data/tolerance.xml
index 82e9e45..f5cefb7 100644
--- a/chart2/qa/unit/data/tolerance.xml
+++ b/chart2/qa/unit/data/tolerance.xml
@@ -1,7 +1,7 @@
 ?xml version=1.0?
 tolerances
-tolerance elementName=XShape attribName=positionX value=1.01 
relative=true/
+tolerance elementName=XShape attribName=positionX value=1.1 
relative=true/
 tolerance elementName=XShape attribName=positionY value=1.2 
relative=true/
-tolerance elementName=XShape attribName=sizeX value=1.01 
relative=true/
+tolerance elementName=XShape attribName=sizeX value=1.1 
relative=true/
 tolerance elementName=XShape attribName=sizeY value=1.2 
relative=true/
 /tolerances
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


svgreader.cxx: XML_RECT question

2012-04-27 Thread Christina Roßmanith

Hi,

there are two case XML_RECT blocks in svgreader.cxx in two different 
visitors. The ShapeWritingVisitor scales rx and ry with width and 
height, the ShapeRenderingVisitor does not apply any scaling. I guess 
both visitors should treat rx and ry the same way?


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


Re: Need help: SVG import

2012-04-27 Thread Christina Roßmanith

That hint helped  :-)  Now text without any attributes is rendered as well.

Christina

Am 25.04.2012 13:23, schrieb Marco Cecchetti:


After giving a better look, I could have found where the problem is:
look at the begin of visitElements routine (line 101):

if( xElem-hasAttributes() )
rFunc(xElem,xElem-getAttributes());
else
rFunc(xElem);

The function called in case the element has at least one
attribute or no atribute at all are different.

In the first case ShapeWritingVisitor method:
void operator()( const uno::Referencexml::dom::XElement  xElem,
 const uno::Referencexml::dom::XNamedNodeMap 
xAttributes );

is called

in the second case the method invoked is:

void operator()( const uno::Referencexml::dom::XElement )

that has an empty body (line 1204), so when your example is processed
nothing happens.

The rationale should be that an element without any attribute does
not bring any info to parse. But for a text or tspan element is
different because of the characters included between the start and
the end tag.

-- Marco


On Wed, 25 Apr 2012 13:03:08 +0200, Marco Cecchetti 
mrcek...@gmail.com wrote:





That's odd, saxbuilder should be completely agnostic
 from a element name point of view.
Did you try to print element names xElem-getNodeName() (line 1227)
for the broken example ?

-- Marco


On Wed, 25 Apr 2012 11:48:10 +0200, Noel Grandin 
noelgran...@gmail.com wrote:



Looks like the code in
unoxml/source/dom/saxbuilder.cxx
converts the SAX event stream into a DOM tree.

On 2012-04-25 08:34, Christina Rossmanith wrote:
for the example without x and y attribute the case XML_TEXT 
block is never reached. That's why I'd like to understand where and 
how the tree is built.




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








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


[Libreoffice-commits] .: chart2/Library_chartview.mk chart2/source sc/Module_sc.mk test/inc test/Library_test.mk test/Package_inc.mk test/source

2012-04-27 Thread Markus Mohrhard
 chart2/Library_chartview.mk   |1 
 chart2/source/view/main/ChartView.cxx |  116 --
 sc/Module_sc.mk   |   12 --
 test/Library_test.mk  |1 
 test/Package_inc.mk   |1 
 test/inc/test/xshape_dumper.hxx   |   57 +
 test/source/xshape_dumper.cxx |  149 ++
 7 files changed, 212 insertions(+), 125 deletions(-)

New commits:
commit beccf477581b1f3e85100d43be81ea55d3b3f912
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Apr 27 23:28:16 2012 +0200

move xshape dumper into test

XShapeDumper can now be used by other parts of the code too.
Please keep in mind that changing the dumper affects other parts too and
might require a regneration of reference files.

Change-Id: I540420a8bdf8afd8d43c5ea0bb0d82d7e0ecc44b

diff --git a/chart2/Library_chartview.mk b/chart2/Library_chartview.mk
index ab3952e..3977a77 100644
--- a/chart2/Library_chartview.mk
+++ b/chart2/Library_chartview.mk
@@ -54,6 +54,7 @@ $(eval $(call gb_Library_use_libraries,chartview,\
 svl \
 svt \
 svxcore \
+test \
 tl \
 utl \
 vcl \
diff --git a/chart2/source/view/main/ChartView.cxx 
b/chart2/source/view/main/ChartView.cxx
index 9020d7b..3f44b85 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -113,9 +113,7 @@
 #include rtl/strbuf.hxx
 #include rtl/oustringostreaminserter.hxx
 
-//libxml2 for dumping
-#include libxml/xmlwriter.h
-
+#include test/xshape_dumper.hxx
 
 //.
 namespace chart
@@ -3026,102 +3024,6 @@ uno::Sequence ::rtl::OUString  
ChartView::getAvailableServiceNames() throw (un
 return aServiceNames;
 }
 
-namespace {
-
-#define DEBUG_DUMPER 0
-
-int writeCallback(void* pContext, const char* sBuffer, int nLen)
-{
-rtl::OStringBuffer* pBuffer = static_castrtl::OStringBuffer*(pContext);
-pBuffer-append(sBuffer);
-return nLen;
-}
-
-int closeCallback(void* )
-{
-return 0;
-}
-
-void dumpPositionAsAttribute(const awt::Point rPoint, xmlTextWriterPtr 
xmlWriter)
-{
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(positionX), % 
SAL_PRIdINT32, rPoint.X);
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(positionY), % 
SAL_PRIdINT32, rPoint.Y);
-}
-
-void dumpSizeAsAttribute(const awt::Size rSize, xmlTextWriterPtr xmlWriter)
-{
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(sizeX), % 
SAL_PRIdINT32, rSize.Width);
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(sizeY), % 
SAL_PRIdINT32, rSize.Height);
-}
-
-void dumpShapeDescriptorAsAttribute( uno::Reference drawing::XShapeDescriptor 
 xDescr, xmlTextWriterPtr xmlWriter )
-{
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(type), %s, 
rtl::OUStringToOString(xDescr-getShapeType(), RTL_TEXTENCODING_UTF8).getStr());
-}
-
-void dumpXShapes( uno::Reference drawing::XShapes  xShapes, xmlTextWriterPtr 
xmlWriter );
-
-void dumpXShape( uno::Reference drawing::XShape  xShape, xmlTextWriterPtr 
xmlWriter  )
-{
-xmlTextWriterStartElement( xmlWriter, BAD_CAST( XShape ) );
-
-dumpPositionAsAttribute(xShape-getPosition(), xmlWriter);
-dumpSizeAsAttribute(xShape-getSize(), xmlWriter);
-uno::Reference drawing::XShapeDescriptor  xDescr(xShape, 
uno::UNO_QUERY_THROW);
-dumpShapeDescriptorAsAttribute(xDescr, xmlWriter);
-
-uno::Reference lang::XServiceInfo  xServiceInfo( xShape, 
uno::UNO_QUERY_THROW );
-uno::Sequence rtl::OUString  aServiceNames = 
xServiceInfo-getSupportedServiceNames();
-
-uno::Reference beans::XPropertySet  xPropSet(xShape, 
uno::UNO_QUERY_THROW);
-uno::Any aAny = xPropSet-getPropertyValue(Name);
-rtl::OUString aName;
-if (aAny = aName)
-{
-if (!aName.isEmpty())
-xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST(name), 
%s, rtl::OUStringToOString(aName, RTL_TEXTENCODING_UTF8).getStr());
-}
-if (xServiceInfo-supportsService(com.sun.star.drawing.Text))
-{
-uno::Reference text::XText  xText(xShape, uno::UNO_QUERY_THROW);
-rtl::OUString aText = xText-getString();
-if(!aText.isEmpty())
-xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST(text), 
%s, rtl::OUStringToOString(aText, RTL_TEXTENCODING_UTF8).getStr());
-}
-else if(xServiceInfo-supportsService(com.sun.star.drawing.GroupShape))
-{
-uno::Reference drawing::XShapes  xShapes(xShape, 
uno::UNO_QUERY_THROW);
-dumpXShapes(xShapes, xmlWriter);
-}
-#if DEBUG_DUMPER
-sal_Int32 nServices = aServiceNames.getLength();
-for (sal_Int32 i = 0; i  nServices; ++i)
-{
-xmlTextWriterStartElement(xmlWriter, BAD_CAST( ServiceName ));
-xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST( name ), %s, 
rtl::OUStringToOString(aServiceNames[i], 

Re: [RESOLVED][PATCH] Remove unused method EditEngine::GetNextVisPortion

2012-04-27 Thread Thorsten Behrens
Fixed elsewhere, closing this thread with [RESOLVED]

-- Thorsten


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


Re: Need help: SVG import

2012-04-27 Thread Marco Cecchetti
On Fri, 27 Apr 2012 23:07:09 +0200, Christina Roßmanith  
chrrossman...@gmx.de wrote:


That hint helped  :-)  Now text without any attributes is rendered as  
well.




Great! :)

-- Marco


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: svgreader.cxx: XML_RECT question

2012-04-27 Thread Marco Cecchetti
On Fri, 27 Apr 2012 23:03:41 +0200, Christina Roßmanith  
chrrossman...@gmx.de wrote:



Hi,

there are two case XML_RECT blocks in svgreader.cxx in two different  
visitors. The ShapeWritingVisitor scales rx and ry with width and  
height, the ShapeRenderingVisitor does not apply any scaling. I guess  
both visitors should treat rx and ry the same way?


Looking at basegfx::tools::createPolygonFromRect implementation
(in basegfx/source/polygon/b2dpoligontools.cxx) the routine expects
radii (rx, ry) in the [0,1] range and if not they are cropped
to 0 or 1. So the scaled input should be the correct one.
However I think it is better if you perform some visual test.

-- Marco


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice-commits] .: 26 commits - avmedia/source basctl/source basic/source configure.in connectivity/source cppu/inc dbaccess/source distro-configs/LibreOfficeMacOSX.conf distro-configs/Libre

2012-04-27 Thread Mat M

Lesson learned. Read the name until the end.

TY

Mat M
Le Fri, 27 Apr 2012 07:08:50 +0200, Tor Lillqvist t...@iki.fi a écrit:

So, when building configure for Windows or Mac, why do we not disable  
cairo

forcefully ?


You mean the cairo *canvas*. Yes, we do, now, both for MSVC (local)
and MinGW (cross) builds.

*cairo* is not always disabled as it is used by librsvg.

--tml

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


[Libreoffice-commits] .: chart2/Library_chartview.mk chart2/source sc/Module_sc.mk test/inc test/Library_test.mk test/Package_inc.mk test/source

2012-04-27 Thread Markus Mohrhard
 chart2/Library_chartview.mk   |1 
 chart2/source/view/main/ChartView.cxx |  116 +-
 sc/Module_sc.mk   |   12 ++
 test/Library_test.mk  |1 
 test/Package_inc.mk   |1 
 test/inc/test/xshape_dumper.hxx   |   57 -
 test/source/xshape_dumper.cxx |  149 --
 7 files changed, 125 insertions(+), 212 deletions(-)

New commits:
commit 08f4273d7513e92f3dafa40b888467aaaf3c4b9f
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Sat Apr 28 03:56:50 2012 +0200

we can't move that into a test only lib

Revert move xshape dumper into test

This reverts commit beccf477581b1f3e85100d43be81ea55d3b3f912.

diff --git a/chart2/Library_chartview.mk b/chart2/Library_chartview.mk
index 3977a77..ab3952e 100644
--- a/chart2/Library_chartview.mk
+++ b/chart2/Library_chartview.mk
@@ -54,7 +54,6 @@ $(eval $(call gb_Library_use_libraries,chartview,\
 svl \
 svt \
 svxcore \
-test \
 tl \
 utl \
 vcl \
diff --git a/chart2/source/view/main/ChartView.cxx 
b/chart2/source/view/main/ChartView.cxx
index 3f44b85..9020d7b 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -113,7 +113,9 @@
 #include rtl/strbuf.hxx
 #include rtl/oustringostreaminserter.hxx
 
-#include test/xshape_dumper.hxx
+//libxml2 for dumping
+#include libxml/xmlwriter.h
+
 
 //.
 namespace chart
@@ -3024,6 +3026,102 @@ uno::Sequence ::rtl::OUString  
ChartView::getAvailableServiceNames() throw (un
 return aServiceNames;
 }
 
+namespace {
+
+#define DEBUG_DUMPER 0
+
+int writeCallback(void* pContext, const char* sBuffer, int nLen)
+{
+rtl::OStringBuffer* pBuffer = static_castrtl::OStringBuffer*(pContext);
+pBuffer-append(sBuffer);
+return nLen;
+}
+
+int closeCallback(void* )
+{
+return 0;
+}
+
+void dumpPositionAsAttribute(const awt::Point rPoint, xmlTextWriterPtr 
xmlWriter)
+{
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(positionX), % 
SAL_PRIdINT32, rPoint.X);
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(positionY), % 
SAL_PRIdINT32, rPoint.Y);
+}
+
+void dumpSizeAsAttribute(const awt::Size rSize, xmlTextWriterPtr xmlWriter)
+{
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(sizeX), % 
SAL_PRIdINT32, rSize.Width);
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(sizeY), % 
SAL_PRIdINT32, rSize.Height);
+}
+
+void dumpShapeDescriptorAsAttribute( uno::Reference drawing::XShapeDescriptor 
 xDescr, xmlTextWriterPtr xmlWriter )
+{
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST(type), %s, 
rtl::OUStringToOString(xDescr-getShapeType(), RTL_TEXTENCODING_UTF8).getStr());
+}
+
+void dumpXShapes( uno::Reference drawing::XShapes  xShapes, xmlTextWriterPtr 
xmlWriter );
+
+void dumpXShape( uno::Reference drawing::XShape  xShape, xmlTextWriterPtr 
xmlWriter  )
+{
+xmlTextWriterStartElement( xmlWriter, BAD_CAST( XShape ) );
+
+dumpPositionAsAttribute(xShape-getPosition(), xmlWriter);
+dumpSizeAsAttribute(xShape-getSize(), xmlWriter);
+uno::Reference drawing::XShapeDescriptor  xDescr(xShape, 
uno::UNO_QUERY_THROW);
+dumpShapeDescriptorAsAttribute(xDescr, xmlWriter);
+
+uno::Reference lang::XServiceInfo  xServiceInfo( xShape, 
uno::UNO_QUERY_THROW );
+uno::Sequence rtl::OUString  aServiceNames = 
xServiceInfo-getSupportedServiceNames();
+
+uno::Reference beans::XPropertySet  xPropSet(xShape, 
uno::UNO_QUERY_THROW);
+uno::Any aAny = xPropSet-getPropertyValue(Name);
+rtl::OUString aName;
+if (aAny = aName)
+{
+if (!aName.isEmpty())
+xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST(name), 
%s, rtl::OUStringToOString(aName, RTL_TEXTENCODING_UTF8).getStr());
+}
+if (xServiceInfo-supportsService(com.sun.star.drawing.Text))
+{
+uno::Reference text::XText  xText(xShape, uno::UNO_QUERY_THROW);
+rtl::OUString aText = xText-getString();
+if(!aText.isEmpty())
+xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST(text), 
%s, rtl::OUStringToOString(aText, RTL_TEXTENCODING_UTF8).getStr());
+}
+else if(xServiceInfo-supportsService(com.sun.star.drawing.GroupShape))
+{
+uno::Reference drawing::XShapes  xShapes(xShape, 
uno::UNO_QUERY_THROW);
+dumpXShapes(xShapes, xmlWriter);
+}
+#if DEBUG_DUMPER
+sal_Int32 nServices = aServiceNames.getLength();
+for (sal_Int32 i = 0; i  nServices; ++i)
+{
+xmlTextWriterStartElement(xmlWriter, BAD_CAST( ServiceName ));
+xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST( name ), %s, 
rtl::OUStringToOString(aServiceNames[i], RTL_TEXTENCODING_UTF8).getStr());
+xmlTextWriterEndElement( xmlWriter );
+}
+#endif
+
+xmlTextWriterEndElement( xmlWriter );
+}
+
+void 

make ENABLE_SYMBOLS=true no longer enables symbols

2012-04-27 Thread Kohei Yoshida
As the subject says, running make ENABLE_SYMBOLS=true in a module
build doesn't seem to turn on symbols for that module any more.
Anyone has any clue what has changed?

Thanks,

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


[PATCH] fdo#42779: Implement icon theme lookaside directory

2012-04-27 Thread Gábor Stefanik
This enables overriding icons found in an images.zip file with ones in
a directory named images next to the zip file.

Icon caching is also disabled when a lookaside directory is detected,
so changes to the icons in the directory are applied immediately.

Icons in a lookaside directory currently always take precedence over
ones in zip files.


0001-fdo-42779-Implement-icon-theme-lookaside-directory.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] .: 7 commits - sc/CppunitTest_sc_editfieldobj_cell.mk sc/CppunitTest_sc_editfieldobj_header.mk sc/Module_sc.mk sc/qa sc/source test/inc test/source

2012-04-27 Thread Kohei Yoshida
 sc/CppunitTest_sc_editfieldobj_cell.mk   |  134 +
 sc/CppunitTest_sc_editfieldobj_header.mk |  134 +
 sc/Module_sc.mk  |2 
 sc/qa/extras/sceditfieldobj-cell.cxx |  165 +++
 sc/qa/extras/sceditfieldobj-header.cxx   |  158 +
 sc/source/ui/unoobj/fielduno.cxx |9 -
 test/inc/test/text/xtextcontent.hxx  |4 
 test/inc/test/text/xtextfield.hxx|4 
 test/source/text/xtextcontent.cxx|1 
 9 files changed, 604 insertions(+), 7 deletions(-)

New commits:
commit df92f499f963a5a4d8cb7100ea1f846bb0f91014
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Sat Apr 28 00:23:51 2012 -0400

Fixed crash on tear down during cppunit test.

Change-Id: I5573e554420967d8942295cabe788a9e56835ba0

diff --git a/sc/qa/extras/sceditfieldobj-cell.cxx 
b/sc/qa/extras/sceditfieldobj-cell.cxx
index 962834a..e7ad2ed 100644
--- a/sc/qa/extras/sceditfieldobj-cell.cxx
+++ b/sc/qa/extras/sceditfieldobj-cell.cxx
@@ -83,7 +83,10 @@ void ScEditFieldObj_Cell::setUp()
 void ScEditFieldObj_Cell::tearDown()
 {
 if (nTest == NUMBER_OF_TESTS)
+{
+mxField.clear();
 closeDocument(mxComponent);
+}
 
 UnoApiTest::tearDown();
 }
diff --git a/sc/qa/extras/sceditfieldobj-header.cxx 
b/sc/qa/extras/sceditfieldobj-header.cxx
index 85d9817..44bdeb5 100644
--- a/sc/qa/extras/sceditfieldobj-header.cxx
+++ b/sc/qa/extras/sceditfieldobj-header.cxx
@@ -86,7 +86,12 @@ void ScEditFieldObj_Header::setUp()
 void ScEditFieldObj_Header::tearDown()
 {
 if (nTest == NUMBER_OF_TESTS)
+{
+// Clear these before the component is destroyed.  This is important!
+mxField.clear();
+mxRightText.clear();
 closeDocument(mxComponent);
+}
 
 UnoApiTest::tearDown();
 }
commit 852f502efd7eff39db8168abdb4ae41eb5933123
Author: Kohei Yoshida kohei.yosh...@gmail.com
Date:   Fri Apr 27 22:47:14 2012 -0400

Test the header field API for real.

But it crashes on exit, due to some sort of order of deletion...

Change-Id: Ife9da1c0a647038cbdc68410db5b211bcce5dfa4

diff --git a/sc/qa/extras/sceditfieldobj-header.cxx 
b/sc/qa/extras/sceditfieldobj-header.cxx
index ab84b70..85d9817 100644
--- a/sc/qa/extras/sceditfieldobj-header.cxx
+++ b/sc/qa/extras/sceditfieldobj-header.cxx
@@ -32,17 +32,20 @@
 
 #include com/sun/star/beans/XPropertySet.hpp
 #include com/sun/star/container/XEnumerationAccess.hpp
+#include com/sun/star/container/XNameAccess.hpp
+#include com/sun/star/style/XStyleFamiliesSupplier.hpp
 #include com/sun/star/text/XText.hpp
 #include com/sun/star/text/XTextField.hpp
 #include com/sun/star/text/XTextFieldsSupplier.hpp
 #include com/sun/star/sheet/XSpreadsheetDocument.hpp
 #include com/sun/star/sheet/XSpreadsheet.hpp
+#include com/sun/star/sheet/XHeaderFooterContent.hpp
 
-#define NUMBER_OF_TESTS 3
+#define NUMBER_OF_TESTS 2
 
 namespace sc_apitest {
 
-class ScEditFieldObj_Header : public UnoApiTest, apitest::XTextField, 
apitest::XTextContent
+class ScEditFieldObj_Header : public UnoApiTest, apitest::XTextContent
 {
 public:
 ScEditFieldObj_Header();
@@ -52,11 +55,9 @@ public:
 virtual uno::Referenceuno::XInterface init();
 virtual uno::Referencetext::XTextContent getTextContent();
 virtual uno::Referencetext::XTextRange getTextRange();
-virtual bool isAttachSupported() { return true; }
+virtual bool isAttachSupported() { return false; }
 
 CPPUNIT_TEST_SUITE(ScEditFieldObj_Header);
-// XTextField
-CPPUNIT_TEST(testGetPresentation);
 // XTextContent
 CPPUNIT_TEST(testGetAnchor);
 CPPUNIT_TEST(testAttach);
@@ -66,11 +67,13 @@ private:
 static sal_Int32 nTest;
 static uno::Referencelang::XComponent mxComponent;
 static uno::Referencetext::XTextField mxField;
+static uno::Referencetext::XText mxRightText;
 };
 
 sal_Int32 ScEditFieldObj_Header::nTest = 0;
 uno::Referencelang::XComponent ScEditFieldObj_Header::mxComponent;
 uno::Referencetext::XTextField ScEditFieldObj_Header::mxField;
+uno::Referencetext::XText ScEditFieldObj_Header::mxRightText;
 
 ScEditFieldObj_Header::ScEditFieldObj_Header() {}
 
@@ -88,23 +91,9 @@ void ScEditFieldObj_Header::tearDown()
 UnoApiTest::tearDown();
 }
 
-namespace {
-
-uno::Referencetext::XTextField getNewField(const 
uno::Referencelang::XMultiServiceFactory xSM)
-{
-uno::Referencetext::XTextField xField(
-xSM-createInstance(com.sun.star.text.TextField.URL), 
UNO_QUERY_THROW);
-uno::Referencebeans::XPropertySet xPropSet(xField, UNO_QUERY_THROW);
-xPropSet-setPropertyValue(Representation, 
uno::makeAny(rtl::OUString(LibreOffice)));
-xPropSet-setPropertyValue(URL, 
uno::makeAny(rtl::OUString(http://www.libreoffice.org/;)));
-return xField;
-}
-
-}
-
 uno::Referenceuno::XInterface ScEditFieldObj_Header::init()
 {
-// Return a field that's already in the cell.
+// 

Re: [PUSHED][PATCH] fdo#45664 EasyHack: Calc can't export the cells formulas to CSV (only the cells values)

2012-04-27 Thread Florent Gallaire
 That behavior is only with formula cells though. Value cells without
 formulas are still affected by the option; without being checked the raw
 value is exported, when checked the value is exported as displayed by
 the number format applied.

You are right !

 If you have a good idea how that could be
 clarified for the user I'd welcome your patch :-)  Maybe just some
 rewording of the option is needed?

Probably the problem is the global calc behaviour and won't be fixed.
For me =4/2 is the number 2, and 4/2 should always be the string
4/2 and never the evil 02/04/12, which should only be the result
of =DATE(2012;2;4).

Florent

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


Re: [PATCH] fdo#42779: Implement icon theme lookaside directory

2012-04-27 Thread Tommy
On Sat, 28 Apr 2012 05:36:09 +0200, Gábor Stefanik  
netrolller...@gmail.com wrote:



This enables overriding icons found in an images.zip file with ones in
a directory named images next to the zip file.

Icon caching is also disabled when a lookaside directory is detected,
so changes to the icons in the directory are applied immediately.

Icons in a lookaside directory currently always take precedence over
ones in zip files.



hi, would you please explain me what's the purpose of this?

I'm not polemic, I'm just curious

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


[Libreoffice-commits] .: sal/inc vcl/source vcl/workben

2012-04-27 Thread Tor Lillqvist
 sal/inc/sal/main.h |   17 -
 vcl/source/salmain/salmain.cxx |2 +-
 vcl/workben/svdem.cxx  |2 +-
 vcl/workben/vcldemo.cxx|2 +-
 4 files changed, 3 insertions(+), 20 deletions(-)

New commits:
commit 9c69984f8bf4830c6c0831bc66b128f86143d98f
Author: Tor Lillqvist t...@iki.fi
Date:   Sat Apr 28 08:32:51 2012 +0300

Bin the unused vague SAL_IMPLEMENT_MAIN_WITH_GUI idea

Change-Id: I66dae812f3aea0534907316a7fb41b35ad37be48

diff --git a/sal/inc/sal/main.h b/sal/inc/sal/main.h
index 0f68012..c85bc5a 100644
--- a/sal/inc/sal/main.h
+++ b/sal/inc/sal/main.h
@@ -63,8 +63,6 @@ __attribute__ ((visibility(default))) void lo_main(int 
argc, char **argv) \
 sal_detail_deinitialize(); \
 }
 
-#define SAL_MAIN_WITH_GUI_IMPL SAL_MAIN_IMPL
-
 #else
 
 #define SAL_MAIN_WITH_ARGS_IMPL \
@@ -87,8 +85,6 @@ int SAL_CALL main(int argc, char ** argv) \
 return ret; \
 }
 
-#define SAL_MAIN_WITH_GUI_IMPL SAL_MAIN_IMPL
-
 #endif
 
 
@@ -149,19 +145,6 @@ int WINAPI WinMain( HINSTANCE _hinst, HINSTANCE _dummy, 
char* _cmdline, int _nsh
 SAL_WIN_WinMain \
 static int SAL_CALL sal_main(void)
 
-/* Use SAL_IMPLEMENT_MAIN_WITH_GUI in programs that actually have a
- * VCL GUI. The difference is meaningful only for iOS support, which
- * of course is a highly experimental work in progress. So actually,
- * don't bother, just let developers who care for iOS take care of it
- * when/if necessary.
- */
-
-#define SAL_IMPLEMENT_MAIN_WITH_GUI() \
-static int  SAL_CALL sal_main(void); \
-SAL_MAIN_WITH_GUI_IMPL \
-SAL_WIN_WinMain \
-static int SAL_CALL sal_main(void)
-
 /*
 How to use Examples:
 
diff --git a/vcl/source/salmain/salmain.cxx b/vcl/source/salmain/salmain.cxx
index d3c38c8..1a8c4d8 100644
--- a/vcl/source/salmain/salmain.cxx
+++ b/vcl/source/salmain/salmain.cxx
@@ -35,7 +35,7 @@
 
 #include salinst.hxx
 
-SAL_IMPLEMENT_MAIN_WITH_GUI() {
+SAL_IMPLEMENT_MAIN() {
 tools::extendApplicationEnvironment();
 return SVMain();
 }
diff --git a/vcl/workben/svdem.cxx b/vcl/workben/svdem.cxx
index 53f3353..8e9baa7 100644
--- a/vcl/workben/svdem.cxx
+++ b/vcl/workben/svdem.cxx
@@ -49,7 +49,7 @@ void Main();
 
 // ---
 
-SAL_IMPLEMENT_MAIN_WITH_GUI()
+SAL_IMPLEMENT_MAIN()
 {
 tools::extendApplicationEnvironment();
 
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index d0caa00..7df524a 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -52,7 +52,7 @@ void Main();
 
 // ---
 
-SAL_IMPLEMENT_MAIN_WITH_GUI()
+SAL_IMPLEMENT_MAIN()
 {
 tools::extendApplicationEnvironment();
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 49199] PRINTING: Charts missing in printout

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49199

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

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||WONTFIX
 CC||LibreOffice@bielefeldundbus
   ||s.de
Summary|Printing|PRINTING: Charts missing in
   ||printout

--- Comment #1 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-04-26 23:01:37 PDT ---
(In reply to comment #0)
 What's the trouble with Libre Office printing? 

How can we know? May be printing of pictures has been enabled?

Reporter's version is outdated and he did not mention that the problem still
exist in 3.5, so I close this one as WONTFIX

@reporter:
Thank you for your report – unfortunately important information is missing.
Please try current stable version 3.4.6 or 3.5.2 and feel free to reopen this
Bug if you find out that the problem still exists; for that reopened Bug we
would need more information as listed below.

May be hints on http://wiki.documentfoundation.org/BugReport will help you to
find out what information will be useful to reproduce your problem? If you
believe that that  is really sophisticated please as for Help on a user mailing
list
Please:
- Write a meaningful Summary describing exactly what the problem is
- Attach a sample document (not only screenshot) or refer to an existing 
  sample document in an other Bug with a link.
- Attach screenshots with comments if you believe that that might explain the 
  problem better than a text comment. Best way is to insert your screenshots
  into a DRAW document and to add comments that explain what you want to show
- Contribute a step by step instruction containing every key press and every 
  mouse click how to reproduce your problem (due to example in Bug 43431)
– if possible contribute an instruction how to create a sample document 
  from the scratch
- add information 
  -- concerning your PC 
  -- concerning your OS (Version, Distribution, Language)
  -- concerning your LibO version (with Build ID if it's not a public release)
 and localization (UI language, Locale setting)
  –- Libo settings that might be related to your problems 
 (Please check printing related settings)
  -- how you launch LibO and how you opened the sample document
  –- If you can contribute an OOo Issue that might be useful
  -- everything else crossing your mind after you read linked texts

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49205] New: EDITING: Pasting to autofiltered fields

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49205

 Bug #: 49205
   Summary: EDITING: Pasting to autofiltered fields
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.2 Release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: mahf...@gmail.com


Problem description: 
Cannot paste into autofiltered range, because selection is not uniform.

Steps to reproduce:
1. Make a list of repeating numbers in one column such as 1, 2, 3, 4, 1, 2, 3,
4. 
2. Now use autofilter to filter out everything but ones.
3. Let's say you want to copy there your two lines of data from somewhere else.
But you cannot, Libreoffice says you cannot paste into multiple selections.

Expected behavior:
Being able to paste into autofiltered sheet to visible fields.

Platform (if different from the browser): 

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:11.0) Gecko/20100101
Firefox/11.0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48016] FILESAVE: Flat_XML is not available

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48016

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

   What|Removed |Added

 Resolution|FIXED   |WORKSFORME
 CC||LibreOffice@bielefeldundbus
   ||s.de

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 47343] FILEOPEN: Writer does not open this FODT-file

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47343

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

   What|Removed |Added

 Resolution|FIXED   |WORKSFORME
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #4 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-04-26 23:34:45 PDT ---
https://bugs.freedesktop.org/page.cgi?id=fields.html#status

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 46264] : Java runtime not recognised

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46264

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

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||NOTABUG
 CC||LibreOffice@bielefeldundbus
   ||s.de

--- Comment #5 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-04-26 23:46:13 PDT ---
Closing due to Comment 4

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49149] [PRINTING]: LibreOffice always uses CUPS default settings instead of what I choose for printing

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49149

irmhild.roga...@institut-pi.de changed:

   What|Removed |Added

 CC||irmhild.rogalla@institut-pi
   ||.de

--- Comment #1 from irmhild.roga...@institut-pi.de 2012-04-27 00:07:41 PDT ---
For me it's the same: 
Debian Systems with Cups and a Kyocera Printer TASKalfa 250ci
Not only in Writer but in all Components the same effekt: 
I use the printer with two trays = paper boxes, one with DIN A 4 and one with
DIN A 3 (this is one of the possible standards)
If I use paper size A 3 (A 4 and tray 1 is standard) and choose tray 2 in the
printings preferences, it didn't work: the printer try to print on A 3 with
paper from tray 1 - but this didn't work, so the printer sends an error
message. And Libreoffice didn't save the tray choice.

The only possiblity is, to chance the standard to A 3 and tray 2, but then
other way (A4, tray 1) didn't work.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49137] Right-to-Left mode doesn't work properly for certain kind of sentences

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49137

--- Comment #2 from MehranNZ nzmeh...@yahoo.com 2012-04-27 00:11:32 UTC ---
Created attachment 60649
  -- https://bugs.freedesktop.org/attachment.cgi?id=60649
Image of libreoffice and the wrong way it behaves in RTL mode

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49137] Right-to-Left mode doesn't work properly for certain kind of sentences

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49137

--- Comment #3 from MehranNZ nzmeh...@yahoo.com 2012-04-27 00:12:56 PDT ---
Created attachment 60650
  -- https://bugs.freedesktop.org/attachment.cgi?id=60650
Image of microsoft office and the right way it behaves in RTL mode

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 46264] 64 Bit: Java runtime not recognized

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46264

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

   What|Removed |Added

Summary|: Java runtime not  |64 Bit: Java runtime not
   |recognised  |recognized

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49137] Right-to-Left mode doesn't work properly for certain kind of sentences

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49137

--- Comment #4 from MehranNZ nzmeh...@yahoo.com 2012-04-27 00:22:34 PDT ---
(In reply to comment #1)
 Attach a screenshot showing both the actual and expected behavior.

thanks for your response-i have attached two images of LibreOffice and
microsoft office, MS Office shows the right way it has to behave! in MS Office
when it is working with numbers it differentiates between numbers which are
written in English or not and depend on that gives us two right results (as we
can see in the picture) but libreoffice doesn't differentiate if numbers are in
English or not and gives us only one result which is upside down and wrong. 
(Everytime when i say Persian it includes arabic and probably Hebrew too so
fixing one probably would fix all of them)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49149] [PRINTING]: LibreOffice always uses CUPS default settings instead of what I choose for printing

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49149

--- Comment #2 from irmhild.roga...@institut-pi.de 2012-04-27 00:25:23 PDT ---
I forgot two important informations:

There are no similar problems with other programs than LibreOffice.

I suppose, that the problem isn't Kyocera-specific, but may be.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 42899] Macro changes not saved on document Close/Save Summary: Macro changes not saved on document Close/Save

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42899

--- Comment #2 from hmoi h...@ashisuto.co.jp 2012-04-27 00:55:40 PDT ---
Hi,

Verified the bug with LOdev3.5.2 WinXP Japanese, and it still persist.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 42899] Macro changes not saved on document Close/Save Summary: Macro changes not saved on document Close/Save

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42899

--- Comment #3 from hmoi h...@ashisuto.co.jp 2012-04-27 00:59:40 PDT ---
Oops, slipped my finger.

Verified the bug with LO 3.5.2 WinXP Japanese, and it still persist.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49201] config folder in profile is not recreated

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49201

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

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||WONTFIX
 CC||sberg...@redhat.com

--- Comment #2 from Stephan Bergmann sberg...@redhat.com 2012-04-27 01:28:01 
PDT ---
If you remove .../user/config, its original data will indeed not be recreated
upon the next soffice start (it potentially does recreate .../user/config, but
only containing a limited set of newly-written files).

If you remove .../user/config manually, you need to recreate it manually, by
copying over from presets/config in the LO installation.  An alternative is to
completely remove the .../user directory, in which case LO thinks you had not
yet started it at all, and automatically copies over all of presets from the LO
installation.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49181] UI: Docked toolbars can not be moved

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49181

--- Comment #5 from ape os...@yandex.ru 2012-04-27 01:28:57 PDT ---
(In reply to comment #4)
 NOT Reproducible with LibO-Dev_3.5.4rc0  [Build ID: ec752de-73cb0b8-f269e46]
 Win-x86@6-fast pull time 2012-03-19 11:08:23 – WIN7 Home Premium (64bit)
--
The problem emerged in last two builds Win-x86@7-MinGW:
 2012-04-25_14.56.06;
 2012-04-25_14.56.06.
I did not check for errors the Win-x86@7-MinGW:
 2012-04-23_07.08.07;
 2012-04-24_11.37.45.
Hardware (the mouse or the touchpad) and Windows does not affect the occurrence
of the error: Win-x86@15-Prague_Win32 dated April 21, works fine at these
PC's.
The last builds does not allow you to take and move the toolbars (Writer:
standart or format) by the mouse or the touchpad. The cursor (crossed
arrows) does not appear.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48087] : file versions in msi file table are incorrect

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48087

--- Comment #4 from makeijan makei...@gmail.com 2012-04-27 01:29:57 UTC ---
Hi,

Are you going to release that fixed MSI. GPO deployment is impossible now.
If not could you show us, or at least point us how could you've fixed the buggy
MSI?

Thanks.

(In reply to comment #2)
 It´s no big deal. we fixed it in minutes at your msi. we can now deploy a bug
 free transformed msi.
 if you need help, you´re invited to mail us. it´s our daily business.
 
 Best regards
 
 Hardy Jacobs
 
 
 --
 Sotec GmbH
 network solution  media design
 Streustr. 68
 13086 Berlin
 
 FON: 0700 - 76832366
 FAX: 0700 - 76832329
 www.sotec-berlin.de
 
 Registergericht: Amtsgericht Berlin, HRB 84087
 Geschäftsführer: Oliver Mück, Hardy Jacobs
 --
 
 
 
 -Ursprüngliche Nachricht-
 Von: bugzilla-dae...@freedesktop.org [mailto:bugzilla-dae...@freedesktop.org] 
 Gesendet: Freitag, 30. März 2012 17:20
 An: i...@sotecnet.com
 Betreff: [Bug 48087] : file versions in msi file table are incorrect
 
 https://bugs.freedesktop.org/show_bug.cgi?id=48087
 
 Andras Timar tima...@gmail.com changed:
 
What|Removed |Added
 
  Status|UNCONFIRMED |NEW
  Ever Confirmed|0   |1
 
 --- Comment #1 from Andras Timar tima...@gmail.com 2012-03-30 08:20:21 PDT
 --- Currently all files have the version 9.400.102.0 which is clearly wrong 
 and
 I wanted to fix that. 
 
 Populating MsiFileHash table is a bigger task, we have 0 files currently,
 many of them unversioned (only dll and exe files have version).
 
 --
 Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
 --- You are receiving this mail because: --- You reported the bug.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49208] New: FILEOPEN: Application freezes when opening document

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49208

 Bug #: 49208
   Summary: FILEOPEN: Application freezes when opening document
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.2 Release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: lowb2...@gmail.com


Created attachment 60654
  -- https://bugs.freedesktop.org/attachment.cgi?id=60654
the problematic document

Problem description: 

Steps to reproduce:
1. Open the attached document


Current behavior:
soffice.bin CPU usage spikes to 90%, the document is displayed, but the
application freezes and has to be terminated from Task Manager.

Expected behavior:

Platform: 

Win XP SP 3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49181] UI: Docked toolbars can not be moved

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49181

--- Comment #6 from ape os...@yandex.ru 2012-04-27 01:52:53 PDT ---
(In reply to comment #5)
 The problem emerged in last two builds Win-x86@7-MinGW:
  2012-04-25_14.56.06;
  2012-04-25_14.56.06.
-
Sorry:
The problem emerged in last two builds Win-x86@7-MinGW:
 2012-04-25_14.56.06;
 2012-04-26_09.53.25.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49181] MINGW UI: Docked toolbars can not be moved

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49181

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

   What|Removed |Added

Summary|UI: Docked toolbars can not |MINGW UI: Docked toolbars
   |be moved|can not be moved

--- Comment #7 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-04-27 02:00:21 PDT ---
Probably DUP of Bug 41985 - MinGW: UI display broken
@ape:
May be you suffer from a.m. Bug Mouse pointer disappears instead of changing
to move arrows?

When I move mouse pointer to the toolbar handle area at the left coming from
the right, mouse pointer will disappear at the handle area and reappear moving
further to the left as shown in you screenshot. But I can move the toolbar by
drag and drop with the invisible mouse pointer. Can you please check?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48927] PDF: PDF export of a vector drawing replaces text by tiny curves and lines.

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48927

--- Comment #2 from bfoman b...@mailinator.com 2012-04-27 02:06:13 PDT ---
Confirmed with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 32/64 bit
Inkscape 0.48.2 r9819
Adobe Reader 9.5.0.270

The same result.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 42899] Macro changes not saved on document Close/Save Summary: Macro changes not saved on document Close/Save

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42899

--- Comment #4 from sasha.libreoff...@gmail.com 2012-04-27 02:07:02 PDT ---
Thanks for additional testing

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48920] EDITING: Cannot paste into the Find box.

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48920

--- Comment #1 from bfoman b...@mailinator.com 2012-04-27 02:10:51 PDT ---
Checked with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 32/64 bit

Could not reproduce.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49181] MINGW UI: Docked toolbars can not be moved

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49181

--- Comment #8 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2012-04-27 02:11:14 UTC ---
(In reply to comment #6)

@ape:
Can you please use build info strings similar to the one you see in my Comment
with additional info whether it's from Master or daily branch (I will add that
info in future, too)? That will ease to recognize relations very much.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 47511] PDF: Writer: exporting a document as pdf file will crash Writer.

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=47511

--- Comment #6 from codevi...@gmail.com 2012-04-27 02:11:40 PDT ---
Hi Roman,

Maybe I could help.

In those hard cases, in my professional life, and with the user's help,
I usually put some output debug information before and after potential
problematic code. This output debug information could be
in the form of some pre/post condition around the problematic code and 
written into a log file
or in the form of message boxes during program running, or
whatever helps you. The better is to provide, at the beginning of 
program development stage, the code of your project filled with
log-debug information to be activated launching your program for example 
in debug mode but I don't know if this is the case with Writer.
Actually I don't have time to debug Writer code via visual studio or 
through WinDBG or through assembler or alike,
but if you are able to do a test-release of Writer with my above 
suggestions (a few infor written in the log file or messages boxes)then 
I'll be available to make a test stage
for you.

Let me know. Thanks

On 4/27/2012 10:51 AM, bugzilla-dae...@freedesktop.org wrote:
 https://bugs.freedesktop.org/show_bug.cgi?id=47511

 Roman Eiseleb...@eikota.de  changed:

 What|Removed |Added
 
   OS/Version|All |Windows (All)
 Severity|normal  |major

 --- Comment #5 from Roman Eiseleb...@eikota.de  2012-04-27 01:51:29 PDT ---
 I have spent some hours trying to reproduce this bug. According to comment #2,
 I got a copy of the European Curriculume Vitae template, ODT version, and 
 tried
 to export it to PDF. But everything worked as expected. I tried to fill in
 various valid and invalid values in the template, I intserted pictures etc.,
 but still no crash.

 It is possible that I missed some minor point which makes the difference, 
 e.g.,
 some special formatting. But for now, the most probable possibility is just
 that this bug is specific to LibreOffice running on Windows, maybe even to
 Windows 7 (64 bit). I did my tests on MacOS X, and if there is some
 OS-dependence within this bug, it is necessary that I could not reproduce it.
 Therefore:

 -  Changing Platform to 'Windows' for now.

 -  Could please someone else who uses Windows 7 try to reproduce this bug?


-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49209] New: FILEOPEN

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49209

 Bug #: 49209
   Summary: FILEOPEN
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.2 Release
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: chagad...@gmail.com


Created attachment 60655
  -- https://bugs.freedesktop.org/attachment.cgi?id=60655
sample file

File d.odt was saved in MS Office 2010
When I try to open it, LibO crashes.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49210] New: FILEOPEN

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49210

 Bug #: 49210
   Summary: FILEOPEN
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.5.2 Release
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: chagad...@gmail.com


Created attachment 60656
  -- https://bugs.freedesktop.org/attachment.cgi?id=60656
sample file

File d.docx was saved in MS Office 2010.
When I open it LibreOffice, drawing objects are lost, I see only text that was
written inside drawing objects.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49181] MINGW UI: Docked toolbars can not be moved

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49181

--- Comment #9 from ape os...@yandex.ru 2012-04-27 02:49:03 UTC ---
(In reply to comment #8)
 (In reply to comment #6)
 
 @ape:
 Can you please use build info strings similar to the one you see in my Comment
 with additional info whether it's from Master or daily branch (I will add that
 info in future, too)? That will ease to recognize relations very much.

--
1. Yes, this is the Bug_41985.
 The control panel is took and was moved by the cursor invisible. But it was
very difficult to do on Asus_EeePC.
2. Last release with bug:
LOdev 3.5.4rc0+ [Build ID: 8d9e2d9-a73d29c-6845e52-f269e46]
Win-x86@7-MinGW pull time 2012-04-26_09.53.25 - WIN7 Home Premium sp1 (32bit)
and WINXP Proffessional sp2 (64bit).
3. About Master:
NOT Reproducible with LibO-Dev_ 3.6.0alpha0+ [Build ID: b77858b]
Win-x86@7-MinGW pull time 2012-04-26_23.01.24 - WIN7 Home Premium sp1 (32bit)
and WINXP Proffessional sp2 (64bit).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 39825] Does not find Firefox profile for digital certificate signing

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39825

Caolán McNamara caol...@redhat.com changed:

   What|Removed |Added

 Status|NEEDINFO|ASSIGNED
 AssignedTo|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 43281] Print Range is not saved when the document is saved in Excel 97-2003 format

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43281

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 CC||sasha.libreoff...@gmail.com

--- Comment #1 from sasha.libreoff...@gmail.com 2012-04-27 02:53:25 PDT ---
Thanks for bugreport
NOT reproducible in 3.3.4 and 3.5.2 on Fedora 64 bit for me

If bug still exist, please, attach odt file that shows problem when saved to
xls

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 43282] Libre Office Mat won't save default font type for text

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43282

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 CC||sasha.libreoff...@gmail.com

--- Comment #1 from sasha.libreoff...@gmail.com 2012-04-27 03:00:18 PDT ---
Thanks for bugreport
When in Formula editor, try this:
Format-Fonts, in dialog Fonts press Modify, select Variables and remove
tick from Italic

Sorry if I not understand problem

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 43282] Libre Office Mat won't save default font type for text

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43282

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

   Platform|Other   |All
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
Version|LibO 3.4.4 release  |LibO 3.3.4 release

--- Comment #2 from sasha.libreoff...@gmail.com 2012-04-27 03:09:46 PDT ---
Now I understand: settings of previous comment not saved when we close current
formula and create new.
Reproduced in 3.3.4 and 3.5.2 on Fedora 64 bit
Changing to version 3.3.4 as most early reproducible

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48896] : LibreOffice crash when I export this document to PDF

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48896

--- Comment #4 from bfoman b...@mailinator.com 2012-04-27 03:12:13 PDT ---
Checked with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 64 bit

Can't reproduce. PDF exported using default settings.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48911] Calc EDITING: undo not working (regression after 3.3.4)

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48911

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

--- Comment #7 from sasha.libreoff...@gmail.com 2012-04-27 03:13:43 PDT ---
 Should this be in a separate bug?
Meanwhile no.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48893] Request for Transparent Application Background

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48893

--- Comment #1 from bfoman b...@mailinator.com 2012-04-27 03:16:25 PDT ---
On Windows 7 you can hover mouse pointer over Show Desktop in right low corner
to see desktop wallpaper.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48892] Em-Dash (auto correct) and Smart Quotes Bug

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48892

--- Comment #1 from bfoman b...@mailinator.com 2012-04-27 03:26:32 PDT ---
Confirmed with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 64 bit

Results:
„Test”
„Test-- „
„Test – „
„Test --”

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 48889] : copy and paste from inkscape does not copy everything

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48889

--- Comment #1 from bfoman b...@mailinator.com 2012-04-27 03:31:56 PDT ---
Confirmed with:
LOdev 3.5.3rc1+ 
Build ID: 51648779-22e3d74-d554af7
Windows 7 Professional SP1 32/64 bit
Inkscape 0.48.2 r9819
Adobe Reader 9.5.0.270

The same result.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 43283] Words which are added to the personal wordbook and ignored words are not remembered as such

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43283

sasha.libreoff...@gmail.com changed:

   What|Removed |Added

 CC||sasha.libreoff...@gmail.com

--- Comment #1 from sasha.libreoff...@gmail.com 2012-04-27 03:40:01 UTC ---
Thanks for bugreport
Please, verify if in last version of LibreOffice still reproducible

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49209] [FILEOPEN] Crash when opening file ODT file

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49209

Nikolay Morozov nmoro...@atlas-print.ru changed:

   What|Removed |Added

Summary|FILEOPEN|[FILEOPEN] Crash when
   ||opening file ODT file

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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 49210] [FILEOPEN] Drawing object are not displayed

2012-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49210

Nikolay Morozov nmoro...@atlas-print.ru changed:

   What|Removed |Added

Summary|FILEOPEN|[FILEOPEN] Drawing object
   ||are not displayed

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- 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   >