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
ad194534
Kaydet (Commit)
ad194534
authored
Mar 16, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw, sd: more toolkit API cleanup.
Change-Id: I2015f517695682f17fe5c03a8df0171a427717bf
üst
29e8c9ca
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
13 deletions
+15
-13
slideshowimpl.cxx
sd/source/ui/slideshow/slideshowimpl.cxx
+2
-1
unomodel.cxx
sd/source/ui/unoidl/unomodel.cxx
+2
-2
printdata.cxx
sw/source/core/view/printdata.cxx
+3
-2
unotxdoc.cxx
sw/source/uibase/uno/unotxdoc.cxx
+8
-8
No files found.
sd/source/ui/slideshow/slideshowimpl.cxx
Dosyayı görüntüle @
ad194534
...
...
@@ -3343,7 +3343,8 @@ void PresentationSettingsEx::SetPropertyValue( const OUString& rProperty, const
Reference
<
XWindow
>
xWindow
;
if
(
rValue
>>=
xWindow
)
{
mpParentWindow
=
xWindow
.
is
()
?
VCLUnoHelper
::
GetWindow
(
xWindow
)
:
0
;
mpParentWindow
=
xWindow
.
is
()
?
VCLUnoHelper
::
GetWindow
(
xWindow
)
:
VclPtr
<
vcl
::
Window
>
();
return
;
}
}
...
...
sd/source/ui/unoidl/unomodel.cxx
Dosyayı görüntüle @
ad194534
...
...
@@ -1879,8 +1879,8 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
if
(
xRenderDevice
.
is
()
&&
nPageNumber
&&
(
nPageNumber
<=
mpDoc
->
GetSdPageCount
(
ePageKind
)
)
)
{
VCLXDevice
*
pDevice
=
VCLXDevice
::
GetImplementation
(
xRenderDevice
);
OutputDevice
*
pOut
=
pDevice
?
pDevice
->
GetOutputDevice
()
:
NULL
;
VCLXDevice
*
pDevice
=
VCLXDevice
::
GetImplementation
(
xRenderDevice
);
VclPtr
<
OutputDevice
>
pOut
=
pDevice
?
pDevice
->
GetOutputDevice
()
:
VclPtr
<
OutputDevice
>
()
;
if
(
pOut
)
{
...
...
sw/source/core/view/printdata.cxx
Dosyayı görüntüle @
ad194534
...
...
@@ -471,11 +471,12 @@ bool SwPrintUIOptions::processPropertiesAndCheckFormat( const uno::Sequence< bea
uno
::
Any
aVal
(
getValue
(
"RenderDevice"
)
);
aVal
>>=
xRenderDevice
;
OutputDevice
*
pOut
=
0
;
VclPtr
<
OutputDevice
>
pOut
;
if
(
xRenderDevice
.
is
())
{
VCLXDevice
*
pDevice
=
VCLXDevice
::
GetImplementation
(
xRenderDevice
);
pOut
=
pDevice
?
pDevice
->
GetOutputDevice
()
:
0
;
if
(
pDevice
)
pOut
=
pDevice
->
GetOutputDevice
();
}
bChanged
=
bChanged
||
(
pOut
!=
m_pLast
);
if
(
pOut
)
...
...
sw/source/uibase/uno/unotxdoc.cxx
Dosyayı görüntüle @
ad194534
...
...
@@ -2320,9 +2320,9 @@ Any SAL_CALL SwXTextDocument::getPropertyDefault( const OUString& rPropertyName
return
aAny
;
}
static
OutputDevice
*
lcl_GetOutputDevice
(
const
SwPrintUIOptions
&
rPrintUIOptions
)
static
VclPtr
<
OutputDevice
>
lcl_GetOutputDevice
(
const
SwPrintUIOptions
&
rPrintUIOptions
)
{
OutputDevice
*
pOut
=
0
;
VclPtr
<
OutputDevice
>
pOut
;
uno
::
Any
aAny
(
rPrintUIOptions
.
getValue
(
"RenderDevice"
));
uno
::
Reference
<
awt
::
XDevice
>
xRenderDevice
;
...
...
@@ -2330,7 +2330,7 @@ static OutputDevice * lcl_GetOutputDevice( const SwPrintUIOptions &rPrintUIOptio
if
(
xRenderDevice
.
is
())
{
VCLXDevice
*
pDevice
=
VCLXDevice
::
GetImplementation
(
xRenderDevice
);
pOut
=
pDevice
?
pDevice
->
GetOutputDevice
()
:
0
;
pOut
=
pDevice
?
pDevice
->
GetOutputDevice
()
:
VclPtr
<
OutputDevice
>
()
;
}
return
pOut
;
...
...
@@ -2519,7 +2519,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
if
(
bIsSwSrcView
)
{
SwSrcView
&
rSwSrcView
=
dynamic_cast
<
SwSrcView
&>
(
*
pView
);
OutputDevice
*
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
VclPtr
<
OutputDevice
>
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
nRet
=
rSwSrcView
.
PrintSource
(
pOutDev
,
1
/* dummy */
,
true
/* get page count only */
);
}
else
...
...
@@ -2634,7 +2634,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
const
sal_Int16
nPostItMode
=
(
sal_Int16
)
m_pPrintUIOptions
->
getIntValue
(
"PrintAnnotationMode"
,
0
);
if
(
nPostItMode
!=
POSTITS_NONE
)
{
OutputDevice
*
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
VclPtr
<
OutputDevice
>
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
m_pRenderData
->
CreatePostItData
(
pDoc
,
pViewShell
->
GetViewOptions
(),
pOutDev
);
}
...
...
@@ -2758,7 +2758,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwXTextDocument::getRenderer(
// Sometimes 'getRenderer' is only called to get "ExtraPrintUIOptions", in this
// case we won't get an OutputDevice here, but then the caller also has no need
// for the correct PageSisze right now...
Printer
*
pPrinter
=
dynamic_cast
<
Printer
*
>
(
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
));
VclPtr
<
Printer
>
pPrinter
=
dynamic_cast
<
Printer
*
>
(
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
).
get
(
));
if
(
pPrinter
)
{
// HTML source view and prospect adapt to the printer's paper size
...
...
@@ -2976,7 +2976,7 @@ void SAL_CALL SwXTextDocument::render(
if
(
bIsSwSrcView
)
{
SwSrcView
&
rSwSrcView
=
dynamic_cast
<
SwSrcView
&>
(
*
pView
);
OutputDevice
*
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
VclPtr
<
OutputDevice
>
pOutDev
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
rSwSrcView
.
PrintSource
(
pOutDev
,
nRenderer
+
1
,
false
);
}
else
...
...
@@ -2998,7 +2998,7 @@ void SAL_CALL SwXTextDocument::render(
}
// get output device to use
OutputDevice
*
pOut
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
VclPtr
<
OutputDevice
>
pOut
=
lcl_GetOutputDevice
(
*
m_pPrintUIOptions
);
if
(
pVwSh
&&
pOut
&&
m_pRenderData
->
HasSwPrtOptions
())
{
...
...
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