summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/appbas.cxx
diff options
context:
space:
mode:
authorok <ok@openoffice.org>2001-09-14 09:29:40 +0000
committerok <ok@openoffice.org>2001-09-14 09:29:40 +0000
commita2367719f93fc4107dd7afa0cef603951877cf15 (patch)
tree9748e5930a96e9993072a99e1c8c5e95356d79cf /sfx2/source/appl/appbas.cxx
parent573540aeaf2470cf60c09bfe452e93f862f34690 (diff)
fix: #76122#
Diffstat (limited to 'sfx2/source/appl/appbas.cxx')
-rw-r--r--sfx2/source/appl/appbas.cxx36
1 files changed, 2 insertions, 34 deletions
diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx
index 4a39eff6a0..29081b88ac 100644
--- a/sfx2/source/appl/appbas.cxx
+++ b/sfx2/source/appl/appbas.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: appbas.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: ab $ $Date: 2001-07-10 11:26:05 $
+ * last change: $Author: ok $ $Date: 2001-09-14 10:28:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,9 +125,6 @@
#ifndef _MSGBOX_HXX //autogen
#include <vcl/msgbox.hxx>
#endif
-#ifndef _SVTDEMO_HXX //autogen
-#include <svtools/svtdemo.hxx>
-#endif
#ifndef _REGCODE_HXX
//#include <tools/regcode.hxx>
#endif
@@ -1020,22 +1017,6 @@ void SfxApplication::PropExec_Impl( SfxRequest &rReq )
PlayMacro_Impl( rReq, GetBasic() );
break;
- case SID_OFFICE_PALK:
- {
- SFX_REQUEST_ARG(rReq, pStringItem, SfxStringItem, nSID, sal_False);
- if ( pStringItem )
- {
- String aPALK = pStringItem->GetValue();
- sal_Bool bCheck = SvDemo::CheckPALK(aPALK, String());
- rReq.SetReturnValue(SfxBoolItem(nSID, bCheck ));
- if( aPALK.Len() && bCheck )
- SvDemo::SetAuthorizedState(Application::GetAppName(), aPALK );
- }
- else
- SbxBase::SetError( SbxERR_WRONG_ARGS );
- break;
- }
-
#if SUPD<613//MUSTINI
case SID_OFFICE_PRIVATE_USE:
case SID_OFFICE_COMMERCIAL_USE:
@@ -1290,19 +1271,6 @@ void SfxApplication::PropState_Impl( SfxItemSet &rSet )
}
break;
- case SID_OFFICE_PLK:
- {
- String sPLK(SvDemo::GetPLK());
- rSet.Put(SfxStringItem(nSID, sPLK));
- }
- break;
-
- case SID_OLD_PALK:
- {
- rSet.Put(SfxStringItem(nSID, SvDemo::GetOldPALK()));
- }
- break;
-
#if SUPD<613//MUSTINI
case SID_OFFICE_PRIVATE_USE:
case SID_OFFICE_COMMERCIAL_USE: