diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2018-10-11 19:31:24 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2018-10-22 18:26:39 +0200 |
commit | 22beeb3ee7d199b6b15636c532d3ad9f75da1a2b (patch) | |
tree | 2f221ff29f32af5778f0ee298d6ec4412c41f935 /sd/source/ui/view | |
parent | 7da3947535d1b3aac23b3d0a72e94396960ee751 (diff) |
sd: Use the regular textbox popupmenu for outline text objects
Having a separate menu for just one kind of a text box makes
no sense. It isn't good for developers that must remember to
sync changes between the two, and likewise for users which do
customization, and that have to make the same changes twice.
In fact both menus are identical, except that the outlinetext
menu has also .uno:TextAutoFitToSize. But this commands seems
to work also for other kinds of text boxes, and we actually
have a request in tdf#116898 to have it in the context menu.
So we can just move .uno:TextAutoFitToSize to textbox.xml, and
then remove the separate outlinetext.xml.
Fortunately there is no fear of losing existing user
customization for outlinetext.xml, as it wasn't exposed to the
customization dialog by error (no corresponding entries were
added to ImpressWindowState.xcu/DrawWindowState.xcu).
Change-Id: I3568cb95d862d4ab91bedfa691dcc6659a3bf86f
Reviewed-on: https://gerrit.libreoffice.org/61972
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a@gmail.com>
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index 97d832c1f5ad..11986c86c6c8 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -660,9 +660,6 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) switch ( nId ) { case OBJ_OUTLINETEXT: - aPopupId = "outlinetext"; - break; - case OBJ_CAPTION: case OBJ_TITLETEXT: case OBJ_TEXT: |