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
746784e1
Kaydet (Commit)
746784e1
authored
Nis 25, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#46808 Convert awt::Pointer to new style
Change-Id: Ic2ff491e656ab7bcf0bd5994b601818a26478243
üst
e894e57a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
15 deletions
+44
-15
services.hxx
forms/source/inc/services.hxx
+0
-1
UnoApi_offapi.mk
offapi/UnoApi_offapi.mk
+1
-0
Pointer.idl
offapi/com/sun/star/awt/Pointer.idl
+38
-0
slideshowviewimpl.cxx
sd/source/ui/slideshow/slideshowviewimpl.cxx
+2
-3
PresenterPaneBorderManager.cxx
sdext/source/presenter/PresenterPaneBorderManager.cxx
+1
-5
PresenterSlideShowView.cxx
sdext/source/presenter/PresenterSlideShowView.cxx
+2
-6
No files found.
forms/source/inc/services.hxx
Dosyayı görüntüle @
746784e1
...
...
@@ -206,7 +206,6 @@ namespace frm
// -----------------------
// misc
// -----------------------
#define SRV_AWT_POINTER "com.sun.star.awt.Pointer"
#define SRV_AWT_IMAGEPRODUCER "com.sun.star.awt.ImageProducer"
#define SRV_SDB_ROWSET "com.sun.star.sdb.RowSet"
...
...
offapi/UnoApi_offapi.mk
Dosyayı görüntüle @
746784e1
...
...
@@ -50,6 +50,7 @@ $(eval $(call gb_UnoApi_add_idlfiles_nohdl,offapi,offapi/com/sun/star/awt,\
DialogProvider \
DialogProvider2 \
MenuBar \
Pointer \
PopupMenu \
TabController \
Toolkit \
...
...
offapi/com/sun/star/awt/Pointer.idl
0 → 100644
Dosyayı görüntüle @
746784e1
/*
-*-
Mode
:
C
++
; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
*
This
file
is
part
of
the
LibreOffice
project
.
*
*
This
Source
Code
Form
is
subject
to
the
terms
of
the
Mozilla
Public
*
License
,
v
.
2.0
.
If
a
copy
of
the
MPL
was
not
distributed
with
this
*
file
,
You
can
obtain
one
at
http
:
//
mozilla
.
org/MPL/2.0/.
*
*
This
file
incorporates
work
covered
by
the
following
license
notice
:
*
*
Licensed
to
the
Apache
Software
Foundation
(
ASF
)
under
one
or
more
*
contributor
license
agreements
.
See
the
NOTICE
file
distributed
*
with
this
work
for
additional
information
regarding
copyright
*
ownership
.
The
ASF
licenses
this
file
to
you
under
the
Apache
*
License
,
Version
2.0
(
the
"License"
)
; you may not use this file
*
except
in
compliance
with
the
License
.
You
may
obtain
a
copy
of
*
the
License
at
http
:
//
www
.
apache.org/licenses/LICENSE-2.0
.
*/
#
ifndef
__com_sun_star_awt_Pointer_idl__
#
define
__com_sun_star_awt_Pointer_idl__
#
include
<
com
/
sun
/
star
/
awt
/
XPointer
.
idl>
module
com
{
module
sun
{
module
star
{
module
awt
{
/**
@
since
LibreOffice
4.1
*/
service
Pointer
:
XPointer
;
}
; }; }; };
#
endif
/*
vim
:
set
shiftwidth
=
4
softtabstop
=
4
expandtab
:
*/
sd/source/ui/slideshow/slideshowviewimpl.cxx
Dosyayı görüntüle @
746784e1
...
...
@@ -21,6 +21,7 @@
#include <slideshowimpl.hxx>
#include <osl/mutex.hxx>
#include <com/sun/star/awt/Pointer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <basegfx/polygon/b2dpolygon.hxx>
...
...
@@ -657,9 +658,7 @@ void SlideShowView::init()
Reference
<
lang
::
XMultiServiceFactory
>
xFactory
(
::
comphelper
::
getProcessServiceFactory
(),
uno
::
UNO_QUERY_THROW
);
if
(
xFactory
.
is
()
)
mxPointer
.
set
(
xFactory
->
createInstance
(
"com.sun.star.awt.Pointer"
),
uno
::
UNO_QUERY
);
mxPointer
=
awt
::
Pointer
::
create
(
::
comphelper
::
getProcessComponentContext
()
);
getTransformation
();
...
...
sdext/source/presenter/PresenterPaneBorderManager.cxx
Dosyayı görüntüle @
746784e1
...
...
@@ -83,11 +83,7 @@ PresenterPaneBorderManager::PresenterPaneBorderManager (
Reference
<
lang
::
XMultiComponentFactory
>
xFactory
(
rxContext
->
getServiceManager
());
if
(
xFactory
.
is
())
{
mxPointer
=
Reference
<
awt
::
XPointer
>
(
xFactory
->
createInstanceWithContext
(
OUString
(
"com.sun.star.awt.Pointer"
),
rxContext
),
UNO_QUERY_THROW
);
mxPointer
=
awt
::
Pointer
::
create
(
rxContext
);
mxPresenterHelper
=
Reference
<
drawing
::
XPresenterHelper
>
(
xFactory
->
createInstanceWithContext
(
...
...
sdext/source/presenter/PresenterSlideShowView.cxx
Dosyayı görüntüle @
746784e1
...
...
@@ -26,6 +26,7 @@
#include "PresenterPaneContainer.hxx"
#include <com/sun/star/awt/InvalidateStyle.hpp>
#include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/awt/Pointer.hpp>
#include <com/sun/star/awt/Toolkit.hpp>
#include <com/sun/star/awt/WindowAttribute.hpp>
#include <com/sun/star/awt/XWindow.hpp>
...
...
@@ -465,12 +466,7 @@ void SAL_CALL PresenterSlideShowView::setMouseCursor(::sal_Int16 nPointerShape)
// Create a pointer when it does not yet exist.
if
(
!
mxPointer
.
is
())
{
Reference
<
lang
::
XMultiServiceFactory
>
xFactory
(
mxComponentContext
,
UNO_QUERY
);
if
(
xFactory
.
is
())
mxPointer
=
Reference
<
awt
::
XPointer
>
(
xFactory
->
createInstance
(
OUString
(
"com.sun.star.awt.Pointer"
)),
UNO_QUERY
);
mxPointer
=
awt
::
Pointer
::
create
(
mxComponentContext
);
}
// Set the pointer to the given shape and the window(peer) to the
...
...
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