Kaydet (Commit) a5d262df authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I2d5ee332adea2e7727717473e74288b9e59f4aa0
üst 3fc0be86
...@@ -43,7 +43,7 @@ ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh ) ...@@ -43,7 +43,7 @@ ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh )
{ {
pDevice = new VirtualDevice; pDevice = new VirtualDevice;
pDevice->SetDigitLanguage( SC_MOD()->GetOptDigitLanguage() ); pDevice->SetDigitLanguage( SC_MOD()->GetOptDigitLanguage() );
bOwner = sal_True; bOwner = true;
} }
Point aLogic = pDevice->LogicToPixel( Point(1000,1000), MAP_TWIP ); Point aLogic = pDevice->LogicToPixel( Point(1000,1000), MAP_TWIP );
......
...@@ -28,7 +28,7 @@ class ScDocShell; ...@@ -28,7 +28,7 @@ class ScDocShell;
class ScSizeDeviceProvider class ScSizeDeviceProvider
{ {
OutputDevice* pDevice; OutputDevice* pDevice;
sal_Bool bOwner; bool bOwner;
double nPPTX; double nPPTX;
double nPPTY; double nPPTY;
MapMode aOldMapMode; MapMode aOldMapMode;
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
OutputDevice* GetDevice() const { return pDevice; } OutputDevice* GetDevice() const { return pDevice; }
double GetPPTX() const { return nPPTX; } double GetPPTX() const { return nPPTX; }
double GetPPTY() const { return nPPTY; } double GetPPTY() const { return nPPTY; }
sal_Bool IsPrinter() const { return !bOwner; } bool IsPrinter() const { return !bOwner; }
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment