diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-05-28 08:11:28 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-06-03 06:46:39 +0000 |
commit | 9196de99ed4dff2c1f8708bfd68da9b6424ae53b (patch) | |
tree | 2fa498e27babfcbd31c9fc7387932bbc5f60d949 /cui/source/inc | |
parent | d0879b721d8c429248f9da7ce02c6c71327e2954 (diff) |
Move page size listbox from cui to svx
make it a custom widget so it is accessible e.g. to sidebar panels
Change-Id: Ic36a9a8af96a09fc76efd8e9ae75b8ebdf81717e
Reviewed-on: https://gerrit.libreoffice.org/25764
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/cuires.hrc | 2 | ||||
-rw-r--r-- | cui/source/inc/page.hxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index f0a8ccd33223..103f74ffd78e 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -38,8 +38,6 @@ // RID_CUI_GALLERY_END (RID_SVX_START + 410) // used in "tabpages" -#define RID_SVXSTRARY_PAPERSIZE_STD (RID_SVX_START + 142) -#define RID_SVXSTRARY_PAPERSIZE_DRAW (RID_SVX_START + 143) #define RID_SVXSTR_READ_DATA_ERROR (RID_SVX_START + 230) #define RID_SVXSTR_TABLE_PRESET_NONE (RID_SVX_START + 969) #define RID_SVXSTR_TABLE_PRESET_ONLYOUTER (RID_SVX_START + 970) diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index d2ec71b063a5..67cd991bc662 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -26,6 +26,7 @@ #include <vcl/lstbox.hxx> #include <svtools/stdctrl.hxx> #include <svx/pagectrl.hxx> +#include <svx/papersizelistbox.hxx> #include <svx/frmdirlbox.hxx> #include <editeng/svxenum.hxx> #include <i18nutil/paper.hxx> @@ -76,7 +77,7 @@ class SvxPageDescPage : public SfxTabPage static const sal_uInt16 pRanges[]; private: // paper format - VclPtr<ListBox> m_pPaperSizeBox; + VclPtr<PaperSizeListBox> m_pPaperSizeBox; VclPtr<MetricField> m_pPaperWidthEdit; VclPtr<MetricField> m_pPaperHeightEdit; |