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
697c37fe
Kaydet (Commit)
697c37fe
authored
Agu 07, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert vcl/inc/printdlg.hxx from String to OUString
Change-Id: Ib12fc400afe0974a5af37298e77e3816c17e5387
üst
86982346
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
printdlg.hxx
vcl/inc/printdlg.hxx
+1
-1
printdlg.cxx
vcl/source/window/printdlg.cxx
+8
-8
No files found.
vcl/inc/printdlg.hxx
Dosyayı görüntüle @
697c37fe
...
...
@@ -270,7 +270,7 @@ namespace vcl
class
PrintProgressDialog
:
public
ModelessDialog
{
String
maStr
;
OUString
maStr
;
FixedText
maText
;
CancelButton
maButton
;
...
...
vcl/source/window/printdlg.cxx
Dosyayı görüntüle @
697c37fe
...
...
@@ -75,8 +75,8 @@ PrintDialog::PrintPreviewWindow::PrintPreviewWindow( Window* i_pParent )
maHorzDim
.
Show
();
maVertDim
.
Show
();
maHorzDim
.
SetText
(
String
(
"2.0in"
)
);
maVertDim
.
SetText
(
String
(
"2.0in"
)
);
maHorzDim
.
SetText
(
OU
String
(
"2.0in"
)
);
maVertDim
.
SetText
(
OU
String
(
"2.0in"
)
);
}
PrintDialog
::
PrintPreviewWindow
::~
PrintPreviewWindow
()
...
...
@@ -230,7 +230,7 @@ void PrintDialog::PrintPreviewWindow::setPreview( const GDIMetaFile& i_rNewPrevi
nDigits
=
2
;
}
Size
aLogicPaperSize
(
LogicToLogic
(
i_rOrigSize
,
MapMode
(
MAP_100TH_MM
),
MapMode
(
eUnit
)
)
);
String
aNumText
(
rLocWrap
.
getNum
(
aLogicPaperSize
.
Width
(),
nDigits
)
);
OU
String
aNumText
(
rLocWrap
.
getNum
(
aLogicPaperSize
.
Width
(),
nDigits
)
);
aBuf
.
append
(
aNumText
);
aBuf
.
appendAscii
(
eUnit
==
MAP_MM
?
"mm"
:
"in"
);
if
(
!
i_rPaperName
.
isEmpty
()
)
...
...
@@ -618,7 +618,7 @@ PrintDialog::PrintDialog( Window* i_pParent, const boost::shared_ptr<PrinterCont
{
// fall back to last printer
SettingsConfigItem
*
pItem
=
SettingsConfigItem
::
get
();
String
aValue
(
pItem
->
getValue
(
OUString
(
"PrintDialog"
),
OU
String
aValue
(
pItem
->
getValue
(
OUString
(
"PrintDialog"
),
OUString
(
"LastPrinter"
)
)
);
if
(
maJobPage
.
mpPrinters
->
GetEntryPos
(
aValue
)
!=
LISTBOX_ENTRY_NOTFOUND
)
{
...
...
@@ -1261,9 +1261,9 @@ void PrintDialog::updatePrinterText()
}
else
{
maJobPage
.
mpLocationTxt
->
SetText
(
String
()
);
maJobPage
.
mpCommentTxt
->
SetText
(
String
()
);
maJobPage
.
mpStatusTxt
->
SetText
(
String
()
);
maJobPage
.
mpLocationTxt
->
SetText
(
OU
String
()
);
maJobPage
.
mpCommentTxt
->
SetText
(
OU
String
()
);
maJobPage
.
mpStatusTxt
->
SetText
(
OU
String
()
);
}
}
...
...
@@ -1484,7 +1484,7 @@ IMPL_LINK( PrintDialog, SelectHdl, ListBox*, pBox )
{
if
(
pBox
==
maJobPage
.
mpPrinters
)
{
String
aNewPrinter
(
pBox
->
GetSelectEntry
()
);
OU
String
aNewPrinter
(
pBox
->
GetSelectEntry
()
);
// set new printer
maPController
->
setPrinter
(
boost
::
shared_ptr
<
Printer
>
(
new
Printer
(
aNewPrinter
)
)
);
maPController
->
resetPrinterOptions
(
maOptionsPage
.
mpToFileBox
->
IsChecked
()
);
...
...
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