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
62fae8bd
Kaydet (Commit)
62fae8bd
authored
Mar 10, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svtools: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I2534ad4a720dd5d13324ac6fb19b8676ae50ff4e
üst
ecc65fb2
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
75 deletions
+8
-75
accessibleruler.hxx
include/svtools/accessibleruler.hxx
+0
-2
accessibleruler.cxx
svtools/source/control/accessibleruler.cxx
+1
-16
descriptor.cxx
svtools/source/graphic/descriptor.cxx
+1
-6
graphic.cxx
svtools/source/graphic/graphic.cxx
+1
-16
graphic.hxx
svtools/source/graphic/graphic.hxx
+0
-1
provider.cxx
svtools/source/graphic/provider.cxx
+1
-6
renderer.cxx
svtools/source/graphic/renderer.cxx
+1
-6
hatchwindow.cxx
svtools/source/hatchwindow/hatchwindow.cxx
+1
-14
addrtempuno.cxx
svtools/source/uno/addrtempuno.cxx
+1
-2
unoimap.cxx
svtools/source/uno/unoimap.cxx
+1
-6
No files found.
include/svtools/accessibleruler.hxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -179,8 +179,6 @@ public:
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
private
:
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
getUniqueId
(
void
);
protected
:
/// @Return the object's current bounding box relative to the desktop.
...
...
svtools/source/control/accessibleruler.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -379,7 +379,7 @@ Sequence< OUString > SAL_CALL SvtRulerAccessible::getSupportedServiceNames( void
//===== XTypeProvider =======================================================
Sequence
<
sal_Int8
>
SAL_CALL
SvtRulerAccessible
::
getImplementationId
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
return
getUniqueId
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
void
SAL_CALL
SvtRulerAccessible
::
disposing
()
...
...
@@ -425,21 +425,6 @@ Rectangle SvtRulerAccessible::GetBoundingBox( void ) throw( RuntimeException )
return
Rectangle
(
mpRepr
->
GetPosPixel
(),
mpRepr
->
GetSizePixel
()
);
}
Sequence
<
sal_Int8
>
SvtRulerAccessible
::
getUniqueId
(
void
)
{
static
OImplementationId
*
pId
=
0
;
if
(
!
pId
)
{
MutexGuard
aGuard
(
Mutex
::
getGlobalMutex
()
);
if
(
!
pId
)
{
static
OImplementationId
aId
;
pId
=
&
aId
;
}
}
return
pId
->
getImplementationId
();
}
void
SvtRulerAccessible
::
ThrowExceptionIfNotAlive
(
void
)
throw
(
lang
::
DisposedException
)
{
if
(
IsNotAlive
()
)
...
...
svtools/source/graphic/descriptor.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -278,15 +278,10 @@ uno::Sequence< uno::Type > SAL_CALL GraphicDescriptor::getTypes()
return
aTypes
;
}
namespace
{
class
theGraphicDescriptorUnoTunnelId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theGraphicDescriptorUnoTunnelId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
GraphicDescriptor
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
theGraphicDescriptorUnoTunnelId
::
get
().
getSeq
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
svtools/source/graphic/graphic.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -99,21 +99,6 @@ void SAL_CALL Graphic::release() throw()
::
unographic
::
GraphicDescriptor
::
release
();
}
namespace
{
class
theGraphicUnoTunnelId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theGraphicUnoTunnelId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
Graphic
::
getImplementationId_Static
()
throw
(
uno
::
RuntimeException
)
{
return
theGraphicUnoTunnelId
::
get
().
getSeq
();
}
OUString
Graphic
::
getImplementationName_Static
()
throw
()
{
...
...
@@ -177,7 +162,7 @@ uno::Sequence< uno::Type > SAL_CALL Graphic::getTypes()
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
Graphic
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
getImplementationId_Static
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
svtools/source/graphic/graphic.hxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -45,7 +45,6 @@ public:
void
init
(
const
::
Graphic
&
rGraphic
)
throw
();
static
const
::
Graphic
*
getImplementation
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
rxIFace
)
throw
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
getImplementationId_Static
(
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
static
OUString
getImplementationName_Static
()
throw
();
static
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
getSupportedServiceNames_Static
()
throw
();
...
...
svtools/source/graphic/provider.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -91,15 +91,10 @@ uno::Sequence< uno::Type > SAL_CALL GraphicProvider::getTypes()
return
aTypes
;
}
namespace
{
class
theGraphicProviderUnoTunnelId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theGraphicProviderUnoTunnelId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
GraphicProvider
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
theGraphicProviderUnoTunnelId
::
get
().
getSeq
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
svtools/source/graphic/renderer.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -146,15 +146,10 @@ uno::Sequence< uno::Type > SAL_CALL GraphicRendererVCL::getTypes()
return
aTypes
;
}
namespace
{
class
theGraphicRendererVCLUnoTunnelId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theGraphicRendererVCLUnoTunnelId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
GraphicRendererVCL
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
theGraphicRendererVCLUnoTunnelId
::
get
().
getSeq
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
svtools/source/hatchwindow/hatchwindow.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -161,20 +161,7 @@ uno::Sequence< uno::Type > SAL_CALL VCLXHatchWindow::getTypes()
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
VCLXHatchWindow
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
static
::
cppu
::
OImplementationId
*
pID
=
NULL
;
if
(
pID
==
NULL
)
{
::
osl
::
MutexGuard
aGuard
(
::
osl
::
Mutex
::
getGlobalMutex
()
)
;
if
(
pID
==
NULL
)
{
static
::
cppu
::
OImplementationId
aID
(
false
)
;
pID
=
&
aID
;
}
}
return
pID
->
getImplementationId
()
;
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
::
com
::
sun
::
star
::
awt
::
Size
SAL_CALL
VCLXHatchWindow
::
getHatchBorderSize
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
...
...
svtools/source/uno/addrtempuno.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -89,8 +89,7 @@ namespace {
Sequence
<
sal_Int8
>
SAL_CALL
OAddressBookSourceDialogUno
::
getImplementationId
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
static
::
cppu
::
OImplementationId
aId
;
return
aId
.
getImplementationId
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
...
...
svtools/source/uno/unoimap.cxx
Dosyayı görüntüle @
62fae8bd
...
...
@@ -361,15 +361,10 @@ uno::Sequence< uno::Type > SAL_CALL SvUnoImageMapObject::getTypes()
return
aTypes
;
}
namespace
{
class
theSvUnoImageMapObjectImplementationId
:
public
rtl
::
Static
<
UnoTunnelIdInit
,
theSvUnoImageMapObjectImplementationId
>
{};
}
uno
::
Sequence
<
sal_Int8
>
SAL_CALL
SvUnoImageMapObject
::
getImplementationId
()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
return
theSvUnoImageMapObjectImplementationId
::
get
().
getSeq
();
return
css
::
uno
::
Sequence
<
sal_Int8
>
();
}
// XServiceInfo
...
...
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