summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/curledit.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:20:01 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 14:20:01 +0000
commit2165dc09c1f8ac8de1fb6f279523e9d8d73101b8 (patch)
tree7778d9f5a40ab877796f32312eacc378fadf528a /dbaccess/source/ui/control/curledit.cxx
parentbb925f5f41ba077f7faa8c2d842a359a5000f40d (diff)
INTEGRATION: CWS hr50 (1.12.194); FILE MERGED
2008/04/11 12:26:38 hr 1.12.194.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'dbaccess/source/ui/control/curledit.cxx')
-rw-r--r--dbaccess/source/ui/control/curledit.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx
index c274421ffca5..99edbb1a58d7 100644
--- a/dbaccess/source/ui/control/curledit.cxx
+++ b/dbaccess/source/ui/control/curledit.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: curledit.cxx,v $
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
* This file is part of OpenOffice.org.
*
@@ -115,8 +115,9 @@ void OConnectionURLEdit::SetText(const String& _rStr, const Selection& /*_rNewSe
// and the prefix belonging to this type
if (DST_UNKNOWN != eType)
sPrefix = m_aTypeCollection.getDatasourcePrefix(eType);
- else
+ else {
DBG_ERROR("OConnectionURLEdit::SetText : the new text is no valid connection URL!");
+ }
}
// the fixed text gets the prefix