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
aee968e3
Kaydet (Commit)
aee968e3
authored
Eyl 27, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
adapt uipreviewer for ucbhelper change
Change-Id: I60463d107d49ecc78053dd2592fc207164708040
üst
9582aa03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
previewer.cxx
vcl/source/uipreviewer/previewer.cxx
+5
-10
No files found.
vcl/source/uipreviewer/previewer.cxx
Dosyayı görüntüle @
aee968e3
...
...
@@ -10,11 +10,10 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/ucb/UniversalContentBroker.hpp>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <osl/file.hxx>
#include <ucbhelper/configurationkeys.hxx>
#include <ucbhelper/contentbroker.hxx>
#include <vcl/builder.hxx>
#include <vcl/dialog.hxx>
#include <vcl/help.hxx>
...
...
@@ -52,11 +51,10 @@ int UIPreviewApp::Main()
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
(
xFactory
,
uno
::
UNO_QUERY_THROW
);
comphelper
::
setProcessServiceFactory
(
xSFactory
);
// Create UCB.
uno
::
Sequence
<
uno
::
Any
>
aArgs
(
2
);
aArgs
[
0
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY1_LOCAL
));
aArgs
[
1
]
<<=
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
UCB_CONFIGURATION_KEY2_OFFICE
));
::
ucbhelper
::
ContentBroker
::
initialize
(
xSFactory
,
aArgs
);
// Create UCB (for backwards compatibility, in case some code still uses
// plain createInstance w/o args directly to obtain an instance):
::
ucb
::
UniversalContentBroker
::
create
(
comphelper
::
getProcessComponentContext
()
);
// turn on tooltips
Help
::
EnableQuickHelp
();
...
...
@@ -88,9 +86,6 @@ int UIPreviewApp::Main()
}
return
false
;
::
ucbhelper
::
ContentBroker
::
deinitialize
();
return
EXIT_SUCCESS
;
}
...
...
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