summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/cellsh3.cxx')
-rw-r--r--sc/source/ui/view/cellsh3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index 4e40e4fbaf8e..6a17bdd2626b 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -37,7 +37,6 @@
#include "autoform.hxx"
#include "autofmt.hxx"
#include "cellsh.hxx"
-#include "attrdlg.hrc" // TP_ALIGNMENT
#include "inputhdl.hxx"
#include "editable.hxx"
#include "markdata.hxx"
@@ -355,7 +354,7 @@ void ScCellShell::Execute( SfxRequest& rReq )
break;
case SID_ENABLE_HYPHENATION:
- pTabViewShell->ExecuteCellFormatDlg( rReq, TP_ALIGNMENT );
+ pTabViewShell->ExecuteCellFormatDlg(rReq, "alignment");
break;
case SID_OPENDLG_SOLVE: