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
207bbf87
Kaydet (Commit)
207bbf87
authored
Nis 06, 2011
tarafından
Xisco Fauli
Kaydeden (comit)
Tor Lillqvist
Nis 07, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use RTL_CONSTASCII_USTRINGPARAM
üst
265a8353
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
undomanagerhelper.cxx
framework/source/fwe/helper/undomanagerhelper.cxx
+2
-2
helpers.cxx
framework/source/layoutmanager/helpers.cxx
+1
-1
FrameHelper.cxx
framework/source/lomenubar/FrameHelper.cxx
+0
-0
FrameJob.cxx
framework/source/lomenubar/FrameJob.cxx
+7
-7
No files found.
framework/source/fwe/helper/undomanagerhelper.cxx
Dosyayı görüntüle @
207bbf87
...
...
@@ -651,7 +651,7 @@ namespace framework
?
rUndoManager
.
GetUndoActionCount
(
IUndoManager
::
TopLevel
)
:
rUndoManager
.
GetRedoActionCount
(
IUndoManager
::
TopLevel
);
if
(
nElements
==
0
)
throw
EmptyUndoStackException
(
::
rtl
::
OUString
::
createFromAscii
(
"stack is empty"
),
getXUndoManager
()
);
throw
EmptyUndoStackException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"stack is empty"
)
),
getXUndoManager
()
);
aGuard
.
clear
();
// <--- SYNCHRONIZED
...
...
@@ -1116,7 +1116,7 @@ namespace framework
IUndoManager
&
rUndoManager
=
m_pImpl
->
getUndoManager
();
if
(
rUndoManager
.
IsUndoEnabled
()
)
throw
NotLockedException
(
::
rtl
::
OUString
::
createFromAscii
(
"Undo manager is not locked"
),
m_pImpl
->
getXUndoManager
()
);
throw
NotLockedException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Undo manager is not locked"
)
),
m_pImpl
->
getXUndoManager
()
);
rUndoManager
.
EnableUndo
(
true
);
// <--- SYNCHRONIZED
}
...
...
framework/source/layoutmanager/helpers.cxx
Dosyayı görüntüle @
207bbf87
...
...
@@ -381,7 +381,7 @@ void impl_setDockingWindowVisibility( const css::uno::Reference< css::lang::XMul
xDispatcher
->
executeDispatch
(
xProvider
,
aDockWinCommand
,
::
rtl
::
OUString
::
createFromAscii
(
"_self"
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"_self"
)
),
0
,
aArgs
);
}
...
...
framework/source/lomenubar/FrameHelper.cxx
Dosyayı görüntüle @
207bbf87
This diff is collapsed.
Click to expand it.
framework/source/lomenubar/FrameJob.cxx
Dosyayı görüntüle @
207bbf87
...
...
@@ -190,9 +190,9 @@ on_registrar_available (GDBusConnection * /*connection*/,
//Hide menubar
Reference
<
XFrame
>
xFrame
=
helper
->
getFrame
();
Reference
<
XPropertySet
>
frameProps
(
xFrame
,
UNO_QUERY
);
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
::
createFromAscii
(
"LayoutManager"
)),
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutManager"
)
)),
UNO_QUERY
);
xLayoutManager
->
hideElement
(
OUString
::
createFromAscii
(
"private:resource/menubar/menubar"
));
xLayoutManager
->
hideElement
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"private:resource/menubar/menubar"
)
));
return
;
}
...
...
@@ -209,9 +209,9 @@ on_registrar_unavailable (GDBusConnection * /*connection*/,
FrameHelper
*
helper
=
(
FrameHelper
*
)
user_data
;
Reference
<
XFrame
>
xFrame
=
helper
->
getFrame
();
Reference
<
XPropertySet
>
frameProps
(
xFrame
,
UNO_QUERY
);
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
::
createFromAscii
(
"LayoutManager"
)),
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutManager"
)
)),
UNO_QUERY
);
xLayoutManager
->
showElement
(
OUString
::
createFromAscii
(
"private:resource/menubar/menubar"
));
xLayoutManager
->
showElement
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"private:resource/menubar/menubar"
)
));
return
;
}
// ------------------------------- FrameJob --------------------------------------------
...
...
@@ -270,7 +270,7 @@ FrameJob::exportMenus (Reference < XFrame > xFrame)
Reference
<
XPropertySet
>
frameProps
(
xFrame
,
UNO_QUERY
);
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
::
createFromAscii
(
"LayoutManager"
)),
Reference
<
XLayoutManager
>
xLayoutManager
(
frameProps
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LayoutManager"
)
)),
UNO_QUERY
);
if
(
!
xLayoutManager
.
is
())
{
...
...
@@ -278,7 +278,7 @@ FrameJob::exportMenus (Reference < XFrame > xFrame)
return
;
}
Reference
<
XUIElement
>
menuBar
(
xLayoutManager
->
getElement
(
OUString
::
createFromAscii
(
"private:resource/menubar/menubar"
)),
Reference
<
XUIElement
>
menuBar
(
xLayoutManager
->
getElement
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"private:resource/menubar/menubar"
)
)),
UNO_QUERY
);
Reference
<
XPropertySet
>
menuPropSet
(
menuBar
,
UNO_QUERY
);
...
...
@@ -288,7 +288,7 @@ FrameJob::exportMenus (Reference < XFrame > xFrame)
return
;
}
Reference
<
XMenu
>
xMenu
(
menuPropSet
->
getPropertyValue
(
OUString
::
createFromAscii
(
"XMenuBar"
)),
Reference
<
XMenu
>
xMenu
(
menuPropSet
->
getPropertyValue
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"XMenuBar"
)
)),
UNO_QUERY
);
if
(
!
xMenu
.
is
())
...
...
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