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
122577ba
Kaydet (Commit)
122577ba
authored
Mar 16, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
framework: fix for toolkit updates.
Change-Id: I1629cb6574361d6dd855140d61f38229ab593ed7
üst
3b416a7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
toolbarlayoutmanager.cxx
framework/source/layoutmanager/toolbarlayoutmanager.cxx
+7
-7
popuptoolbarcontroller.cxx
framework/source/uielement/popuptoolbarcontroller.cxx
+3
-3
No files found.
framework/source/layoutmanager/toolbarlayoutmanager.cxx
Dosyayı görüntüle @
122577ba
...
@@ -1031,14 +1031,14 @@ void ToolbarLayoutManager::setParentWindow(
...
@@ -1031,14 +1031,14 @@ void ToolbarLayoutManager::setParentWindow(
if
(
xParentWindow
.
is
()
)
if
(
xParentWindow
.
is
()
)
{
{
SolarMutexGuard
aGuard
;
SolarMutexGuard
aGuard
;
::
DockingAreaWindow
*
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xTopDockWindow
)
);
VclPtr
<
::
DockingAreaWindow
>
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xTopDockWindow
).
get
(
)
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_TOP
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_TOP
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xBottomDockWindow
)
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xBottomDockWindow
)
.
get
()
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_BOTTOM
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_BOTTOM
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xLeftDockWindow
)
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xLeftDockWindow
)
.
get
()
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_LEFT
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_LEFT
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xRightDockWindow
)
);
pWindow
=
dynamic_cast
<
::
DockingAreaWindow
*
>
(
VCLUnoHelper
::
GetWindow
(
xRightDockWindow
)
.
get
()
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_RIGHT
);
if
(
pWindow
)
pWindow
->
SetAlign
(
WINDOWALIGN_RIGHT
);
implts_reparentToolbars
();
implts_reparentToolbars
();
}
}
else
else
...
...
framework/source/uielement/popuptoolbarcontroller.cxx
Dosyayı görüntüle @
122577ba
...
@@ -146,7 +146,7 @@ throw ( css::uno::Exception, css::uno::RuntimeException, std::exception )
...
@@ -146,7 +146,7 @@ throw ( css::uno::Exception, css::uno::RuntimeException, std::exception )
}
}
SolarMutexGuard
aSolarLock
;
SolarMutexGuard
aSolarLock
;
ToolBox
*
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
)
);
VclPtr
<
ToolBox
>
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
).
get
(
)
);
if
(
pToolBox
)
if
(
pToolBox
)
{
{
ToolBoxItemBits
nCurStyle
(
pToolBox
->
GetItemBits
(
m_nToolBoxId
)
);
ToolBoxItemBits
nCurStyle
(
pToolBox
->
GetItemBits
(
m_nToolBoxId
)
);
...
@@ -181,7 +181,7 @@ PopupMenuToolbarController::createPopupWindow()
...
@@ -181,7 +181,7 @@ PopupMenuToolbarController::createPopupWindow()
createPopupMenuController
();
createPopupMenuController
();
SolarMutexGuard
aSolarLock
;
SolarMutexGuard
aSolarLock
;
ToolBox
*
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
)
);
VclPtr
<
ToolBox
>
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
).
get
(
)
);
if
(
!
pToolBox
)
if
(
!
pToolBox
)
return
xRet
;
return
xRet
;
...
@@ -540,7 +540,7 @@ static bool Impl_ExistURLInMenu(
...
@@ -540,7 +540,7 @@ static bool Impl_ExistURLInMenu(
void
NewToolbarController
::
setItemImage
(
const
OUString
&
rCommand
)
void
NewToolbarController
::
setItemImage
(
const
OUString
&
rCommand
)
{
{
SolarMutexGuard
aSolarLock
;
SolarMutexGuard
aSolarLock
;
ToolBox
*
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
)
);
VclPtr
<
ToolBox
>
pToolBox
=
static_cast
<
ToolBox
*
>
(
VCLUnoHelper
::
GetWindow
(
getParent
()
).
get
(
)
);
if
(
!
pToolBox
)
if
(
!
pToolBox
)
return
;
return
;
...
...
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