/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * 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/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include "action.hxx" #include "smdll.hxx" #include "document.hxx" #include "starmath.hrc" SmFormatAction::SmFormatAction(SmDocShell *pDocSh, const SmFormat& rOldFormat, const SmFormat& rNewFormat) : pDoc( pDocSh ), aOldFormat( rOldFormat ), aNewFormat( rNewFormat ) { } void SmFormatAction::Undo() { pDoc->SetFormat(aOldFormat); } void SmFormatAction::Redo() { pDoc->SetFormat(aNewFormat); } void SmFormatAction::Repeat(SfxRepeatTarget& rDocSh) { dynamic_cast< SmDocShell & >(rDocSh).SetFormat(aNewFormat); } OUString SmFormatAction::GetComment() const { return SmResId(RID_UNDOFORMATNAME).toString(); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/udkapi
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-12-11 20:10:35 +0100
committerEike Rathke <erack@redhat.com>2021-12-11 21:40:00 +0100
commit06ac18e6302d666c363740644a7976e8c22d1113 (patch)
tree50cf68d96f9b306cc98e6a6a4b361050f54e2948 /udkapi
parentb31e525bc210c6e9168d67d5ea8c53206974f196 (diff)
Update reference links for ISO 639 and 3166
SIL has restructured their site, and ISO either moves things around or doesn't make them available at all. For 3166 use Wikipedia if ISO doesn't want to be a reference.. Change-Id: I2f906376c081667f57d48fa0386015a90857aae5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126689 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins