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

Stephan Bergmann sbergman at redhat.com
Tue Oct 8 05:56:04 PDT 2013


 sc/source/ui/dbgui/dbnamdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f4e2e662d1635390359c6e9bd8335517daf1cc20
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 8 14:55:24 2013 +0200

    Fix leftover typo from String conversion
    
    Change-Id: Ib50e3c827ef99b4f534e39f55cfd8c450c5ddd9c

diff --git a/sc/source/ui/dbgui/dbnamdlg.cxx b/sc/source/ui/dbgui/dbnamdlg.cxx
index b732f65..6e029f1 100644
--- a/sc/source/ui/dbgui/dbnamdlg.cxx
+++ b/sc/source/ui/dbgui/dbnamdlg.cxx
@@ -416,7 +416,7 @@ IMPL_LINK_NOARG(ScDbNameDlg, AddBtnHdl)
     OUString  aNewName = comphelper::string::strip(m_pEdName->GetText(), ' ');
     OUString  aNewArea = m_pEdAssign->GetText();
 
-    if ( !aNewName.isEmpty() > 0 && !aNewArea.isEmpty() )
+    if ( !aNewName.isEmpty() && !aNewArea.isEmpty() )
     {
         if ( ScRangeData::IsNameValid( aNewName, pDoc ) && !aNewName.equalsAscii(STR_DB_LOCAL_NONAME) )
         {


More information about the Libreoffice-commits mailing list