tdf#124176 Use #pragma once in desktop

This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.

Change-Id: I26f01467d2a572a51c7ace76628d4a8f96f249a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102553
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
George Bateman
2020-09-13 19:09:54 +02:00
committed by Julien Nabet
parent d4ceea4ca9
commit dcbe844e29
73 changed files with 73 additions and 290 deletions
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_INC_APP_HXX
#define INCLUDED_DESKTOP_INC_APP_HXX
#pragma once
#include <optional>
#include <sal/log.hxx>
@@ -178,6 +177,4 @@ OUString ReplaceStringHookProc(const OUString& rStr);
}
#endif // INCLUDED_DESKTOP_INC_APP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,14 +7,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_INC_BITMAPS_HRC
#define INCLUDED_DESKTOP_INC_BITMAPS_HRC
#pragma once
#define RID_BMP_WARNING "desktop/res/caution_16.png"
#define RID_BMP_LOCKED "desktop/res/lock_16.png"
#define RID_BMP_SHARED "desktop/res/shared_16.png"
#define RID_BMP_EXTENSION "desktop/res/extension_32.png"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_INC_DP_MISC_H
#define INCLUDED_DESKTOP_INC_DP_MISC_H
#pragma once
#include <osl/mutex.hxx>
#include <osl/process.h>
@@ -150,6 +149,4 @@ void disposeBridges(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_SHARED_HXX
#pragma once
#include <rtl/instance.hxx>
#include <unotools/resmgr.hxx>
@@ -39,6 +38,4 @@ inline OUString DpResId(const char* pId)
return Translate::get(pId, dp::DeploymentLocale::get());
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_INC_LIB_INIT_HXX
#define INCLUDED_DESKTOP_INC_LIB_INIT_HXX
#pragma once
#include <map>
#include <unordered_map>
@@ -184,6 +183,4 @@ namespace desktop {
DESKTOP_DLLPUBLIC std::vector<com::sun::star::beans::PropertyValue> jsonToPropertyValuesVector(const char* pJSON);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -3
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_INC_MIGRATION_HXX
#define INCLUDED_DESKTOP_INC_MIGRATION_HXX
#pragma once
namespace desktop {
@@ -28,6 +27,5 @@ public:
static void migrateSettingsIfNecessary();
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
#define INCLUDED_VCL_INC_STRINGS_HRC
#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -191,6 +190,4 @@
"If this does not apply, delete the lock file at:")
#define RID_STR_UNOPKG_ERROR NC_("RID_STR_UNOPKG_ERROR", "ERROR: ")
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,11 +7,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_INC_STRINGS_HRC
#define INCLUDED_DESKTOP_INC_STRINGS_HRC
#pragma once
#define RID_APPTITLE "%PRODUCTNAME %PRODUCTVERSION%PRODUCTEXTENSION"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_CMDLINEARGS_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_CMDLINEARGS_HXX
#pragma once
#include <sal/config.h>
@@ -187,6 +186,4 @@ class CommandLineArgs
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_CMDLINEHELP_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_CMDLINEHELP_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -28,6 +27,4 @@ namespace desktop
void displayVersion();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_DESKTOPCONTEXT_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_DESKTOPCONTEXT_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/uno/XCurrentContext.hpp>
@@ -38,6 +37,4 @@ namespace desktop
};
}
#endif // INCLUDED_DESKTOP_SOURCE_APP_DESKTOPCONTEXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_DISPATCHWATCHER_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_DISPATCHWATCHER_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/frame/XDispatchResultListener.hpp>
@@ -85,6 +84,4 @@ class DispatchWatcher : public ::cppu::WeakImplHelper< css::frame::XDispatchResu
}
#endif // INCLUDED_DESKTOP_SOURCE_APP_DISPATCHWATCHER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_LANGSELECT_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_LANGSELECT_HXX
#pragma once
#include <sal/config.h>
@@ -28,6 +27,4 @@ bool prepareLocale();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
#pragma once
#include <sal/config.h>
@@ -154,6 +153,4 @@ class RequestHandlerController : public ::cppu::WeakImplHelper<
}
#endif // INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_SOFFICEMAIN_H
#define INCLUDED_DESKTOP_SOURCE_APP_SOFFICEMAIN_H
#pragma once
#include <desktop/dllapi.h>
@@ -32,6 +31,4 @@ int DESKTOP_DLLPUBLIC soffice_main(void);
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_UPDATER_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_UPDATER_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -35,6 +34,4 @@ public:
static void removeUpdateFiles();
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_APP_USERINSTALL_HXX
#define INCLUDED_DESKTOP_SOURCE_APP_USERINSTALL_HXX
#pragma once
#include <sal/config.h>
@@ -36,6 +35,4 @@ Status finalize();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_H
#pragma once
namespace dp_gui {
@@ -26,6 +25,4 @@ enum PackageState { REGISTERED, NOT_REGISTERED, AMBIGUOUS, NOT_AVAILABLE };
} // namespace dp_gui
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DEPENDENCYDIALOG_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DEPENDENCYDIALOG_HXX
#pragma once
#include <sal/config.h>
@@ -46,6 +45,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DIALOG2_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_DIALOG2_HXX
#pragma once
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
@@ -262,6 +261,4 @@ public:
} // namespace dp_gui
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_EXTENSIONCMDQUEUE_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_EXTENSIONCMDQUEUE_HXX
#pragma once
#include <sal/config.h>
@@ -98,6 +97,4 @@ void handleInteractionRequest( const css::uno::Reference< css::uno::XComponentCo
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_EXTLISTBOX_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_EXTLISTBOX_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <vcl/customweld.hxx>
@@ -212,6 +211,4 @@ public:
}
#endif // INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_EXTLISTBOX_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_THEEXTMGR_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_THEEXTMGR_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
@@ -125,6 +124,4 @@ public:
} // namespace dp_gui
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEDATA_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEDATA_HXX
#pragma once
#include <sal/config.h>
#include <rtl/ustring.hxx>
@@ -71,6 +70,4 @@ struct UpdateData
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEDIALOG_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEDIALOG_HXX
#pragma once
#include <sal/config.h>
@@ -168,6 +167,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEINSTALLDIALOG_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_DP_GUI_UPDATEINSTALLDIALOG_HXX
#pragma once
#include <sal/config.h>
#include <vcl/weld.hxx>
@@ -110,6 +109,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_LICENSE_DIALOG_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_GUI_LICENSE_DIALOG_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/awt/XWindow.hpp>
@@ -51,6 +50,5 @@ public:
virtual sal_Int16 SAL_CALL execute() override;
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_DEPENDENCIES_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_DEPENDENCIES_HXX
#pragma once
#include <sal/config.h>
@@ -70,6 +69,4 @@ namespace Dependencies {
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_DESCRIPTIONINFOSET_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_DESCRIPTIONINFOSET_HXX
#pragma once
#include <sal/config.h>
@@ -283,6 +282,4 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC
DescriptionInfoset getDescriptionInfoset(OUString const & sExtensionFolderURL);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_IDENTIFIER_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_IDENTIFIER_HXX
#pragma once
#include <sal/config.h>
@@ -80,6 +79,4 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC OUString generateLegacyIdentifier(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_INTERACT_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_INTERACT_H
#pragma once
#include <config_options.h>
#include <rtl/ref.hxx>
@@ -137,6 +136,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_MISC_API_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_MISC_API_HXX
#pragma once
#include <sal/config.h>
#include <sal/types.h>
@@ -29,6 +28,4 @@
#define DESKTOP_DEPLOYMENTMISC_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PACKAGE_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PACKAGE_HXX
#pragma once
#include <sal/config.h>
@@ -40,6 +39,4 @@ css::uno::Reference<css::deployment::XPackageRegistry> create(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PERSMAP_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PERSMAP_H
#pragma once
#include <rtl/ustring.hxx>
#include <osl/file.hxx>
@@ -61,6 +60,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PLATFORM_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_PLATFORM_HXX
#pragma once
#include "dp_misc_api.hxx"
@@ -43,6 +42,4 @@ bool hasValidPlatform( css::uno::Sequence< OUString > const & platformStrings);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_REGISTRY_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_REGISTRY_HXX
#pragma once
#include <sal/config.h>
@@ -38,6 +37,4 @@ css::uno::Reference<css::deployment::XPackageRegistry> create(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_RESOURCE_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_RESOURCE_H
#pragma once
#include <i18nlangtag/languagetag.hxx>
#include "dp_misc_api.hxx"
@@ -29,6 +28,4 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC const LanguageTag & getOfficeLanguageTag();
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_UCB_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_UCB_H
#pragma once
#include <vector>
#include <com/sun/star/sdbc/XResultSet.hpp>
@@ -92,6 +91,4 @@ bool readProperties( std::vector< std::pair< OUString, OUString> > & out_result,
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_UPDATE_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_UPDATE_HXX
#pragma once
#include <com/sun/star/deployment/XPackage.hpp>
@@ -134,6 +133,4 @@ OUString getHighestVersion(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_VERSION_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_VERSION_HXX
#pragma once
#include <sal/config.h>
@@ -34,6 +33,4 @@ DESKTOP_DEPLOYMENTMISC_DLLPUBLIC Order compareVersions(
OUString const & version1, OUString const & version2);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_XML_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_DP_XML_H
#pragma once
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
@@ -40,6 +39,4 @@ void xml_parse(
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -32,8 +32,7 @@
*
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_LOCKFILE_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_LOCKFILE_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -87,6 +86,4 @@ namespace desktop {
}
#endif // INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_INC_LOCKFILE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_ACTIVEPACKAGES_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_ACTIVEPACKAGES_HXX
#pragma once
#include <config_extensions.h>
@@ -92,6 +91,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_COMMANDENVIRONMENTS_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_COMMANDENVIRONMENTS_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
#include <com/sun/star/task/XInteractionHandler.hpp>
@@ -137,6 +136,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_EXTENSIONMANAGER_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_EXTENSIONMANAGER_HXX
#pragma once
#include <strings.hrc>
#include <dp_misc.h>
@@ -223,6 +222,4 @@ private:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_MANAGER_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_MANAGER_H
#pragma once
#include <dp_misc.h>
#include "dp_activepackages.hxx"
@@ -230,6 +229,4 @@ inline void PackageManagerImpl::logIntern( css::uno::Any const & status )
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_PROPERTIES_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_MANAGER_DP_PROPERTIES_HXX
#pragma once
#include <com/sun/star/beans/NamedValue.hpp>
@@ -59,6 +58,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_COMPONENT_DP_COMPBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_COMPONENT_DP_COMPBACKENDDB_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
@@ -91,6 +90,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_CONFIGURATION_DP_CONFIGURATIONBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_CONFIGURATION_DP_CONFIGURATIONBACKENDDB_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
@@ -71,6 +70,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_EXECUTABLE_DP_EXECUTABLEBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_EXECUTABLE_DP_EXECUTABLEBACKENDDB_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <dp_backenddb.hxx>
@@ -55,6 +54,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_HELP_DP_HELPBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_HELP_DP_HELPBACKENDDB_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <optional>
@@ -69,6 +68,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_INC_DP_BACKEND_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_INC_DP_BACKEND_H
#pragma once
#include <dp_misc.h>
#include <dp_shared.hxx>
@@ -284,6 +283,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_INC_DP_BACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_INC_DP_BACKENDDB_HXX
#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustring.hxx>
@@ -162,6 +161,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_PACKAGE_DP_EXTBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_PACKAGE_DP_EXTBACKENDDB_HXX
#pragma once
#include <utility>
#include <vector>
@@ -64,6 +63,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SCRIPT_DP_LIB_CONTAINER_H
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SCRIPT_DP_LIB_CONTAINER_H
#pragma once
#include <com/sun/star/uno/Reference.hxx>
@@ -46,6 +45,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SCRIPT_DP_SCRIPTBACKENDDB_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SCRIPT_DP_SCRIPTBACKENDDB_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <dp_backenddb.hxx>
@@ -53,6 +52,4 @@ public:
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SFWK_DP_PARCELDESC_HXX
#define INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SFWK_DP_PARCELDESC_HXX
#pragma once
#include <cppuhelper/implbase.hxx>
@@ -62,6 +61,4 @@ public:
#endif // INCLUDED_DESKTOP_SOURCE_DEPLOYMENT_REGISTRY_SFWK_DP_PARCELDESC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,12 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_HELPIDS_H
#define INCLUDED_DESKTOP_HELPIDS_H
#pragma once
#define HID_EXTENSION_MANAGER_LISTBOX_ENABLE "DESKTOP_HID_EXTENSION_MANAGER_LISTBOX_ENABLE"
#define HID_EXTENSION_MANAGER_LISTBOX_DISABLE "DESKTOP_HID_EXTENSION_MANAGER_LISTBOX_DISABLE"
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_SOURCE_LIB_LOKCLIPBOARD_HXX
#define INCLUDED_DESKTOP_SOURCE_LIB_LOKCLIPBOARD_HXX
#pragma once
#include <vector>
@@ -112,6 +111,4 @@ public:
static void releaseClipboardForView(int nViewId);
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_LIB_LOKINTERACTIONHANDLER_HXX
#define INCLUDED_DESKTOP_SOURCE_LIB_LOKINTERACTIONHANDLER_HXX
#pragma once
#include <osl/conditn.hxx>
#include <cppuhelper/implbase.hxx>
@@ -99,6 +98,4 @@ public:
virtual sal_Bool SAL_CALL handleInteractionRequest(const ::com::sun::star::uno::Reference<::com::sun::star::task::XInteractionRequest>& Request) override;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_MIGRATION_IMPL_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_MIGRATION_IMPL_HXX
#pragma once
#include <memory>
#include <unordered_map>
@@ -193,6 +192,4 @@ public:
};
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX
#pragma once
#include "misc.hxx"
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -70,6 +69,4 @@ namespace migration
} // namespace migration
#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX
#pragma once
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.hxx>
@@ -33,6 +32,4 @@ css::uno::Sequence< OUString > jvmfwk_getSupportedServiceNames();
} //end blind namespace
#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX
#pragma once
#include <rtl/ustring.hxx>
@@ -37,6 +36,4 @@ namespace migration
} // namespace migration
#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX
#pragma once
#include "misc.hxx"
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -115,6 +114,4 @@ namespace migration
} // namespace migration
#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_WORDBOOKMIGRATION_HXX
#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_WORDBOOKMIGRATION_HXX
#pragma once
#include "misc.hxx"
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -71,6 +70,4 @@ namespace migration
} // namespace migration
#endif // _DESKTOP_AUTOCORRMIGRATION_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_OFFACC_ACCEPTOR_HXX
#define INCLUDED_DESKTOP_SOURCE_OFFACC_ACCEPTOR_HXX
#pragma once
#include <sal/config.h>
@@ -93,6 +92,4 @@ public:
} //namespace desktop
#endif // INCLUDED_DESKTOP_SOURCE_OFFACC_ACCEPTOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_SOURCE_PKGCHK_UNOPKG_UNOPKG_MAIN_H
#define INCLUDED_DESKTOP_SOURCE_PKGCHK_UNOPKG_UNOPKG_MAIN_H
#pragma once
#include <desktop/dllapi.h>
@@ -32,6 +31,4 @@ DESKTOP_DLLPUBLIC int unopkg_main(void);
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_SOURCE_SPLASH_UNXSPLASH_HXX
#define INCLUDED_DESKTOP_SOURCE_SPLASH_UNXSPLASH_HXX
#pragma once
#include <stdio.h>
@@ -54,6 +53,4 @@ public:
}
#endif // INCLUDED_DESKTOP_SOURCE_SPLASH_UNXSPLASH_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_UNX_SOURCE_FILE_IMAGE_H
#define INCLUDED_DESKTOP_UNX_SOURCE_FILE_IMAGE_H
#pragma once
#ifndef INCLUDED_STDDEF_H
#include <stddef.h>
@@ -67,6 +66,4 @@ int file_image_close (
}
#endif
#endif /* INCLUDED_ODEP_IMAGE_H */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,13 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_UNX_SOURCE_PAGEIN_H
#define INCLUDED_DESKTOP_UNX_SOURCE_PAGEIN_H
#pragma once
#include <sal/config.h>
void pagein_execute(char const* path, char const* file);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -6,8 +6,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_DESKTOP_UNX_SOURCE_SPLASHX_H
#define INCLUDED_DESKTOP_UNX_SOURCE_SPLASHX_H
#pragma once
#include <rtl/ustring.h>
@@ -27,6 +26,4 @@ void splash_draw_progress(struct splash* splash, int progress);
} // extern "C"
#endif
#endif // INCLUDED_DESKTOP_UNX_SOURCE_SPLASHX_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+1 -4
View File
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_DESKTOP_WIN32_SOURCE_LOADER_HXX
#define INCLUDED_DESKTOP_WIN32_SOURCE_LOADER_HXX
#pragma once
#include <cstddef>
#define WIN32_LEAN_AND_MEAN
@@ -87,6 +86,4 @@ int unopkgloader_impl(bool bAllowConsole);
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */