diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-13 16:53:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-14 10:00:42 +0200 |
commit | 77d78b339133b4f8bc50a22cede661becc2b565b (patch) | |
tree | 0f9fb54b3a377a3a2f1f0294d06c9382ae8ec53c /vcl/osx/saldata.cxx | |
parent | 222cf76001d835961537214eba38037ef40a8aa0 (diff) |
revert removal of apparently unused mouse cursors
partial revert of...
commit 65b7b6322b662785bf032e66c76abc36c9a2bb0e
Date: Wed Feb 8 10:40:28 2017 +0200
loplugin:unusedenumconstants read-only constants in vcl
because we cast the com::sun::star::awt::SystemPointer values to PointerStyle
in VCLXPointer::setType and we've at least lost the PEN as used in the
slideshow context menu's pen mode
"toolkit/source/awt/vclxpointer.cxx" 74L, 2181C
Change-Id: I5ef677f70ebc491b50403de0f92179ea4ae3bb14
Reviewed-on: https://gerrit.libreoffice.org/36526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/osx/saldata.cxx')
-rw-r--r-- | vcl/osx/saldata.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx index f17b3b53aa99..549e1cf882b8 100644 --- a/vcl/osx/saldata.cxx +++ b/vcl/osx/saldata.cxx @@ -142,6 +142,7 @@ curs_ent{ nullptr, { 0, 0 } }, //PointerStyle::Arrow { nullptr, { 0, 0 } }, //PointerStyle::VSizeBar { nullptr, { 0, 0 } }, //PointerStyle::Hand { nullptr, { 0, 0 } }, //PointerStyle::RefHand +{ "pen", { 3, 27 } }, //PointerStyle::Pen { "magnify", { 12, 13 } }, //PointerStyle::Magnify { "fill", { 10, 22 } }, //PointerStyle::Fill { "rotate", { 15, 15 } }, //PointerStyle::Rotate @@ -152,9 +153,18 @@ curs_ent{ nullptr, { 0, 0 } }, //PointerStyle::Arrow { "crop", { 9, 9 } }, //PointerStyle::Crop { "movept", { 0, 0 } }, //PointerStyle::MovePoint { "movebw", { 0, 0 } }, //PointerStyle::MoveBezierWeight +{ "movedata", { 0, 0 } }, //PointerStyle::MoveData { "copydata", { 0, 0 } }, //PointerStyle::CopyData { "linkdata", { 0, 0 } }, //PointerStyle::LinkData { "movedlnk", { 0, 0 } }, //PointerStyle::MoveDataLink +{ "copydlnk", { 0, 0 } }, //PointerStyle::CopyDataLink +{ "movef", { 8, 8 } }, //PointerStyle::MoveFile +{ "copyf", { 8, 8 } }, //PointerStyle::CopyFile +{ "linkf", { 8, 8 } }, //PointerStyle::LinkFile +{ "moveflnk", { 8, 8 } }, //PointerStyle::MoveFileLink +{ "copyflnk", { 8, 8 } }, //PointerStyle::CopyFileLink +{ "movef2", { 7, 8 } }, //PointerStyle::MoveFiles +{ "copyf2", { 7, 8 } }, //PointerStyle::CopyFiles { "notallow", { 15, 15 } }, //PointerStyle::NotAllowed { "dline", { 8, 8 } }, //PointerStyle::DrawLine { "drect", { 8, 8 } }, //PointerStyle::DrawRect @@ -168,12 +178,15 @@ curs_ent{ nullptr, { 0, 0 } }, //PointerStyle::Arrow { "dconnect", { 8, 8 } }, //PointerStyle::DrawConnect { "dtext", { 8, 8 } }, //PointerStyle::DrawText { "dcapt", { 8, 8 } }, //PointerStyle::DrawCaption +{ "chart", { 15, 16 } }, //PointerStyle::Chart { "detectiv", { 12, 13 } }, //PointerStyle::Detective { "pivotcol", { 7, 5 } }, //PointerStyle::PivotCol { "pivotrow", { 8, 7 } }, //PointerStyle::PivotRow { "pivotfld", { 8, 7 } }, //PointerStyle::PivotField { "chain", { 0, 2 } }, //PointerStyle::Chain { "chainnot", { 2, 2 } }, //PointerStyle::ChainNotAllowed +{ "timemove", { 16, 16 } }, //PointerStyle::TimeEventMove +{ "timesize", { 16, 17 } }, //PointerStyle::TimeEventSize { "asn", { 16, 12 } }, //PointerStyle::AutoScrollN { "ass", { 15, 19 } }, //PointerStyle::AutoScrollS { "asw", { 12, 15 } }, //PointerStyle::AutoScrollW @@ -185,6 +198,7 @@ curs_ent{ nullptr, { 0, 0 } }, //PointerStyle::Arrow { "asns", { 15, 15 } }, //PointerStyle::AutoScrollNS { "aswe", { 15, 15 } }, //PointerStyle::AutoScrollWE { "asnswe", { 15, 15 } }, //PointerStyle::AutoScrollNSWE +{ "airbrush", { 5, 22 } }, //PointerStyle::Airbrush { "vtext", { 15, 15 } }, //PointerStyle::TextVertical { "pivotdel", { 18, 15 } }, //PointerStyle::PivotDelete { "tblsels", { 15, 30 } }, //PointerStyle::TabSelectS @@ -192,6 +206,7 @@ curs_ent{ nullptr, { 0, 0 } }, //PointerStyle::Arrow { "tblselse", { 30, 30 } }, //PointerStyle::TabSelectSE { "tblselw", { 1, 16 } }, //PointerStyle::TabSelectW { "tblselsw", { 1, 30 } }, //PointerStyle::TabSelectSW +{ "pntbrsh", { 9, 16 } }, //PointerStyle::Paintbrush { "wshide", { 16, 16 } }, //PointerStyle::HideWhitespace { "wsshow", { 16, 16 } } //PointerStyle::ShowWhitespace }; |