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
a09bb5f4
Kaydet (Commit)
a09bb5f4
authored
Mar 07, 2013
tarafından
Urs Fässler
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Translation and cleanup of comments in sd/source/ui/app/sdmod.cxx
Change-Id: Icfd5d74f73e0d9d2e4273d8050b7bc2836648aa6
üst
32df45ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
38 deletions
+12
-38
sdmod.cxx
sd/source/ui/app/sdmod.cxx
+12
-38
No files found.
sd/source/ui/app/sdmod.cxx
Dosyayı görüntüle @
a09bb5f4
...
...
@@ -65,12 +65,7 @@ SFX_IMPL_INTERFACE(SdModule, SfxModule, SdResId(STR_APPLICATIONOBJECTBAR))
SFX_STATUSBAR_REGISTRATION
(
SdResId
(
RID_DRAW_STATUSBAR
));
}
/*************************************************************************
|*
|* Ctor
|*
\************************************************************************/
// Ctor
SdModule
::
SdModule
(
SfxObjectFactory
*
pFact1
,
SfxObjectFactory
*
pFact2
)
:
SfxModule
(
SfxApplication
::
CreateResManager
(
"sd"
),
sal_False
,
pFact1
,
pFact2
,
NULL
),
...
...
@@ -84,7 +79,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
bWaterCan
(
sal_False
),
mpResourceContainer
(
new
::
sd
::
SdGlobalResourceContainer
())
{
SetName
(
rtl
::
OUString
(
"StarDraw"
)
);
//
Nicht uebersetzen
!
SetName
(
rtl
::
OUString
(
"StarDraw"
)
);
//
Do not translate
!
pSearchItem
=
new
SvxSearchItem
(
SID_SEARCH_ITEM
);
pSearchItem
->
SetAppFlag
(
SVX_SEARCHAPP_DRAW
);
StartListening
(
*
SFX_APP
()
);
...
...
@@ -103,14 +98,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
pDevice
->
SetReferenceDevice
(
VirtualDevice
::
REFDEV_MODE06
);
}
/*************************************************************************
|*
|* Dtor
|*
\************************************************************************/
// Dtor
SdModule
::~
SdModule
()
{
delete
pSearchItem
;
...
...
@@ -140,13 +128,7 @@ SdModule::~SdModule()
delete
static_cast
<
VirtualDevice
*
>
(
mpVirtualRefDevice
);
}
/*************************************************************************
|*
|* get notifications
|*
\************************************************************************/
/// get notifications
void
SdModule
::
Notify
(
SfxBroadcaster
&
,
const
SfxHint
&
rHint
)
{
if
(
rHint
.
ISA
(
SfxSimpleHint
)
&&
...
...
@@ -157,12 +139,7 @@ void SdModule::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
/*************************************************************************
|*
|* Optionen zurueckgeben
|*
\************************************************************************/
/// Return options
SdOptions
*
SdModule
::
GetSdOptions
(
DocumentType
eDocType
)
{
SdOptions
*
pOptions
=
NULL
;
...
...
@@ -197,14 +174,11 @@ SdOptions* SdModule::GetSdOptions(DocumentType eDocType)
return
(
pOptions
);
}
/*************************************************************************
|*
|* Optionen-Stream fuer interne Options oeffnen und zurueckgeben;
|* falls der Stream zum Lesen geoeffnet wird, aber noch nicht
|* angelegt wurde, wird ein 'leeres' RefObject zurueckgegeben
|*
\************************************************************************/
/**
* Open and return option stream for internal options;
* if the stream is opened for reading but does not exist, an 'empty'
* RefObject is returned
*/
SvStorageStreamRef
SdModule
::
GetOptionStream
(
const
String
&
rOptionName
,
SdOptionStreamMode
eMode
)
{
...
...
@@ -256,8 +230,8 @@ OutputDevice* SdModule::GetVirtualRefDevice (void)
}
/** This method is deprecated and only an alias to
<member>GetVirtualRefDevice()</member>. The given argument is ignored.
*/
*
<member>GetVirtualRefDevice()</member>. The given argument is ignored.
*/
OutputDevice
*
SdModule
::
GetRefDevice
(
::
sd
::
DrawDocShell
&
)
{
return
GetVirtualRefDevice
();
...
...
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