summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-07-21 23:19:15 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-07-21 23:21:27 -0400
commit06830a9abc549a8a881abfa168357a41dcc450c8 (patch)
treecea538b5b895bd30701a315d5022a34af2384c41 /chart2/source/controller/main
parenta1d6f1dfd5855a82970119a1812caade20e22f7e (diff)
LongAndWordyVariableNameReallyGetsToMyNerveReallyAndEvenMisspelled.
Change-Id: Ifc6f876ca9e2ca77b2ab336ea0668697f32d4066
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r--chart2/source/controller/main/ChartController.hxx2
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx5
2 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx
index a75f8638d182..469dee216b76 100644
--- a/chart2/source/controller/main/ChartController.hxx
+++ b/chart2/source/controller/main/ChartController.hxx
@@ -544,7 +544,7 @@ private:
void executeDispatch_ObjectProperties();
void executeDispatch_FormatObject( const OUString& rDispatchCommand );
void executeDlg_ObjectProperties( const OUString& rObjectCID );
- bool executeDlg_ObjectProperties_withoutUndoGuard( const OUString& rObjectCID, bool bOkClickOnUnchangedDialogSouldBeRatedAsSuccessAlso );
+ bool executeDlg_ObjectProperties_withoutUndoGuard( const OUString& rObjectCID, bool bSuccessOnUnchanged );
void executeDispatch_ChartType();
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index 8daacd38be74..f6367fe711a5 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -685,7 +685,8 @@ void ChartController::executeDlg_ObjectProperties( const OUString& rSelectedObje
aUndoGuard.commit();
}
-bool ChartController::executeDlg_ObjectProperties_withoutUndoGuard( const OUString& rObjectCID, bool bOkClickOnUnchangedDialogSouldBeRatedAsSuccessAlso )
+bool ChartController::executeDlg_ObjectProperties_withoutUndoGuard(
+ const OUString& rObjectCID, bool bSuccessOnUnchanged )
{
//return true if the properties were changed successfully
bool bRet = false;
@@ -763,7 +764,7 @@ bool ChartController::executeDlg_ObjectProperties_withoutUndoGuard( const OUStri
}
//open the dialog
- if( aDlg.Execute() == RET_OK || (bOkClickOnUnchangedDialogSouldBeRatedAsSuccessAlso && aDlg.DialogWasClosedWithOK()) )
+ if (aDlg.Execute() == RET_OK || (bSuccessOnUnchanged && aDlg.DialogWasClosedWithOK()))
{
const SfxItemSet* pOutItemSet = aDlg.GetOutputItemSet();
if(pOutItemSet)