summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-04-27 13:20:33 +0000
committerFrank Schönheit <fs@openoffice.org>2001-04-27 13:20:33 +0000
commit520e0b5444f73b33e2e01bfc49b7ad24b18178f7 (patch)
treec4ee38a64efdff2d75ac1b4c645c428c74247544
parentca08f7e4b8d702f450dbc82db41f4366ff72a5e7 (diff)
#86464# no SaveModified if not IfModified
-rw-r--r--dbaccess/source/ui/dlg/indexfieldscontrol.cxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
index 563e8749afe5..e2978e470ae7 100644
--- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: indexfieldscontrol.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: oj $ $Date: 2001-03-30 14:10:22 $
+ * last change: $Author: fs $ $Date: 2001-04-27 14:20:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -356,8 +356,17 @@ namespace dbaui
}
//------------------------------------------------------------------
+ sal_Bool IndexFieldsControl::IsModified() const
+ {
+ return DbBrowseBox::IsModified();
+ }
+
+ //------------------------------------------------------------------
sal_Bool IndexFieldsControl::SaveModified()
{
+ if (!IsModified())
+ return sal_True;
+
switch (GetCurColumnId())
{
case COLUMN_ID_FIELDNAME:
@@ -510,6 +519,9 @@ namespace dbaui
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.3 2001/03/30 14:10:22 oj
+ * #85298##85297# correct index impl
+ *
* Revision 1.2 2001/03/19 06:00:13 fs
* no controller if not enabled
*