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
1f1ec819
Kaydet (Commit)
1f1ec819
authored
Agu 24, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove more warnings about vba export
Change-Id: I8d0e6f69dd4d51d195422e6e934fedc406caec16
üst
5958c942
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
62 deletions
+5
-62
sfxecode.hxx
include/svtools/sfxecode.hxx
+0
-1
guisaveas.cxx
sfx2/source/doc/guisaveas.cxx
+0
-35
iahndl.cxx
uui/source/iahndl.cxx
+5
-20
ids.hrc
uui/source/ids.hrc
+0
-1
ids.src
uui/source/ids.src
+0
-5
No files found.
include/svtools/sfxecode.hxx
Dosyayı görüntüle @
1f1ec819
...
...
@@ -77,7 +77,6 @@
#define ERRCODE_SFX_INCOMPLETE_ENCRYPTION (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 55)
#define ERRCODE_SFX_DOCUMENT_MACRO_DISABLED_MAC (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 56)
#define ERRCODE_SFX_FORMAT_ROWCOL (ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 57)
#define ERRCODE_SFX_VBASIC_CANTSAVE_STORAGE (ERRCODE_WARNING_MASK | ERRCODE_AREA_SFX | ERRCODE_CLASS_NONE | 58)
//Dies und das
...
...
sfx2/source/doc/guisaveas.cxx
Dosyayı görüntüle @
1f1ec819
...
...
@@ -803,41 +803,6 @@ sal_Int8 ModelData_Impl::CheckFilter( const OUString& aFilterName )
if
(
!
aPreusedFilterName
.
equals
(
aFilterName
)
&&
!
aUIName
.
equals
(
aDefUIName
)
)
{
// is it possible to get these names from somewhere and not just
// hardcode them?
OUString
sXLSXFilter
(
"Calc MS Excel 2007 XML"
);
OUString
sOtherXLSXFilter
(
"Calc Office Open XML"
);
bool
bHasMacros
=
hasMacros
(
GetModel
()
);
if
(
bHasMacros
&&
(
aFilterName
==
sXLSXFilter
||
aFilterName
==
sOtherXLSXFilter
)
)
{
uno
::
Reference
<
task
::
XInteractionHandler
>
xHandler
;
GetMediaDescr
()[
OUString
(
"InteractionHandler"
)
]
>>=
xHandler
;
if
(
xHandler
.
is
()
)
{
bool
bResult
=
false
;
try
{
task
::
ErrorCodeRequest
aErrorCode
;
aErrorCode
.
ErrCode
=
ERRCODE_SFX_VBASIC_CANTSAVE_STORAGE
;
uno
::
Any
aRequest
=
uno
::
makeAny
(
aErrorCode
);
uno
::
Sequence
<
uno
::
Reference
<
task
::
XInteractionContinuation
>
>
aContinuations
(
2
);
::
rtl
::
Reference
<
::
comphelper
::
OInteractionApprove
>
pApprove
(
new
::
comphelper
::
OInteractionApprove
);
aContinuations
[
0
]
=
pApprove
.
get
();
::
rtl
::
Reference
<
::
comphelper
::
OInteractionAbort
>
pAbort
(
new
::
comphelper
::
OInteractionAbort
);
aContinuations
[
1
]
=
pAbort
.
get
();
xHandler
->
handle
(
::
framework
::
InteractionRequest
::
CreateRequest
(
aRequest
,
aContinuations
));
bResult
=
pApprove
->
wasSelected
();
}
catch
(
const
uno
::
Exception
&
)
{
}
if
(
!
bResult
)
return
STATUS_SAVEAS
;
}
}
if
(
!
SfxStoringHelper
::
WarnUnacceptableFormat
(
GetModel
(),
aUIName
,
aDefUIName
,
aDefExtension
,
true
,
(
bool
)(
nDefFiltFlags
&
SfxFilterFlags
::
ALIEN
)
)
)
return
STATUS_SAVEAS_STANDARDNAME
;
...
...
uui/source/iahndl.cxx
Dosyayı görüntüle @
1f1ec819
...
...
@@ -743,26 +743,11 @@ UUIInteractionHelper::handleRequest_impl(
task
::
ErrorCodeRequest
aErrorCodeRequest
;
if
(
aAnyRequest
>>=
aErrorCodeRequest
)
{
// Sucky special handling for xlsx macro filter warning
if
(
(
sal_uInt32
)
ERRCODE_SFX_VBASIC_CANTSAVE_STORAGE
==
(
sal_uInt32
)
aErrorCodeRequest
.
ErrCode
)
{
std
::
vector
<
OUString
>
aArguments
;
handleErrorHandlerRequest
(
task
::
InteractionClassification_WARNING
,
ERRCODE_UUI_IO_WARN_CANTSAVE_MACROS
,
aArguments
,
rRequest
->
getContinuations
(),
bObtainErrorStringOnly
,
bHasErrorString
,
rErrorString
);
}
else
{
handleGenericErrorRequest
(
aErrorCodeRequest
.
ErrCode
,
rRequest
->
getContinuations
(),
bObtainErrorStringOnly
,
bHasErrorString
,
rErrorString
);
}
handleGenericErrorRequest
(
aErrorCodeRequest
.
ErrCode
,
rRequest
->
getContinuations
(),
bObtainErrorStringOnly
,
bHasErrorString
,
rErrorString
);
return
true
;
}
...
...
uui/source/ids.hrc
Dosyayı görüntüle @
1f1ec819
...
...
@@ -133,7 +133,6 @@
#define ERRCODE_UUI_LOCKING_NOT_LOCKED (ERRCODE_AREA_UUI + 61)
#define ERRCODE_UUI_LOCKING_LOCK_EXPIRED (ERRCODE_AREA_UUI + 62)
#define ERRCODE_UUI_CANNOT_ACTIVATE_FACTORY (ERRCODE_AREA_UUI + 63)
#define ERRCODE_UUI_IO_WARN_CANTSAVE_MACROS (ERRCODE_WARNING_MASK | ( ERRCODE_AREA_UUI + 64))
#define ERRCODE_AREA_UUI_UNKNOWNAUTH 25000
#define SSLWARN_TYPE_DOMAINMISMATCH 10
#define SSLWARN_TYPE_EXPIRED 20
...
...
uui/source/ids.src
Dosyayı görüntüle @
1f1ec819
...
...
@@ -397,11 +397,6 @@ Resource RID_UUI_ERRHDL
Text [ en-US ] = "Component cannot be loaded, possibly broken or incomplete installation.\nFull error message:\n\n $(ARG1).";
};
String (ERRCODE_UUI_IO_WARN_CANTSAVE_MACROS & ERRCODE_RES_MASK)
{
Text [ en-US ] = "You are saving to a macro-free document format, the macros contained in this document will not be saved.\nDo you wish to continue?";
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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