From 39f42b0b03489459540404dd218c38709853c021 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jul 2013 16:54:27 +0200 Subject: error: friend declaration specifying a default argument must be a definition ...(Clang trunk towards 3.4); this appears to be specific to C++11, which added at the end of 8.3.6/4 [dcl.fct.default]: "If a friend declaration specifies a default argument expression, that declaration shall be a definition and shall be the only declaration of the function or function template in the translation unit." Change-Id: I750c60a2206d7af41322ebb31aa6deca2491067f --- sw/inc/viewsh.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/inc/viewsh.hxx') diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 72d7c4839c0c..92c5f0e5bdcc 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -109,7 +109,7 @@ class SW_DLLPUBLIC ViewShell : public Ring // Set SwVisArea in order to enable clean formatting before printing. - friend void SetSwVisArea( ViewShell *pSh, const SwRect &, sal_Bool bPDFExport = sal_False ); + friend void SetSwVisArea( ViewShell *pSh, const SwRect & ); static BitmapEx* mpReplaceBmp; ///< replaced display of still loaded images static BitmapEx* mpErrorBmp; ///< error display of missed images -- cgit