Version 7.1.7.1, tag libreoffice-7.1.7.1
[LibreOffice.git] / svx / source / styles / CommonStyleManager.cxx
blob7a4279716ffb0d686387e76b63102a20f07a1af8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 */
11 #include <svx/CommonStyleManager.hxx>
12 #include <CommonStylePreviewRenderer.hxx>
14 namespace svx
17 std::unique_ptr<sfx2::StylePreviewRenderer> CommonStyleManager::CreateStylePreviewRenderer(
18 OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
19 tools::Long nMaxHeight)
21 return std::unique_ptr<sfx2::StylePreviewRenderer>(new CommonStylePreviewRenderer(mrShell, rOutputDev, pStyle, nMaxHeight));
24 } // end svx namespace
26 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */