[Libreoffice-commits] .: testtools/source toolkit/source tools/bootstrp tools/inc tools/qa tools/source

2012-01-16 Thread Olivier Hallot
 testtools/source/bridgetest/bridgetest.cxx|4 +-
 toolkit/source/awt/vclxtoolkit.cxx|4 +-
 toolkit/source/awt/vclxwindow.cxx |2 -
 toolkit/source/awt/vclxwindows.cxx|8 ++---
 toolkit/source/controls/controlmodelcontainerbase.cxx |8 ++---
 toolkit/source/controls/dialogcontrol.cxx |   12 +++
 toolkit/source/controls/geometrycontrolmodel.cxx  |2 -
 toolkit/source/controls/unocontrol.cxx|2 -
 toolkit/source/controls/unocontrolmodel.cxx   |8 ++---
 toolkit/source/controls/unocontrols.cxx   |2 -
 toolkit/source/helper/formpdfexport.cxx   |2 -
 toolkit/source/helper/tkresmgr.cxx|2 -
 toolkit/source/helper/vclunohelper.cxx|4 +-
 tools/bootstrp/cppdep.cxx |2 -
 tools/bootstrp/rscdep.cxx |2 -
 tools/inc/tools/diagnose_ex.h |2 -
 tools/qa/cppunit/test_stream.cxx  |2 -
 tools/source/fsys/dirent.cxx  |   26 
 tools/source/fsys/tempfile.cxx|2 -
 tools/source/fsys/urlobj.cxx  |   18 +--
 tools/source/generic/svlibrary.cxx|2 -
 tools/source/inet/inetmime.cxx|2 -
 tools/source/misc/appendunixshellword.cxx |2 -
 tools/source/misc/getprocessworkingdir.cxx|2 -
 tools/source/rc/resmgr.cxx|   28 +-
 25 files changed, 75 insertions(+), 75 deletions(-)

New commits:
commit 81e50fb2e378120d05f7ffdee216ce6e248e189b
Author: Olivier Hallot 
Date:   Mon Jan 16 15:46:57 2012 -0200

Fix for fdo43460 Part XXXIX getLength() to isEmpty()

Part XXXIX
Modules
testtools, toolkit, tools

diff --git a/testtools/source/bridgetest/bridgetest.cxx 
b/testtools/source/bridgetest/bridgetest.cxx
index 27af77b..46435fb 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -100,7 +100,7 @@ static bool check( bool b , char const * message )
 namespace {
 
 bool checkEmpty(rtl::OUString const & string, char const * message) {
-bool ok = string.getLength() == 0;
+bool ok = string.isEmpty();
 if (!ok) {
 fprintf(
 stderr, "%s failed: %s\n", message,
@@ -593,7 +593,7 @@ static sal_Bool performTest(
 bRet &= check(
 xLBT->getNullPolyLong().member == 0, "getNullPolyLong");
 bRet &= check(
-xLBT->getNullPolyString().member.getLength() == 0,
+xLBT->getNullPolyString().member.isEmpty(),
 "getNullPolyString");
 bRet &= check(
 xLBT->getNullPolyType().member == Type(),
diff --git a/toolkit/source/awt/vclxtoolkit.cxx 
b/toolkit/source/awt/vclxtoolkit.cxx
index b9d94be..3a8e2c6 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -366,7 +366,7 @@ sal_uInt16 ImplGetComponentType( const String& rServiceName 
)
 
 ComponentInfo aSearch;
 rtl::OString aServiceName(rtl::OUStringToOString(rServiceName, 
osl_getThreadTextEncoding()).toAsciiLowerCase());
-if ( aServiceName.getLength() )
+if ( !aServiceName.isEmpty() )
 aSearch.pName = aServiceName.getStr();
 else
 aSearch.pName = "window";
@@ -1353,7 +1353,7 @@ css::uno::Reference< css::awt::XWindowPeer > 
VCLXToolkit::ImplCreateWindow(
 
 ::com::sun::star::uno::Reference< 
::com::sun::star::datatransfer::clipboard::XClipboard > SAL_CALL 
VCLXToolkit::getClipboard( const ::rtl::OUString& clipboardName ) 
throw(::com::sun::star::uno::RuntimeException)
 {
-if( clipboardName.getLength() == 0 )
+if( clipboardName.isEmpty() )
 {
 if( !mxClipboard.is() )
 {
diff --git a/toolkit/source/awt/vclxwindow.cxx 
b/toolkit/source/awt/vclxwindow.cxx
index 76eab5b..7f2af75 100644
--- a/toolkit/source/awt/vclxwindow.cxx
+++ b/toolkit/source/awt/vclxwindow.cxx
@@ -1545,7 +1545,7 @@ void VCLXWindow::setProperty( const ::rtl::OUString& 
PropertyName, const ::com::
 case WINDOW_CANCELBUTTON:
 case WINDOW_HELPBUTTON:
 // Standard Button: overwrite only if not empty.
-if (aText.getLength())
+if (!aText.isEmpty())
 pWindow->SetText( aText );
 break;
 
diff --git a/toolkit/source/awt/vclxwindows.cxx 
b/toolkit/source/awt/vclxwindows.cxx
index 2669f0f..f85bc3c 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2067,7 +2067,7 @@ namespace
 {
  Image lcl_getImageFromURL( const ::rtl::OUString& i_rImageURL )
  {
- if ( !i_rImage

[Libreoffice-commits] .: testtools/source

2011-11-16 Thread Jan Holesovsky
 testtools/source/bridgetest/makefile.mk |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4f11d0aa461537efa2705e7b49bc2c828a700e43
Author: Jan Holesovsky 
Date:   Wed Nov 16 22:57:28 2011 +0100

Revert the component.map removal from makefile to fix Windows build.

diff --git a/testtools/source/bridgetest/makefile.mk 
b/testtools/source/bridgetest/makefile.mk
index cc3661a..31c5b7e 100644
--- a/testtools/source/bridgetest/makefile.mk
+++ b/testtools/source/bridgetest/makefile.mk
@@ -88,7 +88,7 @@ SHL1STDLIBS= \
 SHL1LIBS=  $(LIB1TARGET)
 SHL1DEF=   $(MISC)$/$(SHL1TARGET).def
 DEF1NAME=  $(SHL1TARGET)
-SHL1USE_EXPORTS = name
+SHL1VERSIONMAP = $(SOLARENV)/src/component.map
 
 #  test object 
 
@@ -107,7 +107,7 @@ SHL2STDLIBS= \
 SHL2LIBS=  $(LIB2TARGET)
 SHL2DEF=   $(MISC)$/$(SHL2TARGET).def
 DEF2NAME=  $(SHL2TARGET)
-SHL2USE_EXPORTS = name
+SHL2VERSIONMAP = $(SOLARENV)/src/component.map
 
 SHL3TARGET = constructors.uno
 SHL3OBJS = $(SLO)$/constructors.obj
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits