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
301217d7
Kaydet (Commit)
301217d7
authored
Nis 13, 2012
tarafından
Olivier Hallot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More RTL_CONSTASCII_USTRINGPARAM removals
üst
2db3ba98
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
102 additions
and
142 deletions
+102
-142
AccessibleDocumentViewBase.cxx
sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+7
-14
AccessibleDrawDocumentView.cxx
sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+8
-16
AccessibleOutlineView.cxx
sd/source/ui/accessibility/AccessibleOutlineView.cxx
+1
-1
AccessiblePageShape.cxx
sd/source/ui/accessibility/AccessiblePageShape.cxx
+12
-19
AccessiblePresentationGraphicShape.cxx
...e/ui/accessibility/AccessiblePresentationGraphicShape.cxx
+7
-9
AccessiblePresentationOLEShape.cxx
...ource/ui/accessibility/AccessiblePresentationOLEShape.cxx
+14
-19
AccessiblePresentationShape.cxx
sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+25
-26
AccessibleScrollPanel.cxx
sd/source/ui/accessibility/AccessibleScrollPanel.cxx
+1
-1
AccessibleSlideSorterObject.cxx
sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+4
-7
AccessibleSlideSorterView.cxx
sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
+5
-9
AccessibleTreeNode.cxx
sd/source/ui/accessibility/AccessibleTreeNode.cxx
+4
-7
SdShapeTypes.cxx
sd/source/ui/accessibility/SdShapeTypes.cxx
+14
-14
No files found.
sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
Dosyayı görüntüle @
301217d7
...
@@ -132,7 +132,7 @@ void AccessibleDocumentViewBase::Init (void)
...
@@ -132,7 +132,7 @@ void AccessibleDocumentViewBase::Init (void)
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
mxController
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
mxController
,
uno
::
UNO_QUERY
);
if
(
xSet
.
is
())
if
(
xSet
.
is
())
xSet
->
addPropertyChangeListener
(
xSet
->
addPropertyChangeListener
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
""
))
,
""
,
static_cast
<
beans
::
XPropertyChangeListener
*>
(
this
));
static_cast
<
beans
::
XPropertyChangeListener
*>
(
this
));
// Register this object as dispose event listener at the controller.
// Register this object as dispose event listener at the controller.
...
@@ -278,10 +278,7 @@ Reference<XAccessible> SAL_CALL
...
@@ -278,10 +278,7 @@ Reference<XAccessible> SAL_CALL
if
(
nIndex
==
0
)
if
(
nIndex
==
0
)
return
mxAccessibleOLEObject
;
return
mxAccessibleOLEObject
;
throw
lang
::
IndexOutOfBoundsException
(
throw
lang
::
IndexOutOfBoundsException
(
"no child with index "
+
rtl
::
OUString
::
valueOf
(
nIndex
),
NULL
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"no child with index "
)
))
+
rtl
::
OUString
::
valueOf
(
nIndex
),
NULL
);
}
}
...
@@ -470,7 +467,7 @@ void SAL_CALL
...
@@ -470,7 +467,7 @@ void SAL_CALL
AccessibleDocumentViewBase
::
getImplementationName
(
void
)
AccessibleDocumentViewBase
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleDocumentViewBase"
)
);
return
::
rtl
::
OUString
(
"AccessibleDocumentViewBase"
);
}
}
...
@@ -569,9 +566,7 @@ void AccessibleDocumentViewBase::impl_dispose()
...
@@ -569,9 +566,7 @@ void AccessibleDocumentViewBase::impl_dispose()
{
{
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
mxController
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
beans
::
XPropertySet
>
xSet
(
mxController
,
uno
::
UNO_QUERY
);
if
(
xSet
.
is
())
if
(
xSet
.
is
())
xSet
->
removePropertyChangeListener
(
xSet
->
removePropertyChangeListener
(
""
,
static_cast
<
beans
::
XPropertyChangeListener
*>
(
this
));
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
""
)),
static_cast
<
beans
::
XPropertyChangeListener
*>
(
this
));
mxController
->
removeEventListener
(
mxController
->
removeEventListener
(
static_cast
<
awt
::
XWindowListener
*>
(
this
));
static_cast
<
awt
::
XWindowListener
*>
(
this
));
...
@@ -724,8 +719,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
...
@@ -724,8 +719,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
AccessibleDocumentViewBase
::
CreateAccessibleName
(
void
)
AccessibleDocumentViewBase
::
CreateAccessibleName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
return
::
rtl
::
OUString
(
"AccessibleDocumentViewBase"
);
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleDocumentViewBase"
));
}
}
...
@@ -746,14 +740,13 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
...
@@ -746,14 +740,13 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
OUString
sFirstService
=
xInfo
->
getSupportedServiceNames
()[
0
];
OUString
sFirstService
=
xInfo
->
getSupportedServiceNames
()[
0
];
if
(
sFirstService
==
"com.sun.star.drawing.DrawingDocumentDrawView"
)
if
(
sFirstService
==
"com.sun.star.drawing.DrawingDocumentDrawView"
)
{
{
sDescription
=
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Draw Document"
))
;
sDescription
=
"Draw Document"
;
}
}
else
else
sDescription
=
sFirstService
;
sDescription
=
sFirstService
;
}
}
else
else
sDescription
=
OUString
(
sDescription
=
"Accessible Draw Document"
;
RTL_CONSTASCII_USTRINGPARAM
(
"Accessible Draw Document"
));
return
sDescription
;
return
sDescription
;
}
}
...
...
sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
Dosyayı görüntüle @
301217d7
...
@@ -164,8 +164,7 @@ AccessiblePageShape* AccessibleDrawDocumentView::CreateDrawPageShape (void)
...
@@ -164,8 +164,7 @@ AccessiblePageShape* AccessibleDrawDocumentView::CreateDrawPageShape (void)
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xFactory
(
mxModel
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
xFactory
(
mxModel
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShape
>
xRectangle
;
uno
::
Reference
<
drawing
::
XShape
>
xRectangle
;
if
(
xFactory
.
is
())
if
(
xFactory
.
is
())
xRectangle
=
uno
::
Reference
<
drawing
::
XShape
>
(
xFactory
->
createInstance
(
xRectangle
=
uno
::
Reference
<
drawing
::
XShape
>
(
xFactory
->
createInstance
(
"com.sun.star.drawing.RectangleShape"
),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.drawing.RectangleShape"
))),
uno
::
UNO_QUERY
);
uno
::
UNO_QUERY
);
// Set the shape's size and position.
// Set the shape's size and position.
...
@@ -177,19 +176,15 @@ AccessiblePageShape* AccessibleDrawDocumentView::CreateDrawPageShape (void)
...
@@ -177,19 +176,15 @@ AccessiblePageShape* AccessibleDrawDocumentView::CreateDrawPageShape (void)
// Set size and position of the shape to those of the draw
// Set size and position of the shape to those of the draw
// page.
// page.
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"BorderLeft"
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BorderLeft"
)));
aValue
>>=
aPosition
.
X
;
aValue
>>=
aPosition
.
X
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"BorderTop"
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BorderTop"
)));
aValue
>>=
aPosition
.
Y
;
aValue
>>=
aPosition
.
Y
;
xRectangle
->
setPosition
(
aPosition
);
xRectangle
->
setPosition
(
aPosition
);
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"Width"
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Width"
)));
aValue
>>=
aSize
.
Width
;
aValue
>>=
aSize
.
Width
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"Height"
);
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Height"
)));
aValue
>>=
aSize
.
Height
;
aValue
>>=
aSize
.
Height
;
xRectangle
->
setSize
(
aSize
);
xRectangle
->
setSize
(
aSize
);
...
@@ -256,8 +251,7 @@ uno::Reference<XAccessible> SAL_CALL
...
@@ -256,8 +251,7 @@ uno::Reference<XAccessible> SAL_CALL
}
}
else
else
throw
lang
::
IndexOutOfBoundsException
(
throw
lang
::
IndexOutOfBoundsException
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"no accessible child with index "
))
"no accessible child with index "
+
rtl
::
OUString
::
valueOf
(
nIndex
),
+
rtl
::
OUString
::
valueOf
(
nIndex
),
static_cast
<
uno
::
XWeak
*>
(
this
));
static_cast
<
uno
::
XWeak
*>
(
this
));
}
}
...
@@ -354,8 +348,7 @@ void SAL_CALL
...
@@ -354,8 +348,7 @@ void SAL_CALL
AccessibleDrawDocumentView
::
getImplementationName
(
void
)
AccessibleDrawDocumentView
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
return
::
rtl
::
OUString
(
"AccessibleDrawDocumentView"
);
"AccessibleDrawDocumentView"
));
}
}
...
@@ -373,8 +366,7 @@ void SAL_CALL
...
@@ -373,8 +366,7 @@ void SAL_CALL
// ...and add additional names.
// ...and add additional names.
aServiceNames
.
realloc
(
nCount
+
1
);
aServiceNames
.
realloc
(
nCount
+
1
);
static
const
OUString
sAdditionalServiceName
(
RTL_CONSTASCII_USTRINGPARAM
(
static
const
OUString
sAdditionalServiceName
(
"com.sun.star.drawing.AccessibleDrawDocumentView"
);
"com.sun.star.drawing.AccessibleDrawDocumentView"
));
aServiceNames
[
nCount
]
=
sAdditionalServiceName
;
aServiceNames
[
nCount
]
=
sAdditionalServiceName
;
return
aServiceNames
;
return
aServiceNames
;
...
...
sd/source/ui/accessibility/AccessibleOutlineView.cxx
Dosyayı görüntüle @
301217d7
...
@@ -169,7 +169,7 @@ void SAL_CALL AccessibleOutlineView::removeEventListener( const uno::Reference<
...
@@ -169,7 +169,7 @@ void SAL_CALL AccessibleOutlineView::removeEventListener( const uno::Reference<
AccessibleOutlineView
::
getImplementationName
(
void
)
AccessibleOutlineView
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleOutlineView"
)
);
return
::
rtl
::
OUString
(
"AccessibleOutlineView"
);
}
}
...
...
sd/source/ui/accessibility/AccessiblePageShape.cxx
Dosyayı görüntüle @
301217d7
...
@@ -99,8 +99,7 @@ uno::Reference<XAccessible> SAL_CALL
...
@@ -99,8 +99,7 @@ uno::Reference<XAccessible> SAL_CALL
AccessiblePageShape
::
getAccessibleChild
(
sal_Int32
)
AccessiblePageShape
::
getAccessibleChild
(
sal_Int32
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
throw
lang
::
IndexOutOfBoundsException
(
throw
lang
::
IndexOutOfBoundsException
(
"page shape has no children"
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"page shape has no children"
)
),
static_cast
<
uno
::
XWeak
*>
(
this
));
static_cast
<
uno
::
XWeak
*>
(
this
));
}
}
...
@@ -125,18 +124,14 @@ awt::Rectangle SAL_CALL AccessiblePageShape::getBounds (void)
...
@@ -125,18 +124,14 @@ awt::Rectangle SAL_CALL AccessiblePageShape::getBounds (void)
awt
::
Point
aPosition
;
awt
::
Point
aPosition
;
awt
::
Size
aSize
;
awt
::
Size
aSize
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"BorderLeft"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BorderLeft"
)));
aValue
>>=
aBoundingBox
.
X
;
aValue
>>=
aBoundingBox
.
X
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"BorderTop"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"BorderTop"
)));
aValue
>>=
aBoundingBox
.
Y
;
aValue
>>=
aBoundingBox
.
Y
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"Width"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Width"
)));
aValue
>>=
aBoundingBox
.
Width
;
aValue
>>=
aBoundingBox
.
Width
;
aValue
=
xSet
->
getPropertyValue
(
aValue
=
xSet
->
getPropertyValue
(
"Height"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Height"
)));
aValue
>>=
aBoundingBox
.
Height
;
aValue
>>=
aBoundingBox
.
Height
;
}
}
...
@@ -193,7 +188,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getForeground (void)
...
@@ -193,7 +188,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getForeground (void)
if
(
aSet
.
is
())
if
(
aSet
.
is
())
{
{
uno
::
Any
aColor
;
uno
::
Any
aColor
;
aColor
=
aSet
->
getPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"LineColor"
))
);
aColor
=
aSet
->
getPropertyValue
(
"LineColor"
);
aColor
>>=
nColor
;
aColor
>>=
nColor
;
}
}
}
}
...
@@ -222,8 +217,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
...
@@ -222,8 +217,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
if
(
xSet
.
is
())
if
(
xSet
.
is
())
{
{
uno
::
Any
aBGSet
;
uno
::
Any
aBGSet
;
aBGSet
=
xSet
->
getPropertyValue
(
aBGSet
=
xSet
->
getPropertyValue
(
"Background"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Background"
)));
Reference
<
beans
::
XPropertySet
>
xBGSet
(
aBGSet
,
uno
::
UNO_QUERY
);
Reference
<
beans
::
XPropertySet
>
xBGSet
(
aBGSet
,
uno
::
UNO_QUERY
);
if
(
!
xBGSet
.
is
())
if
(
!
xBGSet
.
is
())
{
{
...
@@ -234,8 +228,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
...
@@ -234,8 +228,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
{
{
xSet
=
Reference
<
beans
::
XPropertySet
>
(
xTarget
->
getMasterPage
(),
xSet
=
Reference
<
beans
::
XPropertySet
>
(
xTarget
->
getMasterPage
(),
uno
::
UNO_QUERY
);
uno
::
UNO_QUERY
);
aBGSet
=
xSet
->
getPropertyValue
(
aBGSet
=
xSet
->
getPropertyValue
(
"Background"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Background"
)));
xBGSet
=
Reference
<
beans
::
XPropertySet
>
(
aBGSet
,
uno
::
UNO_QUERY
);
xBGSet
=
Reference
<
beans
::
XPropertySet
>
(
aBGSet
,
uno
::
UNO_QUERY
);
}
}
}
}
...
@@ -244,7 +237,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
...
@@ -244,7 +237,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
if
(
xBGSet
.
is
())
if
(
xBGSet
.
is
())
{
{
uno
::
Any
aColor
;
uno
::
Any
aColor
;
aColor
=
xBGSet
->
getPropertyValue
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"FillColor"
))
);
aColor
=
xBGSet
->
getPropertyValue
(
"FillColor"
);
aColor
>>=
nColor
;
aColor
>>=
nColor
;
}
}
else
else
...
@@ -269,7 +262,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
...
@@ -269,7 +262,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground (void)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
ThrowIfDisposed
();
ThrowIfDisposed
();
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessiblePageShape"
)
);
return
::
rtl
::
OUString
(
"AccessiblePageShape"
);
}
}
...
@@ -327,7 +320,7 @@ void AccessiblePageShape::dispose (void)
...
@@ -327,7 +320,7 @@ void AccessiblePageShape::dispose (void)
AccessiblePageShape
::
CreateAccessibleBaseName
(
void
)
AccessiblePageShape
::
CreateAccessibleBaseName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PageShape"
)
);
return
::
rtl
::
OUString
(
"PageShape"
);
}
}
...
@@ -362,7 +355,7 @@ void AccessiblePageShape::dispose (void)
...
@@ -362,7 +355,7 @@ void AccessiblePageShape::dispose (void)
AccessiblePageShape
::
CreateAccessibleDescription
(
void
)
AccessiblePageShape
::
CreateAccessibleDescription
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Page Shape"
)
);
return
::
rtl
::
OUString
(
"Page Shape"
);
}
}
...
...
sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
Dosyayı görüntüle @
301217d7
...
@@ -64,7 +64,7 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
...
@@ -64,7 +64,7 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
AccessiblePresentationGraphicShape
::
getImplementationName
(
void
)
AccessiblePresentationGraphicShape
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessiblePresentationGraphicShape"
)
);
return
::
rtl
::
OUString
(
"AccessiblePresentationGraphicShape"
);
}
}
...
@@ -81,14 +81,13 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
...
@@ -81,14 +81,13 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_GRAPHIC_OBJECT
:
case
PRESENTATION_GRAPHIC_OBJECT
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressGraphicObject"
))
;
sName
=
"ImpressGraphicObject"
;
break
;
break
;
default
:
default
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"UnknownAccessibleImpressShape"
))
;
sName
=
"UnknownAccessibleImpressShape"
;
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
sName
+=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
": "
))
sName
+=
": "
+
xDescriptor
->
getShapeType
();
+
xDescriptor
->
getShapeType
();
}
}
return
sName
;
return
sName
;
...
@@ -107,15 +106,14 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
...
@@ -107,15 +106,14 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_GRAPHIC_OBJECT
:
case
PRESENTATION_GRAPHIC_OBJECT
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
((
"PresentationGraphicShape"
)))
);
aDG
.
Initialize
(
"PresentationGraphicShape"
);
break
;
break
;
default
:
default
:
aDG
.
Initialize
(
aDG
.
Initialize
(
"Unknown accessible presentation graphic shape"
);
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Unknown accessible presentation graphic shape"
)));
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
{
{
aDG
.
AppendString
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"service name="
))
);
aDG
.
AppendString
(
"service name="
);
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
}
}
}
}
...
...
sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
Dosyayı görüntüle @
301217d7
...
@@ -58,7 +58,7 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
...
@@ -58,7 +58,7 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
AccessiblePresentationOLEShape
::
getImplementationName
(
void
)
AccessiblePresentationOLEShape
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessiblePresentationOLEShape"
)
);
return
::
rtl
::
OUString
(
"AccessiblePresentationOLEShape"
);
}
}
/// Set this object's name if it is different to the current name.
/// Set this object's name if it is different to the current name.
...
@@ -72,21 +72,19 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
...
@@ -72,21 +72,19 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_OLE
:
case
PRESENTATION_OLE
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressOLE"
))
;
sName
=
"ImpressOLE"
;
break
;
break
;
case
PRESENTATION_CHART
:
case
PRESENTATION_CHART
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressChart"
))
;
sName
=
"ImpressChart"
;
break
;
break
;
case
PRESENTATION_TABLE
:
case
PRESENTATION_TABLE
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressTable"
))
;
sName
=
"ImpressTable"
;
break
;
break
;
default
:
default
:
sName
=
::
rtl
::
OUString
(
sName
=
"UnknownAccessibleImpressOLEShape"
;
RTL_CONSTASCII_USTRINGPARAM
(
"UnknownAccessibleImpressOLEShape"
));
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
sName
+=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
": "
))
sName
+=
": "
+
xDescriptor
->
getShapeType
();
+
xDescriptor
->
getShapeType
();
}
}
return
sName
;
return
sName
;
...
@@ -102,29 +100,26 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
...
@@ -102,29 +100,26 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_OLE
:
case
PRESENTATION_OLE
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationOLEShape"
))
);
aDG
.
Initialize
(
"PresentationOLEShape"
);
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
aDG
.
AddProperty
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CLSID"
)),
aDG
.
AddProperty
(
"CLSID"
,
DescriptionGenerator
::
STRING
);
DescriptionGenerator
::
STRING
);
break
;
break
;
case
PRESENTATION_CHART
:
case
PRESENTATION_CHART
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationChartShape"
))
);
aDG
.
Initialize
(
"PresentationChartShape"
);
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
aDG
.
AddProperty
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CLSID"
)),
aDG
.
AddProperty
(
"CLSID"
,
DescriptionGenerator
::
STRING
);
DescriptionGenerator
::
STRING
);
break
;
break
;
case
PRESENTATION_TABLE
:
case
PRESENTATION_TABLE
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationTableShape"
))
);
aDG
.
Initialize
(
"PresentationTableShape"
);
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
aDG
.
AddProperty
(
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"CLSID"
)),
aDG
.
AddProperty
(
"CLSID"
,
DescriptionGenerator
::
STRING
);
DescriptionGenerator
::
STRING
);
break
;
break
;
default
:
default
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Unknown accessible presentation OLE shape"
))
);
aDG
.
Initialize
(
"Unknown accessible presentation OLE shape"
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
{
{
aDG
.
AppendString
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"service name="
))
);
aDG
.
AppendString
(
"service name="
);
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
}
}
}
}
...
...
sd/source/ui/accessibility/AccessiblePresentationShape.cxx
Dosyayı görüntüle @
301217d7
...
@@ -64,7 +64,7 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
...
@@ -64,7 +64,7 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
AccessiblePresentationShape
::
getImplementationName
(
void
)
AccessiblePresentationShape
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessiblePresentationShape"
)
);
return
::
rtl
::
OUString
(
"AccessiblePresentationShape"
);
}
}
...
@@ -81,41 +81,40 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
...
@@ -81,41 +81,40 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_TITLE
:
case
PRESENTATION_TITLE
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressTitle"
))
;
sName
=
"ImpressTitle"
;
break
;
break
;
case
PRESENTATION_OUTLINER
:
case
PRESENTATION_OUTLINER
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressOutliner"
))
;
sName
=
"ImpressOutliner"
;
break
;
break
;
case
PRESENTATION_SUBTITLE
:
case
PRESENTATION_SUBTITLE
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressSubtitle"
))
;
sName
=
"ImpressSubtitle"
;
break
;
break
;
case
PRESENTATION_PAGE
:
case
PRESENTATION_PAGE
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressPage"
))
;
sName
=
"ImpressPage"
;
break
;
break
;
case
PRESENTATION_NOTES
:
case
PRESENTATION_NOTES
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressNotes"
))
;
sName
=
"ImpressNotes"
;
break
;
break
;
case
PRESENTATION_HANDOUT
:
case
PRESENTATION_HANDOUT
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressHandout"
))
;
sName
=
"ImpressHandout"
;
break
;
break
;
case
PRESENTATION_HEADER
:
case
PRESENTATION_HEADER
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressHeader"
))
;
sName
=
"ImpressHeader"
;
break
;
break
;
case
PRESENTATION_FOOTER
:
case
PRESENTATION_FOOTER
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressFooter"
))
;
sName
=
"ImpressFooter"
;
break
;
break
;
case
PRESENTATION_DATETIME
:
case
PRESENTATION_DATETIME
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressDateAndTime"
))
;
sName
=
"ImpressDateAndTime"
;
break
;
break
;
case
PRESENTATION_PAGENUMBER
:
case
PRESENTATION_PAGENUMBER
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"ImpressPageNumber"
))
;
sName
=
"ImpressPageNumber"
;
break
;
break
;
default
:
default
:
sName
=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"UnknownAccessibleImpressShape"
))
;
sName
=
"UnknownAccessibleImpressShape"
;
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
sName
+=
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
": "
))
sName
+=
": "
+
xDescriptor
->
getShapeType
();
+
xDescriptor
->
getShapeType
();
}
}
return
sName
;
return
sName
;
...
@@ -134,41 +133,41 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
...
@@ -134,41 +133,41 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
switch
(
nShapeType
)
switch
(
nShapeType
)
{
{
case
PRESENTATION_TITLE
:
case
PRESENTATION_TITLE
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationTitleShape"
))
);
aDG
.
Initialize
(
"PresentationTitleShape"
);
break
;
break
;
case
PRESENTATION_OUTLINER
:
case
PRESENTATION_OUTLINER
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationOutlinerShape"
))
);
aDG
.
Initialize
(
"PresentationOutlinerShape"
);
break
;
break
;
case
PRESENTATION_SUBTITLE
:
case
PRESENTATION_SUBTITLE
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationSubtitleShape"
))
);
aDG
.
Initialize
(
"PresentationSubtitleShape"
);
break
;
break
;
case
PRESENTATION_PAGE
:
case
PRESENTATION_PAGE
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationPageShape"
))
);
aDG
.
Initialize
(
"PresentationPageShape"
);
break
;
break
;
case
PRESENTATION_NOTES
:
case
PRESENTATION_NOTES
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationNotesShape"
))
);
aDG
.
Initialize
(
"PresentationNotesShape"
);
break
;
break
;
case
PRESENTATION_HANDOUT
:
case
PRESENTATION_HANDOUT
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationHandoutShape"
))
);
aDG
.
Initialize
(
"PresentationHandoutShape"
);
break
;
break
;
case
PRESENTATION_HEADER
:
case
PRESENTATION_HEADER
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationHeaderShape"
))
);
aDG
.
Initialize
(
"PresentationHeaderShape"
);
break
;
break
;
case
PRESENTATION_FOOTER
:
case
PRESENTATION_FOOTER
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationFooterShape"
))
);
aDG
.
Initialize
(
"PresentationFooterShape"
);
break
;
break
;
case
PRESENTATION_DATETIME
:
case
PRESENTATION_DATETIME
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationDateAndTimeShape"
))
);
aDG
.
Initialize
(
"PresentationDateAndTimeShape"
);
break
;
break
;
case
PRESENTATION_PAGENUMBER
:
case
PRESENTATION_PAGENUMBER
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"PresentationPageNumberShape"
))
);
aDG
.
Initialize
(
"PresentationPageNumberShape"
);
break
;
break
;
default
:
default
:
aDG
.
Initialize
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Unknown accessible presentation shape"
))
);
aDG
.
Initialize
(
"Unknown accessible presentation shape"
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
drawing
::
XShapeDescriptor
>
xDescriptor
(
mxShape
,
uno
::
UNO_QUERY
);
if
(
xDescriptor
.
is
())
if
(
xDescriptor
.
is
())
{
{
aDG
.
AppendString
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"service name="
))
);
aDG
.
AppendString
(
"service name="
);
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
aDG
.
AppendString
(
xDescriptor
->
getShapeType
());
}
}
}
}
...
...
sd/source/ui/accessibility/AccessibleScrollPanel.cxx
Dosyayı görüntüle @
301217d7
...
@@ -136,7 +136,7 @@ OUString SAL_CALL
...
@@ -136,7 +136,7 @@ OUString SAL_CALL
AccessibleScrollPanel
::
getImplementationName
(
void
)
AccessibleScrollPanel
::
getImplementationName
(
void
)
throw
(
RuntimeException
)
throw
(
RuntimeException
)
{
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleScrollPanel"
)
);
return
OUString
(
"AccessibleScrollPanel"
);
}
}
...
...
sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
Dosyayı görüntüle @
301217d7
...
@@ -503,7 +503,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getBackground (void)
...
@@ -503,7 +503,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getBackground (void)
AccessibleSlideSorterObject
::
getImplementationName
(
void
)
AccessibleSlideSorterObject
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleSlideSorterObject"
)
);
return
OUString
(
"AccessibleSlideSorterObject"
);
}
}
...
@@ -535,10 +535,8 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
...
@@ -535,10 +535,8 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
ThrowIfDisposed
();
ThrowIfDisposed
();
static
const
OUString
sServiceNames
[
2
]
=
{
static
const
OUString
sServiceNames
[
2
]
=
{
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.accessibility.Accessible"
,
"com.sun.star.accessibility.Accessible"
)),
"com.sun.star.accessibility.AccessibleContext"
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.accessibility.AccessibleContext"
))
};
};
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
2
);
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
2
);
}
}
...
@@ -552,8 +550,7 @@ void AccessibleSlideSorterObject::ThrowIfDisposed (void)
...
@@ -552,8 +550,7 @@ void AccessibleSlideSorterObject::ThrowIfDisposed (void)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
{
{
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
throw
lang
::
DisposedException
(
throw
lang
::
DisposedException
(
"object has been already disposed"
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"object has been already disposed"
)),
static_cast
<
uno
::
XWeak
*>
(
this
));
static_cast
<
uno
::
XWeak
*>
(
this
));
}
}
}
}
...
...
sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
Dosyayı görüntüle @
301217d7
...
@@ -729,7 +729,7 @@ void SAL_CALL AccessibleSlideSorterView::deselectAccessibleChild (sal_Int32 nChi
...
@@ -729,7 +729,7 @@ void SAL_CALL AccessibleSlideSorterView::deselectAccessibleChild (sal_Int32 nChi
AccessibleSlideSorterView
::
getImplementationName
(
void
)
AccessibleSlideSorterView
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleSlideSorterView"
)
);
return
OUString
(
"AccessibleSlideSorterView"
);
}
}
...
@@ -761,12 +761,9 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
...
@@ -761,12 +761,9 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
ThrowIfDisposed
();
ThrowIfDisposed
();
static
const
OUString
sServiceNames
[
3
]
=
{
static
const
OUString
sServiceNames
[
3
]
=
{
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.accessibility.Accessible"
,
"com.sun.star.accessibility.Accessible"
)),
"com.sun.star.accessibility.AccessibleContext"
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.drawing.AccessibleSlideSorterView"
"com.sun.star.accessibility.AccessibleContext"
)),
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.drawing.AccessibleSlideSorterView"
))
};
};
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
3
);
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
3
);
}
}
...
@@ -780,8 +777,7 @@ void AccessibleSlideSorterView::ThrowIfDisposed (void)
...
@@ -780,8 +777,7 @@ void AccessibleSlideSorterView::ThrowIfDisposed (void)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
{
{
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
throw
lang
::
DisposedException
(
throw
lang
::
DisposedException
(
"object has been already disposed"
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"object has been already disposed"
)),
static_cast
<
uno
::
XWeak
*>
(
this
));
static_cast
<
uno
::
XWeak
*>
(
this
));
}
}
}
}
...
...
sd/source/ui/accessibility/AccessibleTreeNode.cxx
Dosyayı görüntüle @
301217d7
...
@@ -571,7 +571,7 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getBackground (void)
...
@@ -571,7 +571,7 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getBackground (void)
AccessibleTreeNode
::
getImplementationName
(
void
)
AccessibleTreeNode
::
getImplementationName
(
void
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
return
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"AccessibleTreeNode"
)
);
return
OUString
(
"AccessibleTreeNode"
);
}
}
...
@@ -602,10 +602,8 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
...
@@ -602,10 +602,8 @@ uno::Sequence< ::rtl::OUString> SAL_CALL
{
{
ThrowIfDisposed
();
ThrowIfDisposed
();
static
const
OUString
sServiceNames
[
2
]
=
{
static
const
OUString
sServiceNames
[
2
]
=
{
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.accessibility.Accessible"
,
"com.sun.star.accessibility.Accessible"
)),
"com.sun.star.accessibility.AccessibleContext"
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.accessibility.AccessibleContext"
)),
};
};
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
2
);
return
uno
::
Sequence
<
OUString
>
(
sServiceNames
,
2
);
}
}
...
@@ -619,8 +617,7 @@ void AccessibleTreeNode::ThrowIfDisposed (void)
...
@@ -619,8 +617,7 @@ void AccessibleTreeNode::ThrowIfDisposed (void)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
if
(
rBHelper
.
bDisposed
||
rBHelper
.
bInDispose
)
{
{
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
OSL_TRACE
(
"Calling disposed object. Throwing exception:"
);
throw
lang
::
DisposedException
(
throw
lang
::
DisposedException
(
"object has been already disposed"
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"object has been already disposed"
)),
static_cast
<
uno
::
XWeak
*>
(
this
));
static_cast
<
uno
::
XWeak
*>
(
this
));
}
}
}
}
...
...
sd/source/ui/accessibility/SdShapeTypes.cxx
Dosyayı görüntüle @
301217d7
...
@@ -76,59 +76,59 @@ void RegisterImpressShapeTypes (void)
...
@@ -76,59 +76,59 @@ void RegisterImpressShapeTypes (void)
ShapeTypeDescriptor
aSdShapeTypeList
[]
=
{
ShapeTypeDescriptor
aSdShapeTypeList
[]
=
{
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_OUTLINER
,
PRESENTATION_OUTLINER
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.OutlinerShape"
)))
,
"com.sun.star.presentation.OutlinerShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_SUBTITLE
,
PRESENTATION_SUBTITLE
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.SubtitleShape"
)))
,
"com.sun.star.presentation.SubtitleShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_GRAPHIC_OBJECT
,
PRESENTATION_GRAPHIC_OBJECT
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.GraphicObjectShape"
)))
,
"com.sun.star.presentation.GraphicObjectShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_PAGE
,
PRESENTATION_PAGE
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.PageShape"
)))
,
"com.sun.star.presentation.PageShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_OLE
,
PRESENTATION_OLE
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.OLE2Shape"
)))
,
"com.sun.star.presentation.OLE2Shape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_CHART
,
PRESENTATION_CHART
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.ChartShape"
)))
,
"com.sun.star.presentation.ChartShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_TABLE
,
PRESENTATION_TABLE
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.TableShape"
)))
,
"com.sun.star.presentation.TableShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_NOTES
,
PRESENTATION_NOTES
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
(
"com.sun.star.presentation.NotesShape"
)))
,
"com.sun.star.presentation.NotesShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_TITLE
,
PRESENTATION_TITLE
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.TitleTextShape"
))
,
"com.sun.star.presentation.TitleTextShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_HANDOUT
,
PRESENTATION_HANDOUT
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.HandoutShape"
))
,
"com.sun.star.presentation.HandoutShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_HEADER
,
PRESENTATION_HEADER
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.HeaderShape"
))
,
"com.sun.star.presentation.HeaderShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_FOOTER
,
PRESENTATION_FOOTER
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.FooterShape"
))
,
"com.sun.star.presentation.FooterShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_DATETIME
,
PRESENTATION_DATETIME
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.DateTimeShape"
))
,
"com.sun.star.presentation.DateTimeShape"
,
CreateSdAccessibleShape
),
CreateSdAccessibleShape
),
ShapeTypeDescriptor
(
ShapeTypeDescriptor
(
PRESENTATION_PAGENUMBER
,
PRESENTATION_PAGENUMBER
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"com.sun.star.presentation.SlideNumberShape"
))
,
"com.sun.star.presentation.SlideNumberShape"
,
CreateSdAccessibleShape
)
CreateSdAccessibleShape
)
};
};
...
...
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