summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-26 08:59:20 +0200
committerNoel Grandin <noel@peralex.com>2015-03-26 09:41:35 +0200
commit871740210e5608e619b37297b47362f534f7ed8d (patch)
treef584b00a107950bad4248d78964440f76400b6bf /include/editeng
parentce46c98dbeb3364684843daa5b269c74fce2af64 (diff)
bullet justification in SvxBulletItem is unused
Change-Id: Ib303c89f84a95eed96cfccfc947c2b4d6919ab95
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/bulletitem.hxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx
index f3ae1bee1a93..a9a1f6872f20 100644
--- a/include/editeng/bulletitem.hxx
+++ b/include/editeng/bulletitem.hxx
@@ -20,6 +20,7 @@
#define INCLUDED_EDITENG_BULLETITEM_HXX
#include <editeng/editengdllapi.h>
+#include <o3tl/typed_flags_set.hxx>
// define ----------------------------------------------------------------
@@ -37,14 +38,6 @@ enum class SvxBulletStyle
BMP = 128
};
-// Justification
-#define BJ_HLEFT 0x01
-#define BJ_HRIGHT 0x02
-#define BJ_HCENTER 0x04
-#define BJ_VTOP 0x08
-#define BJ_VBOTTOM 0x10
-#define BJ_VCENTER 0x20
-
// Valid-Bits
// First, only the values that are changed by the dialogue ...
#define VALID_FONTCOLOR 0x0001
@@ -73,7 +66,6 @@ class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem
long nWidth;
sal_uInt16 nScale;
sal_Unicode cSymbol;
- sal_uInt8 nJustify;
sal_uInt16 nValidMask; // Only temporary for GetAttribs / setAttribs,
// because of the large Bullets
@@ -100,7 +92,6 @@ public:
sal_uInt16 GetStart() const { return nStart; }
long GetWidth() const { return nWidth; }
SvxBulletStyle GetStyle() const { return nStyle; }
- sal_uInt8 GetJustification() const { return nJustify; }
vcl::Font GetFont() const { return aFont; }
sal_uInt16 GetScale() const { return nScale; }
@@ -114,7 +105,6 @@ public:
void SetStart( sal_uInt16 nNew ) { nStart = nNew; }
void SetWidth( long nNew ) { nWidth = nNew; }
void SetStyle( SvxBulletStyle nNew ) { nStyle = nNew; }
- void SetJustification( sal_uInt8 nNew ) { nJustify = nNew; }
void SetFont( const vcl::Font& rNew) { aFont = rNew; }
void SetScale( sal_uInt16 nNew ) { nScale = nNew; }