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
dd8fa7c2
Kaydet (Commit)
dd8fa7c2
authored
Mar 23, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix more lifecycle problems
üst
ba26ed19
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
3 deletions
+12
-3
acceleratorconfiguration.cxx
framework/source/accelerators/acceleratorconfiguration.cxx
+1
-1
globalacceleratorconfiguration.cxx
...rk/source/accelerators/globalacceleratorconfiguration.cxx
+3
-1
moduleacceleratorconfiguration.cxx
...rk/source/accelerators/moduleacceleratorconfiguration.cxx
+3
-1
globalacceleratorconfiguration.hxx
...ource/inc/accelerators/globalacceleratorconfiguration.hxx
+3
-0
moduleacceleratorconfiguration.hxx
...ource/inc/accelerators/moduleacceleratorconfiguration.hxx
+2
-0
No files found.
framework/source/accelerators/acceleratorconfiguration.cxx
Dosyayı görüntüle @
dd8fa7c2
...
@@ -684,7 +684,7 @@ XCUBasedAcceleratorConfiguration::XCUBasedAcceleratorConfiguration(const css::un
...
@@ -684,7 +684,7 @@ XCUBasedAcceleratorConfiguration::XCUBasedAcceleratorConfiguration(const css::un
,
m_pPrimaryWriteCache
(
0
)
,
m_pPrimaryWriteCache
(
0
)
,
m_pSecondaryWriteCache
(
0
)
,
m_pSecondaryWriteCache
(
0
)
{
{
static
const
::
rtl
::
OUString
CFG_ENTRY_ACCELERATORS
(
RTL_CONSTASCII_USTRINGPARAM
(
"org.openoffice.Office.Accelerators"
));
const
::
rtl
::
OUString
CFG_ENTRY_ACCELERATORS
(
RTL_CONSTASCII_USTRINGPARAM
(
"org.openoffice.Office.Accelerators"
));
m_xCfg
=
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
(
m_xCfg
=
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
(
::
comphelper
::
ConfigurationHelper
::
openConfig
(
m_xSMGR
,
CFG_ENTRY_ACCELERATORS
,
::
comphelper
::
ConfigurationHelper
::
E_ALL_LOCALES
),
::
comphelper
::
ConfigurationHelper
::
openConfig
(
m_xSMGR
,
CFG_ENTRY_ACCELERATORS
,
::
comphelper
::
ConfigurationHelper
::
E_ALL_LOCALES
),
css
::
uno
::
UNO_QUERY
);
css
::
uno
::
UNO_QUERY
);
...
...
framework/source/accelerators/globalacceleratorconfiguration.cxx
Dosyayı görüntüle @
dd8fa7c2
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
// own includes
// own includes
#include <threadhelp/readguard.hxx>
#include <threadhelp/readguard.hxx>
#include <threadhelp/writeguard.hxx>
#include <threadhelp/writeguard.hxx>
#include "helper/mischelper.hxx"
#include <acceleratorconst.h>
#include <acceleratorconst.h>
#include <services.h>
#include <services.h>
...
@@ -117,7 +118,8 @@ void GlobalAcceleratorConfiguration::impl_ts_fillCache()
...
@@ -117,7 +118,8 @@ void GlobalAcceleratorConfiguration::impl_ts_fillCache()
XCUBasedAcceleratorConfiguration
::
reload
();
XCUBasedAcceleratorConfiguration
::
reload
();
css
::
uno
::
Reference
<
css
::
util
::
XChangesNotifier
>
xBroadcaster
(
m_xCfg
,
css
::
uno
::
UNO_QUERY_THROW
);
css
::
uno
::
Reference
<
css
::
util
::
XChangesNotifier
>
xBroadcaster
(
m_xCfg
,
css
::
uno
::
UNO_QUERY_THROW
);
xBroadcaster
->
addChangesListener
(
static_cast
<
css
::
util
::
XChangesListener
*
>
(
this
));
m_xCfgListener
=
new
WeakChangesListener
(
this
);
xBroadcaster
->
addChangesListener
(
m_xCfgListener
);
}
}
catch
(
const
css
::
uno
::
RuntimeException
&
exRun
)
catch
(
const
css
::
uno
::
RuntimeException
&
exRun
)
{
throw
exRun
;
}
{
throw
exRun
;
}
...
...
framework/source/accelerators/moduleacceleratorconfiguration.cxx
Dosyayı görüntüle @
dd8fa7c2
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
// own includes
// own includes
#include <threadhelp/readguard.hxx>
#include <threadhelp/readguard.hxx>
#include <threadhelp/writeguard.hxx>
#include <threadhelp/writeguard.hxx>
#include "helper/mischelper.hxx"
#include <acceleratorconst.h>
#include <acceleratorconst.h>
#include <services.h>
#include <services.h>
...
@@ -152,7 +153,8 @@ void ModuleAcceleratorConfiguration::impl_ts_fillCache()
...
@@ -152,7 +153,8 @@ void ModuleAcceleratorConfiguration::impl_ts_fillCache()
XCUBasedAcceleratorConfiguration
::
reload
();
XCUBasedAcceleratorConfiguration
::
reload
();
css
::
uno
::
Reference
<
css
::
util
::
XChangesNotifier
>
xBroadcaster
(
m_xCfg
,
css
::
uno
::
UNO_QUERY_THROW
);
css
::
uno
::
Reference
<
css
::
util
::
XChangesNotifier
>
xBroadcaster
(
m_xCfg
,
css
::
uno
::
UNO_QUERY_THROW
);
xBroadcaster
->
addChangesListener
(
static_cast
<
css
::
util
::
XChangesListener
*
>
(
this
));
m_xCfgListener
=
new
WeakChangesListener
(
this
);
xBroadcaster
->
addChangesListener
(
m_xCfgListener
);
}
}
catch
(
const
css
::
uno
::
RuntimeException
&
exRun
)
catch
(
const
css
::
uno
::
RuntimeException
&
exRun
)
{
throw
exRun
;
}
{
throw
exRun
;
}
...
...
framework/source/inc/accelerators/globalacceleratorconfiguration.hxx
Dosyayı görüntüle @
dd8fa7c2
...
@@ -96,6 +96,9 @@ class GlobalAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration
...
@@ -96,6 +96,9 @@ class GlobalAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration
::
rtl
::
OUString
m_sLocale
;
::
rtl
::
OUString
m_sLocale
;
/** helper to listen for configuration changes without ownership cycle problems */
css
::
uno
::
Reference
<
css
::
util
::
XChangesListener
>
m_xCfgListener
;
//----------------------------------
//----------------------------------
/** read all data into the cache. */
/** read all data into the cache. */
void
impl_ts_fillCache
();
void
impl_ts_fillCache
();
...
...
framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx
Dosyayı görüntüle @
dd8fa7c2
...
@@ -103,6 +103,8 @@ class ModuleAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration
...
@@ -103,6 +103,8 @@ class ModuleAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration
// helper
// helper
private
:
private
:
/** helper to listen for configuration changes without ownership cycle problems */
css
::
uno
::
Reference
<
css
::
util
::
XChangesListener
>
m_xCfgListener
;
//----------------------------------
//----------------------------------
/** read all data into the cache. */
/** read all data into the cache. */
...
...
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