summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/bibmod.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/bibmod.hxx')
-rw-r--r--extensions/source/bibliography/bibmod.hxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/extensions/source/bibliography/bibmod.hxx b/extensions/source/bibliography/bibmod.hxx
index e651f720e753..a695f93d6c83 100644
--- a/extensions/source/bibliography/bibmod.hxx
+++ b/extensions/source/bibliography/bibmod.hxx
@@ -17,10 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBMOD_HXX
-#define INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBMOD_HXX
+#pragma once
#include <locale>
+#include <rtl/ref.hxx>
class BibDataManager;
class BibConfig;
@@ -38,7 +38,7 @@ class BibModul
const std::locale& GetResLocale() const { return m_aResLocale; }
static BibConfig* GetConfig();
- static BibDataManager* createDataManager();
+ static rtl::Reference<BibDataManager> createDataManager();
};
@@ -47,6 +47,4 @@ typedef BibModul** HdlBibModul;
HdlBibModul OpenBibModul();
void CloseBibModul(HdlBibModul ppBibModul);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */