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
d77b49f0
Kaydet (Commit)
d77b49f0
authored
Eyl 23, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
desktop: avoid 'using' in headers
Change-Id: I9517a982daa48a6eb848360dee7739d15d42a971
üst
5ca4acf8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
17 deletions
+14
-17
init.hxx
desktop/inc/lib/init.hxx
+4
-5
unxsplash.cxx
desktop/source/splash/unxsplash.cxx
+9
-7
unxsplash.hxx
desktop/source/splash/unxsplash.hxx
+1
-5
No files found.
desktop/inc/lib/init.hxx
Dosyayı görüntüle @
d77b49f0
...
...
@@ -12,16 +12,15 @@
#include <memory>
#include "../../source/inc/desktopdllapi.h"
using
namespace
css
;
using
namespace
boost
;
namespace
desktop
{
struct
DESKTOP_DLLPUBLIC
LibLODocument_Impl
:
public
_LibreOfficeKitDocument
{
uno
::
Reference
<
css
::
lang
::
XComponent
>
mxComponent
;
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
mxComponent
;
std
::
shared_ptr
<
LibreOfficeKitDocumentClass
>
m_pDocumentClass
;
explicit
LibLODocument_Impl
(
const
uno
::
Reference
<
css
::
lang
::
XComponent
>
&
xComponent
);
explicit
LibLODocument_Impl
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
&
xComponent
);
~
LibLODocument_Impl
();
};
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
desktop/source/splash/unxsplash.cxx
Dosyayı görüntüle @
d77b49f0
...
...
@@ -25,9 +25,11 @@
#include <rtl/ustrbuf.hxx>
#include <rtl/math.hxx>
using
namespace
com
::
sun
::
star
;
namespace
desktop
{
UnxSplashScreen
::
UnxSplashScreen
(
const
Reference
<
uno
::
XComponentContext
>&
xCtx
)
UnxSplashScreen
::
UnxSplashScreen
(
const
uno
::
Reference
<
uno
::
XComponentContext
>&
xCtx
)
:
m_xCtx
(
xCtx
),
m_pOutFd
(
NULL
)
{
...
...
@@ -47,12 +49,12 @@ UnxSplashScreen::~UnxSplashScreen()
}
void
SAL_CALL
UnxSplashScreen
::
start
(
const
OUString
&
/*aText*/
,
sal_Int32
/*nRange*/
)
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
}
void
SAL_CALL
UnxSplashScreen
::
end
()
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
#if OSL_DEBUG_LEVEL > 1
fprintf
(
stderr
,
"UnxSplashScreen::end()
\n
"
);
...
...
@@ -65,7 +67,7 @@ void SAL_CALL UnxSplashScreen::end()
}
void
SAL_CALL
UnxSplashScreen
::
reset
()
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
#if OSL_DEBUG_LEVEL > 1
fprintf
(
stderr
,
"UnxSplashScreen::reset()
\n
"
);
...
...
@@ -78,13 +80,13 @@ void SAL_CALL UnxSplashScreen::reset()
}
void
SAL_CALL
UnxSplashScreen
::
setText
(
const
OUString
&
/*aText*/
)
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
// TODO?
}
void
SAL_CALL
UnxSplashScreen
::
setValue
(
sal_Int32
nValue
)
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
if
(
m_pOutFd
)
{
...
...
@@ -96,7 +98,7 @@ void SAL_CALL UnxSplashScreen::setValue( sal_Int32 nValue )
// XInitialize
void
SAL_CALL
UnxSplashScreen
::
initialize
(
const
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>&
)
throw
(
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
for
(
sal_uInt32
i
=
0
;
i
<
osl_getCommandArgCount
();
i
++
)
{
...
...
desktop/source/splash/unxsplash.hxx
Dosyayı görüntüle @
d77b49f0
...
...
@@ -26,10 +26,6 @@
#include <osl/mutex.hxx>
#include <rtl/bootstrap.hxx>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
registry
;
using
namespace
::
com
::
sun
::
star
::
uno
;
namespace
desktop
{
class
UnxSplashScreen
:
public
::
cppu
::
WeakImplHelper
<
css
::
task
::
XStatusIndicator
,
css
::
lang
::
XInitialization
,
css
::
lang
::
XServiceInfo
>
...
...
@@ -72,7 +68,7 @@ public:
}
uno
::
Reference
<
uno
::
XInterface
>
SAL_CALL
UnxSplash_createInstance
(
const
uno
::
Reference
<
uno
::
XComponentContext
>
&
xCtx
)
throw
(
uno
::
Exception
);
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
SAL_CALL
UnxSplash_createInstance
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
xCtx
)
throw
(
css
::
uno
::
Exception
);
OUString
UnxSplash_getImplementationName
();
css
::
uno
::
Sequence
<
OUString
>
SAL_CALL
UnxSplash_getSupportedServiceNames
()
throw
();
...
...
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