From 182fc4f184b77330fdbb32096b64f5fbc5b5f874 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 20 Oct 2014 09:10:45 +0200 Subject: fdo#84938: replace WINDOW_BORDER constants with enum Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb --- vcl/inc/brdwin.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vcl/inc/brdwin.hxx') diff --git a/vcl/inc/brdwin.hxx b/vcl/inc/brdwin.hxx index f3d0c0f9bc31..119f24c9e48a 100644 --- a/vcl/inc/brdwin.hxx +++ b/vcl/inc/brdwin.hxx @@ -91,7 +91,7 @@ private: long mnRollHeight; long mnOrgMenuHeight; sal_uInt16 mnTitleType; - sal_uInt16 mnBorderStyle; + WindowBorderStyle mnBorderStyle; bool mbFloatWindow; bool mbSmallOutBorder; bool mbFrameBorder; @@ -145,8 +145,8 @@ public: void SetDisplayActive( bool bActive ); bool IsDisplayActive() const { return mbDisplayActive; } void SetTitleType( sal_uInt16 nTitleType, const Size& rSize ); - void SetBorderStyle( sal_uInt16 nStyle ); - sal_uInt16 GetBorderStyle() const { return mnBorderStyle; } + void SetBorderStyle( WindowBorderStyle nStyle ); + WindowBorderStyle GetBorderStyle() const { return mnBorderStyle; } void SetPin( bool bPin ); void SetRollUp( bool bRollUp, const Size& rSize ); void SetCloseButton(); -- cgit