Coverage Report

Created: 2026-02-14 09:37

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libreoffice/sc/source/ui/inc/DocumentModelAccessor.hxx
Line
Count
Source
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
 * This file is part of the LibreOffice project.
4
 *
5
 * This Source Code Form is subject to the terms of the Mozilla Public
6
 * License, v. 2.0. If a copy of the MPL was not distributed with this
7
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
 */
9
10
#pragma once
11
12
#include <sfx2/IDocumentModelAccessor.hxx>
13
#include <document.hxx>
14
15
namespace sc
16
{
17
/** DocumentModelAccessor implementation for Calc */
18
class DocumentModelAccessor : public sfx::IDocumentModelAccessor
19
{
20
private:
21
    std::shared_ptr<ScDocument> m_pDocument;
22
23
public:
24
    DocumentModelAccessor(std::shared_ptr<ScDocument> const& pDocument)
25
0
        : m_pDocument(pDocument)
26
0
    {
27
0
    }
28
29
    std::vector<sfx::CurrencyID> getDocumentCurrencies() const override;
30
};
31
32
} // end sc
33
34
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */