summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-03 15:38:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-04 08:39:36 +0200
commite5c91797d355ed2d6ce65e460880443d8de94d1a (patch)
tree3f4442ff0a8225d110207b02e2fb2654a1b3b74c /include
parentc96fb68d9527ef5a30dfcb7ba5b04122ee2e94ee (diff)
convert SDR_TRISTATE to TriState
Change-Id: Iac440d313006d01667e433bea97925ccaa9282da Reviewed-on: https://gerrit.libreoffice.org/43084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdglev.hxx4
-rw-r--r--include/svx/svdpntv.hxx4
2 files changed, 3 insertions, 5 deletions
diff --git a/include/svx/svdglev.hxx b/include/svx/svdglev.hxx
index d085464f6d65..10645f0a5aaa 100644
--- a/include/svx/svdglev.hxx
+++ b/include/svx/svdglev.hxx
@@ -48,12 +48,12 @@ public:
// which one wished to check,set or delete
// possible values for nThisEsc are:
// SdrEscapeDirection::LEFT, SdrEscapeDirection::RIGHT, SdrEscapeDirection::TOP and SdrEscapeDirection::BOTTOM
- SDR_TRISTATE IsMarkedGluePointsEscDir(SdrEscapeDirection nThisEsc) const;
+ TriState IsMarkedGluePointsEscDir(SdrEscapeDirection nThisEsc) const;
void SetMarkedGluePointsEscDir(SdrEscapeDirection nThisEsc, bool bOn);
// check/set, if the GluePoints are relative to the
// object size (Percent=sal_True) or not (Percent=sal_False)
- SDR_TRISTATE IsMarkedGluePointsPercent() const;
+ TriState IsMarkedGluePointsPercent() const;
void SetMarkedGluePointsPercent(bool bOn);
// bVert=FALSE: check/set hotizontal alignment
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index 96c24a3b04f8..fede2d744bb1 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -69,9 +69,7 @@ enum class SdrAnimationMode
};
-// Typedefs and defines
-typedef unsigned char SDR_TRISTATE;
-#define FUZZY (2)
+// defines
#define SDR_ANYFORMAT (0xFFFFFFFF)
#define SDR_ANYITEM (0xFFFF)
#define SDRVIEWWIN_NOTFOUND (0xFFFF)