diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/namecrea.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/namecrea.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/miscdlgs/namecrea.cxx b/sc/source/ui/miscdlgs/namecrea.cxx index 1714fddd3b3d..402881d9b3af 100644 --- a/sc/source/ui/miscdlgs/namecrea.cxx +++ b/sc/source/ui/miscdlgs/namecrea.cxx @@ -41,7 +41,7 @@ //================================================================== -ScNameCreateDlg::ScNameCreateDlg( Window * pParent, USHORT nFlags ) +ScNameCreateDlg::ScNameCreateDlg( Window * pParent, sal_uInt16 nFlags ) : ModalDialog( pParent, ScResId(RID_SCDLG_NAMES_CREATE) ), aFixedLine ( this, ScResId( FL_FRAME ) ), aTopBox ( this, ScResId( BTN_TOP ) ), @@ -52,19 +52,19 @@ ScNameCreateDlg::ScNameCreateDlg( Window * pParent, USHORT nFlags ) aCancelButton ( this, ScResId( BTN_CANCEL ) ), aHelpButton ( this, ScResId( BTN_HELP ) ) { - aTopBox.Check ( (nFlags & NAME_TOP) ? TRUE : FALSE ); - aLeftBox.Check ( (nFlags & NAME_LEFT) ? TRUE : FALSE ); - aBottomBox.Check( (nFlags & NAME_BOTTOM)? TRUE : FALSE ); - aRightBox.Check ( (nFlags & NAME_RIGHT) ? TRUE : FALSE ); + aTopBox.Check ( (nFlags & NAME_TOP) ? sal_True : sal_False ); + aLeftBox.Check ( (nFlags & NAME_LEFT) ? sal_True : sal_False ); + aBottomBox.Check( (nFlags & NAME_BOTTOM)? sal_True : sal_False ); + aRightBox.Check ( (nFlags & NAME_RIGHT) ? sal_True : sal_False ); FreeResource(); } //------------------------------------------------------------------ -USHORT ScNameCreateDlg::GetFlags() const +sal_uInt16 ScNameCreateDlg::GetFlags() const { - USHORT nResult = 0; + sal_uInt16 nResult = 0; nResult |= aTopBox.IsChecked() ? NAME_TOP: 0 ; nResult |= aLeftBox.IsChecked() ? NAME_LEFT: 0 ; |