diff options
Diffstat (limited to 'fpicker/source/win32/filepicker/dialogcustomcontrols.cxx')
-rw-r--r-- | fpicker/source/win32/filepicker/dialogcustomcontrols.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx index 0be7a7e72b93..afe673c77adb 100644 --- a/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx +++ b/fpicker/source/win32/filepicker/dialogcustomcontrols.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -35,7 +35,7 @@ #include <osl/diagnose.h> //----------------------------------- -// +// //----------------------------------- CDialogCustomControlBase::CDialogCustomControlBase(HWND aControlHandle, HWND aParentHandle) : @@ -45,7 +45,7 @@ CDialogCustomControlBase::CDialogCustomControlBase(HWND aControlHandle, HWND aPa } //----------------------------------- -// +// //----------------------------------- void SAL_CALL CDialogCustomControlBase::SetFont(HFONT hFont) @@ -58,7 +58,7 @@ void SAL_CALL CDialogCustomControlBase::SetFont(HFONT hFont) } //----------------------------------- -// +// //----------------------------------- void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle) @@ -70,7 +70,7 @@ void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle) POINT pt = {rcBuddy.left,rcBuddy.top}; ScreenToClient(m_ParentHandle,&pt); - + int cx_new = rcBuddy.right - rcBuddy.left; int cy_new = rcBuddy.bottom - rcBuddy.top; @@ -79,30 +79,30 @@ void SAL_CALL CDialogCustomControlBase::AlignToBuddy(HWND aBuddyHandle) // this job RECT rcMe; GetWindowRect(m_CustomControlHandle,&rcMe); - + POINT ptMe = {rcMe.left,rcMe.top}; ScreenToClient(m_ParentHandle,&ptMe); SetWindowPos( m_CustomControlHandle, - HWND_TOP, - pt.x, - ptMe.y, - cx_new, - cy_new, + HWND_TOP, + pt.x, + ptMe.y, + cx_new, + cy_new, SWP_NOACTIVATE); } //----------------------------------- -// +// //----------------------------------- -CDummyCustomControl::CDummyCustomControl(HWND, HWND) +CDummyCustomControl::CDummyCustomControl(HWND, HWND) { } //----------------------------------- -// +// //----------------------------------- void SAL_CALL CDummyCustomControl::Align() @@ -111,7 +111,7 @@ void SAL_CALL CDummyCustomControl::Align() } //----------------------------------- -// +// //----------------------------------- void SAL_CALL CDummyCustomControl::SetFont(HFONT) @@ -120,7 +120,7 @@ void SAL_CALL CDummyCustomControl::SetFont(HFONT) } //----------------------------------- -// +// //----------------------------------- CStaticCustomControl::CStaticCustomControl(HWND aControlHandle, HWND aParentHandle) : @@ -129,17 +129,17 @@ CStaticCustomControl::CStaticCustomControl(HWND aControlHandle, HWND aParentHand } //----------------------------------- -// Align to the "File name" static +// Align to the "File name" static // text of the standard FileOpen dlg //----------------------------------- void SAL_CALL CStaticCustomControl::Align() { - AlignToBuddy(GetDlgItem(m_ParentHandle,stc3)); + AlignToBuddy(GetDlgItem(m_ParentHandle,stc3)); } //----------------------------------- -// +// //----------------------------------- CPushButtonCustomControl::CPushButtonCustomControl(HWND aControlHandle, HWND aParentHandle) : @@ -148,7 +148,7 @@ CPushButtonCustomControl::CPushButtonCustomControl(HWND aControlHandle, HWND aPa } //----------------------------------- -// Align to the "OK" button of the +// Align to the "OK" button of the // standard FileOpen dlg //----------------------------------- @@ -158,7 +158,7 @@ void SAL_CALL CPushButtonCustomControl::Align() } //----------------------------------- -// +// //----------------------------------- CComboboxCustomControl::CComboboxCustomControl(HWND aControlHandle, HWND aParentHandle) : @@ -177,7 +177,7 @@ void SAL_CALL CComboboxCustomControl::Align() } //----------------------------------- -// +// //----------------------------------- CCheckboxCustomControl::CCheckboxCustomControl(HWND aControlHandle, HWND aParentHandle) : @@ -186,7 +186,7 @@ CCheckboxCustomControl::CCheckboxCustomControl(HWND aControlHandle, HWND aParent } //----------------------------------- -// Align to the "File name" combobox +// Align to the "File name" combobox // of the standard FileOpen dlg //----------------------------------- |