Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
ffca9502
Kaydet (Commit)
ffca9502
authored
Mar 26, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2/childwin.hxx: sal_Bool->bool
Change-Id: I4fe18964a3178c797ce6e1fe259ec230c2de6eb7
üst
75ebd3bd
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
61 additions
and
61 deletions
+61
-61
childwin.hxx
include/sfx2/childwin.hxx
+14
-14
hyperdlg.hxx
include/svx/hyperdlg.hxx
+1
-1
tabvwshc.cxx
sc/source/ui/view/tabvwshc.cxx
+1
-1
AnimationChildWindow.cxx
sd/source/ui/dlg/AnimationChildWindow.cxx
+1
-1
PaneChildWindows.cxx
sd/source/ui/dlg/PaneChildWindows.cxx
+1
-1
childwin.cxx
sfx2/source/appl/childwin.cxx
+33
-33
dockwin.cxx
sfx2/source/dialog/dockwin.cxx
+1
-1
partwnd.cxx
sfx2/source/dialog/partwnd.cxx
+2
-2
recfloat.cxx
sfx2/source/dialog/recfloat.cxx
+3
-3
partwnd.hxx
sfx2/source/inc/partwnd.hxx
+1
-1
recfloat.hxx
sfx2/source/inc/recfloat.hxx
+1
-1
hyperdlg.cxx
svx/source/dialog/hyperdlg.cxx
+1
-1
tabwin.cxx
svx/source/form/tabwin.cxx
+1
-1
No files found.
include/sfx2/childwin.hxx
Dosyayı görüntüle @
ffca9502
...
@@ -50,7 +50,7 @@ class SfxChildWindowContext;
...
@@ -50,7 +50,7 @@ class SfxChildWindowContext;
// ChildWindow Configuration
// ChildWindow Configuration
struct
SfxChildWinInfo
struct
SfxChildWinInfo
{
{
sal_Bool
bVisible
;
sal_Bool
bVisible
;
// this can be sal_True, or sal_False, or 42
Point
aPos
;
Point
aPos
;
Size
aSize
;
Size
aSize
;
sal_uInt16
nFlags
;
sal_uInt16
nFlags
;
...
@@ -63,7 +63,7 @@ struct SfxChildWinInfo
...
@@ -63,7 +63,7 @@ struct SfxChildWinInfo
bVisible
=
sal_False
;
bVisible
=
sal_False
;
nFlags
=
0
;
nFlags
=
0
;
}
}
sal_B
ool
GetExtraData_Impl
(
SfxChildAlignment
*
pAlign
,
b
ool
GetExtraData_Impl
(
SfxChildAlignment
*
pAlign
,
SfxChildAlignment
*
pLastAlign
=
0
,
SfxChildAlignment
*
pLastAlign
=
0
,
Size
*
pSize
=
0
,
Size
*
pSize
=
0
,
sal_uInt16
*
pLine
=
0
,
sal_uInt16
*
pLine
=
0
,
...
@@ -141,7 +141,7 @@ public:
...
@@ -141,7 +141,7 @@ public:
FloatingWindow
*
GetFloatingWindow
()
const
;
FloatingWindow
*
GetFloatingWindow
()
const
;
virtual
void
Resizing
(
Size
&
rSize
);
virtual
void
Resizing
(
Size
&
rSize
);
virtual
sal_B
ool
Close
();
virtual
b
ool
Close
();
static
void
RegisterChildWindowContext
(
SfxModule
*
,
sal_uInt16
,
SfxChildWinContextFactory
*
);
static
void
RegisterChildWindowContext
(
SfxModule
*
,
sal_uInt16
,
SfxChildWinContextFactory
*
);
};
};
...
@@ -181,13 +181,13 @@ public:
...
@@ -181,13 +181,13 @@ public:
{
pWindow
->
SetPosSizePixel
(
rPoint
,
rSize
);
}
{
pWindow
->
SetPosSizePixel
(
rPoint
,
rSize
);
}
Point
GetPosPixel
()
Point
GetPosPixel
()
{
return
pWindow
->
GetPosPixel
();
}
{
return
pWindow
->
GetPosPixel
();
}
virtual
void
Hide
();
virtual
void
Hide
();
virtual
void
Show
(
sal_uInt16
nFlags
);
virtual
void
Show
(
sal_uInt16
nFlags
);
sal_uInt16
GetFlags
()
const
sal_uInt16
GetFlags
()
const
{
return
GetInfo
().
nFlags
;
}
{
return
GetInfo
().
nFlags
;
}
sal_B
ool
CanGetFocus
()
const
;
b
ool
CanGetFocus
()
const
;
sal_uInt16
GetPosition
();
sal_uInt16
GetPosition
();
sal_uInt16
GetType
()
sal_uInt16
GetType
()
{
return
nType
;
}
{
return
nType
;
}
void
CreateContext
(
sal_uInt16
nContextId
,
SfxBindings
&
);
void
CreateContext
(
sal_uInt16
nContextId
,
SfxBindings
&
);
...
@@ -205,14 +205,14 @@ public:
...
@@ -205,14 +205,14 @@ public:
static
void
RegisterChildWindow
(
SfxModule
*
,
SfxChildWinFactory
*
);
static
void
RegisterChildWindow
(
SfxModule
*
,
SfxChildWinFactory
*
);
static
SfxChildWindow
*
CreateChildWindow
(
sal_uInt16
,
::
Window
*
,
SfxBindings
*
,
SfxChildWinInfo
&
);
static
SfxChildWindow
*
CreateChildWindow
(
sal_uInt16
,
::
Window
*
,
SfxBindings
*
,
SfxChildWinInfo
&
);
void
SetHideNotDelete
(
sal_B
ool
bOn
);
void
SetHideNotDelete
(
b
ool
bOn
);
sal_B
ool
IsHideNotDelete
()
const
;
b
ool
IsHideNotDelete
()
const
;
sal_B
ool
IsHideAtToggle
()
const
;
b
ool
IsHideAtToggle
()
const
;
sal_Bool
IsVisible
()
const
;
sal_Bool
IsVisible
()
const
;
void
SetWantsFocus
(
sal_B
ool
);
void
SetWantsFocus
(
b
ool
);
sal_Bool
WantsFocus
()
const
;
bool
WantsFocus
()
const
;
virtual
sal_Bool
QueryClose
();
virtual
bool
QueryClose
();
virtual
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
GetFrame
();
virtual
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
GetFrame
();
void
SetFrame
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
&
);
void
SetFrame
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
&
);
...
...
include/svx/hyperdlg.hxx
Dosyayı görüntüle @
ffca9502
...
@@ -41,7 +41,7 @@ public:
...
@@ -41,7 +41,7 @@ public:
SfxBindings
*
pBindings
,
SfxChildWinInfo
*
pInfo
);
SfxBindings
*
pBindings
,
SfxChildWinInfo
*
pInfo
);
SFX_DECL_CHILDWINDOW_WITHID
(
SvxHlinkDlgWrapper
);
SFX_DECL_CHILDWINDOW_WITHID
(
SvxHlinkDlgWrapper
);
virtual
sal_B
ool
QueryClose
();
virtual
b
ool
QueryClose
();
};
};
#endif // INCLUDED_SVX_HYPERDLG_HXX
#endif // INCLUDED_SVX_HYPERDLG_HXX
...
...
sc/source/ui/view/tabvwshc.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -135,7 +135,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog(
...
@@ -135,7 +135,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog(
SfxModelessDialog
*
pResult
=
0
;
SfxModelessDialog
*
pResult
=
0
;
if
(
pCW
)
if
(
pCW
)
pCW
->
SetHideNotDelete
(
sal_T
rue
);
pCW
->
SetHideNotDelete
(
t
rue
);
ScDocument
*
pDoc
=
GetViewData
()
->
GetDocument
();
ScDocument
*
pDoc
=
GetViewData
()
->
GetDocument
();
...
...
sd/source/ui/dlg/AnimationChildWindow.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -49,7 +49,7 @@ AnimationChildWindow::AnimationChildWindow(
...
@@ -49,7 +49,7 @@ AnimationChildWindow::AnimationChildWindow(
pAnimWin
->
Initialize
(
pInfo
);
pAnimWin
->
Initialize
(
pInfo
);
SetHideNotDelete
(
sal_T
rue
);
SetHideNotDelete
(
t
rue
);
}
}
}
// end of namespace sd
}
// end of namespace sd
...
...
sd/source/ui/dlg/PaneChildWindows.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -67,7 +67,7 @@ PaneChildWindow::PaneChildWindow (
...
@@ -67,7 +67,7 @@ PaneChildWindow::PaneChildWindow (
SD_RESSTR
(
nTitleBarResId
)
);
SD_RESSTR
(
nTitleBarResId
)
);
eChildAlignment
=
eAlignment
;
eChildAlignment
=
eAlignment
;
static_cast
<
SfxDockingWindow
*>
(
pWindow
)
->
Initialize
(
pInfo
);
static_cast
<
SfxDockingWindow
*>
(
pWindow
)
->
Initialize
(
pInfo
);
SetHideNotDelete
(
sal_T
rue
);
SetHideNotDelete
(
t
rue
);
ViewShellBase
*
pBase
=
ViewShellBase
::
GetViewShellBase
(
pBindings
->
GetDispatcher
()
->
GetFrame
());
ViewShellBase
*
pBase
=
ViewShellBase
::
GetViewShellBase
(
pBindings
->
GetDispatcher
()
->
GetFrame
());
if
(
pBase
!=
NULL
)
if
(
pBase
!=
NULL
)
...
...
sfx2/source/appl/childwin.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -48,10 +48,10 @@ struct SfxChildWindow_Impl
...
@@ -48,10 +48,10 @@ struct SfxChildWindow_Impl
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
xFrame
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
xFrame
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>
xListener
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XEventListener
>
xListener
;
SfxChildWinFactory
*
pFact
;
SfxChildWinFactory
*
pFact
;
sal_B
ool
bHideNotDelete
;
b
ool
bHideNotDelete
;
sal_Bool
bVisible
;
sal_Bool
bVisible
;
sal_B
ool
bHideAtToggle
;
b
ool
bHideAtToggle
;
sal_B
ool
bWantsFocus
;
b
ool
bWantsFocus
;
SfxModule
*
pContextModule
;
SfxModule
*
pContextModule
;
SfxWorkWindow
*
pWorkWin
;
SfxWorkWindow
*
pWorkWin
;
};
};
...
@@ -102,10 +102,10 @@ class DisposeListener : public ::cppu::WeakImplHelper1< ::com::sun::star::lang::
...
@@ -102,10 +102,10 @@ class DisposeListener : public ::cppu::WeakImplHelper1< ::com::sun::star::lang::
sal_B
ool
GetPosSizeFromString
(
const
OUString
&
rStr
,
Point
&
rPos
,
Size
&
rSize
)
b
ool
GetPosSizeFromString
(
const
OUString
&
rStr
,
Point
&
rPos
,
Size
&
rSize
)
{
{
if
(
comphelper
::
string
::
getTokenCount
(
rStr
,
'/'
)
!=
4
)
if
(
comphelper
::
string
::
getTokenCount
(
rStr
,
'/'
)
!=
4
)
return
sal_F
alse
;
return
f
alse
;
sal_Int32
nIdx
=
0
;
sal_Int32
nIdx
=
0
;
rPos
.
X
()
=
rStr
.
getToken
(
0
,
'/'
,
nIdx
).
toInt32
();
rPos
.
X
()
=
rStr
.
getToken
(
0
,
'/'
,
nIdx
).
toInt32
();
...
@@ -115,12 +115,12 @@ sal_Bool GetPosSizeFromString( const OUString& rStr, Point& rPos, Size& rSize )
...
@@ -115,12 +115,12 @@ sal_Bool GetPosSizeFromString( const OUString& rStr, Point& rPos, Size& rSize )
// negative sizes are invalid
// negative sizes are invalid
if
(
rSize
.
Width
()
<
0
||
rSize
.
Height
()
<
0
)
if
(
rSize
.
Width
()
<
0
||
rSize
.
Height
()
<
0
)
return
sal_F
alse
;
return
f
alse
;
return
sal_T
rue
;
return
t
rue
;
}
}
sal_B
ool
GetSplitSizeFromString
(
const
OUString
&
rStr
,
Size
&
rSize
)
b
ool
GetSplitSizeFromString
(
const
OUString
&
rStr
,
Size
&
rSize
)
{
{
sal_Int32
nIndex
=
rStr
.
indexOf
(
','
);
sal_Int32
nIndex
=
rStr
.
indexOf
(
','
);
if
(
nIndex
!=
-
1
)
if
(
nIndex
!=
-
1
)
...
@@ -129,19 +129,19 @@ sal_Bool GetSplitSizeFromString( const OUString& rStr, Size& rSize )
...
@@ -129,19 +129,19 @@ sal_Bool GetSplitSizeFromString( const OUString& rStr, Size& rSize )
sal_Int32
nCount
=
comphelper
::
string
::
getTokenCount
(
aStr
,
';'
);
sal_Int32
nCount
=
comphelper
::
string
::
getTokenCount
(
aStr
,
';'
);
if
(
nCount
!=
2
)
if
(
nCount
!=
2
)
return
sal_F
alse
;
return
f
alse
;
rSize
.
Width
()
=
aStr
.
getToken
(
0
,
';'
).
toInt32
();
rSize
.
Width
()
=
aStr
.
getToken
(
0
,
';'
).
toInt32
();
rSize
.
Height
()
=
aStr
.
getToken
(
1
,
';'
).
toInt32
();
rSize
.
Height
()
=
aStr
.
getToken
(
1
,
';'
).
toInt32
();
// negative sizes are invalid
// negative sizes are invalid
if
(
rSize
.
Width
()
<
0
||
rSize
.
Height
()
<
0
)
if
(
rSize
.
Width
()
<
0
||
rSize
.
Height
()
<
0
)
return
sal_F
alse
;
return
f
alse
;
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
...
@@ -153,9 +153,9 @@ SfxChildWindow::SfxChildWindow(Window *pParentWindow, sal_uInt16 nId)
...
@@ -153,9 +153,9 @@ SfxChildWindow::SfxChildWindow(Window *pParentWindow, sal_uInt16 nId)
{
{
pImp
=
new
SfxChildWindow_Impl
;
pImp
=
new
SfxChildWindow_Impl
;
pImp
->
pFact
=
0L
;
pImp
->
pFact
=
0L
;
pImp
->
bHideNotDelete
=
sal_F
alse
;
pImp
->
bHideNotDelete
=
f
alse
;
pImp
->
bHideAtToggle
=
sal_F
alse
;
pImp
->
bHideAtToggle
=
f
alse
;
pImp
->
bWantsFocus
=
sal_T
rue
;
pImp
->
bWantsFocus
=
t
rue
;
pImp
->
bVisible
=
sal_True
;
pImp
->
bVisible
=
sal_True
;
pImp
->
pContextModule
=
NULL
;
pImp
->
pContextModule
=
NULL
;
pImp
->
pWorkWin
=
NULL
;
pImp
->
pWorkWin
=
NULL
;
...
@@ -533,9 +533,9 @@ void SfxChildWindowContext::Resizing( Size& )
...
@@ -533,9 +533,9 @@ void SfxChildWindowContext::Resizing( Size& )
{
{
}
}
sal_B
ool
SfxChildWindowContext
::
Close
()
b
ool
SfxChildWindowContext
::
Close
()
{
{
return
sal_T
rue
;
return
t
rue
;
}
}
void
SfxChildWindow
::
SetFactory_Impl
(
SfxChildWinFactory
*
pF
)
void
SfxChildWindow
::
SetFactory_Impl
(
SfxChildWinFactory
*
pF
)
...
@@ -543,32 +543,32 @@ void SfxChildWindow::SetFactory_Impl( SfxChildWinFactory *pF )
...
@@ -543,32 +543,32 @@ void SfxChildWindow::SetFactory_Impl( SfxChildWinFactory *pF )
pImp
->
pFact
=
pF
;
pImp
->
pFact
=
pF
;
}
}
void
SfxChildWindow
::
SetHideNotDelete
(
sal_B
ool
bOn
)
void
SfxChildWindow
::
SetHideNotDelete
(
b
ool
bOn
)
{
{
pImp
->
bHideNotDelete
=
bOn
;
pImp
->
bHideNotDelete
=
bOn
;
}
}
sal_B
ool
SfxChildWindow
::
IsHideNotDelete
()
const
b
ool
SfxChildWindow
::
IsHideNotDelete
()
const
{
{
return
pImp
->
bHideNotDelete
;
return
pImp
->
bHideNotDelete
;
}
}
sal_B
ool
SfxChildWindow
::
IsHideAtToggle
()
const
b
ool
SfxChildWindow
::
IsHideAtToggle
()
const
{
{
return
pImp
->
bHideAtToggle
;
return
pImp
->
bHideAtToggle
;
}
}
void
SfxChildWindow
::
SetWantsFocus
(
sal_B
ool
bSet
)
void
SfxChildWindow
::
SetWantsFocus
(
b
ool
bSet
)
{
{
pImp
->
bWantsFocus
=
bSet
;
pImp
->
bWantsFocus
=
bSet
;
}
}
sal_B
ool
SfxChildWindow
::
WantsFocus
()
const
b
ool
SfxChildWindow
::
WantsFocus
()
const
{
{
return
pImp
->
bWantsFocus
;
return
pImp
->
bWantsFocus
;
}
}
sal_B
ool
SfxChildWinInfo
::
GetExtraData_Impl
b
ool
SfxChildWinInfo
::
GetExtraData_Impl
(
(
SfxChildAlignment
*
pAlign
,
SfxChildAlignment
*
pAlign
,
SfxChildAlignment
*
pLastAlign
,
SfxChildAlignment
*
pLastAlign
,
...
@@ -579,11 +579,11 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
...
@@ -579,11 +579,11 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
{
{
// invalid?
// invalid?
if
(
aExtraString
.
isEmpty
()
)
if
(
aExtraString
.
isEmpty
()
)
return
sal_F
alse
;
return
f
alse
;
OUString
aStr
;
OUString
aStr
;
sal_Int32
nPos
=
aExtraString
.
indexOf
(
"AL:"
);
sal_Int32
nPos
=
aExtraString
.
indexOf
(
"AL:"
);
if
(
nPos
==
-
1
)
if
(
nPos
==
-
1
)
return
sal_F
alse
;
return
f
alse
;
// Try to read the alignment string "ALIGN :(...)", but if
// Try to read the alignment string "ALIGN :(...)", but if
// it is not present, then use an older version
// it is not present, then use an older version
...
@@ -601,14 +601,14 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
...
@@ -601,14 +601,14 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
// First extract the Alignment
// First extract the Alignment
if
(
aStr
.
isEmpty
()
)
if
(
aStr
.
isEmpty
()
)
return
sal_F
alse
;
return
f
alse
;
if
(
pAlign
)
if
(
pAlign
)
*
pAlign
=
(
SfxChildAlignment
)
(
sal_uInt16
)
aStr
.
toInt32
();
*
pAlign
=
(
SfxChildAlignment
)
(
sal_uInt16
)
aStr
.
toInt32
();
// then the LastAlignment
// then the LastAlignment
nPos
=
aStr
.
indexOf
(
','
);
nPos
=
aStr
.
indexOf
(
','
);
if
(
nPos
==
-
1
)
if
(
nPos
==
-
1
)
return
sal_F
alse
;
return
f
alse
;
aStr
=
aStr
.
copy
(
nPos
+
1
);
aStr
=
aStr
.
copy
(
nPos
+
1
);
if
(
pLastAlign
)
if
(
pLastAlign
)
*
pLastAlign
=
(
SfxChildAlignment
)
(
sal_uInt16
)
aStr
.
toInt32
();
*
pLastAlign
=
(
SfxChildAlignment
)
(
sal_uInt16
)
aStr
.
toInt32
();
...
@@ -617,7 +617,7 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
...
@@ -617,7 +617,7 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
nPos
=
aStr
.
indexOf
(
','
);
nPos
=
aStr
.
indexOf
(
','
);
if
(
nPos
==
-
1
)
if
(
nPos
==
-
1
)
// No docking in a Splitwindow
// No docking in a Splitwindow
return
sal_T
rue
;
return
t
rue
;
aStr
=
aStr
.
copy
(
nPos
+
1
);
aStr
=
aStr
.
copy
(
nPos
+
1
);
Point
aChildPos
;
Point
aChildPos
;
Size
aChildSize
;
Size
aChildSize
;
...
@@ -629,9 +629,9 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
...
@@ -629,9 +629,9 @@ sal_Bool SfxChildWinInfo::GetExtraData_Impl
*
pLine
=
(
sal_uInt16
)
aChildPos
.
X
();
*
pLine
=
(
sal_uInt16
)
aChildPos
.
X
();
if
(
pPos
)
if
(
pPos
)
*
pPos
=
(
sal_uInt16
)
aChildPos
.
Y
();
*
pPos
=
(
sal_uInt16
)
aChildPos
.
Y
();
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
sal_Bool
SfxChildWindow
::
IsVisible
()
const
sal_Bool
SfxChildWindow
::
IsVisible
()
const
...
@@ -698,9 +698,9 @@ void SfxChildWindow::Deactivate_Impl()
...
@@ -698,9 +698,9 @@ void SfxChildWindow::Deactivate_Impl()
{
{
}
}
sal_B
ool
SfxChildWindow
::
QueryClose
()
b
ool
SfxChildWindow
::
QueryClose
()
{
{
sal_Bool
bAllow
=
sal_T
rue
;
bool
bAllow
=
t
rue
;
if
(
pImp
->
xFrame
.
is
()
)
if
(
pImp
->
xFrame
.
is
()
)
{
{
...
@@ -743,7 +743,7 @@ void SfxChildWindow::SetFrame( const ::com::sun::star::uno::Reference< ::com::su
...
@@ -743,7 +743,7 @@ void SfxChildWindow::SetFrame( const ::com::sun::star::uno::Reference< ::com::su
}
}
}
}
sal_B
ool
SfxChildWindow
::
CanGetFocus
()
const
b
ool
SfxChildWindow
::
CanGetFocus
()
const
{
{
return
!
(
pImp
->
pFact
->
aInfo
.
nFlags
&
SFX_CHILDWIN_CANTGETFOCUS
);
return
!
(
pImp
->
pFact
->
aInfo
.
nFlags
&
SFX_CHILDWIN_CANTGETFOCUS
);
}
}
...
...
sfx2/source/dialog/dockwin.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -211,7 +211,7 @@ SfxDockingWrapper::SfxDockingWrapper( Window* pParentWnd ,
...
@@ -211,7 +211,7 @@ SfxDockingWrapper::SfxDockingWrapper( Window* pParentWnd ,
pWindow
->
SetOutputSizePixel
(
Size
(
270
,
240
)
);
pWindow
->
SetOutputSizePixel
(
Size
(
270
,
240
)
);
(
(
SfxDockingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
(
(
SfxDockingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
SetHideNotDelete
(
sal_T
rue
);
SetHideNotDelete
(
t
rue
);
}
}
SfxChildWindow
*
SfxDockingWrapper
::
CreateImpl
(
SfxChildWindow
*
SfxDockingWrapper
::
CreateImpl
(
...
...
sfx2/source/dialog/partwnd.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -69,7 +69,7 @@ SfxPartChildWnd_Impl::SfxPartChildWnd_Impl
...
@@ -69,7 +69,7 @@ SfxPartChildWnd_Impl::SfxPartChildWnd_Impl
pWindow
->
SetSizePixel
(
Size
(
175
,
175
)
);
pWindow
->
SetSizePixel
(
Size
(
175
,
175
)
);
(
(
SfxDockingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
(
(
SfxDockingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
SetHideNotDelete
(
sal_T
rue
);
SetHideNotDelete
(
t
rue
);
}
}
SfxPartChildWnd_Impl
::~
SfxPartChildWnd_Impl
()
SfxPartChildWnd_Impl
::~
SfxPartChildWnd_Impl
()
...
@@ -88,7 +88,7 @@ SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl()
...
@@ -88,7 +88,7 @@ SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl()
pWin
->
GetBindings
().
SetActiveFrame
(
NULL
);
pWin
->
GetBindings
().
SetActiveFrame
(
NULL
);
}
}
sal_B
ool
SfxPartChildWnd_Impl
::
QueryClose
()
b
ool
SfxPartChildWnd_Impl
::
QueryClose
()
{
{
return
(
(
SfxPartDockWnd_Impl
*
)
pWindow
)
->
QueryClose
();
return
(
(
SfxPartDockWnd_Impl
*
)
pWindow
)
->
QueryClose
();
}
}
...
...
sfx2/source/dialog/recfloat.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -132,7 +132,7 @@ SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl( Window* pParentWnd
...
@@ -132,7 +132,7 @@ SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl( Window* pParentWnd
,
pBindings
(
pBind
)
,
pBindings
(
pBind
)
{
{
pWindow
=
new
SfxRecordingFloat_Impl
(
pBindings
,
this
,
pParentWnd
);
pWindow
=
new
SfxRecordingFloat_Impl
(
pBindings
,
this
,
pParentWnd
);
SetWantsFocus
(
sal_F
alse
);
SetWantsFocus
(
f
alse
);
eChildAlignment
=
SFX_ALIGN_NOALIGNMENT
;
eChildAlignment
=
SFX_ALIGN_NOALIGNMENT
;
(
(
SfxFloatingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
(
(
SfxFloatingWindow
*
)
pWindow
)
->
Initialize
(
pInfo
);
}
}
...
@@ -145,10 +145,10 @@ SfxRecordingFloatWrapper_Impl::~SfxRecordingFloatWrapper_Impl()
...
@@ -145,10 +145,10 @@ SfxRecordingFloatWrapper_Impl::~SfxRecordingFloatWrapper_Impl()
pBindings
->
GetDispatcher
()
->
Execute
(
SID_STOP_RECORDING
,
SFX_CALLMODE_SYNCHRON
,
&
aItem
,
0L
);
pBindings
->
GetDispatcher
()
->
Execute
(
SID_STOP_RECORDING
,
SFX_CALLMODE_SYNCHRON
,
&
aItem
,
0L
);
}
}
sal_B
ool
SfxRecordingFloatWrapper_Impl
::
QueryClose
()
b
ool
SfxRecordingFloatWrapper_Impl
::
QueryClose
()
{
{
// asking for recorded macro should be replaced if index access is available!
// asking for recorded macro should be replaced if index access is available!
sal_Bool
bRet
=
sal_T
rue
;
bool
bRet
=
t
rue
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
xRecorder
=
pBindings
->
GetRecorder
();
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
xRecorder
=
pBindings
->
GetRecorder
();
if
(
xRecorder
.
is
()
&&
!
xRecorder
->
getRecordedMacro
().
isEmpty
()
)
if
(
xRecorder
.
is
()
&&
!
xRecorder
->
getRecordedMacro
().
isEmpty
()
)
{
{
...
...
sfx2/source/inc/partwnd.hxx
Dosyayı görüntüle @
ffca9502
...
@@ -52,7 +52,7 @@ public:
...
@@ -52,7 +52,7 @@ public:
SFX_DECL_CHILDWINDOW
(
SfxPartChildWnd_Impl
);
SFX_DECL_CHILDWINDOW
(
SfxPartChildWnd_Impl
);
~
SfxPartChildWnd_Impl
();
~
SfxPartChildWnd_Impl
();
virtual
sal_B
ool
QueryClose
();
virtual
b
ool
QueryClose
();
};
};
// class SfxExplorerDockWnd_Impl -----------------------------------------
// class SfxExplorerDockWnd_Impl -----------------------------------------
...
...
sfx2/source/inc/recfloat.hxx
Dosyayı görüntüle @
ffca9502
...
@@ -34,7 +34,7 @@ public:
...
@@ -34,7 +34,7 @@ public:
~
SfxRecordingFloatWrapper_Impl
();
~
SfxRecordingFloatWrapper_Impl
();
SFX_DECL_CHILDWINDOW
(
SfxRecordingFloatWrapper_Impl
);
SFX_DECL_CHILDWINDOW
(
SfxRecordingFloatWrapper_Impl
);
virtual
sal_B
ool
QueryClose
();
virtual
b
ool
QueryClose
();
};
};
class
SfxRecordingFloat_Impl
:
public
SfxFloatingWindow
class
SfxRecordingFloat_Impl
:
public
SfxFloatingWindow
...
...
svx/source/dialog/hyperdlg.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -87,7 +87,7 @@ SfxChildWinInfo SvxHlinkDlgWrapper::GetInfo() const
...
@@ -87,7 +87,7 @@ SfxChildWinInfo SvxHlinkDlgWrapper::GetInfo() const
return
SfxChildWindow
::
GetInfo
();
return
SfxChildWindow
::
GetInfo
();
}
}
sal_B
ool
SvxHlinkDlgWrapper
::
QueryClose
()
b
ool
SvxHlinkDlgWrapper
::
QueryClose
()
{
{
return
!
mpDlg
||
mpDlg
->
QueryClose
();
return
!
mpDlg
||
mpDlg
->
QueryClose
();
}
}
...
...
svx/source/form/tabwin.cxx
Dosyayı görüntüle @
ffca9502
...
@@ -432,7 +432,7 @@ FmFieldWinMgr::FmFieldWinMgr(Window* _pParent, sal_uInt16 _nId,
...
@@ -432,7 +432,7 @@ FmFieldWinMgr::FmFieldWinMgr(Window* _pParent, sal_uInt16 _nId,
:
SfxChildWindow
(
_pParent
,
_nId
)
:
SfxChildWindow
(
_pParent
,
_nId
)
{
{
pWindow
=
new
FmFieldWin
(
_pBindings
,
this
,
_pParent
);
pWindow
=
new
FmFieldWin
(
_pBindings
,
this
,
_pParent
);
SetHideNotDelete
(
sal_T
rue
);
SetHideNotDelete
(
t
rue
);
eChildAlignment
=
SFX_ALIGN_NOALIGNMENT
;
eChildAlignment
=
SFX_ALIGN_NOALIGNMENT
;
((
SfxFloatingWindow
*
)
pWindow
)
->
Initialize
(
_pInfo
);
((
SfxFloatingWindow
*
)
pWindow
)
->
Initialize
(
_pInfo
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment