summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/fmgridcl.hxx2
-rw-r--r--svx/source/fmcomp/fmgridcl.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx
index 4b6c11620035..8af1bd4e475a 100644
--- a/include/svx/fmgridcl.hxx
+++ b/include/svx/fmgridcl.hxx
@@ -120,7 +120,7 @@ public:
void positioned(const ::com::sun::star::lang::EventObject& rEvent);
// XBound
- sal_Bool commit();
+ bool commit();
// ::com::sun::star::form::XInsertListener
void inserted(const ::com::sun::star::lang::EventObject& rEvent);
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx
index db0e85bd962b..42e313353873 100644
--- a/svx/source/fmcomp/fmgridcl.cxx
+++ b/svx/source/fmcomp/fmgridcl.cxx
@@ -1385,7 +1385,7 @@ void FmGridControl::positioned(const ::com::sun::star::lang::EventObject& /*rEve
implAdjustInSolarThread(false);
}
-sal_Bool FmGridControl::commit()
+bool FmGridControl::commit()
{
// Commit nur ausfuehren, wenn nicht bereits ein Update vom ::com::sun::star::form::component::GridControl ausgefuehrt
// wird
@@ -1394,10 +1394,10 @@ sal_Bool FmGridControl::commit()
if (Controller().Is() && Controller()->IsModified())
{
if (!SaveModified())
- return sal_False;
+ return false;
}
}
- return sal_True;
+ return true;
}
void FmGridControl::inserted(const ::com::sun::star::lang::EventObject& /*rEvent*/)