LibreOffice Module svx (master)  1
CommonStyleManager.cxx
Go to the documentation of this file.
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 
13 
14 namespace svx
15 {
16 
17 std::unique_ptr<sfx2::StylePreviewRenderer> CommonStyleManager::CreateStylePreviewRenderer(
18  OutputDevice& rOutputDev, SfxStyleSheetBase* pStyle,
19  tools::Long nMaxHeight)
20 {
21  return std::unique_ptr<sfx2::StylePreviewRenderer>(new CommonStylePreviewRenderer(mrShell, rOutputDev, pStyle, nMaxHeight));
22 }
23 
24 } // end svx namespace
25 
26 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SfxObjectShell & mrShell
long Long
virtual std::unique_ptr< sfx2::StylePreviewRenderer > CreateStylePreviewRenderer(OutputDevice &rOutputDev, SfxStyleSheetBase *pStyle, tools::Long nMaxHeight) override